@osrsclans/api 0.0.0 → 1.15.1
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.
- package/LICENSE +21 -0
- package/README.md +166 -0
- package/dist/answered.d.ts +17 -0
- package/dist/answered.js +52 -0
- package/dist/api-error.d.ts +13 -0
- package/dist/api-error.js +18 -0
- package/dist/chains.d.ts +37 -0
- package/dist/chains.js +30 -0
- package/dist/client.d.ts +24 -0
- package/dist/client.js +25 -0
- package/dist/data-request-error.d.ts +9 -0
- package/dist/data-request-error.js +12 -0
- package/dist/data-requests.d.ts +6 -0
- package/dist/data-requests.js +16 -0
- package/dist/destinations.d.ts +23 -0
- package/dist/destinations.js +74 -0
- package/dist/errors.generated.d.ts +775 -0
- package/dist/errors.generated.js +1034 -0
- package/dist/index.generated.d.ts +7 -0
- package/dist/index.generated.js +4 -0
- package/dist/models.generated.d.ts +351 -0
- package/dist/models.generated.js +1 -0
- package/dist/operation-types.d.ts +23 -0
- package/dist/operation-types.js +1 -0
- package/dist/operations.generated.d.ts +5693 -0
- package/dist/operations.generated.js +362 -0
- package/dist/outcomes.generated.d.ts +21 -0
- package/dist/outcomes.generated.js +26 -0
- package/dist/public.d.ts +7 -0
- package/dist/public.js +7 -0
- package/dist/schema.generated.d.ts +32193 -0
- package/dist/schema.generated.js +1136 -0
- package/dist/streams.d.ts +29 -0
- package/dist/streams.js +95 -0
- package/dist/unexpected-status.d.ts +5 -0
- package/dist/unexpected-status.js +9 -0
- package/dist/walk.d.ts +13 -0
- package/dist/walk.js +24 -0
- package/dist/walkers.generated.d.ts +702 -0
- package/dist/walkers.generated.js +106 -0
- package/package.json +52 -6
|
@@ -0,0 +1,702 @@
|
|
|
1
|
+
import type { NamedOperations } from "./operations.generated.js";
|
|
2
|
+
import type { PathParams, QueryParams } from "./operation-types.js";
|
|
3
|
+
/** One walker per paged route, named `iter` and the route's name less a leading `list`. */
|
|
4
|
+
export declare function namedWalkers(operations: NamedOperations): {
|
|
5
|
+
/** Every row of `listBoards`, page by page from the first. `limit` is the size of each page. */
|
|
6
|
+
iterBoards: (query?: Omit<QueryParams<"/api/v1/forums/boards", "get">, "offset">) => AsyncIterableIterator<{
|
|
7
|
+
clanArt: {
|
|
8
|
+
banner: {
|
|
9
|
+
kind: "palette";
|
|
10
|
+
palette: string;
|
|
11
|
+
} | {
|
|
12
|
+
aspect: number | null;
|
|
13
|
+
cardClip?: string | null | undefined;
|
|
14
|
+
file: string;
|
|
15
|
+
framing: {
|
|
16
|
+
focusX: number;
|
|
17
|
+
focusY: number;
|
|
18
|
+
zoom: number;
|
|
19
|
+
};
|
|
20
|
+
kind: "local";
|
|
21
|
+
motion: boolean;
|
|
22
|
+
poster: string | null;
|
|
23
|
+
sources: {
|
|
24
|
+
file: string;
|
|
25
|
+
height: number;
|
|
26
|
+
width: number;
|
|
27
|
+
}[];
|
|
28
|
+
};
|
|
29
|
+
logo: {
|
|
30
|
+
kind: "house";
|
|
31
|
+
palette: import("./schema.generated.js").components["schemas"]["BannerName"];
|
|
32
|
+
variant: number;
|
|
33
|
+
} | {
|
|
34
|
+
file: string;
|
|
35
|
+
kind: "wiki";
|
|
36
|
+
} | {
|
|
37
|
+
itemId: number;
|
|
38
|
+
kind: "item";
|
|
39
|
+
} | {
|
|
40
|
+
cardClip?: string | null | undefined;
|
|
41
|
+
file: string;
|
|
42
|
+
framing: {
|
|
43
|
+
focusX: number;
|
|
44
|
+
focusY: number;
|
|
45
|
+
zoom: number;
|
|
46
|
+
} | null;
|
|
47
|
+
kind: "local";
|
|
48
|
+
motion: boolean;
|
|
49
|
+
poster: string | null;
|
|
50
|
+
sources: {
|
|
51
|
+
file: string;
|
|
52
|
+
height: number;
|
|
53
|
+
width: number;
|
|
54
|
+
}[];
|
|
55
|
+
};
|
|
56
|
+
} | null;
|
|
57
|
+
clanSlug: string | null;
|
|
58
|
+
description: string;
|
|
59
|
+
kind: import("./schema.generated.js").components["schemas"]["BoardKind"];
|
|
60
|
+
name: string;
|
|
61
|
+
newest: {
|
|
62
|
+
id: string;
|
|
63
|
+
lastPostAt: string;
|
|
64
|
+
lastPostAuthor: {
|
|
65
|
+
accountId: string;
|
|
66
|
+
displayName: string;
|
|
67
|
+
} | null;
|
|
68
|
+
title: string;
|
|
69
|
+
} | null;
|
|
70
|
+
postCount: number;
|
|
71
|
+
scene: import("./schema.generated.js").components["schemas"]["BoardScene"] | null;
|
|
72
|
+
sectionSlug: string | null;
|
|
73
|
+
slowModeSeconds: number;
|
|
74
|
+
slug: string;
|
|
75
|
+
threadCount: number;
|
|
76
|
+
threadsLocked: boolean;
|
|
77
|
+
}, null>;
|
|
78
|
+
/** Every row of `browseItems`, page by page from the first. `limit` is the size of each page. */
|
|
79
|
+
iterBrowseItems: (query?: Omit<QueryParams<"/api/v1/osrs/items/browse", "get">, "offset">) => AsyncIterableIterator<{
|
|
80
|
+
equipSlot: number | null;
|
|
81
|
+
gePrice: number | null;
|
|
82
|
+
highAlchemy: number | null;
|
|
83
|
+
id: number;
|
|
84
|
+
lowAlchemy: number | null;
|
|
85
|
+
name: string;
|
|
86
|
+
value: number;
|
|
87
|
+
}, null>;
|
|
88
|
+
/** Every row of `listClanPosts`, page by page from the first. `limit` is the size of each page. */
|
|
89
|
+
iterClanPosts: (slug: PathParams<"/api/v1/clans/{slug}/posts", "get">["slug"], query?: Omit<QueryParams<"/api/v1/clans/{slug}/posts", "get">, "offset">) => AsyncIterableIterator<{
|
|
90
|
+
author: string | null;
|
|
91
|
+
body: string;
|
|
92
|
+
clanSlug: string;
|
|
93
|
+
gallery: ({
|
|
94
|
+
file: string;
|
|
95
|
+
kind: "file";
|
|
96
|
+
} | {
|
|
97
|
+
kind: "video";
|
|
98
|
+
video: {
|
|
99
|
+
id: string;
|
|
100
|
+
provider: import("./schema.generated.js").components["schemas"]["EmbedProvider"];
|
|
101
|
+
ref: string;
|
|
102
|
+
still: string | null;
|
|
103
|
+
stillSources: {
|
|
104
|
+
file: string;
|
|
105
|
+
height: number;
|
|
106
|
+
width: number;
|
|
107
|
+
}[];
|
|
108
|
+
title: string | null;
|
|
109
|
+
};
|
|
110
|
+
})[];
|
|
111
|
+
id: string;
|
|
112
|
+
image: string | null;
|
|
113
|
+
imageSources: {
|
|
114
|
+
[x: string]: {
|
|
115
|
+
file: string;
|
|
116
|
+
height: number;
|
|
117
|
+
width: number;
|
|
118
|
+
}[];
|
|
119
|
+
};
|
|
120
|
+
images: string[];
|
|
121
|
+
liked: boolean;
|
|
122
|
+
likes: number;
|
|
123
|
+
publishedAt: string;
|
|
124
|
+
title: string;
|
|
125
|
+
}, null>;
|
|
126
|
+
/** Every row of `listClanReviews`, page by page from the first. `limit` is the size of each page. */
|
|
127
|
+
iterClanReviews: (slug: PathParams<"/api/v1/clans/{slug}/reviews", "get">["slug"], query?: Omit<QueryParams<"/api/v1/clans/{slug}/reviews", "get">, "offset">) => AsyncIterableIterator<{
|
|
128
|
+
author: string | null;
|
|
129
|
+
body: string;
|
|
130
|
+
clanMember: boolean;
|
|
131
|
+
editedAt: string | null;
|
|
132
|
+
id: string;
|
|
133
|
+
mean: number | null;
|
|
134
|
+
mine: boolean;
|
|
135
|
+
publishedAt: string;
|
|
136
|
+
reply: {
|
|
137
|
+
author: string | null;
|
|
138
|
+
body: string;
|
|
139
|
+
repliedAt: string;
|
|
140
|
+
} | null;
|
|
141
|
+
scores: {
|
|
142
|
+
activity: number | null;
|
|
143
|
+
community: number | null;
|
|
144
|
+
events: number | null;
|
|
145
|
+
leadership: number | null;
|
|
146
|
+
mentorship: number | null;
|
|
147
|
+
};
|
|
148
|
+
staffRole: import("./schema.generated.js").components["schemas"]["ClanRole"] | null;
|
|
149
|
+
}, null>;
|
|
150
|
+
/** Every row of `listClans`, page by page from the first. `limit` is the size of each page. */
|
|
151
|
+
iterClans: (query?: Omit<QueryParams<"/api/v1/clans", "get">, "offset">) => AsyncIterableIterator<{
|
|
152
|
+
accountTypes: {
|
|
153
|
+
accepted: boolean;
|
|
154
|
+
accountType: import("./schema.generated.js").components["schemas"]["AccountType"];
|
|
155
|
+
}[];
|
|
156
|
+
banner: {
|
|
157
|
+
kind: "palette";
|
|
158
|
+
palette: string;
|
|
159
|
+
} | {
|
|
160
|
+
aspect: number | null;
|
|
161
|
+
cardClip?: string | null | undefined;
|
|
162
|
+
file: string;
|
|
163
|
+
framing: {
|
|
164
|
+
focusX: number;
|
|
165
|
+
focusY: number;
|
|
166
|
+
zoom: number;
|
|
167
|
+
};
|
|
168
|
+
kind: "local";
|
|
169
|
+
motion: boolean;
|
|
170
|
+
poster: string | null;
|
|
171
|
+
sources: {
|
|
172
|
+
file: string;
|
|
173
|
+
height: number;
|
|
174
|
+
width: number;
|
|
175
|
+
}[];
|
|
176
|
+
};
|
|
177
|
+
founded: number;
|
|
178
|
+
homeWorld: number | null;
|
|
179
|
+
liked: boolean;
|
|
180
|
+
likes: number;
|
|
181
|
+
logo: {
|
|
182
|
+
kind: "house";
|
|
183
|
+
palette: import("./schema.generated.js").components["schemas"]["BannerName"];
|
|
184
|
+
variant: number;
|
|
185
|
+
} | {
|
|
186
|
+
file: string;
|
|
187
|
+
kind: "wiki";
|
|
188
|
+
} | {
|
|
189
|
+
itemId: number;
|
|
190
|
+
kind: "item";
|
|
191
|
+
} | {
|
|
192
|
+
cardClip?: string | null | undefined;
|
|
193
|
+
file: string;
|
|
194
|
+
framing: {
|
|
195
|
+
focusX: number;
|
|
196
|
+
focusY: number;
|
|
197
|
+
zoom: number;
|
|
198
|
+
} | null;
|
|
199
|
+
kind: "local";
|
|
200
|
+
motion: boolean;
|
|
201
|
+
poster: string | null;
|
|
202
|
+
sources: {
|
|
203
|
+
file: string;
|
|
204
|
+
height: number;
|
|
205
|
+
width: number;
|
|
206
|
+
}[];
|
|
207
|
+
};
|
|
208
|
+
motto: string;
|
|
209
|
+
name: string;
|
|
210
|
+
recruitment: import("./schema.generated.js").components["schemas"]["Recruitment"];
|
|
211
|
+
regions: import("./schema.generated.js").Region[];
|
|
212
|
+
requirements: {
|
|
213
|
+
kind: import("./schema.generated.js").components["schemas"]["RequirementKind"];
|
|
214
|
+
label: string;
|
|
215
|
+
value: string;
|
|
216
|
+
}[];
|
|
217
|
+
reviewMean: number | null;
|
|
218
|
+
slug: string;
|
|
219
|
+
stats: {
|
|
220
|
+
ehb: number;
|
|
221
|
+
ehp: number;
|
|
222
|
+
members: number;
|
|
223
|
+
totalExp: number;
|
|
224
|
+
} | null;
|
|
225
|
+
tags: string[];
|
|
226
|
+
}, null>;
|
|
227
|
+
/** Every row of `listCommunities`, page by page from the first. `limit` is the size of each page. */
|
|
228
|
+
iterCommunities: (query?: Omit<QueryParams<"/api/v1/communities", "get">, "offset">) => AsyncIterableIterator<{
|
|
229
|
+
banner: {
|
|
230
|
+
palette: string;
|
|
231
|
+
source: "palette";
|
|
232
|
+
} | {
|
|
233
|
+
cardClip?: string | null | undefined;
|
|
234
|
+
file: string;
|
|
235
|
+
framing: {
|
|
236
|
+
focusX: number;
|
|
237
|
+
focusY: number;
|
|
238
|
+
zoom: number;
|
|
239
|
+
};
|
|
240
|
+
motion: boolean;
|
|
241
|
+
poster: string | null;
|
|
242
|
+
source: "file";
|
|
243
|
+
sources: {
|
|
244
|
+
file: string;
|
|
245
|
+
height: number;
|
|
246
|
+
width: number;
|
|
247
|
+
}[];
|
|
248
|
+
};
|
|
249
|
+
contact: {
|
|
250
|
+
discord: string | null;
|
|
251
|
+
name: string;
|
|
252
|
+
rsn: string | null;
|
|
253
|
+
} | null;
|
|
254
|
+
description: string;
|
|
255
|
+
downloadUrl: string | null;
|
|
256
|
+
friendsChat: string | null;
|
|
257
|
+
hasDiscord: boolean;
|
|
258
|
+
hasFluxer: boolean;
|
|
259
|
+
icon: {
|
|
260
|
+
itemId: number;
|
|
261
|
+
source: "item";
|
|
262
|
+
} | {
|
|
263
|
+
cardClip?: string | null | undefined;
|
|
264
|
+
file: string;
|
|
265
|
+
motion: boolean;
|
|
266
|
+
poster: string | null;
|
|
267
|
+
source: "file";
|
|
268
|
+
sources: {
|
|
269
|
+
file: string;
|
|
270
|
+
height: number;
|
|
271
|
+
width: number;
|
|
272
|
+
}[];
|
|
273
|
+
};
|
|
274
|
+
kind: import("./schema.generated.js").components["schemas"]["ShowcaseKind"];
|
|
275
|
+
maintainer: string | null;
|
|
276
|
+
motto: string;
|
|
277
|
+
name: string;
|
|
278
|
+
repoUrl: string | null;
|
|
279
|
+
shots: {
|
|
280
|
+
cardClip?: string | null | undefined;
|
|
281
|
+
file: string | null;
|
|
282
|
+
heading: string | null;
|
|
283
|
+
motion: boolean;
|
|
284
|
+
poster: string | null;
|
|
285
|
+
slot: import("./schema.generated.js").components["schemas"]["ShotSlot"];
|
|
286
|
+
sources: {
|
|
287
|
+
file: string;
|
|
288
|
+
height: number;
|
|
289
|
+
width: number;
|
|
290
|
+
}[];
|
|
291
|
+
video?: {
|
|
292
|
+
id: string;
|
|
293
|
+
provider: import("./schema.generated.js").components["schemas"]["EmbedProvider"];
|
|
294
|
+
ref: string;
|
|
295
|
+
still: string | null;
|
|
296
|
+
stillSources: {
|
|
297
|
+
file: string;
|
|
298
|
+
height: number;
|
|
299
|
+
width: number;
|
|
300
|
+
}[];
|
|
301
|
+
title: string | null;
|
|
302
|
+
} | null | undefined;
|
|
303
|
+
}[];
|
|
304
|
+
slug: string;
|
|
305
|
+
toolKind: import("./schema.generated.js").components["schemas"]["ToolKind"] | null;
|
|
306
|
+
videoUrl: string | null;
|
|
307
|
+
websiteUrl: string | null;
|
|
308
|
+
}, null>;
|
|
309
|
+
/** Every row of `listCommunityPosts`, page by page from the first. `limit` is the size of each page. */
|
|
310
|
+
iterCommunityPosts: (slug: PathParams<"/api/v1/communities/{slug}/posts", "get">["slug"], query?: Omit<QueryParams<"/api/v1/communities/{slug}/posts", "get">, "offset">) => AsyncIterableIterator<{
|
|
311
|
+
author: string | null;
|
|
312
|
+
body: string;
|
|
313
|
+
communitySlug: string;
|
|
314
|
+
gallery: ({
|
|
315
|
+
file: string;
|
|
316
|
+
kind: "file";
|
|
317
|
+
} | {
|
|
318
|
+
kind: "video";
|
|
319
|
+
video: {
|
|
320
|
+
id: string;
|
|
321
|
+
provider: import("./schema.generated.js").components["schemas"]["EmbedProvider"];
|
|
322
|
+
ref: string;
|
|
323
|
+
still: string | null;
|
|
324
|
+
stillSources: {
|
|
325
|
+
file: string;
|
|
326
|
+
height: number;
|
|
327
|
+
width: number;
|
|
328
|
+
}[];
|
|
329
|
+
title: string | null;
|
|
330
|
+
};
|
|
331
|
+
})[];
|
|
332
|
+
id: string;
|
|
333
|
+
image: string | null;
|
|
334
|
+
imageSources: {
|
|
335
|
+
[x: string]: {
|
|
336
|
+
file: string;
|
|
337
|
+
height: number;
|
|
338
|
+
width: number;
|
|
339
|
+
}[];
|
|
340
|
+
};
|
|
341
|
+
images: string[];
|
|
342
|
+
liked: boolean;
|
|
343
|
+
likes: number;
|
|
344
|
+
publishedAt: string;
|
|
345
|
+
title: string;
|
|
346
|
+
}, null>;
|
|
347
|
+
/** Every row of `listForumSections`, page by page from the first. `limit` is the size of each page. */
|
|
348
|
+
iterForumSections: (query?: Omit<QueryParams<"/api/v1/forums/sections", "get">, "offset">) => AsyncIterableIterator<{
|
|
349
|
+
holdsClanBoards: boolean;
|
|
350
|
+
name: string;
|
|
351
|
+
position: number;
|
|
352
|
+
scene: import("./schema.generated.js").components["schemas"]["SectionScene"];
|
|
353
|
+
slug: string;
|
|
354
|
+
}, null>;
|
|
355
|
+
/** Every row of `listItems`, page by page from the first. `limit` is the size of each page. */
|
|
356
|
+
iterItems: (query?: Omit<QueryParams<"/api/v1/osrs/items", "get">, "offset">) => AsyncIterableIterator<{
|
|
357
|
+
baseId: number | null;
|
|
358
|
+
equipSlot: number | null;
|
|
359
|
+
examine: string;
|
|
360
|
+
id: number;
|
|
361
|
+
images: {
|
|
362
|
+
sources: {
|
|
363
|
+
byteCount: number;
|
|
364
|
+
file: string;
|
|
365
|
+
format: import("./schema.generated.js").components["schemas"]["ImageFormat"];
|
|
366
|
+
height: number;
|
|
367
|
+
scale: string | null;
|
|
368
|
+
width: number;
|
|
369
|
+
}[];
|
|
370
|
+
srcset: string;
|
|
371
|
+
svg: string | null;
|
|
372
|
+
} | null;
|
|
373
|
+
members: boolean;
|
|
374
|
+
name: string | null;
|
|
375
|
+
notedId: number | null;
|
|
376
|
+
placeholderId: number | null;
|
|
377
|
+
stackForms: {
|
|
378
|
+
amount: number;
|
|
379
|
+
itemId: number;
|
|
380
|
+
}[];
|
|
381
|
+
stackable: boolean;
|
|
382
|
+
teamId: number | null;
|
|
383
|
+
tradeable: boolean;
|
|
384
|
+
value: number;
|
|
385
|
+
weight: number | null;
|
|
386
|
+
}, null>;
|
|
387
|
+
/** Every row of `listLootRates`, page by page from the first. `limit` is the size of each page. */
|
|
388
|
+
iterLootRates: (query?: Omit<QueryParams<"/api/v1/loot-rates", "get">, "offset">) => AsyncIterableIterator<{
|
|
389
|
+
altChance: number | null;
|
|
390
|
+
category: import("./schema.generated.js").components["schemas"]["LootCategory"] | null;
|
|
391
|
+
chance: number | null;
|
|
392
|
+
chancePerRaid: number | null;
|
|
393
|
+
collectionLog: boolean;
|
|
394
|
+
collectionLogPage: string | null;
|
|
395
|
+
dropType: string;
|
|
396
|
+
dropsPerHour: number | null;
|
|
397
|
+
gePrice: number | null;
|
|
398
|
+
gpPerHour: number | null;
|
|
399
|
+
group: string | null;
|
|
400
|
+
highAlchemy: number | null;
|
|
401
|
+
itemId: number | null;
|
|
402
|
+
itemName: string;
|
|
403
|
+
killRateSource: import("./schema.generated.js").components["schemas"]["KillRateSource"] | null;
|
|
404
|
+
killsPerHour: number | null;
|
|
405
|
+
killsPerHourIronman: number | null;
|
|
406
|
+
lines: {
|
|
407
|
+
altRarity: string | null;
|
|
408
|
+
approximate: boolean;
|
|
409
|
+
group?: string | null | undefined;
|
|
410
|
+
noted: boolean;
|
|
411
|
+
quantity: string;
|
|
412
|
+
quantityHigh?: number | null | undefined;
|
|
413
|
+
quantityLow?: number | null | undefined;
|
|
414
|
+
rarity: string;
|
|
415
|
+
rolls: number;
|
|
416
|
+
}[];
|
|
417
|
+
meanQuantity: number;
|
|
418
|
+
page: string;
|
|
419
|
+
perPurple: boolean;
|
|
420
|
+
readAt: string;
|
|
421
|
+
section: string | null;
|
|
422
|
+
skill: {
|
|
423
|
+
kind: import("./schema.generated.js").components["schemas"]["SkillKind"];
|
|
424
|
+
level: number;
|
|
425
|
+
levelNeeded: number;
|
|
426
|
+
} | null;
|
|
427
|
+
source: string;
|
|
428
|
+
uniquesPerRaid: number | null;
|
|
429
|
+
womMetric: string | null;
|
|
430
|
+
}, null>;
|
|
431
|
+
/** Every row of `listLootRateSources`, page by page from the first. `limit` is the size of each page. */
|
|
432
|
+
iterLootRateSources: (query?: Omit<QueryParams<"/api/v1/loot-rates/sources", "get">, "offset">) => AsyncIterableIterator<{
|
|
433
|
+
category: import("./schema.generated.js").components["schemas"]["LootCategory"] | null;
|
|
434
|
+
collectionLogPage: string | null;
|
|
435
|
+
collectionLogRows: number;
|
|
436
|
+
dropTypes: string[];
|
|
437
|
+
drops: {
|
|
438
|
+
altChance: number | null;
|
|
439
|
+
category: import("./schema.generated.js").components["schemas"]["LootCategory"] | null;
|
|
440
|
+
chance: number | null;
|
|
441
|
+
chancePerRaid: number | null;
|
|
442
|
+
collectionLog: boolean;
|
|
443
|
+
collectionLogPage: string | null;
|
|
444
|
+
dropType: string;
|
|
445
|
+
dropsPerHour: number | null;
|
|
446
|
+
gePrice: number | null;
|
|
447
|
+
gpPerHour: number | null;
|
|
448
|
+
group: string | null;
|
|
449
|
+
highAlchemy: number | null;
|
|
450
|
+
itemId: number | null;
|
|
451
|
+
itemName: string;
|
|
452
|
+
killRateSource: import("./schema.generated.js").components["schemas"]["KillRateSource"] | null;
|
|
453
|
+
killsPerHour: number | null;
|
|
454
|
+
killsPerHourIronman: number | null;
|
|
455
|
+
lines: {
|
|
456
|
+
altRarity: string | null;
|
|
457
|
+
approximate: boolean;
|
|
458
|
+
group?: string | null | undefined;
|
|
459
|
+
noted: boolean;
|
|
460
|
+
quantity: string;
|
|
461
|
+
quantityHigh?: number | null | undefined;
|
|
462
|
+
quantityLow?: number | null | undefined;
|
|
463
|
+
rarity: string;
|
|
464
|
+
rolls: number;
|
|
465
|
+
}[];
|
|
466
|
+
meanQuantity: number;
|
|
467
|
+
page: string;
|
|
468
|
+
perPurple: boolean;
|
|
469
|
+
readAt: string;
|
|
470
|
+
section: string | null;
|
|
471
|
+
skill: {
|
|
472
|
+
kind: import("./schema.generated.js").components["schemas"]["SkillKind"];
|
|
473
|
+
level: number;
|
|
474
|
+
levelNeeded: number;
|
|
475
|
+
} | null;
|
|
476
|
+
source: string;
|
|
477
|
+
uniquesPerRaid: number | null;
|
|
478
|
+
womMetric: string | null;
|
|
479
|
+
}[];
|
|
480
|
+
gpPerHour: number | null;
|
|
481
|
+
killRateSource: import("./schema.generated.js").components["schemas"]["KillRateSource"] | null;
|
|
482
|
+
killsPerHour: number | null;
|
|
483
|
+
killsPerHourIronman: number | null;
|
|
484
|
+
page: string;
|
|
485
|
+
pricedRows: number;
|
|
486
|
+
rows: number;
|
|
487
|
+
section: string | null;
|
|
488
|
+
source: string;
|
|
489
|
+
womMetric: string | null;
|
|
490
|
+
}, null>;
|
|
491
|
+
/** Every row of `listModels`, page by page from the first. `limit` is the size of each page. */
|
|
492
|
+
iterModels: (query: Omit<QueryParams<"/api/v1/osrs/models", "get">, "offset">) => AsyncIterableIterator<{
|
|
493
|
+
animations: number;
|
|
494
|
+
id: number;
|
|
495
|
+
kind: import("./schema.generated.js").components["schemas"]["ListedKind"];
|
|
496
|
+
model: string;
|
|
497
|
+
name: string | null;
|
|
498
|
+
shapes: number;
|
|
499
|
+
}, null>;
|
|
500
|
+
/** Every row of `listNpcs`, page by page from the first. `limit` is the size of each page. */
|
|
501
|
+
iterNpcs: (query?: Omit<QueryParams<"/api/v1/osrs/npcs", "get">, "offset">) => AsyncIterableIterator<{
|
|
502
|
+
actions: (string | null)[] | null;
|
|
503
|
+
category: number | null;
|
|
504
|
+
combatLevel: number | null;
|
|
505
|
+
id: number;
|
|
506
|
+
interactable: boolean;
|
|
507
|
+
minimapVisible: boolean;
|
|
508
|
+
name: string | null;
|
|
509
|
+
size: number | null;
|
|
510
|
+
transformIds: (number | null)[] | null;
|
|
511
|
+
transformVarbit: number | null;
|
|
512
|
+
transformVarp: number | null;
|
|
513
|
+
}, null>;
|
|
514
|
+
/** Every row of `listOutfitAnimations`, page by page from the first. `limit` is the size of each page. */
|
|
515
|
+
iterOutfitAnimations: (query?: Omit<QueryParams<"/api/v1/osrs/outfits/animations", "get">, "offset">) => AsyncIterableIterator<{
|
|
516
|
+
id: number;
|
|
517
|
+
name: string | null;
|
|
518
|
+
}, null>;
|
|
519
|
+
/** Every row of `searchForumPeople`, page by page from the first. `limit` is the size of each page. */
|
|
520
|
+
iterSearchForumPeople: (query: Omit<QueryParams<"/api/v1/forums/people", "get">, "offset">) => AsyncIterableIterator<{
|
|
521
|
+
author: {
|
|
522
|
+
accountId: string;
|
|
523
|
+
displayName: string;
|
|
524
|
+
};
|
|
525
|
+
clans: {
|
|
526
|
+
logo: {
|
|
527
|
+
kind: "house";
|
|
528
|
+
palette: import("./schema.generated.js").components["schemas"]["BannerName"];
|
|
529
|
+
variant: number;
|
|
530
|
+
} | {
|
|
531
|
+
file: string;
|
|
532
|
+
kind: "wiki";
|
|
533
|
+
} | {
|
|
534
|
+
itemId: number;
|
|
535
|
+
kind: "item";
|
|
536
|
+
} | {
|
|
537
|
+
cardClip?: string | null | undefined;
|
|
538
|
+
file: string;
|
|
539
|
+
framing: {
|
|
540
|
+
focusX: number;
|
|
541
|
+
focusY: number;
|
|
542
|
+
zoom: number;
|
|
543
|
+
} | null;
|
|
544
|
+
kind: "local";
|
|
545
|
+
motion: boolean;
|
|
546
|
+
poster: string | null;
|
|
547
|
+
sources: {
|
|
548
|
+
file: string;
|
|
549
|
+
height: number;
|
|
550
|
+
width: number;
|
|
551
|
+
}[];
|
|
552
|
+
};
|
|
553
|
+
name: string;
|
|
554
|
+
role: import("./schema.generated.js").components["schemas"]["ClanRole"];
|
|
555
|
+
slug: string;
|
|
556
|
+
}[];
|
|
557
|
+
postCount: number;
|
|
558
|
+
}, null>;
|
|
559
|
+
/** Every row of `searchItems`, page by page from the first. `limit` is the size of each page. */
|
|
560
|
+
iterSearchItems: (query: Omit<QueryParams<"/api/v1/osrs/items/search", "get">, "offset">) => AsyncIterableIterator<{
|
|
561
|
+
baseId: number | null;
|
|
562
|
+
equipSlot: number | null;
|
|
563
|
+
examine: string;
|
|
564
|
+
id: number;
|
|
565
|
+
images: {
|
|
566
|
+
sources: {
|
|
567
|
+
byteCount: number;
|
|
568
|
+
file: string;
|
|
569
|
+
format: import("./schema.generated.js").components["schemas"]["ImageFormat"];
|
|
570
|
+
height: number;
|
|
571
|
+
scale: string | null;
|
|
572
|
+
width: number;
|
|
573
|
+
}[];
|
|
574
|
+
srcset: string;
|
|
575
|
+
svg: string | null;
|
|
576
|
+
} | null;
|
|
577
|
+
members: boolean;
|
|
578
|
+
name: string | null;
|
|
579
|
+
notedId: number | null;
|
|
580
|
+
placeholderId: number | null;
|
|
581
|
+
stackForms: {
|
|
582
|
+
amount: number;
|
|
583
|
+
itemId: number;
|
|
584
|
+
}[];
|
|
585
|
+
stackable: boolean;
|
|
586
|
+
teamId: number | null;
|
|
587
|
+
tradeable: boolean;
|
|
588
|
+
value: number;
|
|
589
|
+
weight: number | null;
|
|
590
|
+
}, null>;
|
|
591
|
+
/** Every row of `searchNpcs`, page by page from the first. `limit` is the size of each page. */
|
|
592
|
+
iterSearchNpcs: (query: Omit<QueryParams<"/api/v1/osrs/npcs/search", "get">, "offset">) => AsyncIterableIterator<{
|
|
593
|
+
actions: (string | null)[] | null;
|
|
594
|
+
category: number | null;
|
|
595
|
+
combatLevel: number | null;
|
|
596
|
+
id: number;
|
|
597
|
+
interactable: boolean;
|
|
598
|
+
minimapVisible: boolean;
|
|
599
|
+
name: string | null;
|
|
600
|
+
size: number | null;
|
|
601
|
+
transformIds: (number | null)[] | null;
|
|
602
|
+
transformVarbit: number | null;
|
|
603
|
+
transformVarp: number | null;
|
|
604
|
+
}, null>;
|
|
605
|
+
/** Every row of `searchSprites`, page by page from the first. `limit` is the size of each page. */
|
|
606
|
+
iterSearchSprites: (query: Omit<QueryParams<"/api/v1/osrs/sprites/search", "get">, "offset">) => AsyncIterableIterator<{
|
|
607
|
+
category: string | null;
|
|
608
|
+
frames: {
|
|
609
|
+
classic: {
|
|
610
|
+
sources: {
|
|
611
|
+
byteCount: number;
|
|
612
|
+
file: string;
|
|
613
|
+
format: import("./schema.generated.js").components["schemas"]["ImageFormat"];
|
|
614
|
+
height: number;
|
|
615
|
+
scale: string | null;
|
|
616
|
+
width: number;
|
|
617
|
+
}[];
|
|
618
|
+
srcset: string;
|
|
619
|
+
svg: string | null;
|
|
620
|
+
} | null;
|
|
621
|
+
empty: boolean;
|
|
622
|
+
frame: number;
|
|
623
|
+
height: number;
|
|
624
|
+
upscaled: {
|
|
625
|
+
sources: {
|
|
626
|
+
byteCount: number;
|
|
627
|
+
file: string;
|
|
628
|
+
format: import("./schema.generated.js").components["schemas"]["ImageFormat"];
|
|
629
|
+
height: number;
|
|
630
|
+
scale: string | null;
|
|
631
|
+
width: number;
|
|
632
|
+
}[];
|
|
633
|
+
srcset: string;
|
|
634
|
+
svg: string | null;
|
|
635
|
+
} | null;
|
|
636
|
+
width: number;
|
|
637
|
+
}[];
|
|
638
|
+
id: number;
|
|
639
|
+
name: string | null;
|
|
640
|
+
}, null>;
|
|
641
|
+
/** Every row of `listSprites`, page by page from the first. `limit` is the size of each page. */
|
|
642
|
+
iterSprites: (query?: Omit<QueryParams<"/api/v1/osrs/sprites", "get">, "offset">) => AsyncIterableIterator<{
|
|
643
|
+
category: string | null;
|
|
644
|
+
frames: {
|
|
645
|
+
classic: {
|
|
646
|
+
sources: {
|
|
647
|
+
byteCount: number;
|
|
648
|
+
file: string;
|
|
649
|
+
format: import("./schema.generated.js").components["schemas"]["ImageFormat"];
|
|
650
|
+
height: number;
|
|
651
|
+
scale: string | null;
|
|
652
|
+
width: number;
|
|
653
|
+
}[];
|
|
654
|
+
srcset: string;
|
|
655
|
+
svg: string | null;
|
|
656
|
+
} | null;
|
|
657
|
+
empty: boolean;
|
|
658
|
+
frame: number;
|
|
659
|
+
height: number;
|
|
660
|
+
upscaled: {
|
|
661
|
+
sources: {
|
|
662
|
+
byteCount: number;
|
|
663
|
+
file: string;
|
|
664
|
+
format: import("./schema.generated.js").components["schemas"]["ImageFormat"];
|
|
665
|
+
height: number;
|
|
666
|
+
scale: string | null;
|
|
667
|
+
width: number;
|
|
668
|
+
}[];
|
|
669
|
+
srcset: string;
|
|
670
|
+
svg: string | null;
|
|
671
|
+
} | null;
|
|
672
|
+
width: number;
|
|
673
|
+
}[];
|
|
674
|
+
id: number;
|
|
675
|
+
name: string | null;
|
|
676
|
+
}, null>;
|
|
677
|
+
/** Every row of `listThreads`, page by page from the first. `limit` is the size of each page. */
|
|
678
|
+
iterThreads: (query?: Omit<QueryParams<"/api/v1/forums/threads", "get">, "offset">) => AsyncIterableIterator<{
|
|
679
|
+
author: {
|
|
680
|
+
accountId: string;
|
|
681
|
+
displayName: string;
|
|
682
|
+
} | null;
|
|
683
|
+
boardName: string;
|
|
684
|
+
boardSlug: string;
|
|
685
|
+
clanSlug: string | null;
|
|
686
|
+
createdAt: string;
|
|
687
|
+
id: string;
|
|
688
|
+
lastPostAt: string;
|
|
689
|
+
lastPostAuthor: {
|
|
690
|
+
accountId: string;
|
|
691
|
+
displayName: string;
|
|
692
|
+
} | null;
|
|
693
|
+
locked: boolean;
|
|
694
|
+
pinned: boolean;
|
|
695
|
+
removalReason: string | null;
|
|
696
|
+
removed: boolean;
|
|
697
|
+
removedAt: string | null;
|
|
698
|
+
replyCount: number;
|
|
699
|
+
title: string;
|
|
700
|
+
}, null>;
|
|
701
|
+
};
|
|
702
|
+
export type NamedWalkers = ReturnType<typeof namedWalkers>;
|