Skip to content

Commit 760be6b

Browse files
chore(api): update BetaCitationSearchResultLocation
1 parent 2910b28 commit 760be6b

File tree

6 files changed

+48
-48
lines changed

6 files changed

+48
-48
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 26
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-59aad2898ad5b11d8c367967ca73213a83bb46f1ca20cd006ee00fc8010c5e65.yml
33
openapi_spec_hash: 6dcdf2b065d61612f4403a1786c3bee2
4-
config_hash: f7a432ccea4a4968a1f94085f80bf258
4+
config_hash: 29170d4f110e44c786b2ce308d7b6410

api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ Types:
191191
- <code><a href="./src/resources/beta/messages/messages.ts">BetaCitationContentBlockLocationParam</a></code>
192192
- <code><a href="./src/resources/beta/messages/messages.ts">BetaCitationPageLocation</a></code>
193193
- <code><a href="./src/resources/beta/messages/messages.ts">BetaCitationPageLocationParam</a></code>
194+
- <code><a href="./src/resources/beta/messages/messages.ts">BetaCitationSearchResultLocation</a></code>
195+
- <code><a href="./src/resources/beta/messages/messages.ts">BetaCitationSearchResultLocationParam</a></code>
194196
- <code><a href="./src/resources/beta/messages/messages.ts">BetaCitationWebSearchResultLocationParam</a></code>
195197
- <code><a href="./src/resources/beta/messages/messages.ts">BetaCitationsConfigParam</a></code>
196198
- <code><a href="./src/resources/beta/messages/messages.ts">BetaCitationsDelta</a></code>
@@ -242,8 +244,6 @@ Types:
242244
- <code><a href="./src/resources/beta/messages/messages.ts">BetaRequestMCPServerURLDefinition</a></code>
243245
- <code><a href="./src/resources/beta/messages/messages.ts">BetaRequestMCPToolResultBlockParam</a></code>
244246
- <code><a href="./src/resources/beta/messages/messages.ts">BetaSearchResultBlockParam</a></code>
245-
- <code><a href="./src/resources/beta/messages/messages.ts">BetaSearchResultLocationCitation</a></code>
246-
- <code><a href="./src/resources/beta/messages/messages.ts">BetaSearchResultLocationCitationParam</a></code>
247247
- <code><a href="./src/resources/beta/messages/messages.ts">BetaServerToolUsage</a></code>
248248
- <code><a href="./src/resources/beta/messages/messages.ts">BetaServerToolUseBlock</a></code>
249249
- <code><a href="./src/resources/beta/messages/messages.ts">BetaServerToolUseBlockParam</a></code>

src/resources/beta/beta.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ import {
2828
BetaCitationContentBlockLocationParam,
2929
BetaCitationPageLocation,
3030
BetaCitationPageLocationParam,
31+
BetaCitationSearchResultLocation,
32+
BetaCitationSearchResultLocationParam,
3133
BetaCitationWebSearchResultLocationParam,
3234
BetaCitationsConfigParam,
3335
BetaCitationsDelta,
@@ -79,8 +81,6 @@ import {
7981
BetaRequestMCPServerURLDefinition,
8082
BetaRequestMCPToolResultBlockParam,
8183
BetaSearchResultBlockParam,
82-
BetaSearchResultLocationCitation,
83-
BetaSearchResultLocationCitationParam,
8484
BetaServerToolUsage,
8585
BetaServerToolUseBlock,
8686
BetaServerToolUseBlockParam,
@@ -268,6 +268,8 @@ export declare namespace Beta {
268268
type BetaCitationContentBlockLocationParam as BetaCitationContentBlockLocationParam,
269269
type BetaCitationPageLocation as BetaCitationPageLocation,
270270
type BetaCitationPageLocationParam as BetaCitationPageLocationParam,
271+
type BetaCitationSearchResultLocation as BetaCitationSearchResultLocation,
272+
type BetaCitationSearchResultLocationParam as BetaCitationSearchResultLocationParam,
271273
type BetaCitationWebSearchResultLocationParam as BetaCitationWebSearchResultLocationParam,
272274
type BetaCitationsConfigParam as BetaCitationsConfigParam,
273275
type BetaCitationsDelta as BetaCitationsDelta,
@@ -319,8 +321,6 @@ export declare namespace Beta {
319321
type BetaRequestMCPServerURLDefinition as BetaRequestMCPServerURLDefinition,
320322
type BetaRequestMCPToolResultBlockParam as BetaRequestMCPToolResultBlockParam,
321323
type BetaSearchResultBlockParam as BetaSearchResultBlockParam,
322-
type BetaSearchResultLocationCitation as BetaSearchResultLocationCitation,
323-
type BetaSearchResultLocationCitationParam as BetaSearchResultLocationCitationParam,
324324
type BetaServerToolUsage as BetaServerToolUsage,
325325
type BetaServerToolUseBlock as BetaServerToolUseBlock,
326326
type BetaServerToolUseBlockParam as BetaServerToolUseBlockParam,

src/resources/beta/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ export {
3838
type BetaCitationContentBlockLocationParam,
3939
type BetaCitationPageLocation,
4040
type BetaCitationPageLocationParam,
41+
type BetaCitationSearchResultLocation,
42+
type BetaCitationSearchResultLocationParam,
4143
type BetaCitationWebSearchResultLocationParam,
4244
type BetaCitationsConfigParam,
4345
type BetaCitationsDelta,
@@ -89,8 +91,6 @@ export {
8991
type BetaRequestMCPServerURLDefinition,
9092
type BetaRequestMCPToolResultBlockParam,
9193
type BetaSearchResultBlockParam,
92-
type BetaSearchResultLocationCitation,
93-
type BetaSearchResultLocationCitationParam,
9494
type BetaServerToolUsage,
9595
type BetaServerToolUseBlock,
9696
type BetaServerToolUseBlockParam,

src/resources/beta/messages/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ export {
3131
type BetaCitationContentBlockLocationParam,
3232
type BetaCitationPageLocation,
3333
type BetaCitationPageLocationParam,
34+
type BetaCitationSearchResultLocation,
35+
type BetaCitationSearchResultLocationParam,
3436
type BetaCitationWebSearchResultLocationParam,
3537
type BetaCitationsConfigParam,
3638
type BetaCitationsDelta,
@@ -82,8 +84,6 @@ export {
8284
type BetaRequestMCPServerURLDefinition,
8385
type BetaRequestMCPToolResultBlockParam,
8486
type BetaSearchResultBlockParam,
85-
type BetaSearchResultLocationCitation,
86-
type BetaSearchResultLocationCitationParam,
8787
type BetaServerToolUsage,
8888
type BetaServerToolUseBlock,
8989
type BetaServerToolUseBlockParam,

src/resources/beta/messages/messages.ts

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,38 @@ export interface BetaCitationPageLocationParam {
278278
type: 'page_location';
279279
}
280280

281+
export interface BetaCitationSearchResultLocation {
282+
cited_text: string;
283+
284+
end_block_index: number;
285+
286+
search_result_index: number;
287+
288+
source: string;
289+
290+
start_block_index: number;
291+
292+
title: string | null;
293+
294+
type: 'search_result_location';
295+
}
296+
297+
export interface BetaCitationSearchResultLocationParam {
298+
cited_text: string;
299+
300+
end_block_index: number;
301+
302+
search_result_index: number;
303+
304+
source: string;
305+
306+
start_block_index: number;
307+
308+
title: string | null;
309+
310+
type: 'search_result_location';
311+
}
312+
281313
export interface BetaCitationWebSearchResultLocationParam {
282314
cited_text: string;
283315

@@ -300,7 +332,7 @@ export interface BetaCitationsDelta {
300332
| BetaCitationPageLocation
301333
| BetaCitationContentBlockLocation
302334
| BetaCitationsWebSearchResultLocation
303-
| BetaSearchResultLocationCitation;
335+
| BetaCitationSearchResultLocation;
304336

305337
type: 'citations_delta';
306338
}
@@ -936,38 +968,6 @@ export interface BetaSearchResultBlockParam {
936968
citations?: BetaCitationsConfigParam;
937969
}
938970

939-
export interface BetaSearchResultLocationCitation {
940-
cited_text: string;
941-
942-
end_block_index: number;
943-
944-
search_result_index: number;
945-
946-
source: string;
947-
948-
start_block_index: number;
949-
950-
title: string | null;
951-
952-
type: 'search_result_location';
953-
}
954-
955-
export interface BetaSearchResultLocationCitationParam {
956-
cited_text: string;
957-
958-
end_block_index: number;
959-
960-
search_result_index: number;
961-
962-
source: string;
963-
964-
start_block_index: number;
965-
966-
title: string | null;
967-
968-
type: 'search_result_location';
969-
}
970-
971971
export interface BetaServerToolUsage {
972972
/**
973973
* The number of web search tool requests.
@@ -1047,14 +1047,14 @@ export type BetaTextCitation =
10471047
| BetaCitationPageLocation
10481048
| BetaCitationContentBlockLocation
10491049
| BetaCitationsWebSearchResultLocation
1050-
| BetaSearchResultLocationCitation;
1050+
| BetaCitationSearchResultLocation;
10511051

10521052
export type BetaTextCitationParam =
10531053
| BetaCitationCharLocationParam
10541054
| BetaCitationPageLocationParam
10551055
| BetaCitationContentBlockLocationParam
10561056
| BetaCitationWebSearchResultLocationParam
1057-
| BetaSearchResultLocationCitationParam;
1057+
| BetaCitationSearchResultLocationParam;
10581058

10591059
export interface BetaTextDelta {
10601060
text: string;
@@ -2202,6 +2202,8 @@ export declare namespace Messages {
22022202
type BetaCitationContentBlockLocationParam as BetaCitationContentBlockLocationParam,
22032203
type BetaCitationPageLocation as BetaCitationPageLocation,
22042204
type BetaCitationPageLocationParam as BetaCitationPageLocationParam,
2205+
type BetaCitationSearchResultLocation as BetaCitationSearchResultLocation,
2206+
type BetaCitationSearchResultLocationParam as BetaCitationSearchResultLocationParam,
22052207
type BetaCitationWebSearchResultLocationParam as BetaCitationWebSearchResultLocationParam,
22062208
type BetaCitationsConfigParam as BetaCitationsConfigParam,
22072209
type BetaCitationsDelta as BetaCitationsDelta,
@@ -2253,8 +2255,6 @@ export declare namespace Messages {
22532255
type BetaRequestMCPServerURLDefinition as BetaRequestMCPServerURLDefinition,
22542256
type BetaRequestMCPToolResultBlockParam as BetaRequestMCPToolResultBlockParam,
22552257
type BetaSearchResultBlockParam as BetaSearchResultBlockParam,
2256-
type BetaSearchResultLocationCitation as BetaSearchResultLocationCitation,
2257-
type BetaSearchResultLocationCitationParam as BetaSearchResultLocationCitationParam,
22582258
type BetaServerToolUsage as BetaServerToolUsage,
22592259
type BetaServerToolUseBlock as BetaServerToolUseBlock,
22602260
type BetaServerToolUseBlockParam as BetaServerToolUseBlockParam,

0 commit comments

Comments
 (0)