@tapline/client 0.2.9 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/README.md +10 -2
  2. package/dist/cjs/client.d.ts +10 -0
  3. package/dist/cjs/client.d.ts.map +1 -1
  4. package/dist/cjs/client.js +15 -0
  5. package/dist/cjs/client.js.map +1 -1
  6. package/dist/cjs/index.d.ts +10 -0
  7. package/dist/cjs/index.d.ts.map +1 -1
  8. package/dist/cjs/index.js +16 -1
  9. package/dist/cjs/index.js.map +1 -1
  10. package/dist/cjs/services/brave_search/client.d.ts +47 -0
  11. package/dist/cjs/services/brave_search/client.d.ts.map +1 -0
  12. package/dist/cjs/services/brave_search/client.js +96 -0
  13. package/dist/cjs/services/brave_search/client.js.map +1 -0
  14. package/dist/cjs/services/brave_search/index.d.ts +3 -0
  15. package/dist/cjs/services/brave_search/index.d.ts.map +1 -0
  16. package/dist/cjs/services/brave_search/index.js +22 -0
  17. package/dist/cjs/services/brave_search/index.js.map +1 -0
  18. package/dist/cjs/services/brave_search/types.d.ts +3197 -0
  19. package/dist/cjs/services/brave_search/types.d.ts.map +1 -0
  20. package/dist/cjs/services/brave_search/types.js +4 -0
  21. package/dist/cjs/services/brave_search/types.js.map +1 -0
  22. package/dist/cjs/services/expedia/client.d.ts +35 -0
  23. package/dist/cjs/services/expedia/client.d.ts.map +1 -0
  24. package/dist/cjs/services/expedia/client.js +74 -0
  25. package/dist/cjs/services/expedia/client.js.map +1 -0
  26. package/dist/cjs/services/expedia/index.d.ts +3 -0
  27. package/dist/cjs/services/expedia/index.d.ts.map +1 -0
  28. package/dist/cjs/services/expedia/index.js +22 -0
  29. package/dist/cjs/services/expedia/index.js.map +1 -0
  30. package/dist/cjs/services/expedia/types.d.ts +614 -0
  31. package/dist/cjs/services/expedia/types.d.ts.map +1 -0
  32. package/dist/cjs/services/expedia/types.js +4 -0
  33. package/dist/cjs/services/expedia/types.js.map +1 -0
  34. package/dist/cjs/services/imovelweb/client.d.ts +21 -0
  35. package/dist/cjs/services/imovelweb/client.d.ts.map +1 -0
  36. package/dist/cjs/services/imovelweb/client.js +44 -0
  37. package/dist/cjs/services/imovelweb/client.js.map +1 -0
  38. package/dist/cjs/services/imovelweb/index.d.ts +3 -0
  39. package/dist/cjs/services/imovelweb/index.d.ts.map +1 -0
  40. package/dist/cjs/services/imovelweb/index.js +22 -0
  41. package/dist/cjs/services/imovelweb/index.js.map +1 -0
  42. package/dist/cjs/services/imovelweb/types.d.ts +1038 -0
  43. package/dist/cjs/services/imovelweb/types.d.ts.map +1 -0
  44. package/dist/cjs/services/imovelweb/types.js +4 -0
  45. package/dist/cjs/services/imovelweb/types.js.map +1 -0
  46. package/dist/cjs/services/linkedin/client.d.ts +21 -0
  47. package/dist/cjs/services/linkedin/client.d.ts.map +1 -0
  48. package/dist/cjs/services/linkedin/client.js +40 -0
  49. package/dist/cjs/services/linkedin/client.js.map +1 -0
  50. package/dist/cjs/services/linkedin/index.d.ts +3 -0
  51. package/dist/cjs/services/linkedin/index.d.ts.map +1 -0
  52. package/dist/cjs/services/linkedin/index.js +22 -0
  53. package/dist/cjs/services/linkedin/index.js.map +1 -0
  54. package/dist/cjs/services/linkedin/types.d.ts +284 -0
  55. package/dist/cjs/services/linkedin/types.d.ts.map +1 -0
  56. package/dist/cjs/services/linkedin/types.js +4 -0
  57. package/dist/cjs/services/linkedin/types.js.map +1 -0
  58. package/dist/cjs/services/tiktok/client.d.ts +7 -1
  59. package/dist/cjs/services/tiktok/client.d.ts.map +1 -1
  60. package/dist/cjs/services/tiktok/client.js +12 -0
  61. package/dist/cjs/services/tiktok/client.js.map +1 -1
  62. package/dist/cjs/services/tiktok/types.d.ts +1444 -60
  63. package/dist/cjs/services/tiktok/types.d.ts.map +1 -1
  64. package/dist/cjs/services/zillow/client.d.ts +17 -0
  65. package/dist/cjs/services/zillow/client.d.ts.map +1 -0
  66. package/dist/cjs/services/zillow/client.js +35 -0
  67. package/dist/cjs/services/zillow/client.js.map +1 -0
  68. package/dist/cjs/services/zillow/index.d.ts +3 -0
  69. package/dist/cjs/services/zillow/index.d.ts.map +1 -0
  70. package/dist/cjs/services/zillow/index.js +22 -0
  71. package/dist/cjs/services/zillow/index.js.map +1 -0
  72. package/dist/cjs/services/zillow/types.d.ts +1340 -0
  73. package/dist/cjs/services/zillow/types.d.ts.map +1 -0
  74. package/dist/cjs/services/zillow/types.js +4 -0
  75. package/dist/cjs/services/zillow/types.js.map +1 -0
  76. package/dist/client.d.ts +10 -0
  77. package/dist/client.d.ts.map +1 -1
  78. package/dist/client.js +15 -0
  79. package/dist/client.js.map +1 -1
  80. package/dist/index.d.ts +10 -0
  81. package/dist/index.d.ts.map +1 -1
  82. package/dist/index.js +10 -0
  83. package/dist/index.js.map +1 -1
  84. package/dist/services/brave_search/client.d.ts +47 -0
  85. package/dist/services/brave_search/client.d.ts.map +1 -0
  86. package/dist/services/brave_search/client.js +92 -0
  87. package/dist/services/brave_search/client.js.map +1 -0
  88. package/dist/services/brave_search/index.d.ts +3 -0
  89. package/dist/services/brave_search/index.d.ts.map +1 -0
  90. package/dist/services/brave_search/index.js +4 -0
  91. package/dist/services/brave_search/index.js.map +1 -0
  92. package/dist/services/brave_search/types.d.ts +3197 -0
  93. package/dist/services/brave_search/types.d.ts.map +1 -0
  94. package/dist/services/brave_search/types.js +3 -0
  95. package/dist/services/brave_search/types.js.map +1 -0
  96. package/dist/services/expedia/client.d.ts +35 -0
  97. package/dist/services/expedia/client.d.ts.map +1 -0
  98. package/dist/services/expedia/client.js +70 -0
  99. package/dist/services/expedia/client.js.map +1 -0
  100. package/dist/services/expedia/index.d.ts +3 -0
  101. package/dist/services/expedia/index.d.ts.map +1 -0
  102. package/dist/services/expedia/index.js +4 -0
  103. package/dist/services/expedia/index.js.map +1 -0
  104. package/dist/services/expedia/types.d.ts +614 -0
  105. package/dist/services/expedia/types.d.ts.map +1 -0
  106. package/dist/services/expedia/types.js +3 -0
  107. package/dist/services/expedia/types.js.map +1 -0
  108. package/dist/services/imovelweb/client.d.ts +21 -0
  109. package/dist/services/imovelweb/client.d.ts.map +1 -0
  110. package/dist/services/imovelweb/client.js +40 -0
  111. package/dist/services/imovelweb/client.js.map +1 -0
  112. package/dist/services/imovelweb/index.d.ts +3 -0
  113. package/dist/services/imovelweb/index.d.ts.map +1 -0
  114. package/dist/services/imovelweb/index.js +4 -0
  115. package/dist/services/imovelweb/index.js.map +1 -0
  116. package/dist/services/imovelweb/types.d.ts +1038 -0
  117. package/dist/services/imovelweb/types.d.ts.map +1 -0
  118. package/dist/services/imovelweb/types.js +3 -0
  119. package/dist/services/imovelweb/types.js.map +1 -0
  120. package/dist/services/linkedin/client.d.ts +21 -0
  121. package/dist/services/linkedin/client.d.ts.map +1 -0
  122. package/dist/services/linkedin/client.js +36 -0
  123. package/dist/services/linkedin/client.js.map +1 -0
  124. package/dist/services/linkedin/index.d.ts +3 -0
  125. package/dist/services/linkedin/index.d.ts.map +1 -0
  126. package/dist/services/linkedin/index.js +4 -0
  127. package/dist/services/linkedin/index.js.map +1 -0
  128. package/dist/services/linkedin/types.d.ts +284 -0
  129. package/dist/services/linkedin/types.d.ts.map +1 -0
  130. package/dist/services/linkedin/types.js +3 -0
  131. package/dist/services/linkedin/types.js.map +1 -0
  132. package/dist/services/tiktok/client.d.ts +7 -1
  133. package/dist/services/tiktok/client.d.ts.map +1 -1
  134. package/dist/services/tiktok/client.js +12 -0
  135. package/dist/services/tiktok/client.js.map +1 -1
  136. package/dist/services/tiktok/types.d.ts +1444 -60
  137. package/dist/services/tiktok/types.d.ts.map +1 -1
  138. package/dist/services/zillow/client.d.ts +17 -0
  139. package/dist/services/zillow/client.d.ts.map +1 -0
  140. package/dist/services/zillow/client.js +31 -0
  141. package/dist/services/zillow/client.js.map +1 -0
  142. package/dist/services/zillow/index.d.ts +3 -0
  143. package/dist/services/zillow/index.d.ts.map +1 -0
  144. package/dist/services/zillow/index.js +4 -0
  145. package/dist/services/zillow/index.js.map +1 -0
  146. package/dist/services/zillow/types.d.ts +1340 -0
  147. package/dist/services/zillow/types.d.ts.map +1 -0
  148. package/dist/services/zillow/types.js +3 -0
  149. package/dist/services/zillow/types.js.map +1 -0
  150. package/package.json +11 -2
@@ -0,0 +1,3197 @@
1
+ export interface BraveSearchAddress {
2
+ address_locality?: string | null;
3
+ address_region?: string | null;
4
+ country?: string | null;
5
+ display_address: string;
6
+ house_number?: string | null;
7
+ postal_code?: string | null;
8
+ street_address?: string | null;
9
+ type: string;
10
+ }
11
+ export interface BraveSearchAggregateScore {
12
+ scores?: Record<string, number | null>;
13
+ }
14
+ export interface BraveSearchAiAnswer {
15
+ blocks: BraveSearchAiAnswerBlock[];
16
+ context: BraveSearchUnobservedObject[];
17
+ conversation_id: string;
18
+ entities: BraveSearchUnobservedObject[];
19
+ follow_up_questions: string[];
20
+ images: BraveSearchUnobservedObject[];
21
+ main_entity: BraveSearchUnobservedObject | null;
22
+ main_entity_infobox: BraveSearchUnobservedObject | null;
23
+ markdown: string;
24
+ other_events: BraveSearchUnobservedObject[];
25
+ predicate: BraveSearchUnobservedObject | null;
26
+ qa: BraveSearchUnobservedObject[];
27
+ references: BraveSearchUnobservedObject[];
28
+ sources: BraveSearchAiAnswerSource[];
29
+ tool_calls: BraveSearchAiAnswerToolCallsItem[];
30
+ urls: string[];
31
+ usage: BraveSearchAiAnswerUsage | null;
32
+ }
33
+ export interface BraveSearchAiAnswerBlock {
34
+ citations: BraveSearchAiAnswerCitation[];
35
+ entities: BraveSearchAiAnswerBlockEntitiesItem[];
36
+ text: string;
37
+ }
38
+ export interface BraveSearchAiAnswerBlockEntitiesItem {
39
+ about?: string | null;
40
+ entity_conversation_id: string;
41
+ name: string;
42
+ nonce?: string | null;
43
+ sig?: string | null;
44
+ }
45
+ export interface BraveSearchAiAnswerCitation {
46
+ favicon_url: string;
47
+ snippet: string;
48
+ title: string;
49
+ url: string;
50
+ }
51
+ export interface BraveSearchAiAnswerSource {
52
+ description: string;
53
+ favicon_url: string;
54
+ hostname: string;
55
+ title: string;
56
+ url: string;
57
+ }
58
+ export interface BraveSearchAiAnswerToolCallsItem {
59
+ arguments: BraveSearchAiAnswerToolCallsItemArguments;
60
+ name: string;
61
+ query: string;
62
+ service_response: BraveSearchUnobservedObject | null;
63
+ }
64
+ export interface BraveSearchAiAnswerToolCallsItemArguments {
65
+ q: string;
66
+ }
67
+ export interface BraveSearchAiAnswerUsage {
68
+ completion_tokens: number;
69
+ prompt_tokens: number;
70
+ reasoning_tokens: number;
71
+ }
72
+ export type BraveSearchAvoidFeature = "highways" | "tolls" | "ferries";
73
+ export interface BraveSearchCoordinates {
74
+ latitude: number;
75
+ longitude: number;
76
+ }
77
+ export type BraveSearchCountry = "ar" | "at" | "au" | "be" | "br" | "ca" | "ch" | "cl" | "cn" | "de" | "dk" | "es" | "fi" | "fr" | "gb" | "gr" | "hk" | "id" | "in" | "it" | "jp" | "kr" | "mx" | "my" | "nl" | "no" | "nz" | "ph" | "pl" | "pt" | "ru" | "sa" | "se" | "sg" | "tr" | "tw" | "us" | "za";
78
+ export interface BraveSearchCurrencyConversionQuery {
79
+ amount: number | null;
80
+ amount_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
81
+ from_currency: BraveSearchCurrencyConversionQueryFromCurrency;
82
+ to_currency: BraveSearchCurrencyConversionQueryToCurrency;
83
+ }
84
+ export interface BraveSearchCurrencyConversionQueryFromCurrency {
85
+ code: string;
86
+ decimals: number;
87
+ full_name: string;
88
+ }
89
+ export interface BraveSearchCurrencyConversionQueryToCurrency {
90
+ code: string;
91
+ decimals: number;
92
+ full_name: string;
93
+ }
94
+ export type BraveSearchCursorCompletion = "exhausted" | "depth_limit";
95
+ export interface BraveSearchCursorPagination {
96
+ completion: BraveSearchCursorCompletion | null;
97
+ next_cursor: string | null;
98
+ }
99
+ export interface BraveSearchDirections {
100
+ notices: string[];
101
+ routes: BraveSearchRoute[];
102
+ source: string;
103
+ travel_mode: string;
104
+ type: string;
105
+ }
106
+ export type BraveSearchFixtureSport = "football" | "american_football";
107
+ export type BraveSearchFreshness = "any" | "past_day" | "past_week" | "past_month" | "past_year";
108
+ export interface BraveSearchGame {
109
+ aggregate_score?: BraveSearchAggregateScore | null;
110
+ competition_id?: number;
111
+ events?: BraveSearchGameEventsItem[] | null;
112
+ group?: string | null;
113
+ id: number;
114
+ league_id?: number;
115
+ penalty_score?: BraveSearchGamePenaltyScore | null;
116
+ phase?: string;
117
+ round?: string;
118
+ score: BraveSearchGameScore | null;
119
+ score_table?: BraveSearchGameScoreTable | null;
120
+ start_time: string | null;
121
+ start_time_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
122
+ status: BraveSearchGameStatus;
123
+ teams: BraveSearchGameTeams;
124
+ video: BraveSearchGameVideo | null;
125
+ }
126
+ export interface BraveSearchGameEventsItem {
127
+ added_minutes: number | null;
128
+ assist_name: string | null;
129
+ detail: string;
130
+ elapsed_minutes: number;
131
+ player_name: string;
132
+ team_id: number;
133
+ type: string;
134
+ }
135
+ export interface BraveSearchGamePenaltyScore {
136
+ away: number;
137
+ home: number;
138
+ }
139
+ export interface BraveSearchGameScore {
140
+ away: number;
141
+ home: number;
142
+ }
143
+ export interface BraveSearchGameScoreTable {
144
+ errors?: BraveSearchGameScoreTableErrors | null;
145
+ extra?: BraveSearchGameScoreTableExtra | null;
146
+ hits?: BraveSearchGameScoreTableHits | null;
147
+ innings?: BraveSearchGameScoreTableInningsItem[];
148
+ ot?: BraveSearchGameScoreTableOt | null;
149
+ p1?: BraveSearchGameScoreTableP1 | null;
150
+ p2?: BraveSearchGameScoreTableP2 | null;
151
+ p3?: BraveSearchGameScoreTableP3 | null;
152
+ q1?: BraveSearchGameScoreTableQ1 | null;
153
+ q2?: BraveSearchGameScoreTableQ2 | null;
154
+ q3?: BraveSearchGameScoreTableQ3 | null;
155
+ q4?: BraveSearchGameScoreTableQ4 | null;
156
+ so?: BraveSearchGameScoreTableSo | null;
157
+ }
158
+ export interface BraveSearchGameScoreTableErrors {
159
+ away: number;
160
+ home: number;
161
+ }
162
+ export interface BraveSearchGameScoreTableExtra {
163
+ away: number;
164
+ home: number;
165
+ }
166
+ export interface BraveSearchGameScoreTableHits {
167
+ away: number;
168
+ home: number;
169
+ }
170
+ export interface BraveSearchGameScoreTableInningsItem {
171
+ away: number | null;
172
+ home: number | null;
173
+ }
174
+ export interface BraveSearchGameScoreTableOt {
175
+ away: number;
176
+ home: number;
177
+ }
178
+ export interface BraveSearchGameScoreTableP1 {
179
+ away: number;
180
+ home: number;
181
+ }
182
+ export interface BraveSearchGameScoreTableP2 {
183
+ away: number;
184
+ home: number;
185
+ }
186
+ export interface BraveSearchGameScoreTableP3 {
187
+ away: number;
188
+ home: number;
189
+ }
190
+ export interface BraveSearchGameScoreTableQ1 {
191
+ away: number;
192
+ home: number;
193
+ }
194
+ export interface BraveSearchGameScoreTableQ2 {
195
+ away: number;
196
+ home: number;
197
+ }
198
+ export interface BraveSearchGameScoreTableQ3 {
199
+ away: number;
200
+ home: number;
201
+ }
202
+ export interface BraveSearchGameScoreTableQ4 {
203
+ away: number;
204
+ home: number;
205
+ }
206
+ export interface BraveSearchGameScoreTableSo {
207
+ away: number;
208
+ home: number;
209
+ }
210
+ export interface BraveSearchGameStatus {
211
+ added_minutes?: number | null;
212
+ code: string;
213
+ elapsed?: number | null;
214
+ elapsed_minutes?: number | null;
215
+ label: string | null;
216
+ }
217
+ export interface BraveSearchGameTeams {
218
+ away: BraveSearchTeam;
219
+ home: BraveSearchTeam;
220
+ }
221
+ export interface BraveSearchGameVideo {
222
+ duration_seconds: number | null;
223
+ duration_seconds_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
224
+ thumbnail: string;
225
+ type: string;
226
+ url: string;
227
+ }
228
+ export interface BraveSearchGoggle {
229
+ author: string;
230
+ avatar: string;
231
+ description: string;
232
+ digest: string;
233
+ goggle_id: string;
234
+ homepage: string | null;
235
+ host_author: string;
236
+ is_public: boolean;
237
+ name: string;
238
+ popularity?: number | null;
239
+ source?: string | null;
240
+ transferred_from?: string | null;
241
+ transferred_to?: string | null;
242
+ updated_at: string | null;
243
+ updated_at_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
244
+ url: string;
245
+ }
246
+ export interface BraveSearchGoggleList {
247
+ goggles: BraveSearchGoggle[];
248
+ }
249
+ export interface BraveSearchIcon {
250
+ ext?: string | null;
251
+ href: string;
252
+ rel?: string | null;
253
+ sizes?: string | null;
254
+ type?: string | null;
255
+ }
256
+ export interface BraveSearchImage {
257
+ alt?: string | null;
258
+ bg_color?: string | null;
259
+ click_url?: string | null;
260
+ content_size?: string | null;
261
+ format?: string | null;
262
+ from_tripadvisor?: boolean;
263
+ height?: number | null;
264
+ is_duplicate?: boolean | null;
265
+ is_logo?: boolean | null;
266
+ placeholder_url?: string;
267
+ proxied_url?: string;
268
+ resized_url?: string | null;
269
+ shown_on_serp?: boolean;
270
+ site?: BraveSearchSite | null;
271
+ theme?: string | null;
272
+ url?: string | null;
273
+ width?: number | null;
274
+ }
275
+ export interface BraveSearchImageResult {
276
+ confidence: string | null;
277
+ content_fetched_at: string | null;
278
+ content_fetched_at_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
279
+ description: string;
280
+ family_friendly: boolean;
281
+ fetched_at: string | null;
282
+ fetched_at_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
283
+ from_context: boolean;
284
+ full_title: string | null;
285
+ icons: BraveSearchIcon[] | null;
286
+ image: BraveSearchImage;
287
+ is_source_both: boolean;
288
+ is_source_local: boolean;
289
+ language: string | null;
290
+ published_at: string | null;
291
+ similar_images_token: string | null;
292
+ site: BraveSearchSite;
293
+ source: string | null;
294
+ thumbnail: BraveSearchImage;
295
+ title: string;
296
+ url: string;
297
+ }
298
+ export interface BraveSearchImagesPage {
299
+ blur_images: boolean;
300
+ page: BraveSearchImagesPagePage;
301
+ query: BraveSearchQuery;
302
+ results: BraveSearchImageResult[];
303
+ }
304
+ export interface BraveSearchImagesPagePage {
305
+ bad_results: string | null;
306
+ title: string;
307
+ }
308
+ export type BraveSearchLanguage = "en" | "de" | "es" | "fr" | "it" | "ja" | "pt" | "zh";
309
+ export interface BraveSearchLayout {
310
+ main: BraveSearchLayoutSlot[];
311
+ side: BraveSearchLayoutSlot[];
312
+ top: BraveSearchLayoutSlot[];
313
+ }
314
+ export interface BraveSearchLayoutSlot {
315
+ index: number | null;
316
+ module: string;
317
+ response_key?: string;
318
+ shows_all: boolean;
319
+ }
320
+ export interface BraveSearchLeague {
321
+ has_standings?: boolean | null;
322
+ id: number | string;
323
+ logo_url: string;
324
+ name: string;
325
+ round?: string | null;
326
+ season: string;
327
+ }
328
+ export interface BraveSearchNewsPage {
329
+ layout: BraveSearchLayout;
330
+ page: BraveSearchNewsPagePage;
331
+ pagination: BraveSearchCursorPagination;
332
+ query: BraveSearchQuery;
333
+ reranked_by_goggle: boolean;
334
+ results: BraveSearchNewsResult[];
335
+ rich: BraveSearchUnobservedObject | null;
336
+ }
337
+ export interface BraveSearchNewsPagePage {
338
+ bad_results: string | null;
339
+ freshness: string | null;
340
+ freshness_code: string | null;
341
+ title: string;
342
+ }
343
+ export interface BraveSearchNewsResult {
344
+ age_label: string | null;
345
+ description: string;
346
+ description_html?: string;
347
+ is_live: boolean;
348
+ site: BraveSearchSite;
349
+ source: BraveSearchSource | null;
350
+ thumbnail: BraveSearchImage | null;
351
+ title: string;
352
+ url: string;
353
+ }
354
+ export interface BraveSearchOpeningHours {
355
+ current_day: BraveSearchOpeningHoursCurrentDayItem[];
356
+ days: BraveSearchOpeningHoursDaysItem[][];
357
+ }
358
+ export interface BraveSearchOpeningHoursCurrentDayItem {
359
+ abbr_name: string;
360
+ closes: string;
361
+ full_name: string;
362
+ opens: string;
363
+ }
364
+ export interface BraveSearchOpeningHoursDaysItem {
365
+ abbr_name: string;
366
+ closes: string;
367
+ full_name: string;
368
+ opens: string;
369
+ }
370
+ export interface BraveSearchPlace {
371
+ action: BraveSearchUnobservedObject | null;
372
+ address: BraveSearchAddress;
373
+ ai_answer_key?: string | null;
374
+ categories: string[];
375
+ category: string | null;
376
+ contact: BraveSearchPlaceContact | null;
377
+ content_fetched_at?: string | null;
378
+ content_fetched_at_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
379
+ coordinates?: BraveSearchCoordinates;
380
+ cuisines: string[] | null;
381
+ description: string | null;
382
+ distance_meters?: number | null;
383
+ distance_meters_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
384
+ family_friendly?: boolean;
385
+ fetched_at?: string | null;
386
+ fetched_at_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
387
+ full_title?: string | null;
388
+ icon_category: string | null;
389
+ icons?: BraveSearchIcon[] | null;
390
+ id?: string;
391
+ is_source_both?: boolean;
392
+ is_source_local?: boolean;
393
+ language?: string | null;
394
+ opening_hours: BraveSearchOpeningHours | null;
395
+ pictures: BraveSearchPlacePictures | null;
396
+ pid?: string;
397
+ popularity?: number | null;
398
+ price_range: string | null;
399
+ profiles: BraveSearchProfile[];
400
+ provider_url: string;
401
+ published_at?: string | null;
402
+ rating: BraveSearchRating | null;
403
+ rating_score?: number | null;
404
+ raw: BraveSearchUnobservedObject | null;
405
+ results?: BraveSearchPlaceWebResultsItem[] | null;
406
+ reviews: BraveSearchPlaceReviews | null;
407
+ source?: string | null;
408
+ spid?: string;
409
+ thumbnail: BraveSearchImage | null;
410
+ timezone?: string | null;
411
+ timezone_offset: number | null;
412
+ title: string;
413
+ type: string;
414
+ url?: string;
415
+ web_results?: BraveSearchPlaceWebResultsItem[] | null;
416
+ zoom_level?: number;
417
+ }
418
+ export interface BraveSearchPlaceContact {
419
+ email?: string | null;
420
+ telephone: string;
421
+ }
422
+ export interface BraveSearchPlaceDescription {
423
+ markdown: string;
424
+ place_id: string;
425
+ }
426
+ export interface BraveSearchPlacePictures {
427
+ results: BraveSearchImage[];
428
+ view_more_url?: string | null;
429
+ }
430
+ export interface BraveSearchPlaceReviews {
431
+ results: BraveSearchPlaceReviewsResultsItem[];
432
+ reviews_in_foreign_language: boolean;
433
+ view_more_url: string;
434
+ }
435
+ export interface BraveSearchPlaceReviewsResultsItem {
436
+ author: BraveSearchPlaceReviewsResultsItemAuthor;
437
+ date: string | null;
438
+ date_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
439
+ description: string;
440
+ language: string;
441
+ rating: BraveSearchRating;
442
+ review_url: string;
443
+ title: string;
444
+ }
445
+ export interface BraveSearchPlaceReviewsResultsItemAuthor {
446
+ email: string | null;
447
+ name: string;
448
+ thumbnail: BraveSearchImage | null;
449
+ type: string;
450
+ url: string;
451
+ }
452
+ export interface BraveSearchPlaceSuggestion {
453
+ address: BraveSearchAddress | null;
454
+ category: string | null;
455
+ coordinates: BraveSearchCoordinates | null;
456
+ distance_meters: number | null;
457
+ distance_meters_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
458
+ id: string;
459
+ image: BraveSearchImage | null;
460
+ kind: string;
461
+ label: string | null;
462
+ markdown: string;
463
+ name: string;
464
+ permanently_closed: boolean | null;
465
+ type: string;
466
+ }
467
+ export interface BraveSearchPlaceSuggestions {
468
+ query: BraveSearchTextQuery;
469
+ suggestions: BraveSearchPlaceSuggestion[];
470
+ }
471
+ export interface BraveSearchPlaceWebResultsItem {
472
+ content_fetched_at: string | null;
473
+ content_fetched_at_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
474
+ description: string;
475
+ family_friendly: boolean;
476
+ fetched_at: string | null;
477
+ fetched_at_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
478
+ full_title: string | null;
479
+ icons: BraveSearchIcon[] | null;
480
+ is_source_both: boolean;
481
+ is_source_local: boolean;
482
+ language: string | null;
483
+ published_at: string | null;
484
+ site: BraveSearchSite;
485
+ source: string | null;
486
+ title: string;
487
+ url: string;
488
+ }
489
+ export interface BraveSearchPlacesPage {
490
+ addresses: BraveSearchPlacesPageAddressesItem[];
491
+ center: BraveSearchPlacesPageCenter;
492
+ cities: BraveSearchPlacesPageCitiesItem[];
493
+ countries: BraveSearchUnobservedObject[];
494
+ highlight: BraveSearchLayoutSlot | null;
495
+ layout: BraveSearchLayoutSlot[];
496
+ neighborhoods: BraveSearchUnobservedObject[];
497
+ places: BraveSearchPlace[];
498
+ query: BraveSearchTextQuery;
499
+ regions: BraveSearchUnobservedObject[];
500
+ streets: BraveSearchPlacesPageStreetsItem[];
501
+ suggested_viewport: BraveSearchUnobservedObject | null;
502
+ }
503
+ export interface BraveSearchPlacesPageAddressesItem {
504
+ address: BraveSearchAddress;
505
+ coordinates: BraveSearchCoordinates;
506
+ distance_meters: number | null;
507
+ distance_meters_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
508
+ name: string;
509
+ pois: BraveSearchPlace[];
510
+ pois_nearby: BraveSearchPlace[];
511
+ spid: string;
512
+ street_imagery_url: string;
513
+ type: string;
514
+ zoom_level: number;
515
+ }
516
+ export interface BraveSearchPlacesPageCenter {
517
+ coordinates: BraveSearchCoordinates;
518
+ country: string;
519
+ name: string;
520
+ }
521
+ export interface BraveSearchPlacesPageCitiesItem {
522
+ action: BraveSearchPlacesPageCitiesItemAction;
523
+ attributes: string[][];
524
+ boundary: BraveSearchPlacesPageCitiesItemBoundary;
525
+ coordinates: BraveSearchCoordinates;
526
+ country: string;
527
+ description: string;
528
+ description_ai: string;
529
+ description_ai_html: string;
530
+ description_src: string;
531
+ explore_query: string;
532
+ geonameid: number;
533
+ getting_there: string[];
534
+ itineraries: BraveSearchPlacesPageCitiesItemItinerariesItem[];
535
+ kind: string;
536
+ local_time: BraveSearchPlacesPageCitiesItemLocalTime;
537
+ name: string;
538
+ pois: BraveSearchPlace[];
539
+ raw: BraveSearchUnobservedObject | null;
540
+ short_description: string;
541
+ spid: string;
542
+ thumbnail: BraveSearchImage;
543
+ type: string;
544
+ weather: BraveSearchUnobservedObject | null;
545
+ }
546
+ export interface BraveSearchPlacesPageCitiesItemAction {
547
+ type: string;
548
+ url: string;
549
+ }
550
+ export interface BraveSearchPlacesPageCitiesItemBoundary {
551
+ bbox: number[];
552
+ geometry: BraveSearchPlacesPageCitiesItemBoundaryGeometry;
553
+ }
554
+ export interface BraveSearchPlacesPageCitiesItemBoundaryGeometry {
555
+ coordinates: number[][][];
556
+ type: string;
557
+ }
558
+ export interface BraveSearchPlacesPageCitiesItemItinerariesItem {
559
+ max_days: number;
560
+ min_days: number;
561
+ months: string[];
562
+ name: string;
563
+ prompt: string;
564
+ }
565
+ export interface BraveSearchPlacesPageCitiesItemLocalTime {
566
+ date: string | null;
567
+ date_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
568
+ time: string;
569
+ timezone: string;
570
+ utc_relative: string;
571
+ }
572
+ export interface BraveSearchPlacesPageStreetsItem {
573
+ address: BraveSearchAddress;
574
+ coordinates: BraveSearchCoordinates;
575
+ distance_meters: number | null;
576
+ distance_meters_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
577
+ name: string;
578
+ pois: BraveSearchPlace[];
579
+ pois_nearby: BraveSearchPlace[];
580
+ spid: string;
581
+ street_imagery_url: string;
582
+ type: string;
583
+ zoom_level: number;
584
+ }
585
+ export interface BraveSearchProfile {
586
+ image_url: string;
587
+ long_name?: string | null;
588
+ name: string;
589
+ type?: string;
590
+ url: string;
591
+ }
592
+ export interface BraveSearchQuery {
593
+ ads_signature?: string | null;
594
+ ask_for_location?: boolean | null;
595
+ bad_results: boolean;
596
+ choice?: string | null;
597
+ cleaned?: string | null;
598
+ corrected: string | null;
599
+ corrected_terms: BraveSearchQueryCorrectedTermsItem[];
600
+ country: string;
601
+ discussions_cluster?: string | null;
602
+ is_geolocal: boolean | null;
603
+ is_navigational?: boolean | null;
604
+ is_news_breaking?: boolean;
605
+ is_rh_forced?: boolean;
606
+ is_shopping_query?: boolean;
607
+ is_trending?: boolean | null;
608
+ language?: string;
609
+ local_decision: string | null;
610
+ local_locations_idx?: number | null;
611
+ local_query?: string | null;
612
+ local_query_type: string | null;
613
+ more_results_available: boolean | null;
614
+ possible_correction: string | null;
615
+ related_queries: BraveSearchRelatedQuery[];
616
+ related_queries_autocomplete_like: boolean;
617
+ safe_search: string;
618
+ search_operators: BraveSearchSearchOperators | null;
619
+ should_fallback?: boolean;
620
+ show_strict_warning: boolean;
621
+ spellcheck_off: boolean;
622
+ suggested_goggles?: BraveSearchGoggle[];
623
+ text: string;
624
+ }
625
+ export interface BraveSearchQueryCorrectedTermsItem {
626
+ is_changed: boolean;
627
+ text: string;
628
+ }
629
+ export interface BraveSearchRating {
630
+ best_rating: number;
631
+ from_tripadvisor: boolean;
632
+ rating_value: number;
633
+ review_count?: number | null;
634
+ source?: string | null;
635
+ }
636
+ export interface BraveSearchRelatedQuery {
637
+ parts: BraveSearchRelatedQueryPartsItem[];
638
+ text: string;
639
+ }
640
+ export interface BraveSearchRelatedQueryPartsItem {
641
+ is_highlighted: boolean;
642
+ text: string;
643
+ }
644
+ export interface BraveSearchRoute {
645
+ distance_meters: number | null;
646
+ distance_meters_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
647
+ duration_seconds: number | null;
648
+ duration_seconds_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
649
+ sections: BraveSearchRouteSection[];
650
+ typical_duration_seconds?: number;
651
+ via_roads?: string[];
652
+ }
653
+ export type BraveSearchRouteProfile = "driving" | "walking" | "bicycle";
654
+ export interface BraveSearchRouteSection {
655
+ agency?: BraveSearchRouteSectionAgency;
656
+ arrival: BraveSearchRouteSectionArrival;
657
+ departure: BraveSearchRouteSectionDeparture;
658
+ distance_meters: number | null;
659
+ distance_meters_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
660
+ duration_seconds: number | null;
661
+ duration_seconds_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
662
+ next_departures?: BraveSearchRouteSectionNextDeparturesItem[];
663
+ polyline: string;
664
+ polyline_format: string;
665
+ steps?: BraveSearchRouteSectionStepsItem[];
666
+ stops?: BraveSearchRouteSectionStopsItem[];
667
+ traffic?: BraveSearchRouteSectionTrafficItem[];
668
+ transport: BraveSearchRouteSectionTransport;
669
+ type: string;
670
+ typical_duration_seconds?: number;
671
+ }
672
+ export interface BraveSearchRouteSectionAgency {
673
+ name: string;
674
+ url: string;
675
+ }
676
+ export interface BraveSearchRouteSectionArrival {
677
+ place: BraveSearchRouteSectionArrivalPlace;
678
+ time: string;
679
+ }
680
+ export interface BraveSearchRouteSectionArrivalPlace {
681
+ coordinates: BraveSearchCoordinates;
682
+ name?: string;
683
+ type: string;
684
+ }
685
+ export interface BraveSearchRouteSectionDeparture {
686
+ place: BraveSearchRouteSectionDeparturePlace;
687
+ time: string;
688
+ }
689
+ export interface BraveSearchRouteSectionDeparturePlace {
690
+ coordinates: BraveSearchCoordinates;
691
+ name?: string;
692
+ type: string;
693
+ }
694
+ export interface BraveSearchRouteSectionNextDeparturesItem {
695
+ time: string;
696
+ transport: BraveSearchRouteSectionNextDeparturesItemTransport;
697
+ }
698
+ export interface BraveSearchRouteSectionNextDeparturesItemTransport {
699
+ category: string;
700
+ color: string;
701
+ headsign: string;
702
+ mode: string;
703
+ name: string;
704
+ text_color: string;
705
+ }
706
+ export interface BraveSearchRouteSectionStepsItem {
707
+ direction?: string;
708
+ distance_meters: number | null;
709
+ distance_meters_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
710
+ duration_seconds: number | null;
711
+ duration_seconds_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
712
+ functional_class?: number;
713
+ functional_class_label?: string | null;
714
+ instruction: string;
715
+ next_road?: BraveSearchRouteSectionStepsItemNextRoad;
716
+ offset: number;
717
+ road?: BraveSearchRouteSectionStepsItemRoad;
718
+ toward?: string[];
719
+ }
720
+ export interface BraveSearchRouteSectionStepsItemNextRoad {
721
+ name: string;
722
+ number?: string;
723
+ }
724
+ export interface BraveSearchRouteSectionStepsItemRoad {
725
+ name: string;
726
+ number?: string;
727
+ }
728
+ export interface BraveSearchRouteSectionStopsItem {
729
+ coordinates: BraveSearchCoordinates;
730
+ departure_time: string | null;
731
+ name: string;
732
+ }
733
+ export interface BraveSearchRouteSectionTrafficItem {
734
+ distance_meters: number | null;
735
+ distance_meters_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
736
+ offset: number;
737
+ traffic_ratio: number;
738
+ }
739
+ export interface BraveSearchRouteSectionTransport {
740
+ category?: string;
741
+ color?: string;
742
+ headsign?: string;
743
+ mode: string;
744
+ name?: string;
745
+ text_color?: string;
746
+ }
747
+ export type BraveSearchSafeSearch = "strict" | "moderate" | "off";
748
+ export interface BraveSearchSearchOperators {
749
+ applied?: boolean;
750
+ cleaned_query?: string | null;
751
+ sites?: string[];
752
+ }
753
+ export interface BraveSearchSerpAiAnswer {
754
+ answer: BraveSearchAiAnswer | null;
755
+ context: BraveSearchUnobservedObject[];
756
+ conversation_id: string;
757
+ entity_infobox_url: string | null;
758
+ is_possible: boolean;
759
+ is_triggered: boolean;
760
+ question: string;
761
+ request: BraveSearchSerpAiAnswerRequest | null;
762
+ }
763
+ export interface BraveSearchSerpAiAnswerRequest {
764
+ country: string;
765
+ inline_references: boolean;
766
+ language: string;
767
+ query: string;
768
+ results_hash: string;
769
+ safe_search: string;
770
+ version: string;
771
+ }
772
+ export interface BraveSearchSimilarImages {
773
+ might_be_offensive: boolean;
774
+ query: BraveSearchQuery;
775
+ results: BraveSearchImageResult[];
776
+ results_are_safe: boolean;
777
+ }
778
+ export interface BraveSearchSite {
779
+ breadcrumbs: string[];
780
+ domain: string;
781
+ favicon_url: string;
782
+ hostname: string;
783
+ scheme: string;
784
+ }
785
+ export interface BraveSearchSource {
786
+ image_url?: string | null;
787
+ long_name: string | null;
788
+ name: string;
789
+ url?: string;
790
+ }
791
+ export type BraveSearchSport = "football" | "basketball" | "baseball" | "ice_hockey" | "american_football";
792
+ export interface BraveSearchSportsFixture {
793
+ aggregate_score?: BraveSearchAggregateScore | null;
794
+ bulletins?: BraveSearchUnobservedObject | null;
795
+ event_title?: string | null;
796
+ events?: BraveSearchSportsFixtureEventsItem[];
797
+ id: number;
798
+ league: BraveSearchLeague;
799
+ lineups?: BraveSearchSportsFixtureLineups;
800
+ penalty_score?: BraveSearchSportsFixturePenaltyScore | null;
801
+ phase?: string;
802
+ score: BraveSearchSportsFixtureScore;
803
+ score_table?: BraveSearchSportsFixtureScoreTable;
804
+ sport: string;
805
+ start_time: string | null;
806
+ start_time_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
807
+ statistics: BraveSearchSportsFixtureStatistics | BraveSearchSportsFixtureStatisticsItem[] | null;
808
+ status: BraveSearchSportsFixtureStatus;
809
+ teams: BraveSearchSportsFixtureTeams;
810
+ type: string;
811
+ week?: number;
812
+ }
813
+ export interface BraveSearchSportsFixtureEventsItem {
814
+ added_minutes: number | null;
815
+ assist_name: string | null;
816
+ detail: string;
817
+ elapsed_minutes: number;
818
+ player_name: string | null;
819
+ team_id: number;
820
+ type: string;
821
+ }
822
+ export interface BraveSearchSportsFixtureLineups {
823
+ away: BraveSearchSportsFixtureLineupsAway;
824
+ home: BraveSearchSportsFixtureLineupsHome;
825
+ }
826
+ export interface BraveSearchSportsFixtureLineupsAway {
827
+ coach: BraveSearchSportsFixtureLineupsAwayCoach;
828
+ formation: string;
829
+ start_xi: BraveSearchSportsFixtureLineupsAwayStartXiItem[];
830
+ substitutes: BraveSearchSportsFixtureLineupsAwaySubstitutesItem[];
831
+ }
832
+ export interface BraveSearchSportsFixtureLineupsAwayCoach {
833
+ name: string;
834
+ photo_url: string;
835
+ }
836
+ export interface BraveSearchSportsFixtureLineupsAwayStartXiItem {
837
+ grid: string;
838
+ grid_column: number | null;
839
+ grid_row: number | null;
840
+ name: string;
841
+ number: number;
842
+ photo_url: string;
843
+ pos: string;
844
+ position: string | null;
845
+ }
846
+ export interface BraveSearchSportsFixtureLineupsAwaySubstitutesItem {
847
+ grid: string | null;
848
+ name: string;
849
+ number: number;
850
+ photo_url: string;
851
+ pos: string;
852
+ position: string | null;
853
+ }
854
+ export interface BraveSearchSportsFixtureLineupsHome {
855
+ coach: BraveSearchSportsFixtureLineupsHomeCoach;
856
+ formation: string;
857
+ start_xi: BraveSearchSportsFixtureLineupsHomeStartXiItem[];
858
+ substitutes: BraveSearchSportsFixtureLineupsHomeSubstitutesItem[];
859
+ }
860
+ export interface BraveSearchSportsFixtureLineupsHomeCoach {
861
+ name: string;
862
+ photo_url: string;
863
+ }
864
+ export interface BraveSearchSportsFixtureLineupsHomeStartXiItem {
865
+ grid: string;
866
+ grid_column: number | null;
867
+ grid_row: number | null;
868
+ name: string;
869
+ number: number;
870
+ photo_url: string;
871
+ pos: string;
872
+ position: string | null;
873
+ }
874
+ export interface BraveSearchSportsFixtureLineupsHomeSubstitutesItem {
875
+ grid: string | null;
876
+ name: string;
877
+ number: number;
878
+ photo_url: string;
879
+ pos: string;
880
+ position: string | null;
881
+ }
882
+ export interface BraveSearchSportsFixturePenaltyScore {
883
+ away: number;
884
+ home: number;
885
+ }
886
+ export interface BraveSearchSportsFixtureScore {
887
+ away: number;
888
+ home: number;
889
+ }
890
+ export interface BraveSearchSportsFixtureScoreTable {
891
+ ot: BraveSearchUnobservedObject | null;
892
+ q1: BraveSearchSportsFixtureScoreTableQ1 | null;
893
+ q2: BraveSearchSportsFixtureScoreTableQ2 | null;
894
+ q3: BraveSearchSportsFixtureScoreTableQ3 | null;
895
+ q4: BraveSearchSportsFixtureScoreTableQ4 | null;
896
+ }
897
+ export interface BraveSearchSportsFixtureScoreTableQ1 {
898
+ away: number;
899
+ home: number;
900
+ }
901
+ export interface BraveSearchSportsFixtureScoreTableQ2 {
902
+ away: number;
903
+ home: number;
904
+ }
905
+ export interface BraveSearchSportsFixtureScoreTableQ3 {
906
+ away: number;
907
+ home: number;
908
+ }
909
+ export interface BraveSearchSportsFixtureScoreTableQ4 {
910
+ away: number;
911
+ home: number;
912
+ }
913
+ export interface BraveSearchSportsFixtureStatistics {
914
+ away: BraveSearchSportsFixtureStatisticsAway;
915
+ home: BraveSearchSportsFixtureStatisticsHome;
916
+ }
917
+ export interface BraveSearchSportsFixtureStatisticsAway {
918
+ player: BraveSearchSportsFixtureStatisticsAwayPlayer;
919
+ team: BraveSearchTeamStatistics;
920
+ }
921
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayer {
922
+ blocked_kick_stats: BraveSearchUnobservedObject[];
923
+ defense_stats: BraveSearchSportsFixtureStatisticsAwayPlayerDefenseStatsItem[];
924
+ field_goal_stats: BraveSearchSportsFixtureStatisticsAwayPlayerFieldGoalStatsItem[];
925
+ forced_fumble_stats: BraveSearchSportsFixtureStatisticsAwayPlayerForcedFumbleStatsItem[];
926
+ inactives: BraveSearchSportsFixtureStatisticsAwayPlayerInactivesItem[];
927
+ interception_stats: BraveSearchUnobservedObject[];
928
+ kick_return_stats: BraveSearchSportsFixtureStatisticsAwayPlayerKickReturnStatsItem[];
929
+ opponent_fumble_recovered_stats: BraveSearchSportsFixtureStatisticsAwayPlayerOpponentFumbleRecoveredStatsItem[];
930
+ own_fumble_recovered_stats: BraveSearchSportsFixtureStatisticsAwayPlayerOwnFumbleRecoveredStatsItem[];
931
+ own_fumble_stats: BraveSearchSportsFixtureStatisticsAwayPlayerOwnFumbleStatsItem[];
932
+ participation_stats: BraveSearchSportsFixtureStatisticsAwayPlayerParticipationStatsItem[];
933
+ passing_stats: BraveSearchSportsFixtureStatisticsAwayPlayerPassingStatsItem[];
934
+ pat_stats: BraveSearchSportsFixtureStatisticsAwayPlayerPatStatsItem[];
935
+ penalty_stats: BraveSearchSportsFixtureStatisticsAwayPlayerPenaltyStatsItem[];
936
+ punt_return_stats: BraveSearchSportsFixtureStatisticsAwayPlayerPuntReturnStatsItem[];
937
+ punting_stats: BraveSearchSportsFixtureStatisticsAwayPlayerPuntingStatsItem[];
938
+ receiving_stats: BraveSearchSportsFixtureStatisticsAwayPlayerReceivingStatsItem[];
939
+ rushing_stats: BraveSearchSportsFixtureStatisticsAwayPlayerRushingStatsItem[];
940
+ two_point_conversion_stats: BraveSearchUnobservedObject[];
941
+ }
942
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerDefenseStatsItem {
943
+ assists: number;
944
+ misc_assists: number;
945
+ misc_tackles: number;
946
+ passes_defensed: number;
947
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerDefenseStatsItemPlayer;
948
+ sack_yards: number;
949
+ sacks: number;
950
+ safeties: number;
951
+ special_teams_assists: number;
952
+ special_teams_tackles: number;
953
+ stuff_yards: number;
954
+ stuffs: number;
955
+ tackles: number;
956
+ tackles_for_loss: number;
957
+ }
958
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerDefenseStatsItemPlayer {
959
+ first_name: string;
960
+ last_name: string;
961
+ player_id: number;
962
+ uniform: string;
963
+ }
964
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerFieldGoalStatsItem {
965
+ attempts: number;
966
+ blocked: number;
967
+ longest_gain: number;
968
+ made: number;
969
+ made_details: BraveSearchSportsFixtureStatisticsAwayPlayerFieldGoalStatsItemMadeDetailsItem[];
970
+ missed_details: BraveSearchUnobservedObject[];
971
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerFieldGoalStatsItemPlayer;
972
+ }
973
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerFieldGoalStatsItemMadeDetailsItem {
974
+ distance_yards: number | null;
975
+ distance_yards_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
976
+ }
977
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerFieldGoalStatsItemPlayer {
978
+ first_name: string;
979
+ last_name: string;
980
+ player_id: number;
981
+ uniform: string;
982
+ }
983
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerForcedFumbleStatsItem {
984
+ number: number;
985
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerForcedFumbleStatsItemPlayer;
986
+ }
987
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerForcedFumbleStatsItemPlayer {
988
+ first_name: string;
989
+ last_name: string;
990
+ player_id: number;
991
+ uniform: string;
992
+ }
993
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerInactivesItem {
994
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerInactivesItemPlayer;
995
+ }
996
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerInactivesItemPlayer {
997
+ first_name: string;
998
+ last_name: string;
999
+ player_id: number;
1000
+ uniform: string;
1001
+ }
1002
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerKickReturnStatsItem {
1003
+ big_plays: BraveSearchSportsFixtureStatisticsAwayPlayerKickReturnStatsItemBigPlaysItem[];
1004
+ is_long_touchdown: boolean;
1005
+ longest_gain: number;
1006
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerKickReturnStatsItemPlayer;
1007
+ returns: number;
1008
+ touchdowns: number;
1009
+ yards: number;
1010
+ }
1011
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerKickReturnStatsItemBigPlaysItem {
1012
+ number: number;
1013
+ touchdowns: number;
1014
+ value: number;
1015
+ }
1016
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerKickReturnStatsItemPlayer {
1017
+ first_name: string;
1018
+ last_name: string;
1019
+ player_id: number;
1020
+ uniform: string;
1021
+ }
1022
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerOpponentFumbleRecoveredStatsItem {
1023
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerOpponentFumbleRecoveredStatsItemPlayer;
1024
+ total: number;
1025
+ touchdowns: number;
1026
+ units: BraveSearchSportsFixtureStatisticsAwayPlayerOpponentFumbleRecoveredStatsItemUnitsItem[];
1027
+ yards: number;
1028
+ }
1029
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerOpponentFumbleRecoveredStatsItemPlayer {
1030
+ first_name: string;
1031
+ last_name: string;
1032
+ player_id: number;
1033
+ uniform: string;
1034
+ }
1035
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerOpponentFumbleRecoveredStatsItemUnitsItem {
1036
+ name: string;
1037
+ number: number;
1038
+ unit_id: number;
1039
+ }
1040
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerOwnFumbleRecoveredStatsItem {
1041
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerOwnFumbleRecoveredStatsItemPlayer;
1042
+ total: number;
1043
+ touchdowns: number;
1044
+ yards: number;
1045
+ }
1046
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerOwnFumbleRecoveredStatsItemPlayer {
1047
+ first_name: string;
1048
+ last_name: string;
1049
+ player_id: number;
1050
+ uniform: string;
1051
+ }
1052
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerOwnFumbleStatsItem {
1053
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerOwnFumbleStatsItemPlayer;
1054
+ total: number;
1055
+ total_lost: number;
1056
+ units: BraveSearchSportsFixtureStatisticsAwayPlayerOwnFumbleStatsItemUnitsItem[];
1057
+ }
1058
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerOwnFumbleStatsItemPlayer {
1059
+ first_name: string;
1060
+ last_name: string;
1061
+ player_id: number;
1062
+ uniform: string;
1063
+ }
1064
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerOwnFumbleStatsItemUnitsItem {
1065
+ name: string;
1066
+ number: number;
1067
+ number_lost: number;
1068
+ unit_id: number;
1069
+ }
1070
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerParticipationStatsItem {
1071
+ is_game_played: boolean;
1072
+ is_game_started: boolean;
1073
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerParticipationStatsItemPlayer;
1074
+ }
1075
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerParticipationStatsItemPlayer {
1076
+ first_name: string;
1077
+ last_name: string;
1078
+ player_id: number;
1079
+ uniform: string;
1080
+ }
1081
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerPassingStatsItem {
1082
+ attempts: number;
1083
+ big_plays: BraveSearchSportsFixtureStatisticsAwayPlayerPassingStatsItemBigPlaysItem[];
1084
+ completions: number;
1085
+ first_downs: number;
1086
+ fumbles: number;
1087
+ fumbles_lost: number;
1088
+ interceptions: number;
1089
+ is_long_touchdown: boolean;
1090
+ longest_gain: number;
1091
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerPassingStatsItemPlayer;
1092
+ rating: number;
1093
+ sacked: number;
1094
+ sacked_yards_lost: number;
1095
+ targets: number;
1096
+ touchdowns: number;
1097
+ yards: number;
1098
+ yards_per_attempt: string;
1099
+ }
1100
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerPassingStatsItemBigPlaysItem {
1101
+ number: number;
1102
+ touchdowns: number;
1103
+ value: number;
1104
+ }
1105
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerPassingStatsItemPlayer {
1106
+ first_name: string;
1107
+ last_name: string;
1108
+ player_id: number;
1109
+ uniform: string;
1110
+ }
1111
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerPatStatsItem {
1112
+ attempts: number;
1113
+ blocked: number;
1114
+ made: number;
1115
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerPatStatsItemPlayer;
1116
+ }
1117
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerPatStatsItemPlayer {
1118
+ first_name: string;
1119
+ last_name: string;
1120
+ player_id: number;
1121
+ uniform: string;
1122
+ }
1123
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerPenaltyStatsItem {
1124
+ accepted: number;
1125
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerPenaltyStatsItemPlayer;
1126
+ yards: number;
1127
+ }
1128
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerPenaltyStatsItemPlayer {
1129
+ first_name: string;
1130
+ last_name: string;
1131
+ player_id: number;
1132
+ uniform: string;
1133
+ }
1134
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerPuntReturnStatsItem {
1135
+ big_plays: BraveSearchSportsFixtureStatisticsAwayPlayerPuntReturnStatsItemBigPlaysItem[];
1136
+ fair_catches: number;
1137
+ is_long_touchdown: boolean;
1138
+ longest_gain: number;
1139
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerPuntReturnStatsItemPlayer;
1140
+ returns: number;
1141
+ touchdowns: number;
1142
+ yards: number;
1143
+ }
1144
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerPuntReturnStatsItemBigPlaysItem {
1145
+ number: number;
1146
+ touchdowns: number;
1147
+ value: number;
1148
+ }
1149
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerPuntReturnStatsItemPlayer {
1150
+ first_name: string;
1151
+ last_name: string;
1152
+ player_id: number;
1153
+ uniform: string;
1154
+ }
1155
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerPuntingStatsItem {
1156
+ average: string;
1157
+ blocked: number;
1158
+ in20: number;
1159
+ longest_gain: number;
1160
+ net_average: string;
1161
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerPuntingStatsItemPlayer;
1162
+ punts: number;
1163
+ return_yards: number;
1164
+ returns: number;
1165
+ touchbacks: number;
1166
+ yards: number;
1167
+ }
1168
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerPuntingStatsItemPlayer {
1169
+ first_name: string;
1170
+ last_name: string;
1171
+ player_id: number;
1172
+ uniform: string;
1173
+ }
1174
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerReceivingStatsItem {
1175
+ big_plays: BraveSearchSportsFixtureStatisticsAwayPlayerReceivingStatsItemBigPlaysItem[];
1176
+ first_downs: number;
1177
+ fumbles: number;
1178
+ fumbles_lost: number;
1179
+ is_long_touchdown: boolean;
1180
+ longest_gain: number;
1181
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerReceivingStatsItemPlayer;
1182
+ receptions: number;
1183
+ targets: number;
1184
+ touchdowns: number;
1185
+ yards: number;
1186
+ }
1187
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerReceivingStatsItemBigPlaysItem {
1188
+ number: number;
1189
+ touchdowns: number;
1190
+ value: number;
1191
+ }
1192
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerReceivingStatsItemPlayer {
1193
+ first_name: string;
1194
+ last_name: string;
1195
+ player_id: number;
1196
+ uniform: string;
1197
+ }
1198
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerRushingStatsItem {
1199
+ attempts: number;
1200
+ big_plays: BraveSearchSportsFixtureStatisticsAwayPlayerRushingStatsItemBigPlaysItem[];
1201
+ first_downs: number;
1202
+ fumbles: number;
1203
+ fumbles_lost: number;
1204
+ is_long_touchdown: boolean;
1205
+ longest_gain: number;
1206
+ player: BraveSearchSportsFixtureStatisticsAwayPlayerRushingStatsItemPlayer;
1207
+ touchdowns: number;
1208
+ yards: number;
1209
+ yards_per_attempt: string;
1210
+ }
1211
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerRushingStatsItemBigPlaysItem {
1212
+ number: number;
1213
+ touchdowns: number;
1214
+ value: number;
1215
+ }
1216
+ export interface BraveSearchSportsFixtureStatisticsAwayPlayerRushingStatsItemPlayer {
1217
+ first_name: string;
1218
+ last_name: string;
1219
+ player_id: number;
1220
+ uniform: string;
1221
+ }
1222
+ export interface BraveSearchSportsFixtureStatisticsHome {
1223
+ player: BraveSearchSportsFixtureStatisticsHomePlayer;
1224
+ team: BraveSearchTeamStatistics;
1225
+ }
1226
+ export interface BraveSearchSportsFixtureStatisticsHomePlayer {
1227
+ blocked_kick_stats: BraveSearchUnobservedObject[];
1228
+ defense_stats: BraveSearchSportsFixtureStatisticsHomePlayerDefenseStatsItem[];
1229
+ field_goal_stats: BraveSearchSportsFixtureStatisticsHomePlayerFieldGoalStatsItem[];
1230
+ forced_fumble_stats: BraveSearchSportsFixtureStatisticsHomePlayerForcedFumbleStatsItem[];
1231
+ inactives: BraveSearchSportsFixtureStatisticsHomePlayerInactivesItem[];
1232
+ interception_stats: BraveSearchUnobservedObject[];
1233
+ kick_return_stats: BraveSearchSportsFixtureStatisticsHomePlayerKickReturnStatsItem[];
1234
+ opponent_fumble_recovered_stats: BraveSearchUnobservedObject[];
1235
+ own_fumble_recovered_stats: BraveSearchUnobservedObject[];
1236
+ own_fumble_stats: BraveSearchSportsFixtureStatisticsHomePlayerOwnFumbleStatsItem[];
1237
+ participation_stats: BraveSearchSportsFixtureStatisticsHomePlayerParticipationStatsItem[];
1238
+ passing_stats: BraveSearchSportsFixtureStatisticsHomePlayerPassingStatsItem[];
1239
+ pat_stats: BraveSearchSportsFixtureStatisticsHomePlayerPatStatsItem[];
1240
+ penalty_stats: BraveSearchSportsFixtureStatisticsHomePlayerPenaltyStatsItem[];
1241
+ punt_return_stats: BraveSearchUnobservedObject[];
1242
+ punting_stats: BraveSearchSportsFixtureStatisticsHomePlayerPuntingStatsItem[];
1243
+ receiving_stats: BraveSearchSportsFixtureStatisticsHomePlayerReceivingStatsItem[];
1244
+ rushing_stats: BraveSearchSportsFixtureStatisticsHomePlayerRushingStatsItem[];
1245
+ two_point_conversion_stats: BraveSearchUnobservedObject[];
1246
+ }
1247
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerDefenseStatsItem {
1248
+ assists: number;
1249
+ misc_assists: number;
1250
+ misc_tackles: number;
1251
+ passes_defensed: number;
1252
+ player: BraveSearchSportsFixtureStatisticsHomePlayerDefenseStatsItemPlayer;
1253
+ sack_yards: number;
1254
+ sacks: number;
1255
+ safeties: number;
1256
+ special_teams_assists: number;
1257
+ special_teams_tackles: number;
1258
+ stuff_yards: number;
1259
+ stuffs: number;
1260
+ tackles: number;
1261
+ tackles_for_loss: number;
1262
+ }
1263
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerDefenseStatsItemPlayer {
1264
+ first_name: string;
1265
+ last_name: string;
1266
+ player_id: number;
1267
+ uniform: string;
1268
+ }
1269
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerFieldGoalStatsItem {
1270
+ attempts: number;
1271
+ blocked: number;
1272
+ longest_gain: number;
1273
+ made: number;
1274
+ made_details: BraveSearchSportsFixtureStatisticsHomePlayerFieldGoalStatsItemMadeDetailsItem[];
1275
+ missed_details: BraveSearchUnobservedObject[];
1276
+ player: BraveSearchSportsFixtureStatisticsHomePlayerFieldGoalStatsItemPlayer;
1277
+ }
1278
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerFieldGoalStatsItemMadeDetailsItem {
1279
+ distance_yards: number | null;
1280
+ distance_yards_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
1281
+ }
1282
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerFieldGoalStatsItemPlayer {
1283
+ first_name: string;
1284
+ last_name: string;
1285
+ player_id: number;
1286
+ uniform: string;
1287
+ }
1288
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerForcedFumbleStatsItem {
1289
+ number: number;
1290
+ player: BraveSearchSportsFixtureStatisticsHomePlayerForcedFumbleStatsItemPlayer;
1291
+ }
1292
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerForcedFumbleStatsItemPlayer {
1293
+ first_name: string;
1294
+ last_name: string;
1295
+ player_id: number;
1296
+ uniform: string;
1297
+ }
1298
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerInactivesItem {
1299
+ player: BraveSearchSportsFixtureStatisticsHomePlayerInactivesItemPlayer;
1300
+ }
1301
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerInactivesItemPlayer {
1302
+ first_name: string;
1303
+ last_name: string;
1304
+ player_id: number;
1305
+ uniform: string;
1306
+ }
1307
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerKickReturnStatsItem {
1308
+ big_plays: BraveSearchSportsFixtureStatisticsHomePlayerKickReturnStatsItemBigPlaysItem[];
1309
+ is_long_touchdown: boolean;
1310
+ longest_gain: number;
1311
+ player: BraveSearchSportsFixtureStatisticsHomePlayerKickReturnStatsItemPlayer;
1312
+ returns: number;
1313
+ touchdowns: number;
1314
+ yards: number;
1315
+ }
1316
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerKickReturnStatsItemBigPlaysItem {
1317
+ number: number;
1318
+ touchdowns: number;
1319
+ value: number;
1320
+ }
1321
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerKickReturnStatsItemPlayer {
1322
+ first_name: string;
1323
+ last_name: string;
1324
+ player_id: number;
1325
+ uniform: string;
1326
+ }
1327
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerOwnFumbleStatsItem {
1328
+ player: BraveSearchSportsFixtureStatisticsHomePlayerOwnFumbleStatsItemPlayer;
1329
+ total: number;
1330
+ total_lost: number;
1331
+ units: BraveSearchSportsFixtureStatisticsHomePlayerOwnFumbleStatsItemUnitsItem[];
1332
+ }
1333
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerOwnFumbleStatsItemPlayer {
1334
+ first_name: string;
1335
+ last_name: string;
1336
+ player_id: number;
1337
+ uniform: string;
1338
+ }
1339
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerOwnFumbleStatsItemUnitsItem {
1340
+ name: string;
1341
+ number: number;
1342
+ number_lost: number;
1343
+ unit_id: number;
1344
+ }
1345
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerParticipationStatsItem {
1346
+ is_game_played: boolean;
1347
+ is_game_started: boolean;
1348
+ player: BraveSearchSportsFixtureStatisticsHomePlayerParticipationStatsItemPlayer;
1349
+ }
1350
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerParticipationStatsItemPlayer {
1351
+ first_name: string;
1352
+ last_name: string;
1353
+ player_id: number;
1354
+ uniform: string;
1355
+ }
1356
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerPassingStatsItem {
1357
+ attempts: number;
1358
+ big_plays: BraveSearchSportsFixtureStatisticsHomePlayerPassingStatsItemBigPlaysItem[];
1359
+ completions: number;
1360
+ first_downs: number;
1361
+ fumbles: number;
1362
+ fumbles_lost: number;
1363
+ interceptions: number;
1364
+ is_long_touchdown: boolean;
1365
+ longest_gain: number;
1366
+ player: BraveSearchSportsFixtureStatisticsHomePlayerPassingStatsItemPlayer;
1367
+ rating: number;
1368
+ sacked: number;
1369
+ sacked_yards_lost: number;
1370
+ targets: number;
1371
+ touchdowns: number;
1372
+ yards: number;
1373
+ yards_per_attempt: string;
1374
+ }
1375
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerPassingStatsItemBigPlaysItem {
1376
+ number: number;
1377
+ touchdowns: number;
1378
+ value: number;
1379
+ }
1380
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerPassingStatsItemPlayer {
1381
+ first_name: string;
1382
+ last_name: string;
1383
+ player_id: number;
1384
+ uniform: string;
1385
+ }
1386
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerPatStatsItem {
1387
+ attempts: number;
1388
+ blocked: number;
1389
+ made: number;
1390
+ player: BraveSearchSportsFixtureStatisticsHomePlayerPatStatsItemPlayer;
1391
+ }
1392
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerPatStatsItemPlayer {
1393
+ first_name: string;
1394
+ last_name: string;
1395
+ player_id: number;
1396
+ uniform: string;
1397
+ }
1398
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerPenaltyStatsItem {
1399
+ accepted: number;
1400
+ player: BraveSearchSportsFixtureStatisticsHomePlayerPenaltyStatsItemPlayer;
1401
+ yards: number;
1402
+ }
1403
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerPenaltyStatsItemPlayer {
1404
+ first_name: string;
1405
+ last_name: string;
1406
+ player_id: number;
1407
+ uniform: string;
1408
+ }
1409
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerPuntingStatsItem {
1410
+ average: string;
1411
+ blocked: number;
1412
+ in20: number;
1413
+ longest_gain: number;
1414
+ net_average: string;
1415
+ player: BraveSearchSportsFixtureStatisticsHomePlayerPuntingStatsItemPlayer;
1416
+ punts: number;
1417
+ return_yards: number;
1418
+ returns: number;
1419
+ touchbacks: number;
1420
+ yards: number;
1421
+ }
1422
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerPuntingStatsItemPlayer {
1423
+ first_name: string;
1424
+ last_name: string;
1425
+ player_id: number;
1426
+ uniform: string;
1427
+ }
1428
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerReceivingStatsItem {
1429
+ big_plays: BraveSearchSportsFixtureStatisticsHomePlayerReceivingStatsItemBigPlaysItem[];
1430
+ first_downs: number;
1431
+ fumbles: number;
1432
+ fumbles_lost: number;
1433
+ is_long_touchdown: boolean;
1434
+ longest_gain: number;
1435
+ player: BraveSearchSportsFixtureStatisticsHomePlayerReceivingStatsItemPlayer;
1436
+ receptions: number;
1437
+ targets: number;
1438
+ touchdowns: number;
1439
+ yards: number;
1440
+ }
1441
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerReceivingStatsItemBigPlaysItem {
1442
+ number: number;
1443
+ touchdowns: number;
1444
+ value: number;
1445
+ }
1446
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerReceivingStatsItemPlayer {
1447
+ first_name: string;
1448
+ last_name: string;
1449
+ player_id: number;
1450
+ uniform: string;
1451
+ }
1452
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerRushingStatsItem {
1453
+ attempts: number;
1454
+ big_plays: BraveSearchSportsFixtureStatisticsHomePlayerRushingStatsItemBigPlaysItem[];
1455
+ first_downs: number;
1456
+ fumbles: number;
1457
+ fumbles_lost: number;
1458
+ is_long_touchdown: boolean;
1459
+ longest_gain: number;
1460
+ player: BraveSearchSportsFixtureStatisticsHomePlayerRushingStatsItemPlayer;
1461
+ touchdowns: number;
1462
+ yards: number;
1463
+ yards_per_attempt: string;
1464
+ }
1465
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerRushingStatsItemBigPlaysItem {
1466
+ number: number;
1467
+ touchdowns: number;
1468
+ value: number;
1469
+ }
1470
+ export interface BraveSearchSportsFixtureStatisticsHomePlayerRushingStatsItemPlayer {
1471
+ first_name: string;
1472
+ last_name: string;
1473
+ player_id: number;
1474
+ uniform: string;
1475
+ }
1476
+ export interface BraveSearchSportsFixtureStatisticsItem {
1477
+ away: number | string;
1478
+ home: number | string;
1479
+ name: string;
1480
+ }
1481
+ export interface BraveSearchSportsFixtureStatus {
1482
+ added_minutes?: number | null;
1483
+ code: string;
1484
+ elapsed?: number | null;
1485
+ elapsed_minutes?: number;
1486
+ label: string | null;
1487
+ }
1488
+ export interface BraveSearchSportsFixtureTeams {
1489
+ away: BraveSearchSportsFixtureTeamsAway;
1490
+ home: BraveSearchSportsFixtureTeamsHome;
1491
+ }
1492
+ export interface BraveSearchSportsFixtureTeamsAway {
1493
+ id: number;
1494
+ location: string | null;
1495
+ logo_url: string;
1496
+ name: string;
1497
+ nickname: string | null;
1498
+ }
1499
+ export interface BraveSearchSportsFixtureTeamsHome {
1500
+ id: number;
1501
+ location: string | null;
1502
+ logo_url: string;
1503
+ name: string;
1504
+ nickname: string | null;
1505
+ }
1506
+ export interface BraveSearchSportsGames {
1507
+ competitions?: BraveSearchSportsGamesCompetitionsItem[];
1508
+ date_label?: string | null;
1509
+ date_label_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
1510
+ focus_time?: string | null;
1511
+ focus_time_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
1512
+ game_times?: string[] | null;
1513
+ game_times_as_sent?: (boolean | number | string | BraveSearchUnobservedObject | null)[];
1514
+ games: BraveSearchGame[];
1515
+ groups?: BraveSearchSportsGamesGroupsItem[];
1516
+ league?: BraveSearchLeague;
1517
+ leagues?: Record<string, BraveSearchLeague>;
1518
+ sport: string;
1519
+ team?: BraveSearchTeam;
1520
+ type: string;
1521
+ }
1522
+ export interface BraveSearchSportsGamesCompetitionsItem {
1523
+ id: number;
1524
+ name: string;
1525
+ season: string;
1526
+ }
1527
+ export interface BraveSearchSportsGamesGroupsItem {
1528
+ groups: BraveSearchSportsGamesGroupsItem[];
1529
+ name: string;
1530
+ standings: BraveSearchSportsGamesGroupsItemStandingsItem[];
1531
+ }
1532
+ export interface BraveSearchSportsGamesGroupsItemStandingsItem {
1533
+ drawn: number;
1534
+ form: string;
1535
+ form_results: (string | null)[];
1536
+ goals_against: number;
1537
+ goals_for: number;
1538
+ label: BraveSearchSportsGamesGroupsItemStandingsItemLabel | null;
1539
+ lost: number;
1540
+ played: number;
1541
+ points: number;
1542
+ rank: number;
1543
+ team: BraveSearchTeam;
1544
+ won: number;
1545
+ }
1546
+ export interface BraveSearchSportsGamesGroupsItemStandingsItemLabel {
1547
+ i18n: string;
1548
+ i18n_opts: BraveSearchSportsGamesGroupsItemStandingsItemLabelI18nOpts;
1549
+ kind: string;
1550
+ text: string | null;
1551
+ }
1552
+ export interface BraveSearchSportsGamesGroupsItemStandingsItemLabelI18nOpts {
1553
+ destination: string;
1554
+ phase?: string;
1555
+ }
1556
+ export interface BraveSearchSportsStandings {
1557
+ groups: BraveSearchSportsStandingsGroupsItem[];
1558
+ league?: BraveSearchLeague;
1559
+ sport: string;
1560
+ type: string;
1561
+ }
1562
+ export interface BraveSearchSportsStandingsGroupsItem {
1563
+ groups: BraveSearchSportsStandingsGroupsItemGroupsItem[];
1564
+ name: string;
1565
+ stage?: string;
1566
+ standings: BraveSearchSportsStandingsGroupsItemStandingsItem[];
1567
+ }
1568
+ export interface BraveSearchSportsStandingsGroupsItemGroupsItem {
1569
+ groups: BraveSearchSportsStandingsGroupsItemGroupsItem[];
1570
+ name: string;
1571
+ standings: BraveSearchSportsStandingsGroupsItemGroupsItemStandingsItem[];
1572
+ }
1573
+ export interface BraveSearchSportsStandingsGroupsItemGroupsItemStandingsItem {
1574
+ conference_rank: number;
1575
+ conference_seed: number;
1576
+ division_rank: number;
1577
+ division_seed: number;
1578
+ drawn: number;
1579
+ games_behind: number | null;
1580
+ games_behind_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
1581
+ lost: number;
1582
+ points_against: number;
1583
+ points_for: number;
1584
+ team: BraveSearchTeam;
1585
+ win_percentage: number | null;
1586
+ win_percentage_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
1587
+ won: number;
1588
+ }
1589
+ export interface BraveSearchSportsStandingsGroupsItemStandingsItem {
1590
+ drawn?: number;
1591
+ form?: string;
1592
+ form_results?: (string | null)[];
1593
+ games_behind?: number | null;
1594
+ games_behind_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
1595
+ goals_against?: number;
1596
+ goals_for?: number;
1597
+ label?: BraveSearchSportsStandingsGroupsItemStandingsItemLabel | null;
1598
+ loss_percentage?: number | null;
1599
+ loss_percentage_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
1600
+ lost: number;
1601
+ played: number;
1602
+ points?: number;
1603
+ rank: number;
1604
+ team: BraveSearchTeam;
1605
+ win_percentage?: number | null;
1606
+ win_percentage_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
1607
+ won: number;
1608
+ }
1609
+ export interface BraveSearchSportsStandingsGroupsItemStandingsItemLabel {
1610
+ i18n: string;
1611
+ i18n_opts: BraveSearchSportsStandingsGroupsItemStandingsItemLabelI18nOpts;
1612
+ kind: string;
1613
+ text: string | null;
1614
+ }
1615
+ export interface BraveSearchSportsStandingsGroupsItemStandingsItemLabelI18nOpts {
1616
+ destination: string;
1617
+ phase?: string;
1618
+ }
1619
+ export interface BraveSearchSuggestion {
1620
+ category?: string | null;
1621
+ description?: string;
1622
+ image_url?: string;
1623
+ is_logo?: boolean;
1624
+ name?: string;
1625
+ text: string;
1626
+ type: string;
1627
+ }
1628
+ export interface BraveSearchSuggestions {
1629
+ query: BraveSearchTextQuery;
1630
+ suggestions: BraveSearchSuggestion[];
1631
+ }
1632
+ export interface BraveSearchSummarizer {
1633
+ key: string;
1634
+ type?: string | null;
1635
+ }
1636
+ export interface BraveSearchTeam {
1637
+ id: number;
1638
+ location?: string | null;
1639
+ logo_url: string;
1640
+ name: string;
1641
+ nickname?: string | null;
1642
+ }
1643
+ export type BraveSearchTeamSport = "football" | "basketball" | "baseball" | "ice_hockey";
1644
+ export interface BraveSearchTeamStatistics {
1645
+ defense: BraveSearchTeamStatisticsDefense;
1646
+ extra_points: BraveSearchTeamStatisticsExtraPoints;
1647
+ field_goals: BraveSearchTeamStatisticsFieldGoals;
1648
+ first_downs: BraveSearchTeamStatisticsFirstDowns;
1649
+ fourth_down_efficiency: BraveSearchTeamStatisticsFourthDownEfficiency;
1650
+ game_totals: BraveSearchTeamStatisticsGameTotals;
1651
+ goal_to_go_efficiency: BraveSearchTeamStatisticsGoalToGoEfficiency;
1652
+ interceptions: BraveSearchTeamStatisticsInterceptions;
1653
+ kick_returning: BraveSearchTeamStatisticsKickReturning;
1654
+ kickoffs: BraveSearchTeamStatisticsKickoffs;
1655
+ opponent_fumbles: BraveSearchTeamStatisticsOpponentFumbles;
1656
+ own_fumbles: BraveSearchTeamStatisticsOwnFumbles;
1657
+ passing: BraveSearchTeamStatisticsPassing;
1658
+ penalties: BraveSearchTeamStatisticsPenalties;
1659
+ punt_returning: BraveSearchTeamStatisticsPuntReturning;
1660
+ punting: BraveSearchTeamStatisticsPunting;
1661
+ red_zone_efficiency: BraveSearchTeamStatisticsRedZoneEfficiency;
1662
+ return_totals: BraveSearchTeamStatisticsReturnTotals;
1663
+ rushing: BraveSearchTeamStatisticsRushing;
1664
+ safeties?: number;
1665
+ third_down_efficiency: BraveSearchTeamStatisticsThirdDownEfficiency;
1666
+ time_of_possession: BraveSearchTeamStatisticsTimeOfPossession;
1667
+ two_point_after4_ot?: BraveSearchTeamStatisticsOvertimeConversions;
1668
+ two_point_conversions: BraveSearchTeamStatisticsTwoPointConversions;
1669
+ }
1670
+ export interface BraveSearchTeamStatisticsDefense {
1671
+ assists?: number;
1672
+ forced_fumbles?: number;
1673
+ passes_defensed?: number;
1674
+ sack_yards: number | null;
1675
+ sacks: number | null;
1676
+ special_teams_tackles?: number;
1677
+ stuff_yards?: number;
1678
+ stuffs?: number;
1679
+ tackles?: number;
1680
+ tackles_for_loss?: number;
1681
+ }
1682
+ export interface BraveSearchTeamStatisticsExtraPoints {
1683
+ attempts: number | null;
1684
+ blocked: number | null;
1685
+ made: number;
1686
+ percentage: string | null;
1687
+ }
1688
+ export interface BraveSearchTeamStatisticsFieldGoals {
1689
+ attempts: number;
1690
+ blocked: number;
1691
+ made: number;
1692
+ percentage: string | null;
1693
+ }
1694
+ export interface BraveSearchTeamStatisticsFirstDowns {
1695
+ passing: number;
1696
+ penalty: number;
1697
+ rushing: number;
1698
+ total: number;
1699
+ }
1700
+ export interface BraveSearchTeamStatisticsFourthDownEfficiency {
1701
+ attempts: number;
1702
+ made: number;
1703
+ percentage: string | null;
1704
+ }
1705
+ export interface BraveSearchTeamStatisticsGameTotals {
1706
+ average: string | null;
1707
+ net_yards: number | null;
1708
+ plays: number;
1709
+ touchdowns?: number;
1710
+ }
1711
+ export interface BraveSearchTeamStatisticsGoalToGoEfficiency {
1712
+ attempts: number;
1713
+ made: number;
1714
+ percentage: string | null;
1715
+ }
1716
+ export interface BraveSearchTeamStatisticsInterceptions {
1717
+ is_long_touchdown?: boolean;
1718
+ longest_gain?: number;
1719
+ number: number;
1720
+ touchdowns?: number;
1721
+ yards: number;
1722
+ }
1723
+ export interface BraveSearchTeamStatisticsKickReturning {
1724
+ is_long_touchdown?: boolean;
1725
+ longest_gain?: number;
1726
+ returns?: number;
1727
+ touchdowns?: number;
1728
+ yards: number;
1729
+ }
1730
+ export interface BraveSearchTeamStatisticsKickoffs {
1731
+ end_zone: number | null;
1732
+ number: number;
1733
+ touchbacks: number | null;
1734
+ }
1735
+ export interface BraveSearchTeamStatisticsOpponentFumbles {
1736
+ recovered: number | null;
1737
+ touchdowns: number | null;
1738
+ yards: number | null;
1739
+ }
1740
+ /** Two-point tries after the fourth overtime: `{}` until a game gets there, then like `two_point_conversions`. */
1741
+ export interface BraveSearchTeamStatisticsOvertimeConversions {
1742
+ attempts?: number;
1743
+ made?: number;
1744
+ percentage?: string;
1745
+ }
1746
+ export interface BraveSearchTeamStatisticsOwnFumbles {
1747
+ lost: number;
1748
+ number: number;
1749
+ recovered?: number;
1750
+ touchdowns?: number;
1751
+ yards?: number;
1752
+ }
1753
+ export interface BraveSearchTeamStatisticsPassing {
1754
+ attempts: number;
1755
+ completions: number;
1756
+ interceptions: number;
1757
+ net_yards?: number;
1758
+ net_yards_per_attempt?: string;
1759
+ sacked: number | null;
1760
+ sacked_yards_lost: number | null;
1761
+ touchdowns?: number;
1762
+ yards: number;
1763
+ yards_per_attempt: string | null;
1764
+ yards_per_game: number | null;
1765
+ }
1766
+ export interface BraveSearchTeamStatisticsPenalties {
1767
+ number: number;
1768
+ yards: number;
1769
+ }
1770
+ export interface BraveSearchTeamStatisticsPuntReturning {
1771
+ is_long_touchdown?: boolean;
1772
+ longest_gain?: number;
1773
+ returns?: number;
1774
+ touchdowns?: number;
1775
+ yards: number;
1776
+ }
1777
+ export interface BraveSearchTeamStatisticsPunting {
1778
+ average: string | null;
1779
+ punts: number;
1780
+ yards: number;
1781
+ }
1782
+ export interface BraveSearchTeamStatisticsRedZoneEfficiency {
1783
+ attempts: number;
1784
+ made: number;
1785
+ percentage: string | null;
1786
+ }
1787
+ export interface BraveSearchTeamStatisticsReturnTotals {
1788
+ touchdowns?: number;
1789
+ yards: number;
1790
+ }
1791
+ export interface BraveSearchTeamStatisticsRushing {
1792
+ attempts: number;
1793
+ average: string | null;
1794
+ touchdowns?: number;
1795
+ yards: number;
1796
+ }
1797
+ export interface BraveSearchTeamStatisticsThirdDownEfficiency {
1798
+ attempts: number | null;
1799
+ made: number | null;
1800
+ percentage: string | null;
1801
+ }
1802
+ export interface BraveSearchTeamStatisticsTimeOfPossession {
1803
+ minutes: number;
1804
+ seconds: number;
1805
+ }
1806
+ export interface BraveSearchTeamStatisticsTwoPointConversions {
1807
+ attempts: number;
1808
+ made: number;
1809
+ percentage?: string;
1810
+ }
1811
+ export interface BraveSearchTextQuery {
1812
+ text: string;
1813
+ }
1814
+ export type BraveSearchTransitMode = "bus" | "subway" | "train" | "light_rail" | "ferry";
1815
+ /** An object Brave left null or empty in every capture; every key it sends is kept. */
1816
+ export interface BraveSearchUnobservedObject {
1817
+ type?: string | null;
1818
+ }
1819
+ export interface BraveSearchVideoResult {
1820
+ age_label: string | null;
1821
+ content_fetched_at?: string | null;
1822
+ content_fetched_at_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
1823
+ description: string;
1824
+ family_friendly?: boolean;
1825
+ fetched_at?: string | null;
1826
+ fetched_at_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
1827
+ full_title?: string | null;
1828
+ icons?: BraveSearchIcon[] | null;
1829
+ is_source_both?: boolean;
1830
+ is_source_local?: boolean;
1831
+ language?: string | null;
1832
+ published_at: string | null;
1833
+ publisher: string | null;
1834
+ site: BraveSearchSite;
1835
+ source: BraveSearchSource | null;
1836
+ thumbnail: BraveSearchImage | null;
1837
+ title: string;
1838
+ type?: string;
1839
+ url: string;
1840
+ video: BraveSearchVideoResultVideo;
1841
+ }
1842
+ export interface BraveSearchVideoResultVideo {
1843
+ author: BraveSearchVideoResultVideoAuthor | null;
1844
+ creator: string | null;
1845
+ duration_seconds: number | null;
1846
+ duration_seconds_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
1847
+ publisher: string | null;
1848
+ requires_subscription: boolean | null;
1849
+ tags: string[] | null;
1850
+ thumbnail: BraveSearchImage | null;
1851
+ views: number | null;
1852
+ }
1853
+ export interface BraveSearchVideoResultVideoAuthor {
1854
+ image_url: string | null;
1855
+ long_name: string | null;
1856
+ name: string;
1857
+ url: string;
1858
+ }
1859
+ export interface BraveSearchVideosPage {
1860
+ authors: BraveSearchVideosPageAuthorsItem[];
1861
+ page: BraveSearchVideosPagePage;
1862
+ pagination: BraveSearchCursorPagination;
1863
+ query: BraveSearchQuery;
1864
+ results: BraveSearchVideoResult[];
1865
+ web_results: BraveSearchWebResult[];
1866
+ }
1867
+ export interface BraveSearchVideosPageAuthorsItem {
1868
+ image_url: string | null;
1869
+ long_name: string | null;
1870
+ name: string;
1871
+ url: string;
1872
+ }
1873
+ export interface BraveSearchVideosPagePage {
1874
+ bad_results: string | null;
1875
+ freshness: string | null;
1876
+ freshness_code: string | null;
1877
+ title: string;
1878
+ }
1879
+ export interface BraveSearchWalletAddress {
1880
+ address: string;
1881
+ balances: BraveSearchUnobservedObject[];
1882
+ chain: string;
1883
+ chains: BraveSearchWalletAddressChainsItem[];
1884
+ }
1885
+ export interface BraveSearchWalletAddressChainsItem {
1886
+ alt_names: string[];
1887
+ id: string;
1888
+ name: string;
1889
+ }
1890
+ export interface BraveSearchWebPage {
1891
+ ads: BraveSearchWebPageAds | null;
1892
+ ai_answer: BraveSearchSerpAiAnswer | null;
1893
+ discussions: BraveSearchWebPageDiscussions | null;
1894
+ faq: BraveSearchWebPageFaq | null;
1895
+ images: BraveSearchWebPageImages | null;
1896
+ infobox: BraveSearchWebPageInfobox | null;
1897
+ layout: BraveSearchLayout;
1898
+ locations: BraveSearchWebPageLocations | null;
1899
+ news: BraveSearchWebPageNews | null;
1900
+ page: BraveSearchWebPagePage;
1901
+ pagination: BraveSearchCursorPagination;
1902
+ predicate_entity: BraveSearchUnobservedObject | null;
1903
+ qanda: BraveSearchUnobservedObject | null;
1904
+ query: BraveSearchQuery;
1905
+ recipes: BraveSearchWebPageRecipes | null;
1906
+ results: BraveSearchWebResult[];
1907
+ results_meta: BraveSearchWebPageResultsMeta;
1908
+ rich: BraveSearchWebPageRich | null;
1909
+ summarizer: BraveSearchSummarizer | null;
1910
+ videos: BraveSearchWebPageVideos | null;
1911
+ }
1912
+ export interface BraveSearchWebPageAds {
1913
+ provider: BraveSearchUnobservedObject | null;
1914
+ results: BraveSearchWebPageAdsResultsItem[];
1915
+ subtype: string;
1916
+ type: string;
1917
+ widget_signed_impression_url: string | null;
1918
+ }
1919
+ export interface BraveSearchWebPageAdsResultsItem {
1920
+ compliance_banner: BraveSearchUnobservedObject | null;
1921
+ creative: BraveSearchWebPageAdsResultsItemCreative;
1922
+ description: string;
1923
+ jsonld: BraveSearchWebPageAdsResultsItemJsonld;
1924
+ on_load: string;
1925
+ product: BraveSearchUnobservedObject | null;
1926
+ product_cluster: BraveSearchUnobservedObject[] | null;
1927
+ reporting_attributes: BraveSearchWebPageAdsResultsItemReportingAttributes;
1928
+ site: BraveSearchSite;
1929
+ source: BraveSearchSource;
1930
+ thumbnail: BraveSearchImage | null;
1931
+ thumbnail_dark: BraveSearchImage | null;
1932
+ thumbnail_light: BraveSearchImage | null;
1933
+ title: string;
1934
+ type_display: string;
1935
+ url: string;
1936
+ }
1937
+ export interface BraveSearchWebPageAdsResultsItemCreative {
1938
+ advertiser_id: string;
1939
+ campaign_id: string;
1940
+ conversion_advertiser_public_key_value: string;
1941
+ conversion_observation_window_value: number;
1942
+ conversion_type_value: string;
1943
+ conversion_url_pattern_value: string;
1944
+ creative_instance_id: string;
1945
+ creative_set_id: string;
1946
+ description: string;
1947
+ headline_text: string;
1948
+ landing_page: string;
1949
+ optimized: boolean;
1950
+ placement_id: string;
1951
+ rewards_value: string;
1952
+ schema_type: string;
1953
+ thumbnail: BraveSearchImage;
1954
+ thumbnail_organic?: boolean;
1955
+ }
1956
+ export interface BraveSearchWebPageAdsResultsItemJsonld {
1957
+ creatives: BraveSearchWebPageAdsResultsItemJsonldCreativesItem[];
1958
+ schema_type: string;
1959
+ }
1960
+ export interface BraveSearchWebPageAdsResultsItemJsonldCreativesItem {
1961
+ advertiser_id: string;
1962
+ campaign_id: string;
1963
+ conversion_advertiser_public_key_value: string;
1964
+ conversion_observation_window_value: number;
1965
+ conversion_type_value: string;
1966
+ conversion_url_pattern_value: string;
1967
+ creative_instance_id: string;
1968
+ creative_set_id: string;
1969
+ description: string;
1970
+ headline_text: string;
1971
+ landing_page: string;
1972
+ optimized: boolean;
1973
+ placement_id: string;
1974
+ rewards_value: string;
1975
+ schema_type: string;
1976
+ thumbnail: BraveSearchImage;
1977
+ thumbnail_organic?: boolean;
1978
+ }
1979
+ export interface BraveSearchWebPageAdsResultsItemReportingAttributes {
1980
+ ad_display_context: string;
1981
+ creative_instance_id: string;
1982
+ placement_id: string;
1983
+ }
1984
+ export interface BraveSearchWebPageDiscussions {
1985
+ reranked_by_goggle: boolean;
1986
+ results: BraveSearchWebPageDiscussionsResultsItem[];
1987
+ type: string;
1988
+ }
1989
+ export interface BraveSearchWebPageDiscussionsResultsItem {
1990
+ age_label: string | null;
1991
+ description: string;
1992
+ description_html?: string;
1993
+ forum_post: BraveSearchWebPageDiscussionsResultsItemForumPost;
1994
+ site: BraveSearchSite;
1995
+ title: string;
1996
+ url: string;
1997
+ }
1998
+ export interface BraveSearchWebPageDiscussionsResultsItemForumPost {
1999
+ forum_name: string;
2000
+ num_answers?: number;
2001
+ num_votes?: number;
2002
+ question?: string;
2003
+ question_html?: string;
2004
+ score?: string;
2005
+ title?: string;
2006
+ top_comment?: string;
2007
+ top_comment_html?: string;
2008
+ }
2009
+ export interface BraveSearchWebPageFaq {
2010
+ results: BraveSearchWebPageFaqResultsItem[];
2011
+ type: string;
2012
+ }
2013
+ export interface BraveSearchWebPageFaqResultsItem {
2014
+ answer: string;
2015
+ answer_html?: string;
2016
+ question: string;
2017
+ site: BraveSearchSite;
2018
+ title: string;
2019
+ url: string;
2020
+ }
2021
+ export interface BraveSearchWebPageImages {
2022
+ results: BraveSearchWebPageImagesResultsItem[];
2023
+ type: string;
2024
+ }
2025
+ export interface BraveSearchWebPageImagesResultsItem {
2026
+ confidence: string;
2027
+ description: string;
2028
+ family_friendly: boolean;
2029
+ fetched_at: string | null;
2030
+ fetched_at_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2031
+ from_context: boolean;
2032
+ is_source_both: boolean;
2033
+ is_source_local: boolean;
2034
+ properties: BraveSearchWebPageImagesResultsItemProperties;
2035
+ site: BraveSearchSite;
2036
+ source: string;
2037
+ thumbnail: BraveSearchImage;
2038
+ title: string;
2039
+ url: string;
2040
+ }
2041
+ export interface BraveSearchWebPageImagesResultsItemProperties {
2042
+ height: number;
2043
+ placeholder_url: string;
2044
+ resized_url: string;
2045
+ url: string;
2046
+ width: number;
2047
+ }
2048
+ export interface BraveSearchWebPageInfobox {
2049
+ results: BraveSearchWebPageInfoboxResultsItem[];
2050
+ type: string;
2051
+ }
2052
+ export interface BraveSearchWebPageInfoboxResultsItem {
2053
+ actions?: BraveSearchWebPageInfoboxResultsItemActionsItem[] | null;
2054
+ ai_answer?: BraveSearchWebPageInfoboxResultsItemAiAnswer;
2055
+ attributes: ((string | null)[])[];
2056
+ attributes_shown?: number;
2057
+ category?: string | null;
2058
+ coordinates?: BraveSearchCoordinates;
2059
+ data?: BraveSearchWebPageInfoboxResultsItemData;
2060
+ description: string;
2061
+ family_friendly?: boolean;
2062
+ images?: BraveSearchImage[] | null;
2063
+ is_source_both?: boolean;
2064
+ is_source_local?: boolean;
2065
+ label?: string | null;
2066
+ long_desc?: string;
2067
+ movie?: BraveSearchWebPageInfoboxResultsItemMovie | null;
2068
+ position?: number;
2069
+ profiles?: BraveSearchProfile[];
2070
+ providers: BraveSearchWebPageInfoboxResultsItemProvidersItem[];
2071
+ ratings?: BraveSearchWebPageInfoboxResultsItemRatingsItem[];
2072
+ site?: BraveSearchSite;
2073
+ subtype: string;
2074
+ thumbnail?: BraveSearchImage | null;
2075
+ title: string;
2076
+ type: string;
2077
+ url: string;
2078
+ website_url?: string | null;
2079
+ zoom_level?: number;
2080
+ }
2081
+ export interface BraveSearchWebPageInfoboxResultsItemActionsItem {
2082
+ action: string;
2083
+ }
2084
+ export interface BraveSearchWebPageInfoboxResultsItemAiAnswer {
2085
+ context: BraveSearchUnobservedObject[];
2086
+ conversation: string;
2087
+ entity_infobox_url: string;
2088
+ key: string;
2089
+ nonce: string;
2090
+ possible: boolean;
2091
+ query: string;
2092
+ trigger: boolean;
2093
+ }
2094
+ export interface BraveSearchWebPageInfoboxResultsItemData {
2095
+ answer: BraveSearchWebPageInfoboxResultsItemDataAnswer;
2096
+ question: string;
2097
+ suggested_answers: BraveSearchWebPageInfoboxResultsItemDataAnswer[];
2098
+ }
2099
+ export interface BraveSearchWebPageInfoboxResultsItemDataAnswer {
2100
+ author: string;
2101
+ text: string;
2102
+ upvote_count: number;
2103
+ }
2104
+ export interface BraveSearchWebPageInfoboxResultsItemMovie {
2105
+ actors: BraveSearchWebPageInfoboxResultsItemMovieActorsItem[];
2106
+ description: string;
2107
+ directors?: BraveSearchWebPageInfoboxResultsItemMovieDirectorsItem[];
2108
+ duration_seconds?: number | null;
2109
+ duration_seconds_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2110
+ genre: string[];
2111
+ name: string;
2112
+ query: string;
2113
+ rating: BraveSearchRating;
2114
+ release?: string;
2115
+ thumbnail: BraveSearchImage;
2116
+ url: string;
2117
+ }
2118
+ export interface BraveSearchWebPageInfoboxResultsItemMovieActorsItem {
2119
+ name: string;
2120
+ thumbnail: BraveSearchImage;
2121
+ type: string;
2122
+ url: string;
2123
+ }
2124
+ export interface BraveSearchWebPageInfoboxResultsItemMovieDirectorsItem {
2125
+ name: string;
2126
+ type: string;
2127
+ url: string;
2128
+ }
2129
+ export interface BraveSearchWebPageInfoboxResultsItemProvidersItem {
2130
+ image_url: string;
2131
+ name: string;
2132
+ type: string;
2133
+ url: string;
2134
+ }
2135
+ export interface BraveSearchWebPageInfoboxResultsItemRatingsItem {
2136
+ best_rating: number;
2137
+ from_tripadvisor: boolean;
2138
+ rating_value: number;
2139
+ review_count: number;
2140
+ source: BraveSearchSource;
2141
+ }
2142
+ export interface BraveSearchWebPageLocations {
2143
+ address: BraveSearchUnobservedObject | null;
2144
+ enhanced: BraveSearchUnobservedObject | null;
2145
+ results: BraveSearchPlace[];
2146
+ type: string;
2147
+ }
2148
+ export interface BraveSearchWebPageNews {
2149
+ reranked_by_goggle: boolean;
2150
+ results: BraveSearchNewsResult[];
2151
+ type: string;
2152
+ }
2153
+ export interface BraveSearchWebPagePage {
2154
+ bad_results: string | null;
2155
+ freshness: string | null;
2156
+ freshness_code: string | null;
2157
+ local_results: boolean | null;
2158
+ local_selected_result: string | null;
2159
+ no_results: boolean;
2160
+ open_graph: BraveSearchWebPagePageOpenGraph;
2161
+ title: string;
2162
+ }
2163
+ export interface BraveSearchWebPagePageOpenGraph {
2164
+ description: string | null;
2165
+ image_height: number | null;
2166
+ image_url: string | null;
2167
+ image_width: number | null;
2168
+ title: string | null;
2169
+ url: string | null;
2170
+ }
2171
+ export interface BraveSearchWebPageRecipes {
2172
+ results: BraveSearchWebPageRecipesResultsItem[];
2173
+ type: string;
2174
+ }
2175
+ export interface BraveSearchWebPageRecipesResultsItem {
2176
+ calories?: number;
2177
+ cook_time?: string;
2178
+ description: string;
2179
+ description_html?: string;
2180
+ domain: string;
2181
+ favicon_url: string;
2182
+ ingredients: string;
2183
+ instructions: BraveSearchWebPageRecipesResultsItemInstructionsItem[];
2184
+ prep_time?: string;
2185
+ publisher?: string;
2186
+ rating?: BraveSearchRating;
2187
+ recipe_category: string;
2188
+ recipe_cuisine?: string;
2189
+ servings: number;
2190
+ thumbnail: BraveSearchImage;
2191
+ time: string;
2192
+ title: string;
2193
+ url: string;
2194
+ video?: BraveSearchWebPageRecipesResultsItemVideo;
2195
+ }
2196
+ export interface BraveSearchWebPageRecipesResultsItemInstructionsItem {
2197
+ image: string[];
2198
+ name?: string;
2199
+ text: string;
2200
+ url?: string;
2201
+ }
2202
+ export interface BraveSearchWebPageRecipesResultsItemVideo {
2203
+ duration_seconds?: number | null;
2204
+ duration_seconds_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2205
+ thumbnail: BraveSearchImage;
2206
+ }
2207
+ export interface BraveSearchWebPageResultsMeta {
2208
+ choice?: string | null;
2209
+ is_divisive_topic?: boolean;
2210
+ type?: string;
2211
+ }
2212
+ export interface BraveSearchWebPageRich {
2213
+ results: BraveSearchWebPageRichResultsItem[];
2214
+ type: string;
2215
+ }
2216
+ export interface BraveSearchWebPageRichResultsItem {
2217
+ ai_answer: BraveSearchWebPageRichResultsItemAiAnswer;
2218
+ calculator: BraveSearchWebPageRichResultsItemCalculator | null;
2219
+ colorpicker: BraveSearchWebPageRichResultsItemColorpicker | null;
2220
+ cryptocurrency: BraveSearchWebPageRichResultsItemCryptocurrency | null;
2221
+ currency: BraveSearchWebPageRichResultsItemCurrency | null;
2222
+ data: BraveSearchWebPageRichResultsItemData;
2223
+ definitions: BraveSearchWebPageRichResultsItemDefinitions | null;
2224
+ flights: BraveSearchUnobservedObject | null;
2225
+ football?: BraveSearchWebPageRichResultsItemFootball;
2226
+ news: BraveSearchWebPageRichResultsItemNews | null;
2227
+ packagetracker: BraveSearchWebPageRichResultsItemPackagetracker | null;
2228
+ provider: BraveSearchWebPageRichResultsItemProvider;
2229
+ stock: BraveSearchWebPageRichResultsItemStock | null;
2230
+ stopwatch: boolean;
2231
+ subtype: string;
2232
+ timer: BraveSearchWebPageRichResultsItemTimer | null;
2233
+ timezones: BraveSearchWebPageRichResultsItemTimezones | null;
2234
+ translator: BraveSearchWebPageRichResultsItemTranslator | null;
2235
+ unit_conversion: BraveSearchWebPageRichResultsItemUnitConversion | null;
2236
+ unixtimestamp: BraveSearchWebPageRichResultsItemUnixtimestamp | null;
2237
+ us_election: BraveSearchUnobservedObject | null;
2238
+ weather: BraveSearchWebPageRichResultsItemWeather | null;
2239
+ web3: BraveSearchWebPageRichResultsItemWeb3 | null;
2240
+ }
2241
+ export interface BraveSearchWebPageRichResultsItemAiAnswer {
2242
+ context: BraveSearchUnobservedObject[];
2243
+ conversation: string;
2244
+ key: string;
2245
+ nonce: string;
2246
+ possible: boolean;
2247
+ query: string;
2248
+ trigger: boolean;
2249
+ }
2250
+ export interface BraveSearchWebPageRichResultsItemCalculator {
2251
+ answer: number;
2252
+ expression: string;
2253
+ }
2254
+ export interface BraveSearchWebPageRichResultsItemColorpicker {
2255
+ color: string;
2256
+ format: string;
2257
+ }
2258
+ export interface BraveSearchWebPageRichResultsItemCryptocurrency {
2259
+ intent_type: string;
2260
+ quote: BraveSearchWebPageRichResultsItemCryptocurrencyQuote;
2261
+ timeseries: BraveSearchWebPageRichResultsItemCryptocurrencyTimeseries;
2262
+ top100_crypto: BraveSearchUnobservedObject[];
2263
+ vs_currencies: string[];
2264
+ vs_currency: string;
2265
+ }
2266
+ export interface BraveSearchWebPageRichResultsItemCryptocurrencyQuote {
2267
+ ath: number;
2268
+ ath_change_percentage: number;
2269
+ ath_date: string;
2270
+ atl: number;
2271
+ atl_change_percentage: number;
2272
+ atl_date: string;
2273
+ circulating_supply: number;
2274
+ current_price: number;
2275
+ fully_diluted_valuation: number;
2276
+ high_24h: number;
2277
+ id: string;
2278
+ image: string;
2279
+ last_updated: string;
2280
+ low_24h: number;
2281
+ market_cap: number;
2282
+ market_cap_change_24h: number;
2283
+ market_cap_change_percentage_24h: number;
2284
+ market_cap_rank: number;
2285
+ max_supply?: number;
2286
+ name: string;
2287
+ price_change_24h: number;
2288
+ price_change_percentage_24h: number;
2289
+ symbol: string;
2290
+ total_supply: number;
2291
+ total_volume: number;
2292
+ }
2293
+ export interface BraveSearchWebPageRichResultsItemCryptocurrencyTimeseries {
2294
+ time_range: string;
2295
+ ts_market_cap: number[][];
2296
+ ts_price: number[][];
2297
+ ts_volume: number[][];
2298
+ }
2299
+ export interface BraveSearchWebPageRichResultsItemCurrency {
2300
+ conversion: BraveSearchWebPageRichResultsItemCurrencyConversion;
2301
+ supported_currencies: BraveSearchWebPageRichResultsItemCurrencySupportedCurrenciesItem[];
2302
+ timeseries: BraveSearchWebPageRichResultsItemCurrencyTimeseries;
2303
+ }
2304
+ export interface BraveSearchWebPageRichResultsItemCurrencyConversion {
2305
+ amount: number | null;
2306
+ amount_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2307
+ date: string | null;
2308
+ date_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2309
+ info: BraveSearchWebPageRichResultsItemCurrencyConversionInfo;
2310
+ query: BraveSearchCurrencyConversionQuery;
2311
+ result: number;
2312
+ }
2313
+ export interface BraveSearchWebPageRichResultsItemCurrencyConversionInfo {
2314
+ rate: number;
2315
+ timestamp: string | null;
2316
+ timestamp_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2317
+ }
2318
+ export interface BraveSearchWebPageRichResultsItemCurrencySupportedCurrenciesItem {
2319
+ code: string;
2320
+ decimals: number;
2321
+ full_name: string;
2322
+ }
2323
+ export interface BraveSearchWebPageRichResultsItemCurrencyTimeseries {
2324
+ time_range: string;
2325
+ ts_exchange_rate: ((number | string)[])[];
2326
+ }
2327
+ export interface BraveSearchWebPageRichResultsItemData {
2328
+ amount?: number | null;
2329
+ amount_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2330
+ answer?: number;
2331
+ coin_id?: string;
2332
+ duration_seconds?: number | null;
2333
+ duration_seconds_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2334
+ expression?: string;
2335
+ first_url_position?: number;
2336
+ from_language?: string;
2337
+ is_forex_to_crypto?: boolean;
2338
+ is_generic?: boolean;
2339
+ lang?: string;
2340
+ non_altered_word?: string | null;
2341
+ phrase?: string;
2342
+ placeholder_from?: string;
2343
+ placeholder_to?: string;
2344
+ range?: string;
2345
+ start_in_edit?: boolean;
2346
+ start_on_load?: boolean;
2347
+ subintent?: string;
2348
+ to_language?: string;
2349
+ type?: string | null;
2350
+ vs_currency?: string;
2351
+ word?: string;
2352
+ }
2353
+ export interface BraveSearchWebPageRichResultsItemDefinitions {
2354
+ attribution_text: string;
2355
+ attribution_url: string;
2356
+ audio_available: boolean;
2357
+ definitions: BraveSearchWebPageRichResultsItemDefinitionsDefinitionsItem[];
2358
+ language: string;
2359
+ pronounciation: string | null;
2360
+ source_dict: string;
2361
+ word: string;
2362
+ }
2363
+ export interface BraveSearchWebPageRichResultsItemDefinitionsDefinitionsItem {
2364
+ definitions: BraveSearchWebPageRichResultsItemDefinitionsDefinitionsItemDefinitionsItem[];
2365
+ part_of_speech: string;
2366
+ }
2367
+ export interface BraveSearchWebPageRichResultsItemDefinitionsDefinitionsItemDefinitionsItem {
2368
+ example_uses: string[];
2369
+ labels: BraveSearchWebPageRichResultsItemDefinitionsDefinitionsItemDefinitionsItemLabelsItem[];
2370
+ related_words: string[];
2371
+ text: string;
2372
+ text_html?: string;
2373
+ }
2374
+ export interface BraveSearchWebPageRichResultsItemDefinitionsDefinitionsItemDefinitionsItemLabelsItem {
2375
+ text: string;
2376
+ type: string;
2377
+ }
2378
+ export interface BraveSearchWebPageRichResultsItemFootball {
2379
+ content: BraveSearchWebPageRichResultsItemFootballContent;
2380
+ sport: string;
2381
+ type: string;
2382
+ view: string;
2383
+ }
2384
+ export interface BraveSearchWebPageRichResultsItemFootballContent {
2385
+ group_standings: BraveSearchWebPageRichResultsItemFootballContentGroupStandingsItem[];
2386
+ league: BraveSearchLeague;
2387
+ type: string;
2388
+ }
2389
+ export interface BraveSearchWebPageRichResultsItemFootballContentGroupStandingsItem {
2390
+ group_name: string;
2391
+ standings: BraveSearchWebPageRichResultsItemFootballContentGroupStandingsItemStandingsItem[];
2392
+ }
2393
+ export interface BraveSearchWebPageRichResultsItemFootballContentGroupStandingsItemStandingsItem {
2394
+ form: string;
2395
+ goals_against: number;
2396
+ goals_for: number;
2397
+ label?: BraveSearchWebPageRichResultsItemFootballContentGroupStandingsItemStandingsItemLabel;
2398
+ matches_drawn: number;
2399
+ matches_lost: number;
2400
+ matches_played: number;
2401
+ matches_won: number;
2402
+ points: number;
2403
+ rank: number;
2404
+ team: BraveSearchTeam;
2405
+ }
2406
+ export interface BraveSearchWebPageRichResultsItemFootballContentGroupStandingsItemStandingsItemLabel {
2407
+ i18n: string;
2408
+ i18n_opts: BraveSearchWebPageRichResultsItemFootballContentGroupStandingsItemStandingsItemLabelI18nOpts;
2409
+ kind: string;
2410
+ }
2411
+ export interface BraveSearchWebPageRichResultsItemFootballContentGroupStandingsItemStandingsItemLabelI18nOpts {
2412
+ destination: string;
2413
+ phase?: string;
2414
+ }
2415
+ export interface BraveSearchWebPageRichResultsItemNews {
2416
+ articles: BraveSearchWebPageRichResultsItemNewsArticlesItem[];
2417
+ is_topical: boolean;
2418
+ topic_id: number;
2419
+ topics: BraveSearchWebPageRichResultsItemNewsTopicsItem[];
2420
+ }
2421
+ export interface BraveSearchWebPageRichResultsItemNewsArticlesItem {
2422
+ description: string;
2423
+ extra_snippets: string[];
2424
+ image_url: string;
2425
+ img_small: string;
2426
+ is_live: boolean;
2427
+ publish_time: string | null;
2428
+ publish_time_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2429
+ published_at: string | null;
2430
+ published_label: string;
2431
+ publisher_name: string;
2432
+ site: BraveSearchSite;
2433
+ title: string;
2434
+ url: string;
2435
+ }
2436
+ export interface BraveSearchWebPageRichResultsItemNewsTopicsItem {
2437
+ index: number;
2438
+ query: string;
2439
+ score: number;
2440
+ title: string;
2441
+ }
2442
+ export interface BraveSearchWebPageRichResultsItemPackagetracker {
2443
+ matched: BraveSearchWebPageRichResultsItemPackagetrackerMatchedItem[];
2444
+ }
2445
+ export interface BraveSearchWebPageRichResultsItemPackagetrackerMatchedItem {
2446
+ courier: BraveSearchWebPageRichResultsItemPackagetrackerMatchedItemCourier;
2447
+ tracking_number: string;
2448
+ tracking_url: string;
2449
+ }
2450
+ export interface BraveSearchWebPageRichResultsItemPackagetrackerMatchedItemCourier {
2451
+ code: string;
2452
+ domain: string;
2453
+ name: string;
2454
+ service: string;
2455
+ }
2456
+ export interface BraveSearchWebPageRichResultsItemProvider {
2457
+ name: string;
2458
+ type: string;
2459
+ url: string;
2460
+ }
2461
+ export interface BraveSearchWebPageRichResultsItemStock {
2462
+ asset_info: BraveSearchWebPageRichResultsItemStockAssetInfo;
2463
+ exchange_info: BraveSearchWebPageRichResultsItemStockExchangeInfo;
2464
+ quote: BraveSearchWebPageRichResultsItemStockQuote;
2465
+ time_range: string;
2466
+ timeseries: BraveSearchWebPageRichResultsItemStockTimeseries;
2467
+ }
2468
+ export interface BraveSearchWebPageRichResultsItemStockAssetInfo {
2469
+ category: string;
2470
+ country: string;
2471
+ country_code: string;
2472
+ currency: string;
2473
+ exchange: string;
2474
+ mic_code: string;
2475
+ name: string;
2476
+ score: number;
2477
+ symbol: string;
2478
+ }
2479
+ export interface BraveSearchWebPageRichResultsItemStockExchangeInfo {
2480
+ close_time: string;
2481
+ open_time: string;
2482
+ timezone: string;
2483
+ }
2484
+ export interface BraveSearchWebPageRichResultsItemStockQuote {
2485
+ change: number;
2486
+ change_percent: number;
2487
+ close: number;
2488
+ company_name: string;
2489
+ currency: string;
2490
+ high: number;
2491
+ latest_price: number;
2492
+ latest_update: string | null;
2493
+ latest_update_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2494
+ low: number;
2495
+ market_cap: number;
2496
+ open: number;
2497
+ pe_ratio: number;
2498
+ primary_exchange: string;
2499
+ symbol: string;
2500
+ volume: number;
2501
+ week_52_high: number;
2502
+ week_52_low: number;
2503
+ }
2504
+ export interface BraveSearchWebPageRichResultsItemStockTimeseries {
2505
+ time_range: string;
2506
+ timeseries: BraveSearchWebPageRichResultsItemStockTimeseriesTimeseriesItem[];
2507
+ }
2508
+ export interface BraveSearchWebPageRichResultsItemStockTimeseriesTimeseriesItem {
2509
+ close: number;
2510
+ date: string | null;
2511
+ date_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2512
+ high: number;
2513
+ label: string;
2514
+ low: number;
2515
+ minute: string;
2516
+ previous_close: number;
2517
+ timestamp: string | null;
2518
+ timestamp_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2519
+ volume: number;
2520
+ }
2521
+ export interface BraveSearchWebPageRichResultsItemTimer {
2522
+ duration_seconds: number | null;
2523
+ duration_seconds_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2524
+ start_on_edit: boolean;
2525
+ start_on_load: boolean;
2526
+ }
2527
+ export interface BraveSearchWebPageRichResultsItemTimezones {
2528
+ result: BraveSearchWebPageRichResultsItemTimezonesResult;
2529
+ }
2530
+ export interface BraveSearchWebPageRichResultsItemTimezonesResult {
2531
+ evaluation: string;
2532
+ show_date_only: boolean;
2533
+ template: string;
2534
+ timezone: BraveSearchWebPageRichResultsItemTimezonesResultTimezone;
2535
+ type: string;
2536
+ }
2537
+ export interface BraveSearchWebPageRichResultsItemTimezonesResultTimezone {
2538
+ abbreviation: string;
2539
+ converted_time: BraveSearchWebPageRichResultsItemTimezonesResultTimezoneConvertedTime;
2540
+ generic_name: string;
2541
+ iana_timezone_id: string;
2542
+ observing_dst: boolean;
2543
+ utc_offset: string;
2544
+ utc_offset_minutes: number;
2545
+ windows_timezone_id: string;
2546
+ }
2547
+ export interface BraveSearchWebPageRichResultsItemTimezonesResultTimezoneConvertedTime {
2548
+ city: BraveSearchWebPageRichResultsItemTimezonesResultTimezoneConvertedTimeCity;
2549
+ generic_name_abbreviation: string;
2550
+ iso: string;
2551
+ location: string;
2552
+ strfdate: string;
2553
+ strfday: string;
2554
+ strftime: string;
2555
+ sunrise: string;
2556
+ sunset: string;
2557
+ timezone_display_abbreviation: string;
2558
+ timezone_display_name: string;
2559
+ ts: number;
2560
+ utc_diff: string;
2561
+ utc_iso: string;
2562
+ utc_offset: string;
2563
+ utc_offset_minutes: number;
2564
+ }
2565
+ export interface BraveSearchWebPageRichResultsItemTimezonesResultTimezoneConvertedTimeCity {
2566
+ country: string;
2567
+ name: string;
2568
+ state: string;
2569
+ }
2570
+ export interface BraveSearchWebPageRichResultsItemTranslator {
2571
+ from_language: BraveSearchWebPageRichResultsItemTranslatorFromLanguage;
2572
+ from_language_detected: BraveSearchWebPageRichResultsItemTranslatorFromLanguageDetected;
2573
+ from_placeholder: string;
2574
+ generic: boolean;
2575
+ languages: BraveSearchWebPageRichResultsItemTranslatorLanguagesItem[];
2576
+ phrase: string;
2577
+ to_language: BraveSearchWebPageRichResultsItemTranslatorToLanguage;
2578
+ to_placeholder: string;
2579
+ }
2580
+ export interface BraveSearchWebPageRichResultsItemTranslatorFromLanguage {
2581
+ code: string;
2582
+ name: string;
2583
+ rtl: boolean;
2584
+ }
2585
+ export interface BraveSearchWebPageRichResultsItemTranslatorFromLanguageDetected {
2586
+ code: string;
2587
+ name: string;
2588
+ rtl: boolean;
2589
+ }
2590
+ export interface BraveSearchWebPageRichResultsItemTranslatorLanguagesItem {
2591
+ code: string;
2592
+ name: string;
2593
+ rtl: boolean;
2594
+ }
2595
+ export interface BraveSearchWebPageRichResultsItemTranslatorToLanguage {
2596
+ code: string;
2597
+ name: string;
2598
+ rtl: boolean;
2599
+ }
2600
+ export interface BraveSearchWebPageRichResultsItemUnitConversion {
2601
+ amount: number | null;
2602
+ amount_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2603
+ dimensionality: string;
2604
+ from_unit: string;
2605
+ to_unit: string;
2606
+ }
2607
+ export interface BraveSearchWebPageRichResultsItemUnixtimestamp {
2608
+ conversion: BraveSearchWebPageRichResultsItemUnixtimestampConversion;
2609
+ }
2610
+ export interface BraveSearchWebPageRichResultsItemUnixtimestampConversion {
2611
+ input_ts: number;
2612
+ intent_type: string;
2613
+ }
2614
+ export interface BraveSearchWebPageRichResultsItemWeather {
2615
+ alerts: BraveSearchUnobservedObject[];
2616
+ current_time_iso: string;
2617
+ current_weather: BraveSearchWebPageRichResultsItemWeatherCurrentWeather;
2618
+ daily: BraveSearchWebPageRichResultsItemWeatherDailyItem[];
2619
+ hours3: BraveSearchWebPageRichResultsItemWeatherHours3Item[];
2620
+ location: BraveSearchWebPageRichResultsItemWeatherLocation;
2621
+ }
2622
+ export interface BraveSearchWebPageRichResultsItemWeatherCurrentWeather {
2623
+ clouds: number;
2624
+ dew_point: number;
2625
+ feels_like: number;
2626
+ humidity: number;
2627
+ pressure: number;
2628
+ sunrise: number;
2629
+ sunset: number;
2630
+ temp: number;
2631
+ ts: number;
2632
+ uvi: number;
2633
+ visibility: number;
2634
+ weather: BraveSearchWebPageRichResultsItemWeatherCurrentWeatherWeather;
2635
+ wind: BraveSearchWebPageRichResultsItemWeatherCurrentWeatherWind;
2636
+ }
2637
+ export interface BraveSearchWebPageRichResultsItemWeatherCurrentWeatherWeather {
2638
+ description: string;
2639
+ icon: string;
2640
+ id: number;
2641
+ main: string;
2642
+ }
2643
+ export interface BraveSearchWebPageRichResultsItemWeatherCurrentWeatherWind {
2644
+ deg: number;
2645
+ gust: number;
2646
+ speed: number;
2647
+ }
2648
+ export interface BraveSearchWebPageRichResultsItemWeatherDailyItem {
2649
+ clouds: number;
2650
+ date_i18n: string;
2651
+ dew_point: number;
2652
+ feels_like: BraveSearchWebPageRichResultsItemWeatherDailyItemFeelsLike;
2653
+ humidity: number;
2654
+ moonrise: number;
2655
+ moonset: number;
2656
+ pop: number;
2657
+ pressure: number;
2658
+ sunrise: number;
2659
+ sunset: number;
2660
+ temperature: BraveSearchWebPageRichResultsItemWeatherDailyItemTemperature;
2661
+ ts: number;
2662
+ uvi: number;
2663
+ weather: BraveSearchWebPageRichResultsItemWeatherDailyItemWeather;
2664
+ wind: BraveSearchWebPageRichResultsItemWeatherDailyItemWind;
2665
+ }
2666
+ export interface BraveSearchWebPageRichResultsItemWeatherDailyItemFeelsLike {
2667
+ day: number;
2668
+ evening: number;
2669
+ morning: number;
2670
+ night: number;
2671
+ }
2672
+ export interface BraveSearchWebPageRichResultsItemWeatherDailyItemTemperature {
2673
+ day: number;
2674
+ evening: number;
2675
+ max: number;
2676
+ min: number;
2677
+ morning: number;
2678
+ night: number;
2679
+ }
2680
+ export interface BraveSearchWebPageRichResultsItemWeatherDailyItemWeather {
2681
+ description: string;
2682
+ icon: string;
2683
+ id: number;
2684
+ main: string;
2685
+ }
2686
+ export interface BraveSearchWebPageRichResultsItemWeatherDailyItemWind {
2687
+ deg: number;
2688
+ gust: number;
2689
+ speed: number;
2690
+ }
2691
+ export interface BraveSearchWebPageRichResultsItemWeatherHours3Item {
2692
+ clouds: number;
2693
+ humidity: number;
2694
+ pop: number;
2695
+ pressure: number;
2696
+ temperature: BraveSearchWebPageRichResultsItemWeatherHours3ItemTemperature;
2697
+ ts: number;
2698
+ visibility: number;
2699
+ weather: BraveSearchWebPageRichResultsItemWeatherHours3ItemWeather;
2700
+ wind: BraveSearchWebPageRichResultsItemWeatherHours3ItemWind;
2701
+ }
2702
+ export interface BraveSearchWebPageRichResultsItemWeatherHours3ItemTemperature {
2703
+ feels_like: number;
2704
+ max: number;
2705
+ min: number;
2706
+ temp: number;
2707
+ }
2708
+ export interface BraveSearchWebPageRichResultsItemWeatherHours3ItemWeather {
2709
+ description: string;
2710
+ icon: string;
2711
+ id: number;
2712
+ main: string;
2713
+ }
2714
+ export interface BraveSearchWebPageRichResultsItemWeatherHours3ItemWind {
2715
+ deg: number;
2716
+ gust: number;
2717
+ speed: number;
2718
+ }
2719
+ export interface BraveSearchWebPageRichResultsItemWeatherLocation {
2720
+ coords: BraveSearchWebPageRichResultsItemWeatherLocationCoords;
2721
+ country: string;
2722
+ id: number;
2723
+ implicit_location: boolean;
2724
+ name: string;
2725
+ population: number;
2726
+ state: string;
2727
+ sunrise: number;
2728
+ sunset: number;
2729
+ tzoffset: number;
2730
+ }
2731
+ export interface BraveSearchWebPageRichResultsItemWeatherLocationCoords {
2732
+ latitude: number;
2733
+ longitude: number;
2734
+ }
2735
+ export interface BraveSearchWebPageRichResultsItemWeb3 {
2736
+ address: BraveSearchWalletAddress;
2737
+ intent: string;
2738
+ transaction: BraveSearchUnobservedObject | null;
2739
+ }
2740
+ export interface BraveSearchWebPageVideos {
2741
+ reranked_by_goggle: boolean;
2742
+ results: BraveSearchVideoResult[];
2743
+ type: string;
2744
+ }
2745
+ export interface BraveSearchWebResult {
2746
+ age_label: string | null;
2747
+ article: BraveSearchWebResultArticle | null;
2748
+ book: BraveSearchWebResultBook | null;
2749
+ boosted?: boolean;
2750
+ cluster_type: string | null;
2751
+ content_type: string | null;
2752
+ creative_work: BraveSearchWebResultCreativeWork | null;
2753
+ deep_links: BraveSearchWebResultDeepLinks | null;
2754
+ description: string;
2755
+ description_html?: string;
2756
+ description_length: number;
2757
+ faq: BraveSearchWebResultFaq | null;
2758
+ full_title: string | null;
2759
+ is_live: boolean;
2760
+ language: string;
2761
+ location?: BraveSearchPlace;
2762
+ locations: BraveSearchUnobservedObject[] | null;
2763
+ movie: BraveSearchWebResultMovie | null;
2764
+ music_recording: BraveSearchWebResultMusicRecording | null;
2765
+ organization?: BraveSearchWebResultOrganization;
2766
+ product: BraveSearchWebResultProduct | null;
2767
+ product_cluster: BraveSearchWebResultProductClusterItem[] | null;
2768
+ published_at: string | null;
2769
+ qa: BraveSearchWebResultQa | null;
2770
+ rating: BraveSearchRating | null;
2771
+ recipe: BraveSearchWebResultRecipe | null;
2772
+ review: BraveSearchWebResultReview | null;
2773
+ side: BraveSearchUnobservedObject[] | null;
2774
+ similar_pages: BraveSearchUnobservedObject | null;
2775
+ site: BraveSearchSite;
2776
+ sitelinks: BraveSearchWebResultSitelinksItem[] | null;
2777
+ software: BraveSearchWebResultSoftware | null;
2778
+ source: BraveSearchSource;
2779
+ subtype: string;
2780
+ thumbnail: BraveSearchImage | null;
2781
+ title: string;
2782
+ type: string;
2783
+ url: string;
2784
+ video: BraveSearchWebResultVideo | null;
2785
+ }
2786
+ export interface BraveSearchWebResultArticle {
2787
+ author: BraveSearchWebResultArticleAuthorItem[];
2788
+ date?: string | null;
2789
+ date_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2790
+ is_accessible_for_free?: boolean;
2791
+ publisher?: BraveSearchWebResultArticlePublisher;
2792
+ }
2793
+ export interface BraveSearchWebResultArticleAuthorItem {
2794
+ email?: string;
2795
+ name: string;
2796
+ thumbnail?: BraveSearchImage;
2797
+ type: string;
2798
+ url?: string;
2799
+ }
2800
+ export interface BraveSearchWebResultArticlePublisher {
2801
+ name: string;
2802
+ thumbnail?: BraveSearchImage;
2803
+ type: string;
2804
+ url?: string;
2805
+ }
2806
+ export interface BraveSearchWebResultBook {
2807
+ author: BraveSearchWebResultBookAuthorItem[];
2808
+ pages: number;
2809
+ rating: BraveSearchRating;
2810
+ title: string;
2811
+ }
2812
+ export interface BraveSearchWebResultBookAuthorItem {
2813
+ name: string;
2814
+ type: string;
2815
+ url: string;
2816
+ }
2817
+ export interface BraveSearchWebResultCreativeWork {
2818
+ name: string;
2819
+ rating?: BraveSearchRating;
2820
+ thumbnail: BraveSearchImage;
2821
+ }
2822
+ export interface BraveSearchWebResultDeepLinks {
2823
+ links: BraveSearchWebResultDeepLinksLinksItem[];
2824
+ }
2825
+ export interface BraveSearchWebResultDeepLinksLinksItem {
2826
+ title: string;
2827
+ type: string;
2828
+ url: string;
2829
+ }
2830
+ export interface BraveSearchWebResultFaq {
2831
+ items: BraveSearchWebResultFaqItemsItem[];
2832
+ }
2833
+ export interface BraveSearchWebResultFaqItemsItem {
2834
+ answer: string;
2835
+ answer_html?: string;
2836
+ question: string;
2837
+ site: BraveSearchSite;
2838
+ title: string;
2839
+ url: string;
2840
+ }
2841
+ export interface BraveSearchWebResultMovie {
2842
+ actors?: BraveSearchWebResultMovieActorsItem[];
2843
+ description: string;
2844
+ description_html?: string;
2845
+ directors?: BraveSearchWebResultMovieDirectorsItem[];
2846
+ duration_seconds?: number | null;
2847
+ duration_seconds_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2848
+ genre: string[];
2849
+ name: string;
2850
+ rating?: BraveSearchRating;
2851
+ release?: string;
2852
+ thumbnail?: BraveSearchImage;
2853
+ url: string;
2854
+ }
2855
+ export interface BraveSearchWebResultMovieActorsItem {
2856
+ name: string;
2857
+ thumbnail?: BraveSearchImage;
2858
+ type: string;
2859
+ url?: string;
2860
+ }
2861
+ export interface BraveSearchWebResultMovieDirectorsItem {
2862
+ name: string;
2863
+ type: string;
2864
+ url?: string;
2865
+ }
2866
+ export interface BraveSearchWebResultMusicRecording {
2867
+ name: string;
2868
+ thumbnail?: BraveSearchImage;
2869
+ }
2870
+ export interface BraveSearchWebResultOrganization {
2871
+ contact_points: BraveSearchWebResultOrganizationContactPointsItem[];
2872
+ name: string;
2873
+ thumbnail: BraveSearchImage | null;
2874
+ type: string;
2875
+ url: string | null;
2876
+ }
2877
+ export interface BraveSearchWebResultOrganizationContactPointsItem {
2878
+ email: string | null;
2879
+ name: string;
2880
+ telephone: string | null;
2881
+ type: string;
2882
+ }
2883
+ export interface BraveSearchWebResultProduct {
2884
+ description: string;
2885
+ description_html?: string;
2886
+ gtin14?: string;
2887
+ name: string;
2888
+ offers: BraveSearchWebResultProductOffersItem[];
2889
+ price: string;
2890
+ thumbnail: BraveSearchImage;
2891
+ type: string;
2892
+ url?: string;
2893
+ }
2894
+ export interface BraveSearchWebResultProductClusterItem {
2895
+ description?: string;
2896
+ description_html?: string;
2897
+ name: string;
2898
+ offers?: BraveSearchWebResultProductClusterItemOffersItem[];
2899
+ price?: string;
2900
+ rating?: BraveSearchRating;
2901
+ thumbnail: BraveSearchImage;
2902
+ type: string;
2903
+ url: string;
2904
+ }
2905
+ export interface BraveSearchWebResultProductClusterItemOffersItem {
2906
+ price: BraveSearchWebResultProductClusterItemOffersItemPrice;
2907
+ url: string;
2908
+ }
2909
+ export interface BraveSearchWebResultProductClusterItemOffersItemPrice {
2910
+ amount: number | null;
2911
+ amount_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2912
+ currency: string;
2913
+ }
2914
+ export interface BraveSearchWebResultProductOffersItem {
2915
+ price: BraveSearchWebResultProductOffersItemPrice;
2916
+ url: string;
2917
+ }
2918
+ export interface BraveSearchWebResultProductOffersItemPrice {
2919
+ amount: number | null;
2920
+ amount_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2921
+ currency: string;
2922
+ }
2923
+ export interface BraveSearchWebResultQa {
2924
+ answer: BraveSearchWebResultQaAnswer;
2925
+ question: string;
2926
+ question_html?: string;
2927
+ suggested_answers: BraveSearchWebResultQaSuggestedAnswersItem[];
2928
+ }
2929
+ export interface BraveSearchWebResultQaAnswer {
2930
+ author?: string;
2931
+ text: string;
2932
+ text_html?: string;
2933
+ upvote_count: number;
2934
+ }
2935
+ export interface BraveSearchWebResultQaSuggestedAnswersItem {
2936
+ author?: string;
2937
+ text: string;
2938
+ text_html: string;
2939
+ upvote_count: number;
2940
+ }
2941
+ export interface BraveSearchWebResultRecipe {
2942
+ calories?: number;
2943
+ cook_time?: string;
2944
+ description: string;
2945
+ description_html?: string;
2946
+ domain: string;
2947
+ favicon_url: string;
2948
+ ingredients: string;
2949
+ instructions: BraveSearchWebResultRecipeInstructionsItem[];
2950
+ prep_time?: string;
2951
+ publisher?: string;
2952
+ rating?: BraveSearchRating;
2953
+ recipe_category: string;
2954
+ recipe_cuisine?: string;
2955
+ servings: number;
2956
+ thumbnail: BraveSearchImage;
2957
+ time: string;
2958
+ title: string;
2959
+ url: string;
2960
+ video?: BraveSearchWebResultRecipeVideo;
2961
+ }
2962
+ export interface BraveSearchWebResultRecipeInstructionsItem {
2963
+ image: string[];
2964
+ name?: string;
2965
+ text: string;
2966
+ url?: string;
2967
+ }
2968
+ export interface BraveSearchWebResultRecipeVideo {
2969
+ duration_seconds?: number | null;
2970
+ duration_seconds_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
2971
+ thumbnail: BraveSearchImage;
2972
+ }
2973
+ export interface BraveSearchWebResultReview {
2974
+ description: string;
2975
+ description_html: string;
2976
+ name: string;
2977
+ rating: BraveSearchRating;
2978
+ thumbnail: BraveSearchImage;
2979
+ type: string;
2980
+ }
2981
+ export interface BraveSearchWebResultSitelinksItem {
2982
+ description: string;
2983
+ description_html?: string;
2984
+ family_friendly: boolean;
2985
+ is_source_both: boolean;
2986
+ is_source_local: boolean;
2987
+ title: string;
2988
+ url: string;
2989
+ }
2990
+ export interface BraveSearchWebResultSoftware {
2991
+ author: string;
2992
+ forks?: number;
2993
+ is_npm: boolean;
2994
+ is_pypi: boolean;
2995
+ name: string;
2996
+ programming_language: string;
2997
+ stars?: number;
2998
+ }
2999
+ export interface BraveSearchWebResultVideo {
3000
+ duration_seconds?: number | null;
3001
+ duration_seconds_as_sent?: boolean | number | string | BraveSearchUnobservedObject;
3002
+ thumbnail: BraveSearchImage;
3003
+ views?: string;
3004
+ }
3005
+ export interface ErrorDetail {
3006
+ ctx?: Record<string, unknown> | null;
3007
+ input?: unknown | null;
3008
+ loc?: (string | number)[] | null;
3009
+ msg?: string | null;
3010
+ type?: string | null;
3011
+ }
3012
+ export interface ErrorResponse {
3013
+ code: PublicError;
3014
+ details?: ErrorDetail[] | null;
3015
+ domain?: string | null;
3016
+ message: string;
3017
+ request_id: string;
3018
+ upgrade_url?: string | null;
3019
+ }
3020
+ export interface GetAiAnswerParams {
3021
+ /** `ai_answer.conversation_id` from `/search`. */
3022
+ conversation_id: string;
3023
+ }
3024
+ export interface GetDirectionsParams {
3025
+ /** Local arrival time, `YYYY-MM-DDTHH:MM`. Not with `departure_time`. */
3026
+ arrival_time?: string | null;
3027
+ /** Features to avoid; walking and cycling routes take only `ferries`, which they otherwise may use. Repeat for several. */
3028
+ avoid?: BraveSearchAvoidFeature[];
3029
+ /** Local departure time, `YYYY-MM-DDTHH:MM`. Not with `arrival_time`. */
3030
+ departure_time?: string | null;
3031
+ /** `latitude,longitude`. */
3032
+ destination: string;
3033
+ /** `latitude,longitude`. */
3034
+ origin: string;
3035
+ /** How you travel. */
3036
+ profile?: BraveSearchRouteProfile;
3037
+ /** A stop on the way, `latitude,longitude`; repeat the parameter for several. */
3038
+ via?: string[];
3039
+ }
3040
+ export interface GetGoggleParams {
3041
+ /** A Goggle's `url` from `/goggles` or `/goggles/search`. */
3042
+ goggle_url: string;
3043
+ }
3044
+ export interface GetPlaceDescriptionParams {
3045
+ /** A place id: `places[].id` from `/places` or `locations.results[].id` from `/search`. */
3046
+ place_id: string;
3047
+ }
3048
+ export interface GetPlaceParams {
3049
+ /** A place id: `places[].id` from `/places` or `locations.results[].id` from `/search`. */
3050
+ place_id: string;
3051
+ }
3052
+ export interface GetSportsFixtureParams {
3053
+ /** A game `id` from a games answer. */
3054
+ fixture_id: string;
3055
+ /** League id: `39` Premier League or another football league, `nfl` NFL. */
3056
+ league_id: string;
3057
+ /** Season by its start year, `2026`. */
3058
+ season: string;
3059
+ /** The game's sport. */
3060
+ sport: BraveSearchFixtureSport;
3061
+ }
3062
+ export interface GetSportsStandingsParams {
3063
+ /** League id: `39` Premier League, `12` NBA, `1` MLB, `57` NHL, `nfl` NFL. */
3064
+ league_id: string;
3065
+ /** Season by its start year, `2026`. NBA and other basketball leagues that span two years take `2026-2027`. */
3066
+ season: string;
3067
+ /** The league's sport. */
3068
+ sport: BraveSearchSport;
3069
+ }
3070
+ export interface GetTransitDirectionsParams {
3071
+ /** Local arrival time, `YYYY-MM-DDTHH:MM`. Not with `departure_time`. */
3072
+ arrival_time?: string | null;
3073
+ /** Local departure time, `YYYY-MM-DDTHH:MM`. Not with `arrival_time`. */
3074
+ departure_time?: string | null;
3075
+ /** `latitude,longitude`. */
3076
+ destination: string;
3077
+ /** Transit modes to leave out; repeat for several. */
3078
+ exclude_modes?: BraveSearchTransitMode[];
3079
+ /** Most changes between vehicles. */
3080
+ max_changes?: number | null;
3081
+ /** Longest walk in meters. */
3082
+ max_walking_meters?: number | null;
3083
+ /** `latitude,longitude`. */
3084
+ origin: string;
3085
+ /** Only wheelchair-accessible routes. */
3086
+ wheelchair_accessible?: boolean;
3087
+ }
3088
+ export interface ListPlaceSuggestionsParams {
3089
+ /** Latitude of the search center. */
3090
+ latitude: number;
3091
+ /** Longitude of the search center. */
3092
+ longitude: number;
3093
+ /** Search text. Operators such as `site:`, quotes and `-term` work. */
3094
+ query: string;
3095
+ }
3096
+ export interface ListSimilarImagesParams {
3097
+ /** `similar_images_token` of an image result from `/images`; it lasts at least 2 hours. */
3098
+ token: string;
3099
+ }
3100
+ export interface ListSportsGamesParams {
3101
+ /** A day in the matchday, `YYYY-MM-DD`; the current matchday when empty. */
3102
+ date?: string | null;
3103
+ /** League id: `39` Premier League, `12` NBA, `1` MLB, `57` NHL, `nfl` NFL. */
3104
+ league_id: string;
3105
+ /** Season by its start year, `2026`. NBA and other basketball leagues that span two years take `2026-2027`. */
3106
+ season: string;
3107
+ /** The league's sport. */
3108
+ sport: BraveSearchSport;
3109
+ }
3110
+ export interface ListSuggestionsParams {
3111
+ /** Search text. Operators such as `site:`, quotes and `-term` work; `intitle:`, `inurl:`, `intext:` and `inanchor:` don't. */
3112
+ query: string;
3113
+ }
3114
+ export interface ListTeamGamesParams {
3115
+ /** Season by its start year, `2026`. NBA and other basketball leagues that span two years take `2026-2027`. */
3116
+ season: string;
3117
+ /** The team's sport. */
3118
+ sport: BraveSearchTeamSport;
3119
+ /** A team `id` from a standings or games answer. */
3120
+ team_id: string;
3121
+ }
3122
+ export type PublicError = "blocked" | "concurrency_exceeded" | "timeout" | "extraction_failed" | "upstream_blocked" | "upstream_unavailable" | "upstream_response_invalid" | "invalid_url_scheme" | "invalid_url_host" | "unauthenticated" | "forbidden" | "resource_forbidden" | "not_found" | "rate_limited" | "invalid_request" | "invalid_cursor" | "insufficient_credits" | "internal_error";
3123
+ export interface SearchGogglesParams {
3124
+ /** Search text. Operators such as `site:`, quotes and `-term` work. */
3125
+ query: string;
3126
+ }
3127
+ export interface SearchImagesParams {
3128
+ /** Country to search from. */
3129
+ country?: BraveSearchCountry;
3130
+ /** Search text. Operators such as `site:`, quotes and `-term` work; `intitle:`, `inurl:`, `intext:` and `inanchor:` don't. */
3131
+ query: string;
3132
+ /** Adult-content filter. */
3133
+ safe_search?: BraveSearchSafeSearch;
3134
+ }
3135
+ export interface SearchNewsParams {
3136
+ /** Country to search from. */
3137
+ country?: BraveSearchCountry;
3138
+ /** `pagination.next_cursor` from the previous page; empty for the first. Send it with the same filters. Brave serves 6 pages on `/search` and 2 on `/news` and `/videos`. */
3139
+ cursor?: string;
3140
+ /** Start of a published-date range, `YYYY-MM-DD`; send with `date_to`. */
3141
+ date_from?: string | null;
3142
+ /** End of a published-date range, `YYYY-MM-DD`; send with `date_from`. */
3143
+ date_to?: string | null;
3144
+ /** Only pages from the past day, week, month or year. */
3145
+ freshness?: BraveSearchFreshness;
3146
+ /** Search text. Operators such as `site:`, quotes and `-term` work; `intitle:`, `inurl:`, `intext:` and `inanchor:` don't. */
3147
+ query: string;
3148
+ /** Adult-content filter. */
3149
+ safe_search?: BraveSearchSafeSearch;
3150
+ /** Language to rank results toward; it moves results mostly outside `country=us`. */
3151
+ search_language?: BraveSearchLanguage;
3152
+ }
3153
+ export interface SearchParams {
3154
+ /** Country to search from. */
3155
+ country?: BraveSearchCountry;
3156
+ /** `pagination.next_cursor` from the previous page; empty for the first. Send it with the same filters. Brave serves 6 pages on `/search` and 2 on `/news` and `/videos`. */
3157
+ cursor?: string;
3158
+ /** Start of a published-date range, `YYYY-MM-DD`; send with `date_to`. */
3159
+ date_from?: string | null;
3160
+ /** End of a published-date range, `YYYY-MM-DD`; send with `date_from`. */
3161
+ date_to?: string | null;
3162
+ /** Only pages from the past day, week, month or year. */
3163
+ freshness?: BraveSearchFreshness;
3164
+ /** A Goggle's `url` from `/goggles` to re-rank results. A Goggle the search has not indexed is ignored; check one with `/goggles/profile`. */
3165
+ goggle_url?: string | null;
3166
+ /** Search text. Operators such as `site:`, quotes and `-term` work; `intitle:`, `inurl:`, `intext:` and `inanchor:` don't. */
3167
+ query: string;
3168
+ /** Adult-content filter. */
3169
+ safe_search?: BraveSearchSafeSearch;
3170
+ /** Language to rank results toward; it moves results mostly outside `country=us`. */
3171
+ search_language?: BraveSearchLanguage;
3172
+ /** Correct misspelt queries. */
3173
+ spellcheck?: boolean;
3174
+ }
3175
+ export interface SearchPlacesParams {
3176
+ /** Latitude of the search center. */
3177
+ latitude: number;
3178
+ /** Longitude of the search center. */
3179
+ longitude: number;
3180
+ /** Search text. Operators such as `site:`, quotes and `-term` work. */
3181
+ query: string;
3182
+ }
3183
+ export interface SearchVideosParams {
3184
+ /** Country to search from. */
3185
+ country?: BraveSearchCountry;
3186
+ /** `pagination.next_cursor` from the previous page; empty for the first. Send it with the same filters. Brave serves 6 pages on `/search` and 2 on `/news` and `/videos`. */
3187
+ cursor?: string;
3188
+ /** Only videos from the past day, week, month or year. */
3189
+ freshness?: BraveSearchFreshness;
3190
+ /** Search text. Operators such as `site:`, quotes and `-term` work; `intitle:`, `inurl:`, `intext:` and `inanchor:` don't. */
3191
+ query: string;
3192
+ /** Adult-content filter. */
3193
+ safe_search?: BraveSearchSafeSearch;
3194
+ /** Language to rank results toward; it moves results mostly outside `country=us`. */
3195
+ search_language?: BraveSearchLanguage;
3196
+ }
3197
+ //# sourceMappingURL=types.d.ts.map