@bowmark/web 1.25.4 → 1.25.5
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/dist/generated/library.d.ts +1810 -213
- package/dist/generated/validators.js +3882 -128
- package/package.json +1 -1
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
// rather than imported. An `import` or `export` at the top level of this file would
|
|
6
6
|
// turn it into a module and every declaration below would stop being global.
|
|
7
7
|
//
|
|
8
|
-
// Manifest version:
|
|
9
|
-
//
|
|
8
|
+
// Manifest version: 1608fc3fa2a64293af42d97c9366c31aa9b203aa6bac33df791d99abe36b9084
|
|
9
|
+
// 79 capabilities, 547 providers, 1942 typed functions, 20 refused.
|
|
10
10
|
// 49,872 family members, sharing 2 interface(s) — declared once and pointed at, never repeated per member.
|
|
11
11
|
//
|
|
12
12
|
// REFUSED — these functions are real and callable, and their declared arguments
|
|
@@ -467,6 +467,57 @@ interface BundleAvailability {
|
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
469
|
|
|
470
|
+
declare namespace BowmarkCapability_business_electricity_quote {
|
|
471
|
+
// ── Business electricity quote — get retailer plans for an Australian postcode — the unit's own declarations, verbatim ──
|
|
472
|
+
type BusinessElectricityPlan = {
|
|
473
|
+
retailer: string // e.g. "Origin Energy"
|
|
474
|
+
title: string
|
|
475
|
+
code: string // the retailer's own product code
|
|
476
|
+
description: string
|
|
477
|
+
contractPeriod: number | null
|
|
478
|
+
distributor: string | null // the network, e.g. "Ausgrid"
|
|
479
|
+
tariffName: string | null
|
|
480
|
+
referenceUsage: string // what the price assumes, e.g. "10000 kWh / yearly"
|
|
481
|
+
annualCost: number | null // AUD at referenceUsage
|
|
482
|
+
monthlyCost: number | null
|
|
483
|
+
referenceCost: number | null // the regulated default offer it is benchmarked against
|
|
484
|
+
percentSavingVsReference: number | null
|
|
485
|
+
}
|
|
486
|
+
type BusinessElectricityRetailerResult = {
|
|
487
|
+
retailer: string
|
|
488
|
+
serviceable: boolean // false = the retailer does not sell into this postcode
|
|
489
|
+
planCount: number
|
|
490
|
+
}
|
|
491
|
+
type BusinessElectricityQuoteResult = {
|
|
492
|
+
postcode: string
|
|
493
|
+
plans: BusinessElectricityPlan[] // cheapest annualCost first
|
|
494
|
+
retailers: BusinessElectricityRetailerResult[]
|
|
495
|
+
warnings: string[]
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
type CallOptions = {
|
|
499
|
+
timeoutMs?: number // per-provider budget in ms, default 30000, clamped to 1000-55000.
|
|
500
|
+
// A provider slower than this is DROPPED from the results and
|
|
501
|
+
// NAMED in warnings — never silently absent
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Get business electricity quotes for an Australian postcode from Origin Energy. Returns every
|
|
506
|
+
* available plan with annual and monthly costs at the regulator's reference usage, sorted
|
|
507
|
+
* cheapest first. EnergyAustralia unavailable.
|
|
508
|
+
*/
|
|
509
|
+
interface Unit {
|
|
510
|
+
/**
|
|
511
|
+
* Business electricity quote for an Australian 4-digit postcode — every business electricity
|
|
512
|
+
* plan offered there with annual and monthly cost at the regulator's reference usage (10,000
|
|
513
|
+
* kWh/year), its network and tariff, sorted cheapest first. `retailers[].serviceable` is false
|
|
514
|
+
* where a retailer does not sell into that postcode (WA, TAS, NT for Origin) — a real empty
|
|
515
|
+
* answer, not an error.
|
|
516
|
+
*/
|
|
517
|
+
getQuote(args: { postcode: string }, options?: CallOptions): Promise<BusinessElectricityQuoteResult>;
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
|
|
470
521
|
declare namespace BowmarkCapability_cable_railing_quote {
|
|
471
522
|
// ── Cable railing design quote (materials & mounting options) — the unit's own declarations, verbatim ──
|
|
472
523
|
type CableRailingMaterial = {
|
|
@@ -1668,12 +1719,13 @@ type FlightStatusResult = {
|
|
|
1668
1719
|
* means the real cheapest fare may not be here at all. Three of the four sites run one shared
|
|
1669
1720
|
* engine, so they tend to fail together — and when ALL FOUR are gone this THROWS instead of
|
|
1670
1721
|
* returning `flights: []`, since an empty list would otherwise be indistinguishable from a
|
|
1671
|
-
* route nobody flies. `options.timeoutMs` sets the per-site budget (default 30000
|
|
1672
|
-
*
|
|
1673
|
-
*
|
|
1674
|
-
*
|
|
1675
|
-
*
|
|
1676
|
-
*
|
|
1722
|
+
* route nobody flies. `options.timeoutMs` sets the per-site budget (default 30000; kayak,
|
|
1723
|
+
* momondo and cheapflights are each given at least 50000, because a site whose fast path does
|
|
1724
|
+
* not answer is searched in a real browser) — a site slower than that is dropped and named, so
|
|
1725
|
+
* the answer arrives rather than not at all. **For 'which day is cheapest' over a range of
|
|
1726
|
+
* dates, do not call this once per date**:
|
|
1727
|
+
* `bowmark.providers.google_flights.getPriceGraph(query: FlightQuery): Promise<PriceGraph>`
|
|
1728
|
+
* (both typed above) prices every departure date from about depart-7 to depart+52 in one call.
|
|
1677
1729
|
*/
|
|
1678
1730
|
search(query: FlightQuery, options?: CallOptions): Promise<FlightSearchResult>;
|
|
1679
1731
|
|
|
@@ -2498,6 +2550,56 @@ type CallOptions = {
|
|
|
2498
2550
|
}
|
|
2499
2551
|
}
|
|
2500
2552
|
|
|
2553
|
+
declare namespace BowmarkCapability_job_search {
|
|
2554
|
+
// ── Job Search — the unit's own declarations, verbatim ──
|
|
2555
|
+
interface JobSearchArgs {
|
|
2556
|
+
query: string; // the role, e.g. "data engineer"
|
|
2557
|
+
location?: string; // e.g. "Toronto, ON"; omit for anywhere
|
|
2558
|
+
country?: "US" | "CA" | "NL"; // inferred from location when omitted
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
interface JobListing {
|
|
2562
|
+
title: string;
|
|
2563
|
+
company: string;
|
|
2564
|
+
location: string;
|
|
2565
|
+
remote: boolean;
|
|
2566
|
+
salary: string | null; // the board's own text
|
|
2567
|
+
salaryMin: number | null;
|
|
2568
|
+
salaryMax: number | null;
|
|
2569
|
+
salaryPeriod: string | null; // "YEARLY", "HOURLY", …
|
|
2570
|
+
postedRelative: string | null; // "3 days ago"
|
|
2571
|
+
snippet: string | null;
|
|
2572
|
+
url: string; // feed to bowmark.providers.indeed.getJobDetails({ url }) for the full posting
|
|
2573
|
+
source: string;
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2576
|
+
interface job_searchResult {
|
|
2577
|
+
query: string;
|
|
2578
|
+
location: string | null;
|
|
2579
|
+
country: string;
|
|
2580
|
+
jobs: JobListing[];
|
|
2581
|
+
warnings: string[];
|
|
2582
|
+
}
|
|
2583
|
+
|
|
2584
|
+
type CallOptions = {
|
|
2585
|
+
timeoutMs?: number // per-provider budget in ms, default 30000, clamped to 1000-55000.
|
|
2586
|
+
// A provider slower than this is DROPPED from the results and
|
|
2587
|
+
// NAMED in warnings — never silently absent
|
|
2588
|
+
}
|
|
2589
|
+
|
|
2590
|
+
/**
|
|
2591
|
+
* Open job listings for a role in a city — title, company, location, salary and age — off
|
|
2592
|
+
* Indeed's own regional results page (US, Canada, Netherlands).
|
|
2593
|
+
*/
|
|
2594
|
+
interface Unit {
|
|
2595
|
+
/**
|
|
2596
|
+
* Open job listings for a role, optionally in a city — picks Indeed's regional board from the
|
|
2597
|
+
* location (Toronto → ca.indeed.com).
|
|
2598
|
+
*/
|
|
2599
|
+
search(args: JobSearchArgs): Promise<job_searchResult>;
|
|
2600
|
+
}
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2501
2603
|
declare namespace BowmarkCapability_kenya_fuel_prices {
|
|
2502
2604
|
// ── Kenya fuel prices — the unit's own declarations, verbatim ──
|
|
2503
2605
|
interface FuelPrice {
|
|
@@ -3248,6 +3350,9 @@ type ReadOptions = {
|
|
|
3248
3350
|
// reading many pages: e.g., 10 pages × 60KB ≈ 700MB.
|
|
3249
3351
|
// For large single pages, use strategy: "fetch" to get
|
|
3250
3352
|
// even oversized responses without the full-load overhead.
|
|
3353
|
+
// A page with a huge DOM (30k+ elements, e.g. a long
|
|
3354
|
+
// tariff or data table) is read by a lighter extractor
|
|
3355
|
+
// and a warning says so — the content is all there.
|
|
3251
3356
|
timeoutMs?: number // default 45000: the budget for the WHOLE read, end to
|
|
3252
3357
|
// end. Clamped to 55000 — past that your own client
|
|
3253
3358
|
// kills the call first and you get its bare "The
|
|
@@ -4401,6 +4506,24 @@ interface PlaylistEdit {
|
|
|
4401
4506
|
url: string
|
|
4402
4507
|
warnings: string[]
|
|
4403
4508
|
}
|
|
4509
|
+
interface RemoveFromPlaylistOptions {
|
|
4510
|
+
playlist: string // a playlist id, or any URL carrying a "list" param
|
|
4511
|
+
videos: string[] // one or more video ids or watch URLs to remove
|
|
4512
|
+
}
|
|
4513
|
+
interface PlaylistRemoved {
|
|
4514
|
+
playlistId: string
|
|
4515
|
+
removed: string[] // what was sent and removed, in order
|
|
4516
|
+
url: string
|
|
4517
|
+
warnings: string[]
|
|
4518
|
+
}
|
|
4519
|
+
interface DeletePlaylistOptions {
|
|
4520
|
+
playlist: string // a playlist id, or any URL carrying a "list" param
|
|
4521
|
+
}
|
|
4522
|
+
interface DeletedPlaylist {
|
|
4523
|
+
playlistId: string
|
|
4524
|
+
deleted: boolean // either way it is gone and cannot be undone
|
|
4525
|
+
warnings: string[]
|
|
4526
|
+
}
|
|
4404
4527
|
|
|
4405
4528
|
type CallOptions = {
|
|
4406
4529
|
timeoutMs?: number // per-provider budget in ms, default 30000, clamped to 1000-55000.
|
|
@@ -4464,6 +4587,20 @@ type CallOptions = {
|
|
|
4464
4587
|
*/
|
|
4465
4588
|
addToPlaylist(options: AddToPlaylistOptions): Promise<PlaylistEdit>;
|
|
4466
4589
|
|
|
4590
|
+
/**
|
|
4591
|
+
* Removes one or many videos from one of the caller's own playlists. Removing a video that is
|
|
4592
|
+
* not in the playlist, or that is in it more than once, removes only one occurrence. Needs a
|
|
4593
|
+
* YouTube sign-in.
|
|
4594
|
+
*/
|
|
4595
|
+
removeFromPlaylist(options: RemoveFromPlaylistOptions): Promise<PlaylistRemoved>;
|
|
4596
|
+
|
|
4597
|
+
/**
|
|
4598
|
+
* PERMANENTLY deletes one of the caller's own playlists, with its entire contents — YouTube
|
|
4599
|
+
* has no undo. Refuses any playlist that does not belong to the caller's account. Only call it
|
|
4600
|
+
* when the account holder asked for that specific playlist to go. Needs a YouTube sign-in.
|
|
4601
|
+
*/
|
|
4602
|
+
deletePlaylist(options: DeletePlaylistOptions): Promise<DeletedPlaylist>;
|
|
4603
|
+
|
|
4467
4604
|
/**
|
|
4468
4605
|
* The videos on the caller's OWN channel, newest first, including private and unlisted ones,
|
|
4469
4606
|
* each with its privacy and processing status — what they see on YouTube Studio's Content
|
|
@@ -5878,7 +6015,7 @@ interface alibabaSupplierProfileRow {
|
|
|
5878
6015
|
/** TODO — one line an agent reads to decide whether to call this. */
|
|
5879
6016
|
interface Unit {
|
|
5880
6017
|
/** Search for products by keyword, returning results with title, price, supplier and details. */
|
|
5881
|
-
searchProducts(args: { query: string, language?: string, country?: string
|
|
6018
|
+
searchProducts(args: { query: string, language?: string, country?: string }): Promise<alibabaSearchRow[]>;
|
|
5882
6019
|
|
|
5883
6020
|
/**
|
|
5884
6021
|
* Get detailed information for a single product by ID or URL, including title, price ladder,
|
|
@@ -6812,6 +6949,18 @@ interface AolSectionArticles {
|
|
|
6812
6949
|
articles: AolStoryRow[];
|
|
6813
6950
|
}
|
|
6814
6951
|
|
|
6952
|
+
interface AolArticle {
|
|
6953
|
+
title: string;
|
|
6954
|
+
url: string;
|
|
6955
|
+
author?: string;
|
|
6956
|
+
publisher?: string;
|
|
6957
|
+
publishedAt?: string;
|
|
6958
|
+
modifiedAt?: string;
|
|
6959
|
+
body: string;
|
|
6960
|
+
images: string[];
|
|
6961
|
+
commentCount?: string;
|
|
6962
|
+
}
|
|
6963
|
+
|
|
6815
6964
|
/**
|
|
6816
6965
|
* AOL's news portal: the front page, every section and article (syndicated from AP, Reuters,
|
|
6817
6966
|
* USA Today and more), weather, local news, horoscopes and recipes, plus (once a caller signs
|
|
@@ -6838,6 +6987,13 @@ interface AolSectionArticles {
|
|
|
6838
6987
|
* "/news/" }.
|
|
6839
6988
|
*/
|
|
6840
6989
|
listSectionArticles(args: AolListSectionArticlesArgs): Promise<AolSectionArticles>;
|
|
6990
|
+
|
|
6991
|
+
/**
|
|
6992
|
+
* Reads one AOL article in full — headline, author, source publisher, publication date, the
|
|
6993
|
+
* whole body text, images and comment count. Pass the URL from getFrontPage or
|
|
6994
|
+
* listSectionArticles, or a raw slug.
|
|
6995
|
+
*/
|
|
6996
|
+
getArticle(url: string): Promise<AolArticle>;
|
|
6841
6997
|
}
|
|
6842
6998
|
}
|
|
6843
6999
|
|
|
@@ -9147,31 +9303,41 @@ interface BananaRepublicSearchArgs {
|
|
|
9147
9303
|
department?: "men" | "women";
|
|
9148
9304
|
inStockOnly?: boolean;
|
|
9149
9305
|
onSaleOnly?: boolean;
|
|
9150
|
-
limit?: number;
|
|
9306
|
+
limit?: number; // default 24, max 2000; the search walks result pages until it has this many
|
|
9307
|
+
country?: "us" | "ca"; // which store; default "us". "ca" = bananarepublic.gapcanada.ca, prices in CAD
|
|
9151
9308
|
}
|
|
9152
9309
|
interface BananaRepublicSearchHit {
|
|
9153
9310
|
styleId: string;
|
|
9154
|
-
ccId: string; // pass to getProduct
|
|
9155
|
-
|
|
9311
|
+
ccId: string; // pass to getProduct (or pass the whole hit, which carries its country)
|
|
9312
|
+
country: "us" | "ca";
|
|
9313
|
+
currency: string; // "USD" | "CAD"
|
|
9314
|
+
url: string; // opens this color
|
|
9156
9315
|
title: string;
|
|
9157
9316
|
color: string | null;
|
|
9158
9317
|
colorDescription: string | null;
|
|
9159
|
-
productType: string | null; // e.g. "mens
|
|
9318
|
+
productType: string | null; // e.g. "mens shirts"
|
|
9160
9319
|
price: number | null; // what it costs now
|
|
9161
9320
|
regularPrice: number | null; // compare-at
|
|
9162
9321
|
percentOff: number | null;
|
|
9163
9322
|
onSale: boolean;
|
|
9164
|
-
inStock: boolean;
|
|
9165
|
-
|
|
9323
|
+
inStock: boolean; // "In Stock", "Low" and "Very Low" are all in stock
|
|
9324
|
+
lowStock: boolean; // "Low" / "Very Low"
|
|
9325
|
+
inventoryStatus: string | null; // "In Stock" | "Low" | "Very Low" | …
|
|
9166
9326
|
reviewScore: number | null;
|
|
9167
9327
|
reviewCount: number | null;
|
|
9168
|
-
image: string | null;
|
|
9328
|
+
image: string | null; // this color's product photo
|
|
9169
9329
|
}
|
|
9170
9330
|
interface BananaRepublicSearchResult {
|
|
9171
9331
|
query: string;
|
|
9172
9332
|
department: "Men" | "Women" | null;
|
|
9333
|
+
country: "us" | "ca";
|
|
9334
|
+
currency: string;
|
|
9173
9335
|
total: number; // colors the site matched, before inStockOnly/onSaleOnly/limit
|
|
9336
|
+
pagesRead: number;
|
|
9337
|
+
pageCount: number; // result pages the site has for this query (200 colors each)
|
|
9338
|
+
hasMore: boolean; // true when more matching colors exist past `limit`
|
|
9174
9339
|
hits: BananaRepublicSearchHit[];
|
|
9340
|
+
warnings: string[]; // a results page that failed after the first; empty when complete
|
|
9175
9341
|
}
|
|
9176
9342
|
interface BananaRepublicSku {
|
|
9177
9343
|
skuId: string;
|
|
@@ -9192,6 +9358,7 @@ interface BananaRepublicColor {
|
|
|
9192
9358
|
ccId: string;
|
|
9193
9359
|
color: string | null;
|
|
9194
9360
|
fit: string;
|
|
9361
|
+
url: string; // opens this color
|
|
9195
9362
|
price: number | null;
|
|
9196
9363
|
regularPrice: number | null;
|
|
9197
9364
|
percentOff: number | null;
|
|
@@ -9199,10 +9366,15 @@ interface BananaRepublicColor {
|
|
|
9199
9366
|
inStock: boolean;
|
|
9200
9367
|
sizesInStock: string[];
|
|
9201
9368
|
sizesOutOfStock: string[];
|
|
9369
|
+
image: string | null; // main photo of this color
|
|
9370
|
+
images: string[]; // main photo first, then the alternate views
|
|
9371
|
+
swatch: string | null; // fabric swatch
|
|
9202
9372
|
}
|
|
9203
9373
|
interface BananaRepublicProduct {
|
|
9204
9374
|
styleId: string;
|
|
9205
9375
|
ccId: string;
|
|
9376
|
+
country: "us" | "ca";
|
|
9377
|
+
currency: string; // every price on this product is in this currency
|
|
9206
9378
|
url: string;
|
|
9207
9379
|
title: string;
|
|
9208
9380
|
fits: string[];
|
|
@@ -9213,25 +9385,28 @@ interface BananaRepublicProduct {
|
|
|
9213
9385
|
}
|
|
9214
9386
|
|
|
9215
9387
|
/**
|
|
9216
|
-
* Banana Republic (bananarepublic.gap.com
|
|
9217
|
-
* (men's/women's, on-sale, in-stock, with sale and
|
|
9218
|
-
* per-size, per-color price
|
|
9388
|
+
* Banana Republic (bananarepublic.gap.com, and the Canadian store bananarepublic.gapcanada.ca)
|
|
9389
|
+
* apparel store. Searches the live catalog (men's/women's, on-sale, in-stock, with sale and
|
|
9390
|
+
* regular prices, every page) and reads one product's per-size, per-color price, live stock
|
|
9391
|
+
* and photos. Pass country: "ca" for the Canadian store in CAD.
|
|
9219
9392
|
*/
|
|
9220
9393
|
interface Unit {
|
|
9221
9394
|
/**
|
|
9222
|
-
* Searches Banana Republic's live apparel catalog the way a shopper would ("sweater",
|
|
9223
|
-
*
|
|
9224
|
-
*
|
|
9225
|
-
*
|
|
9395
|
+
* Searches Banana Republic's live apparel catalog the way a shopper would ("sweater"),
|
|
9396
|
+
* optionally narrowed to men/women, on-sale and in-stock only, walking result pages until
|
|
9397
|
+
* `limit` is met, from the US store or (country: "ca") the Canadian one in CAD. One row per
|
|
9398
|
+
* product color with sale price, regular (compare-at) price, percent off, stock, a photo, and
|
|
9399
|
+
* the ccId getProduct takes. The way in.
|
|
9226
9400
|
*/
|
|
9227
9401
|
searchProducts(args: BananaRepublicSearchArgs | string): Promise<BananaRepublicSearchResult>;
|
|
9228
9402
|
|
|
9229
9403
|
/**
|
|
9230
9404
|
* Reads one Banana Republic product's every fit × color × size SKU with its price, regular
|
|
9231
|
-
* price and live in-stock flag, plus per-color in-stock and sold-out size lists, so
|
|
9232
|
-
* size is never shown. Takes the ccId or url searchProducts returns
|
|
9405
|
+
* price and live in-stock flag, plus per-color in-stock and sold-out size lists and photos, so
|
|
9406
|
+
* a sold-out size is never shown. Takes the hit, ccId or url searchProducts returns; a
|
|
9407
|
+
* Canadian ccId needs country: "ca" (a hit or url carries it).
|
|
9233
9408
|
*/
|
|
9234
|
-
getProduct(ccId: string): Promise<BananaRepublicProduct>;
|
|
9409
|
+
getProduct(product: string | { ccId: string; country?: "us" | "ca" } | BananaRepublicSearchHit): Promise<BananaRepublicProduct>;
|
|
9235
9410
|
}
|
|
9236
9411
|
}
|
|
9237
9412
|
|
|
@@ -9584,6 +9759,33 @@ interface BbcListMostReadResult {
|
|
|
9584
9759
|
headlines: BbcMostReadEntry[]; // ranked, the site's own order
|
|
9585
9760
|
}
|
|
9586
9761
|
|
|
9762
|
+
interface BbcVideo {
|
|
9763
|
+
title: string;
|
|
9764
|
+
summary: string;
|
|
9765
|
+
duration?: string;
|
|
9766
|
+
url: string;
|
|
9767
|
+
videoId: string;
|
|
9768
|
+
section: string;
|
|
9769
|
+
date?: string;
|
|
9770
|
+
image?: string;
|
|
9771
|
+
}
|
|
9772
|
+
|
|
9773
|
+
interface BbcListVideosResult {
|
|
9774
|
+
videos: BbcVideo[];
|
|
9775
|
+
}
|
|
9776
|
+
|
|
9777
|
+
interface BbcGetVideoResult {
|
|
9778
|
+
videoId: string;
|
|
9779
|
+
title: string;
|
|
9780
|
+
summary: string;
|
|
9781
|
+
duration?: number; // seconds, from the video's own primary version
|
|
9782
|
+
published?: string; // ISO
|
|
9783
|
+
section?: string;
|
|
9784
|
+
image?: string;
|
|
9785
|
+
url: string;
|
|
9786
|
+
relatedLinks: BbcRelatedLink[];
|
|
9787
|
+
}
|
|
9788
|
+
|
|
9587
9789
|
interface BbcListTopicStoriesResult {
|
|
9588
9790
|
headlines: BbcHeadline[]; // the topic page's own order, newest first
|
|
9589
9791
|
}
|
|
@@ -9943,6 +10145,18 @@ interface bbcRow {
|
|
|
9943
10145
|
*/
|
|
9944
10146
|
listMostRead(): Promise<BbcListMostReadResult>;
|
|
9945
10147
|
|
|
10148
|
+
/**
|
|
10149
|
+
* The videos the BBC's video hub shows: title, summary, duration, url, video id, section and
|
|
10150
|
+
* date.
|
|
10151
|
+
*/
|
|
10152
|
+
listVideos(): Promise<BbcListVideosResult>;
|
|
10153
|
+
|
|
10154
|
+
/**
|
|
10155
|
+
* One BBC video page as data: title, summary, duration, published time, section, poster image
|
|
10156
|
+
* and the related-story links. Takes a video id or URL from listVideos or listHeadlines.
|
|
10157
|
+
*/
|
|
10158
|
+
getVideo(videoIdOrUrl: string): Promise<BbcGetVideoResult>;
|
|
10159
|
+
|
|
9946
10160
|
/**
|
|
9947
10161
|
* The stories on one BBC topic page (/news/topics/<id>) — headline, url, article id, date —
|
|
9948
10162
|
* with paging. Takes a topic id from getArticle's tags.
|
|
@@ -10836,11 +11050,12 @@ interface BingSaveResultResult {
|
|
|
10836
11050
|
define(word: string): Promise<BingDictEntry>;
|
|
10837
11051
|
|
|
10838
11052
|
/**
|
|
10839
|
-
* Translates text
|
|
10840
|
-
* detected source language when auto-detected.
|
|
10841
|
-
*
|
|
11053
|
+
* Translates text through Bing Translator to a specified target language and returns the
|
|
11054
|
+
* translated result and the detected source language when auto-detected. The `to` parameter is
|
|
11055
|
+
* required and sets the target language code (e.g., 'es', 'fr', 'ja'). The `from` parameter is
|
|
11056
|
+
* optional — Bing detects the source language if omitted.
|
|
10842
11057
|
*/
|
|
10843
|
-
translateText(text: string): Promise<BingTranslationResult>;
|
|
11058
|
+
translateText(args: { text: string, to: string, from?: string }): Promise<BingTranslationResult>;
|
|
10844
11059
|
|
|
10845
11060
|
/**
|
|
10846
11061
|
* Looks up a place on Bing Maps by name or address and returns its name, full address,
|
|
@@ -11400,6 +11615,10 @@ interface BlueskySuggestedFollowsResults {
|
|
|
11400
11615
|
suggestions: BlueskyPostAuthor[];
|
|
11401
11616
|
}
|
|
11402
11617
|
|
|
11618
|
+
interface BlueskySuggestedUsersResults {
|
|
11619
|
+
users: BlueskyPostAuthor[];
|
|
11620
|
+
}
|
|
11621
|
+
|
|
11403
11622
|
/**
|
|
11404
11623
|
* Bluesky — look people up, read their profiles and posts, open whole threads, search posts,
|
|
11405
11624
|
* read custom feeds, lists, starter packs and what is trending, and (signed in as yourself)
|
|
@@ -11542,6 +11761,14 @@ interface BlueskySuggestedFollowsResults {
|
|
|
11542
11761
|
* with `searchUsers` or `resolveHandle`.
|
|
11543
11762
|
*/
|
|
11544
11763
|
getSuggestedFollows(actor: string): Promise<BlueskySuggestedFollowsResults>;
|
|
11764
|
+
|
|
11765
|
+
/**
|
|
11766
|
+
* Bluesky's own suggested accounts to follow, as shown on the Discover and Explore pages.
|
|
11767
|
+
* Optionally accepts a `limit` parameter (1–100) to control the number of results. Returns
|
|
11768
|
+
* each suggested account's handle, DID, display name and avatar; there is no paging, the site
|
|
11769
|
+
* answers a fixed-size list.
|
|
11770
|
+
*/
|
|
11771
|
+
getSuggestedUsers(options?: { limit?: number }): Promise<BlueskySuggestedUsersResults>;
|
|
11545
11772
|
}
|
|
11546
11773
|
}
|
|
11547
11774
|
|
|
@@ -12397,9 +12624,15 @@ interface BusinessInsiderListedArticle {
|
|
|
12397
12624
|
title: string;
|
|
12398
12625
|
url: string;
|
|
12399
12626
|
}
|
|
12627
|
+
interface ListSectionsArgs {
|
|
12628
|
+
}
|
|
12400
12629
|
interface GetArticleArgs {
|
|
12401
12630
|
url: string;
|
|
12402
12631
|
}
|
|
12632
|
+
interface BusinessInsiderSection {
|
|
12633
|
+
slug: string;
|
|
12634
|
+
displayName: string;
|
|
12635
|
+
}
|
|
12403
12636
|
interface BusinessInsiderArticleAuthor {
|
|
12404
12637
|
name: string;
|
|
12405
12638
|
url?: string;
|
|
@@ -12424,6 +12657,12 @@ interface BusinessInsiderArticleRecord {
|
|
|
12424
12657
|
* article reads implemented, most other functions still queued.
|
|
12425
12658
|
*/
|
|
12426
12659
|
interface Unit {
|
|
12660
|
+
/**
|
|
12661
|
+
* Lists the site's news sections and verticals (tech, markets, opinion, guides, politics,
|
|
12662
|
+
* economy, retail, science, health, personal-finance, video, games, community).
|
|
12663
|
+
*/
|
|
12664
|
+
listSections(args: ListSectionsArgs): Promise<BusinessInsiderSection[]>;
|
|
12665
|
+
|
|
12427
12666
|
/**
|
|
12428
12667
|
* Lists recent articles off one businessinsider.com section/vertical page (tech, markets,
|
|
12429
12668
|
* politics, economy, retail, science, health, etc), title and URL per article, newest-first as
|
|
@@ -14234,6 +14473,71 @@ interface ValidateAddressArgs {
|
|
|
14234
14473
|
}
|
|
14235
14474
|
}
|
|
14236
14475
|
|
|
14476
|
+
declare namespace BowmarkProvider_cerebralvalley {
|
|
14477
|
+
// ── Cerebral Valley — the unit's own declarations, verbatim ──
|
|
14478
|
+
interface GetEventArgs {
|
|
14479
|
+
/** An event url, e.g. "https://cerebralvalley.ai/e/crusoe-recursive-agents-hackathon". */
|
|
14480
|
+
url?: string;
|
|
14481
|
+
/** Or the slug alone. */
|
|
14482
|
+
slug?: string;
|
|
14483
|
+
}
|
|
14484
|
+
interface CerebralValleyQuestion {
|
|
14485
|
+
id: string;
|
|
14486
|
+
question: string;
|
|
14487
|
+
required: boolean;
|
|
14488
|
+
type: string;
|
|
14489
|
+
preset: string | null;
|
|
14490
|
+
options: string[] | null;
|
|
14491
|
+
}
|
|
14492
|
+
interface CerebralValleyEvent {
|
|
14493
|
+
id: string;
|
|
14494
|
+
slug: string;
|
|
14495
|
+
url: string;
|
|
14496
|
+
name: string;
|
|
14497
|
+
summary: string | null;
|
|
14498
|
+
startDateTime: string | null;
|
|
14499
|
+
endDateTime: string | null;
|
|
14500
|
+
timeZone: string | null;
|
|
14501
|
+
venue: string | null;
|
|
14502
|
+
address: string | null;
|
|
14503
|
+
city: string | null;
|
|
14504
|
+
latitude: number | null;
|
|
14505
|
+
longitude: number | null;
|
|
14506
|
+
approvalRequired: boolean;
|
|
14507
|
+
registrationClosed: boolean;
|
|
14508
|
+
isHackathon: boolean;
|
|
14509
|
+
capacity: number | null;
|
|
14510
|
+
hosts: string[];
|
|
14511
|
+
questions: CerebralValleyQuestion[];
|
|
14512
|
+
}
|
|
14513
|
+
interface CerebralValleyEventLink {
|
|
14514
|
+
slug: string;
|
|
14515
|
+
url: string;
|
|
14516
|
+
name: string | null;
|
|
14517
|
+
}
|
|
14518
|
+
|
|
14519
|
+
/**
|
|
14520
|
+
* Cerebral Valley (cerebralvalley.ai) AI hackathons and events: list upcoming events, and read
|
|
14521
|
+
* one event's date, venue, hosts, approval requirement and its full application questions
|
|
14522
|
+
* without signing in.
|
|
14523
|
+
*/
|
|
14524
|
+
interface Unit {
|
|
14525
|
+
/**
|
|
14526
|
+
* Read one Cerebral Valley (cerebralvalley.ai) event and its application questions without the
|
|
14527
|
+
* sign-in wall: every question the apply form asks (text, required, type, select options,
|
|
14528
|
+
* profile presets), whether approval is required and registration is closed, plus name, date
|
|
14529
|
+
* and time with timezone, venue and address, city, hosts and a summary.
|
|
14530
|
+
*/
|
|
14531
|
+
getEvent(args: GetEventArgs): Promise<CerebralValleyEvent>;
|
|
14532
|
+
|
|
14533
|
+
/**
|
|
14534
|
+
* List the upcoming Cerebral Valley AI hackathons, build days and events on
|
|
14535
|
+
* cerebralvalley.ai/events, each with its slug, url and name to pass to getEvent.
|
|
14536
|
+
*/
|
|
14537
|
+
listEvents(): Promise<CerebralValleyEventLink[]>;
|
|
14538
|
+
}
|
|
14539
|
+
}
|
|
14540
|
+
|
|
14237
14541
|
declare namespace BowmarkProvider_cftc {
|
|
14238
14542
|
// ── CFTC — Industry Filings (Designated Contract Market Rules) — the unit's own declarations, verbatim ──
|
|
14239
14543
|
interface CftcRuleFiling {
|
|
@@ -16565,6 +16869,49 @@ interface DailymotionSearchResult {
|
|
|
16565
16869
|
}
|
|
16566
16870
|
}
|
|
16567
16871
|
|
|
16872
|
+
declare namespace BowmarkProvider_dangotecement {
|
|
16873
|
+
// ── Dangote Cement — the unit's own declarations, verbatim ──
|
|
16874
|
+
interface DangoteDistributor {
|
|
16875
|
+
name: string;
|
|
16876
|
+
type: string; // the site's own label: "Distributor" | "Retailer"
|
|
16877
|
+
address: string;
|
|
16878
|
+
phone: string | null;
|
|
16879
|
+
region: string; // the site's own region, e.g. "Lagos Ogun", "North Central", "South West"
|
|
16880
|
+
}
|
|
16881
|
+
interface FindDistributorsFilters {
|
|
16882
|
+
query?: string; // free text over name + address — a city or state works, e.g. "Kano"
|
|
16883
|
+
type?: "distributor" | "retailer";
|
|
16884
|
+
region?: string; // exact site region name; read the values off a result
|
|
16885
|
+
}
|
|
16886
|
+
interface DangoteNewsPost {
|
|
16887
|
+
id: number;
|
|
16888
|
+
title: string;
|
|
16889
|
+
date: string; // ISO, site-local time
|
|
16890
|
+
url: string;
|
|
16891
|
+
excerpt: string;
|
|
16892
|
+
}
|
|
16893
|
+
|
|
16894
|
+
/**
|
|
16895
|
+
* Dangote Cement (dangotecement.com) — Africa's largest cement maker. findDistributors
|
|
16896
|
+
* searches its authorised Nigerian distributor & retailer directory (name, address, phone,
|
|
16897
|
+
* region); searchNews reads its press releases and news posts.
|
|
16898
|
+
*/
|
|
16899
|
+
interface Unit {
|
|
16900
|
+
/**
|
|
16901
|
+
* Searches Dangote Cement's authorised distributor & retailer directory for Nigeria (~300
|
|
16902
|
+
* dealers) — where to buy Dangote cement near a city or state, with each dealer's address,
|
|
16903
|
+
* phone and sales region.
|
|
16904
|
+
*/
|
|
16905
|
+
findDistributors(filters?: FindDistributorsFilters): Promise<DangoteDistributor[]>;
|
|
16906
|
+
|
|
16907
|
+
/**
|
|
16908
|
+
* Searches Dangote Cement's own news and press releases (newest first when no query) — title,
|
|
16909
|
+
* date, link and excerpt. limit defaults to 10, max 50.
|
|
16910
|
+
*/
|
|
16911
|
+
searchNews(query?: string, limit?: number): Promise<DangoteNewsPost[]>;
|
|
16912
|
+
}
|
|
16913
|
+
}
|
|
16914
|
+
|
|
16568
16915
|
declare namespace BowmarkProvider_dansons {
|
|
16569
16916
|
// ── Dansons (Pit Boss) — the unit's own declarations, verbatim ──
|
|
16570
16917
|
interface dansonsRegisterableProduct {
|
|
@@ -17409,11 +17756,13 @@ interface DialogpostRate {
|
|
|
17409
17756
|
description?: string;
|
|
17410
17757
|
}
|
|
17411
17758
|
|
|
17412
|
-
/** Dialogpost pricing for
|
|
17759
|
+
/** Dialogpost pricing for addressed advertising mail (Werbesendungen) in Germany. */
|
|
17413
17760
|
interface Unit {
|
|
17414
17761
|
/**
|
|
17415
|
-
* Retrieves Deutsche Post Dialogpost pricing rates by weight and format.
|
|
17416
|
-
*
|
|
17762
|
+
* Retrieves Deutsche Post Dialogpost pricing rates by weight and format. Dialogpost is
|
|
17763
|
+
* Deutsche Post's ADDRESSED advertising-mail product — every piece carries a recipient name
|
|
17764
|
+
* and address — so these are the rates for an addressed direct-mail campaign within Germany.
|
|
17765
|
+
* Mail with no recipient address is a different product (Postwurfsendung) and is not covered.
|
|
17417
17766
|
*/
|
|
17418
17767
|
getDialogpostRates(options?: { format?: string }): Promise<DialogpostRate[]>;
|
|
17419
17768
|
}
|
|
@@ -17482,6 +17831,18 @@ interface DeviantartDeviation {
|
|
|
17482
17831
|
stats?: { views?: number; favourites?: number; comments?: number; downloads?: number };
|
|
17483
17832
|
}
|
|
17484
17833
|
|
|
17834
|
+
interface DeviantartUserProfile {
|
|
17835
|
+
userId: number;
|
|
17836
|
+
username: string;
|
|
17837
|
+
usericon?: string;
|
|
17838
|
+
tagline?: string;
|
|
17839
|
+
country?: string;
|
|
17840
|
+
website?: string;
|
|
17841
|
+
gender?: string;
|
|
17842
|
+
joinedDate?: string;
|
|
17843
|
+
stats?: { deviations?: number; watchers?: number; watching?: number; pageviews?: number; favourites?: number; commentsReceivedProfile?: number };
|
|
17844
|
+
}
|
|
17845
|
+
|
|
17485
17846
|
/**
|
|
17486
17847
|
* DeviantArt artwork — search deviations, read one with its comments, browse a tag or the
|
|
17487
17848
|
* Daily Deviations, and pull an artist's profile, gallery, favourites and posts; once a caller
|
|
@@ -17501,6 +17862,13 @@ interface DeviantartDeviation {
|
|
|
17501
17862
|
* deviantart.com/<user>/art/<slug>-<id> url or the numeric id plus its author.
|
|
17502
17863
|
*/
|
|
17503
17864
|
getDeviation(args: { url: string } | { deviationId: string; username: string }): Promise<DeviantartDeviation>;
|
|
17865
|
+
|
|
17866
|
+
/**
|
|
17867
|
+
* Reads an artist's public profile — display name, avatar, tagline, country, website, join
|
|
17868
|
+
* date, and deviation/watcher/watching/pageview/favourite counts — taking their username (the
|
|
17869
|
+
* name in deviantart.com/<username>).
|
|
17870
|
+
*/
|
|
17871
|
+
getUserProfile(args: { username: string }): Promise<DeviantartUserProfile>;
|
|
17504
17872
|
}
|
|
17505
17873
|
}
|
|
17506
17874
|
|
|
@@ -18181,6 +18549,70 @@ interface DoordashSearchResult {
|
|
|
18181
18549
|
}
|
|
18182
18550
|
}
|
|
18183
18551
|
|
|
18552
|
+
declare namespace BowmarkProvider_duckduckgo {
|
|
18553
|
+
// ── DuckDuckGo — the unit's own declarations, verbatim ──
|
|
18554
|
+
interface DuckDuckGoNewsStory {
|
|
18555
|
+
title: string;
|
|
18556
|
+
url: string;
|
|
18557
|
+
excerpt: string;
|
|
18558
|
+
date: number;
|
|
18559
|
+
source: string;
|
|
18560
|
+
image?: string;
|
|
18561
|
+
}
|
|
18562
|
+
|
|
18563
|
+
interface SearchNewsArgs {
|
|
18564
|
+
query: string;
|
|
18565
|
+
}
|
|
18566
|
+
|
|
18567
|
+
interface DuckDuckGoSearchWebArgs {
|
|
18568
|
+
/** What you would type into duckduckgo.com's search box. */
|
|
18569
|
+
query: string;
|
|
18570
|
+
/** DuckDuckGo region code, e.g. "us-en", "uk-en", "fr-fr", "wt-wt" (no region). */
|
|
18571
|
+
region?: string;
|
|
18572
|
+
safeSearch?: "strict" | "moderate" | "off";
|
|
18573
|
+
time?: "day" | "week" | "month" | "year";
|
|
18574
|
+
/** The `next` value a previous call returned, to fetch the following page. */
|
|
18575
|
+
cursor?: string;
|
|
18576
|
+
}
|
|
18577
|
+
|
|
18578
|
+
interface DuckDuckGoWebResult {
|
|
18579
|
+
position: number;
|
|
18580
|
+
title: string;
|
|
18581
|
+
url: string;
|
|
18582
|
+
displayUrl: string;
|
|
18583
|
+
snippet: string;
|
|
18584
|
+
/** ISO date DuckDuckGo shows beside the result, or null. */
|
|
18585
|
+
date: string | null;
|
|
18586
|
+
}
|
|
18587
|
+
|
|
18588
|
+
interface DuckDuckGoSearchWebResult {
|
|
18589
|
+
query: string;
|
|
18590
|
+
results: DuckDuckGoWebResult[];
|
|
18591
|
+
/** Pass back as `cursor` for the next page; null on the last page. */
|
|
18592
|
+
next: string | null;
|
|
18593
|
+
}
|
|
18594
|
+
|
|
18595
|
+
/**
|
|
18596
|
+
* DuckDuckGo (duckduckgo.com) — private web, image, video, news and maps search, Instant
|
|
18597
|
+
* Answers, autocomplete, the dictionary, currency, weather, time and translation answers,
|
|
18598
|
+
* !bangs, and Duck.ai chat; once a caller signs in, their Email Protection @duck.com
|
|
18599
|
+
* addresses.
|
|
18600
|
+
*/
|
|
18601
|
+
interface Unit {
|
|
18602
|
+
/** Search DuckDuckGo News vertical and returns news stories. */
|
|
18603
|
+
searchNews(args: SearchNewsArgs): Promise<DuckDuckGoNewsStory[]>;
|
|
18604
|
+
|
|
18605
|
+
/**
|
|
18606
|
+
* Searches the web the way duckduckgo.com's own search box does and returns the ranked organic
|
|
18607
|
+
* results (ads skipped) — title, destination URL, display URL, DuckDuckGo's snippet and a date
|
|
18608
|
+
* when it shows one — about ten per page. Optional `region` ("us-en", "uk-en", "wt-wt"…),
|
|
18609
|
+
* `safeSearch` and `time` filters; pass the returned `next` back as `cursor` for the following
|
|
18610
|
+
* page.
|
|
18611
|
+
*/
|
|
18612
|
+
searchWeb(args: DuckDuckGoSearchWebArgs): Promise<DuckDuckGoSearchWebResult>;
|
|
18613
|
+
}
|
|
18614
|
+
}
|
|
18615
|
+
|
|
18184
18616
|
declare namespace BowmarkProvider_dumpsters {
|
|
18185
18617
|
// ── Dumpsters.com — the unit's own declarations, verbatim ──
|
|
18186
18618
|
interface DumpstersGetQuoteArgs {
|
|
@@ -18270,46 +18702,55 @@ interface ebayDeal {
|
|
|
18270
18702
|
imageUrl: string | null;
|
|
18271
18703
|
}
|
|
18272
18704
|
|
|
18705
|
+
interface ebayWatchlistItem extends ebayItem {
|
|
18706
|
+
watchlistPosition: number; // 1-indexed position in the watchlist
|
|
18707
|
+
}
|
|
18708
|
+
|
|
18273
18709
|
/**
|
|
18274
|
-
* eBay
|
|
18275
|
-
*
|
|
18276
|
-
*
|
|
18710
|
+
* Live eBay listings — search by keyword, category or seller, read one listing, autosuggest
|
|
18711
|
+
* and deals — returning title, price, condition, buying option, seller and the item's own
|
|
18712
|
+
* ebay.com URL. No key needed: it reads eBay's own pages, and uses eBay's documented Browse
|
|
18713
|
+
* API instead when a caller brings an OAuth key.
|
|
18277
18714
|
*/
|
|
18278
18715
|
interface Unit {
|
|
18279
18716
|
/**
|
|
18280
|
-
* Runs an eBay item search the way ebay.com's own search box does
|
|
18281
|
-
*
|
|
18282
|
-
*
|
|
18283
|
-
*
|
|
18284
|
-
*
|
|
18717
|
+
* Runs an eBay item search the way ebay.com's own search box does and returns the matching
|
|
18718
|
+
* listings — title, price, condition, buying option (auction/fixed-price/best-offer), seller
|
|
18719
|
+
* and the item's own ebay.com URL. `limit` caps the row count (default 20, ceiling 200).
|
|
18720
|
+
* `seller` is null on rows where the results page does not print it. Works with no key:
|
|
18721
|
+
* without one it reads eBay's own page, which walls most requests and was open only for a
|
|
18722
|
+
* window when last measured; with an eBay OAuth key it uses the Browse API instead.
|
|
18285
18723
|
*/
|
|
18286
18724
|
search(args: string | { query: string; limit?: number }): Promise<ebayItem[]>;
|
|
18287
18725
|
|
|
18288
18726
|
/**
|
|
18289
|
-
* Reads one eBay listing by
|
|
18290
|
-
* `v1|110034424734|0
|
|
18291
|
-
*
|
|
18292
|
-
* bid
|
|
18293
|
-
*
|
|
18727
|
+
* Reads one eBay listing by the `itemId` `search` returns (`137474897118`, or the Browse API's
|
|
18728
|
+
* `v1|110034424734|0`, or an ebay.com/itm/ URL) — title, price, condition, buying options,
|
|
18729
|
+
* seller feedback, item location, the site's own default shipping option, and current bid /
|
|
18730
|
+
* bid count for an active auction. Works with no key: without one it reads eBay's own page,
|
|
18731
|
+
* which walls most requests and was open only for a window when last measured; with an eBay
|
|
18732
|
+
* OAuth key it uses the Browse API instead.
|
|
18294
18733
|
*/
|
|
18295
18734
|
getItem(itemId: string): Promise<ebayItemDetail>;
|
|
18296
18735
|
|
|
18297
18736
|
/**
|
|
18298
|
-
*
|
|
18299
|
-
*
|
|
18300
|
-
*
|
|
18301
|
-
* `
|
|
18302
|
-
*
|
|
18737
|
+
* Searches one eBay category by id (e.g. `"15709"` for Men's Athletic Shoes, as eBay's own
|
|
18738
|
+
* category URLs carry it), with an optional keyword query narrowing within the category. Same
|
|
18739
|
+
* rows, same fields, as `search`. `limit` caps the row count (default 20, ceiling 200).
|
|
18740
|
+
* `seller` is null on rows where the results page does not print it. Works with no key:
|
|
18741
|
+
* without one it reads eBay's own page, which walls most requests and was open only for a
|
|
18742
|
+
* window when last measured; with an eBay OAuth key it uses the Browse API instead.
|
|
18303
18743
|
*/
|
|
18304
18744
|
searchByCategory(args: string | { categoryId: string; query?: string; limit?: number }): Promise<ebayItem[]>;
|
|
18305
18745
|
|
|
18306
18746
|
/**
|
|
18307
|
-
*
|
|
18308
|
-
*
|
|
18309
|
-
*
|
|
18310
|
-
*
|
|
18311
|
-
*
|
|
18312
|
-
*
|
|
18747
|
+
* Searches one seller's own eBay listings (the username `search`/`getItem` rows carry under
|
|
18748
|
+
* `seller`) that match `query` — a seller filter cannot stand alone on eBay's Browse API, so
|
|
18749
|
+
* `query` is required alongside `seller`. Same rows, same fields, as `search`. `limit` caps
|
|
18750
|
+
* the row count (default 20, ceiling 200). `seller` is null on rows where the results page
|
|
18751
|
+
* does not print it. Works with no key: without one it reads eBay's own page, which walls most
|
|
18752
|
+
* requests and was open only for a window when last measured; with an eBay OAuth key it uses
|
|
18753
|
+
* the Browse API instead.
|
|
18313
18754
|
*/
|
|
18314
18755
|
getSellerListings(args: { seller: string; query: string; limit?: number }): Promise<ebayItem[]>;
|
|
18315
18756
|
|
|
@@ -18330,6 +18771,22 @@ interface ebayDeal {
|
|
|
18330
18771
|
* discount badge.
|
|
18331
18772
|
*/
|
|
18332
18773
|
getDeals(): Promise<ebayDeal[]>;
|
|
18774
|
+
|
|
18775
|
+
/**
|
|
18776
|
+
* Get the caller's watch list — items they are monitoring for price changes. Needs a signed-in
|
|
18777
|
+
* eBay account; the caller supplies their session. Returns the same fields as `search`, plus a
|
|
18778
|
+
* `watchlistPosition` (1-indexed order in the list). `limit` caps the row count (default 20,
|
|
18779
|
+
* ceiling 200).
|
|
18780
|
+
*/
|
|
18781
|
+
getWatchlist(args?: { limit?: number }): Promise<ebayWatchlistItem[]>;
|
|
18782
|
+
|
|
18783
|
+
/**
|
|
18784
|
+
* Get the caller's own active selling listings. Needs a signed-in eBay account; the caller
|
|
18785
|
+
* supplies their session. Returns the same fields as `search` — `seller` is always `null`,
|
|
18786
|
+
* since the page is the caller's own listings and does not print their username back to them.
|
|
18787
|
+
* `limit` caps the row count (default 20, ceiling 200).
|
|
18788
|
+
*/
|
|
18789
|
+
getMyListings(args?: { limit?: number }): Promise<ebayItem[]>;
|
|
18333
18790
|
}
|
|
18334
18791
|
}
|
|
18335
18792
|
|
|
@@ -21536,6 +21993,20 @@ interface SearchArticlesArgs {
|
|
|
21536
21993
|
offset?: number;
|
|
21537
21994
|
}
|
|
21538
21995
|
|
|
21996
|
+
interface FoxnewsArticle {
|
|
21997
|
+
headline: string;
|
|
21998
|
+
url: string;
|
|
21999
|
+
description: string;
|
|
22000
|
+
articleBody: string;
|
|
22001
|
+
articleSection?: string;
|
|
22002
|
+
keywords?: string[];
|
|
22003
|
+
datePublished?: string;
|
|
22004
|
+
dateModified?: string;
|
|
22005
|
+
author?: Array<{ name?: string; url?: string }>;
|
|
22006
|
+
imageUrl?: string;
|
|
22007
|
+
wordCount?: number;
|
|
22008
|
+
}
|
|
22009
|
+
|
|
21539
22010
|
/**
|
|
21540
22011
|
* Fox News (foxnews.com) — search stories and clips, read an article in full, get the top
|
|
21541
22012
|
* stories, the latest news and any section's front, look up authors and Fox News Channel
|
|
@@ -21550,6 +22021,13 @@ interface SearchArticlesArgs {
|
|
|
21550
22021
|
* paging.
|
|
21551
22022
|
*/
|
|
21552
22023
|
searchArticles(args: SearchArticlesArgs): Promise<{ articles: FoxnewsArticleRow[] }>;
|
|
22024
|
+
|
|
22025
|
+
/**
|
|
22026
|
+
* Reads one Fox News article in full — headline, description, the whole body text, authors
|
|
22027
|
+
* with their profile urls, section, keywords, publication and update times, the lead image and
|
|
22028
|
+
* any embedded video.
|
|
22029
|
+
*/
|
|
22030
|
+
getArticle(args: { url: string }): Promise<FoxnewsArticle>;
|
|
21553
22031
|
}
|
|
21554
22032
|
}
|
|
21555
22033
|
|
|
@@ -21902,6 +22380,120 @@ interface G2Product {
|
|
|
21902
22380
|
}
|
|
21903
22381
|
}
|
|
21904
22382
|
|
|
22383
|
+
declare namespace BowmarkProvider_gap {
|
|
22384
|
+
// ── Gap — the unit's own declarations, verbatim ──
|
|
22385
|
+
interface GapSearchArgs {
|
|
22386
|
+
query: string;
|
|
22387
|
+
department?: "men" | "women";
|
|
22388
|
+
inStockOnly?: boolean;
|
|
22389
|
+
onSaleOnly?: boolean;
|
|
22390
|
+
limit?: number; // default 24, max 2000; the search walks result pages until it has this many
|
|
22391
|
+
country?: "us" | "ca"; // which store; default "us". "ca" = www.gapcanada.ca, prices in CAD
|
|
22392
|
+
}
|
|
22393
|
+
interface GapSearchHit {
|
|
22394
|
+
styleId: string;
|
|
22395
|
+
ccId: string; // pass to getProduct (or pass the whole hit, which carries its country)
|
|
22396
|
+
country: "us" | "ca";
|
|
22397
|
+
currency: string; // "USD" | "CAD"
|
|
22398
|
+
url: string; // opens this color
|
|
22399
|
+
title: string;
|
|
22400
|
+
color: string | null;
|
|
22401
|
+
colorDescription: string | null;
|
|
22402
|
+
productType: string | null; // e.g. "mens shirts"
|
|
22403
|
+
price: number | null; // what it costs now
|
|
22404
|
+
regularPrice: number | null; // compare-at
|
|
22405
|
+
percentOff: number | null;
|
|
22406
|
+
onSale: boolean;
|
|
22407
|
+
inStock: boolean; // "In Stock", "Low" and "Very Low" are all in stock
|
|
22408
|
+
lowStock: boolean; // "Low" / "Very Low"
|
|
22409
|
+
inventoryStatus: string | null; // "In Stock" | "Low" | "Very Low" | …
|
|
22410
|
+
reviewScore: number | null;
|
|
22411
|
+
reviewCount: number | null;
|
|
22412
|
+
image: string | null; // this color's product photo
|
|
22413
|
+
}
|
|
22414
|
+
interface GapSearchResult {
|
|
22415
|
+
query: string;
|
|
22416
|
+
department: "Men" | "Women" | null;
|
|
22417
|
+
country: "us" | "ca";
|
|
22418
|
+
currency: string;
|
|
22419
|
+
total: number; // colors the site matched, before inStockOnly/onSaleOnly/limit
|
|
22420
|
+
pagesRead: number;
|
|
22421
|
+
pageCount: number; // result pages the site has for this query (200 colors each)
|
|
22422
|
+
hasMore: boolean; // true when more matching colors exist past `limit`
|
|
22423
|
+
hits: GapSearchHit[];
|
|
22424
|
+
warnings: string[]; // a results page that failed after the first; empty when complete
|
|
22425
|
+
}
|
|
22426
|
+
interface GapSku {
|
|
22427
|
+
skuId: string;
|
|
22428
|
+
fit: string; // "REGULAR", "TALL", "PETITE", …
|
|
22429
|
+
ccId: string;
|
|
22430
|
+
color: string | null;
|
|
22431
|
+
size: string | null;
|
|
22432
|
+
size2: string | null; // second size dimension (e.g. inseam), when the product has one
|
|
22433
|
+
price: number | null;
|
|
22434
|
+
regularPrice: number | null;
|
|
22435
|
+
percentOff: number | null;
|
|
22436
|
+
onSale: boolean;
|
|
22437
|
+
inStock: boolean;
|
|
22438
|
+
lowStock: boolean;
|
|
22439
|
+
status: string | null; // "IN_STOCK" | "OUT_OF_STOCK" | …
|
|
22440
|
+
}
|
|
22441
|
+
interface GapColor {
|
|
22442
|
+
ccId: string;
|
|
22443
|
+
color: string | null;
|
|
22444
|
+
fit: string;
|
|
22445
|
+
url: string; // opens this color
|
|
22446
|
+
price: number | null;
|
|
22447
|
+
regularPrice: number | null;
|
|
22448
|
+
percentOff: number | null;
|
|
22449
|
+
onSale: boolean;
|
|
22450
|
+
inStock: boolean;
|
|
22451
|
+
sizesInStock: string[];
|
|
22452
|
+
sizesOutOfStock: string[];
|
|
22453
|
+
image: string | null; // main photo of this color
|
|
22454
|
+
images: string[]; // main photo first, then the alternate views
|
|
22455
|
+
swatch: string | null; // fabric swatch
|
|
22456
|
+
}
|
|
22457
|
+
interface GapProduct {
|
|
22458
|
+
styleId: string;
|
|
22459
|
+
ccId: string;
|
|
22460
|
+
country: "us" | "ca";
|
|
22461
|
+
currency: string; // every price on this product is in this currency
|
|
22462
|
+
url: string;
|
|
22463
|
+
title: string;
|
|
22464
|
+
fits: string[];
|
|
22465
|
+
sizes: string[];
|
|
22466
|
+
colors: GapColor[];
|
|
22467
|
+
skus: GapSku[];
|
|
22468
|
+
inStock: boolean;
|
|
22469
|
+
}
|
|
22470
|
+
|
|
22471
|
+
/**
|
|
22472
|
+
* Gap (www.gap.com, and the Canadian store www.gapcanada.ca) clothing store. Searches the live
|
|
22473
|
+
* catalog (men's/women's, on-sale, in-stock, with sale and regular prices, every page) and
|
|
22474
|
+
* reads one product's per-size, per-color price, live stock and photos. Pass country: "ca" for
|
|
22475
|
+
* the Canadian store in CAD.
|
|
22476
|
+
*/
|
|
22477
|
+
interface Unit {
|
|
22478
|
+
/**
|
|
22479
|
+
* Searches Gap's live apparel catalog the way a shopper would ("button up shirt"), optionally
|
|
22480
|
+
* narrowed to men/women, on-sale and in-stock only, walking result pages until `limit` is met,
|
|
22481
|
+
* from the US store or (country: "ca") the Canadian one in CAD. One row per product color with
|
|
22482
|
+
* sale price, regular (compare-at) price, percent off, stock, a photo, and the ccId getProduct
|
|
22483
|
+
* takes. The way in.
|
|
22484
|
+
*/
|
|
22485
|
+
searchProducts(args: GapSearchArgs | string): Promise<GapSearchResult>;
|
|
22486
|
+
|
|
22487
|
+
/**
|
|
22488
|
+
* Reads one Gap product's every fit × color × size SKU with its price, regular price and live
|
|
22489
|
+
* in-stock flag, plus per-color in-stock and sold-out size lists and photos, so a sold-out
|
|
22490
|
+
* size is never shown. Takes the hit, ccId or url searchProducts returns; a Canadian ccId
|
|
22491
|
+
* needs country: "ca" (a hit or url carries it).
|
|
22492
|
+
*/
|
|
22493
|
+
getProduct(product: string | { ccId: string; country?: "us" | "ca" } | GapSearchHit): Promise<GapProduct>;
|
|
22494
|
+
}
|
|
22495
|
+
}
|
|
22496
|
+
|
|
21905
22497
|
declare namespace BowmarkProvider_gasbuddy {
|
|
21906
22498
|
// ── GasBuddy — the unit's own declarations, verbatim ──
|
|
21907
22499
|
interface GasbuddyFindCheapestNearbyArgs {
|
|
@@ -23384,6 +23976,16 @@ interface DirectionsStep {
|
|
|
23384
23976
|
instruction: string;
|
|
23385
23977
|
distance: string;
|
|
23386
23978
|
duration: string;
|
|
23979
|
+
transit?: {
|
|
23980
|
+
line: string;
|
|
23981
|
+
vehicle?: string;
|
|
23982
|
+
headsign?: string;
|
|
23983
|
+
boardStop: string;
|
|
23984
|
+
alightStop: string;
|
|
23985
|
+
departureTime?: string;
|
|
23986
|
+
arrivalTime?: string;
|
|
23987
|
+
numStops?: number;
|
|
23988
|
+
};
|
|
23387
23989
|
}
|
|
23388
23990
|
interface GetDirectionsResult {
|
|
23389
23991
|
distance: string;
|
|
@@ -23391,6 +23993,7 @@ interface GetDirectionsResult {
|
|
|
23391
23993
|
distanceMeters: number;
|
|
23392
23994
|
durationSeconds: number;
|
|
23393
23995
|
steps: DirectionsStep[];
|
|
23996
|
+
numTransfers?: number;
|
|
23394
23997
|
}
|
|
23395
23998
|
interface ResolvePlaceUrlArgs {
|
|
23396
23999
|
url: string;
|
|
@@ -23597,10 +24200,15 @@ interface SavePlaceResult {
|
|
|
23597
24200
|
* through the identical door and the real per-leg totals summed; distance and duration are
|
|
23598
24201
|
* then OUR text rather than the site's own (still real numbers, never invented). Returns the
|
|
23599
24202
|
* site's own trip total (distance, duration, traffic-aware for driving) plus the turn-by-turn
|
|
23600
|
-
* instructions, each carrying the site's own distance and duration text.
|
|
23601
|
-
*
|
|
23602
|
-
*
|
|
23603
|
-
*
|
|
24203
|
+
* instructions, each carrying the site's own distance and duration text. Transit mode steps
|
|
24204
|
+
* are not only walking instructions: each bus or train ride is its own step carrying transit:
|
|
24205
|
+
* { line (the line name, e.g. "1 California" is line "1", "594"), vehicle ("Bus", "Cable car",
|
|
24206
|
+
* "Light rail"), headsign, boardStop, alightStop (the stop to board and the stop to alight
|
|
24207
|
+
* at), departureTime, arrivalTime, numStops }, between the walking steps, and the result
|
|
24208
|
+
* carries numTransfers — the transfer count, i.e. the number of transfers — exactly what
|
|
24209
|
+
* Google's own transit panel shows. Throws when any leg does not resolve to a route. Always
|
|
24210
|
+
* the current right-now trip — arriveBy and departAt are refused by name rather than silently
|
|
24211
|
+
* accepted and ignored (qa/20); nobody has measured this door's clock-time anchor yet.
|
|
23604
24212
|
*/
|
|
23605
24213
|
getDirections(args: GetDirectionsArgs): Promise<GetDirectionsResult>;
|
|
23606
24214
|
|
|
@@ -28951,9 +29559,14 @@ interface JcrewCategory {
|
|
|
28951
29559
|
name: string;
|
|
28952
29560
|
parentId: string;
|
|
28953
29561
|
}
|
|
29562
|
+
/** Every catalogue read takes country: "us" (default) | "ca". "ca" is the
|
|
29563
|
+
* Canadian store: prices in CAD, /ca/p/... URLs. Stock (stockLevel,
|
|
29564
|
+
* orderable) is the US warehouse's in both stores. */
|
|
28954
29565
|
interface ListCategoriesArgs {
|
|
28955
29566
|
categoryId?: string;
|
|
28956
29567
|
levels?: number;
|
|
29568
|
+
/** "us" (default) | "ca" — the same tree and ids in both. */
|
|
29569
|
+
country?: "us" | "ca";
|
|
28957
29570
|
}
|
|
28958
29571
|
interface ListCategoriesResult {
|
|
28959
29572
|
categoryId: string;
|
|
@@ -28983,9 +29596,15 @@ interface SearchProductsArgs {
|
|
|
28983
29596
|
* { c_productGender: "Men" } (keeps women's items out of a search),
|
|
28984
29597
|
* { c_masterSize: "LARGE" }. At most 4. */
|
|
28985
29598
|
refine?: Record<string, string>;
|
|
29599
|
+
/** "us" (default) | "ca" — the Canadian store, prices in CAD. Its search
|
|
29600
|
+
* leaves out a few styles not sold in Canada. */
|
|
29601
|
+
country?: "us" | "ca";
|
|
28986
29602
|
}
|
|
28987
29603
|
interface SearchProductsResult {
|
|
28988
29604
|
query: string;
|
|
29605
|
+
country: "us" | "ca";
|
|
29606
|
+
/** "USD" | "CAD" — every price on the page. */
|
|
29607
|
+
currency: string;
|
|
28989
29608
|
total: number;
|
|
28990
29609
|
pageSize: number;
|
|
28991
29610
|
products: JcrewSearchProduct[];
|
|
@@ -29003,9 +29622,12 @@ interface JcrewSuggestedProduct {
|
|
|
29003
29622
|
}
|
|
29004
29623
|
interface SuggestSearchTermsArgs {
|
|
29005
29624
|
query: string;
|
|
29625
|
+
country?: "us" | "ca";
|
|
29006
29626
|
}
|
|
29007
29627
|
interface SuggestSearchTermsResult {
|
|
29008
29628
|
query: string;
|
|
29629
|
+
country: "us" | "ca";
|
|
29630
|
+
currency: string;
|
|
29009
29631
|
terms: string[];
|
|
29010
29632
|
categories: JcrewSuggestedCategory[];
|
|
29011
29633
|
products: JcrewSuggestedProduct[];
|
|
@@ -29031,10 +29653,18 @@ interface JcrewProductImage {
|
|
|
29031
29653
|
alt: string | null;
|
|
29032
29654
|
}
|
|
29033
29655
|
interface GetProductArgs {
|
|
29656
|
+
/** A style id ("BX291") or a jcrew.com product URL — a /ca/p/... URL reads
|
|
29657
|
+
* the Canadian store. A searchProducts row can be passed whole. */
|
|
29034
29658
|
id: string;
|
|
29659
|
+
/** "us" (default) | "ca". Absent, a /ca/ URL in id (or the row's url) decides. */
|
|
29660
|
+
country?: "us" | "ca";
|
|
29661
|
+
url?: string;
|
|
29035
29662
|
}
|
|
29036
29663
|
interface GetProductResult {
|
|
29037
29664
|
id: string;
|
|
29665
|
+
country: "us" | "ca";
|
|
29666
|
+
/** This product's page in that store. */
|
|
29667
|
+
url: string;
|
|
29038
29668
|
name: string;
|
|
29039
29669
|
description: string | null;
|
|
29040
29670
|
longDescription: string | null;
|
|
@@ -29091,9 +29721,15 @@ interface GetProductsItem {
|
|
|
29091
29721
|
images: JcrewProductImage[];
|
|
29092
29722
|
}
|
|
29093
29723
|
interface GetProductsArgs {
|
|
29724
|
+
/** Style ids or product URLs, at most 24. */
|
|
29094
29725
|
ids: string[];
|
|
29726
|
+
/** "us" (default) | "ca". Absent, /ca/ URLs in ids decide. */
|
|
29727
|
+
country?: "us" | "ca";
|
|
29095
29728
|
}
|
|
29096
29729
|
interface GetProductsResult {
|
|
29730
|
+
country: "us" | "ca";
|
|
29731
|
+
/** "USD" | "CAD" — every price in every product. */
|
|
29732
|
+
currency: string;
|
|
29097
29733
|
products: GetProductsItem[];
|
|
29098
29734
|
missing: string[];
|
|
29099
29735
|
}
|
|
@@ -29102,9 +29738,13 @@ interface CheckVariantStockArgs {
|
|
|
29102
29738
|
colour: string;
|
|
29103
29739
|
size: string;
|
|
29104
29740
|
fit?: string;
|
|
29741
|
+
country?: "us" | "ca";
|
|
29105
29742
|
}
|
|
29106
29743
|
interface CheckVariantStockResult {
|
|
29107
29744
|
id: string;
|
|
29745
|
+
country: "us" | "ca";
|
|
29746
|
+
/** "USD" | "CAD" — price and listPrice. */
|
|
29747
|
+
currency: string;
|
|
29108
29748
|
variantId: string;
|
|
29109
29749
|
colour: string;
|
|
29110
29750
|
size: string;
|
|
@@ -29126,11 +29766,17 @@ interface BrowseCategoryArgs {
|
|
|
29126
29766
|
/** Filters, refinement id -> value from listSearchRefinements(), e.g.
|
|
29127
29767
|
* { c_isSaleSkuUs: "true" } (items actually marked down),
|
|
29128
29768
|
* { c_productGender: "Men" } (keeps women's items out of a search),
|
|
29129
|
-
* { c_masterSize: "LARGE" }. At most 4.
|
|
29769
|
+
* { c_masterSize: "LARGE" }. At most 4. In the Canadian store,
|
|
29770
|
+
* c_isSaleSkuUs is the US store's flag; narrow on the CAD discount band
|
|
29771
|
+
* { c_discountPercentageCAD: "lessThan40Off" } instead. */
|
|
29130
29772
|
refine?: Record<string, string>;
|
|
29773
|
+
/** "us" (default) | "ca" — same category ids, prices in CAD. */
|
|
29774
|
+
country?: "us" | "ca";
|
|
29131
29775
|
}
|
|
29132
29776
|
interface BrowseCategoryResult {
|
|
29133
29777
|
categoryId: string;
|
|
29778
|
+
country: "us" | "ca";
|
|
29779
|
+
currency: string;
|
|
29134
29780
|
total: number;
|
|
29135
29781
|
pageSize: number;
|
|
29136
29782
|
products: Array<{
|
|
@@ -29149,6 +29795,7 @@ interface JcrewCategoryAncestor {
|
|
|
29149
29795
|
}
|
|
29150
29796
|
interface GetCategoryArgs {
|
|
29151
29797
|
categoryId: string;
|
|
29798
|
+
country?: "us" | "ca";
|
|
29152
29799
|
}
|
|
29153
29800
|
interface GetCategoryResult {
|
|
29154
29801
|
id: string;
|
|
@@ -29169,10 +29816,14 @@ interface JcrewRefinementGroup {
|
|
|
29169
29816
|
interface ListSearchRefinementsArgs {
|
|
29170
29817
|
query?: string;
|
|
29171
29818
|
categoryId?: string;
|
|
29819
|
+
/** "us" (default) | "ca" — the Canadian store's counts, and its
|
|
29820
|
+
* c_discountPercentageCAD "Discount" group. */
|
|
29821
|
+
country?: "us" | "ca";
|
|
29172
29822
|
}
|
|
29173
29823
|
interface ListSearchRefinementsResult {
|
|
29174
29824
|
query: string | null;
|
|
29175
29825
|
categoryId: string | null;
|
|
29826
|
+
country: "us" | "ca";
|
|
29176
29827
|
refinements: JcrewRefinementGroup[];
|
|
29177
29828
|
}
|
|
29178
29829
|
interface JcrewSortOption {
|
|
@@ -29229,7 +29880,8 @@ interface FindStoresResult {
|
|
|
29229
29880
|
|
|
29230
29881
|
/**
|
|
29231
29882
|
* Search and read J.Crew's clothing catalogue — products, prices, colours, sizes and stock —
|
|
29232
|
-
* off the site's own OCAPI storefront API, no browser and no account.
|
|
29883
|
+
* off the site's own OCAPI storefront API, no browser and no account. US store by default;
|
|
29884
|
+
* pass country: "ca" for the Canadian store (prices in CAD, /ca/ product URLs).
|
|
29233
29885
|
*/
|
|
29234
29886
|
interface Unit {
|
|
29235
29887
|
/**
|
|
@@ -29237,7 +29889,7 @@ interface FindStoresResult {
|
|
|
29237
29889
|
* requested number of levels (0-4, default 2), returning each descendant's id, display name
|
|
29238
29890
|
* and parent — so a caller holding the word "shirts" can find the id `browseCategory` needs.
|
|
29239
29891
|
* `mens`, `levels: 3` reaches `mens|categories|clothing|shirts`, the id `browseCategory`'s own
|
|
29240
|
-
* example uses.
|
|
29892
|
+
* example uses. Takes `country: "ca"` too; the Canadian store has the same tree and ids.
|
|
29241
29893
|
*/
|
|
29242
29894
|
listCategories(args?: ListCategoriesArgs): Promise<ListCategoriesResult>;
|
|
29243
29895
|
|
|
@@ -29246,7 +29898,9 @@ interface FindStoresResult {
|
|
|
29246
29898
|
* "oxford shirt" — and returns matching product rows with name, style id, price, currency,
|
|
29247
29899
|
* whether it is orderable, a thumbnail and the product URL, paginated and optionally sorted by
|
|
29248
29900
|
* the site's own sort orders. This is the DOOR for `getProduct`: it is where a caller holding
|
|
29249
|
-
* only words gets the style id every other function takes.
|
|
29901
|
+
* only words gets the style id every other function takes. Pass `country: "ca"` for the
|
|
29902
|
+
* Canadian store: prices in CAD and `/ca/p/...` URLs, and a row passed whole to `getProduct`
|
|
29903
|
+
* stays in that store. Canada's search leaves out a few styles not sold there.
|
|
29250
29904
|
*/
|
|
29251
29905
|
searchProducts(args: SearchProductsArgs): Promise<SearchProductsResult>;
|
|
29252
29906
|
|
|
@@ -29261,25 +29915,32 @@ interface FindStoresResult {
|
|
|
29261
29915
|
* batches of 24 and keep variants where `onSale && orderable`. Use `v.onSale`, not a
|
|
29262
29916
|
* style-level price comparison: a Tall or Slim fit can list higher than Classic. FIT
|
|
29263
29917
|
* (Slim/Athletic) is not reliably filterable on the server for sale items: read the `fit` on
|
|
29264
|
-
* each variant and the product name after getProducts.
|
|
29918
|
+
* each variant and the product name after getProducts. CANADA: pass `country: "ca"` (same
|
|
29919
|
+
* category ids, prices in CAD); there `c_isSaleSkuUs` is the US store's flag, so narrow on
|
|
29920
|
+
* `c_discountPercentageCAD` (e.g. `"lessThan40Off"`) and pass the same `country: "ca"` to
|
|
29921
|
+
* `getProducts`.
|
|
29265
29922
|
*/
|
|
29266
29923
|
browseCategory(args: BrowseCategoryArgs): Promise<BrowseCategoryResult>;
|
|
29267
29924
|
|
|
29268
29925
|
/**
|
|
29269
29926
|
* Reads one J.Crew product in full — given the style id at the end of a product URL, e.g.
|
|
29270
|
-
* `BX291` — returning the name, descriptions,
|
|
29271
|
-
* online inventory (orderable and stock level),
|
|
29272
|
-
* count, every colour and size the style comes in,
|
|
29273
|
-
* availability, and the full image set. The normalized
|
|
29274
|
-
* variants from J.Crew's OCAPI with a browseable (colour ×
|
|
29927
|
+
* `BX291`, the URL itself, or a `searchProducts` row — returning the name, descriptions,
|
|
29928
|
+
* price, the pre-discount list price, currency, online inventory (orderable and stock level),
|
|
29929
|
+
* the site's own aggregate rating and review count, every colour and size the style comes in,
|
|
29930
|
+
* every variant with its own price and availability, and the full image set. The normalized
|
|
29931
|
+
* variant list replaces the raw 502+ variants from J.Crew's OCAPI with a browseable (colour ×
|
|
29932
|
+
* size × fit) grid. `{ id, country: "ca" }` or a `/ca/p/...` URL reads the Canadian store: CAD
|
|
29933
|
+
* prices, Canadian sale prices and the `/ca/` page `url`. Stock and orderable are the US
|
|
29934
|
+
* warehouse's in both stores.
|
|
29275
29935
|
*/
|
|
29276
|
-
getProduct(args: GetProductArgs): Promise<GetProductResult>;
|
|
29936
|
+
getProduct(args: GetProductArgs | string): Promise<GetProductResult>;
|
|
29277
29937
|
|
|
29278
29938
|
/**
|
|
29279
29939
|
* Reads several J.Crew products in one call — the batch form of `getProduct`, for an agent
|
|
29280
29940
|
* comparing a handful of items without paying a request each. Takes a list of style ids
|
|
29281
29941
|
* (maximum 24 per call — J.Crew's own batch limit) and returns each product's full detail in
|
|
29282
|
-
* the same shape as `getProduct`, plus a list of ids that were not found.
|
|
29942
|
+
* the same shape as `getProduct`, plus a list of ids that were not found. `country: "ca"` (or
|
|
29943
|
+
* `/ca/` product URLs as ids) reads the whole batch from the Canadian store in CAD.
|
|
29283
29944
|
*/
|
|
29284
29945
|
getProducts(args: GetProductsArgs): Promise<GetProductsResult>;
|
|
29285
29946
|
|
|
@@ -29289,6 +29950,8 @@ interface FindStoresResult {
|
|
|
29289
29950
|
* id: "BX291", colour: "White", size: "M" }` — resolving them to that variant's own id and
|
|
29290
29951
|
* returning whether it is orderable and at what price. Matches case-insensitively; refuses
|
|
29291
29952
|
* with the current colours, sizes and fits when the combination does not exist on the style.
|
|
29953
|
+
* `country: "ca"` prices it in the Canadian store (CAD); orderable is the US warehouse's in
|
|
29954
|
+
* both.
|
|
29292
29955
|
*/
|
|
29293
29956
|
checkVariantStock(args: CheckVariantStockArgs): Promise<CheckVariantStockResult>;
|
|
29294
29957
|
|
|
@@ -29296,7 +29959,8 @@ interface FindStoresResult {
|
|
|
29296
29959
|
* Completes a partial search the way J.Crew's own type-ahead does — a word fragment 3-50
|
|
29297
29960
|
* characters long, e.g. "oxford" — returning the corrected/completed terms, matching
|
|
29298
29961
|
* categories and matching products the site itself would suggest. The door in front of
|
|
29299
|
-
* `searchProducts` for a caller that does not yet know the site's vocabulary.
|
|
29962
|
+
* `searchProducts` for a caller that does not yet know the site's vocabulary. `country: "ca"`
|
|
29963
|
+
* prices the suggested products in CAD.
|
|
29300
29964
|
*/
|
|
29301
29965
|
suggestSearchTerms(args: SuggestSearchTermsArgs): Promise<SuggestSearchTermsResult>;
|
|
29302
29966
|
|
|
@@ -29304,6 +29968,7 @@ interface FindStoresResult {
|
|
|
29304
29968
|
* Reads one J.Crew category by id — given the id `listCategories` returns, e.g.
|
|
29305
29969
|
* `"mens|categories|clothing|shirts"` — returning its display name, its immediate parent's id
|
|
29306
29970
|
* (`null` at the top of the tree) and the full ancestor chain back to the top, root first.
|
|
29971
|
+
* Takes `country: "ca"` too; the Canadian store has the same categories.
|
|
29307
29972
|
*/
|
|
29308
29973
|
getCategory(args: GetCategoryArgs): Promise<GetCategoryResult>;
|
|
29309
29974
|
|
|
@@ -29313,7 +29978,8 @@ interface FindStoresResult {
|
|
|
29313
29978
|
* products in that result set carry them. Give a `query` (same bound as `searchProducts`) or a
|
|
29314
29979
|
* `categoryId` (same as `browseCategory`), not both. Drops the site's own internal
|
|
29315
29980
|
* merchandising facets (promotion ids, country allow-lists) that no shopper-facing filter
|
|
29316
|
-
* uses.
|
|
29981
|
+
* uses. `country: "ca"` gives the Canadian store's counts and its own discount group,
|
|
29982
|
+
* `c_discountPercentageCAD`.
|
|
29317
29983
|
*/
|
|
29318
29984
|
listSearchRefinements(args: ListSearchRefinementsArgs): Promise<ListSearchRefinementsResult>;
|
|
29319
29985
|
|
|
@@ -30693,12 +31359,16 @@ interface LinkedinProfile {
|
|
|
30693
31359
|
id: string; // the URL slug, e.g. "williamhgates"
|
|
30694
31360
|
url: string;
|
|
30695
31361
|
name: string;
|
|
30696
|
-
|
|
31362
|
+
// The page's description as LinkedIn serves it to a logged-out reader: the opening
|
|
31363
|
+
// of the member's About text (for some, a headline-like line), often cut with "…".
|
|
31364
|
+
// The headline under the name is not served anonymously.
|
|
31365
|
+
headline: string | null;
|
|
30697
31366
|
badge: string | null; // a status badge ("Creator", "Top Voice"), where the member has one
|
|
30698
31367
|
location: string | null;
|
|
30699
31368
|
country: string | null; // ISO 3166 alpha-2, e.g. "US"
|
|
30700
31369
|
photoUrl: string | null;
|
|
30701
31370
|
followers: number | null;
|
|
31371
|
+
connections: number | null; // first-degree connections, where the page shows them (capped at 500)
|
|
30702
31372
|
currentTitle: string | null;
|
|
30703
31373
|
// "headline" when the position title was masked and currentTitle was parsed
|
|
30704
31374
|
// out of the member's unmasked headline instead ("Co-Founder @Checkly" → "Co-Founder").
|
|
@@ -30709,10 +31379,15 @@ interface LinkedinProfile {
|
|
|
30709
31379
|
education: LinkedinProfileSchool[]; // schools only
|
|
30710
31380
|
pastOrganizations: LinkedinProfileSchool[]; // past employers and board seats, not schools
|
|
30711
31381
|
languages: string[];
|
|
30712
|
-
// True when LinkedIn hid a title or the headline from this logged-out
|
|
30713
|
-
//
|
|
30714
|
-
// null with masked:true means "hidden", not "the member left it blank".
|
|
31382
|
+
// True when LinkedIn hid a title, employer or the headline from this logged-out
|
|
31383
|
+
// read. Those come back null or are left out, never as asterisks or blank rows —
|
|
31384
|
+
// so a null with masked:true means "hidden", not "the member left it blank".
|
|
30715
31385
|
masked: boolean;
|
|
31386
|
+
// "anonymous": the full public page. "preview": a thinner link-preview read, every
|
|
31387
|
+
// title withheld. "signed-in": read through YOUR LinkedIn sign-in, used for a
|
|
31388
|
+
// masked member when you have one live — then badge, followers and languages are
|
|
31389
|
+
// null/empty, and past employers are in positions (with an endDate).
|
|
31390
|
+
readAs: "anonymous" | "preview" | "signed-in";
|
|
30716
31391
|
}
|
|
30717
31392
|
|
|
30718
31393
|
interface LinkedinProfilePosition {
|
|
@@ -30733,6 +31408,7 @@ interface LinkedinProfileSchool {
|
|
|
30733
31408
|
|
|
30734
31409
|
interface LinkedinCompany {
|
|
30735
31410
|
id: string; // the URL handle, e.g. "microsoft" — what getCompany takes
|
|
31411
|
+
companyId: string | null; // LinkedIn's numeric id, e.g. "1035" — what listCompanyEmployees and searchMembers({ currentCompany }) take
|
|
30736
31412
|
url: string;
|
|
30737
31413
|
name: string;
|
|
30738
31414
|
tagline: string | null; // the one-line pitch under the name
|
|
@@ -30925,55 +31601,49 @@ interface LinkedinSearchPage<T> { results: T[]; total: number | null; start: num
|
|
|
30925
31601
|
* employer, full position history, education, and past organisations (board seats, prior
|
|
30926
31602
|
* employers LinkedIn files under the same field as schools). Takes the profile URL
|
|
30927
31603
|
* (`https://www.linkedin.com/in/williamhgates/`) or the bare slug ("williamhgates"). TWO
|
|
30928
|
-
* CONVENTIONS THAT LOOK LIKE BUGS AND ARE LINKEDIN'S OWN. (1) `headline`
|
|
30929
|
-
*
|
|
30930
|
-
*
|
|
30931
|
-
* `
|
|
30932
|
-
*
|
|
30933
|
-
*
|
|
30934
|
-
*
|
|
30935
|
-
*
|
|
30936
|
-
*
|
|
30937
|
-
*
|
|
30938
|
-
*
|
|
30939
|
-
*
|
|
30940
|
-
*
|
|
30941
|
-
*
|
|
30942
|
-
*
|
|
30943
|
-
*
|
|
30944
|
-
*
|
|
31604
|
+
* CONVENTIONS THAT LOOK LIKE BUGS AND ARE LINKEDIN'S OWN. (1) `headline` is the page's
|
|
31605
|
+
* `description`, which for most members is the opening of their About text cut with "…", not
|
|
31606
|
+
* the line under their name — LinkedIn does not serve that line to a logged-out reader — and
|
|
31607
|
+
* `badge` (a status like "Top Voice") comes from `disambiguatingDescription`. (2) `education`
|
|
31608
|
+
* and `pastOrganizations` are split out of ONE LinkedIn field (`alumniOf`) that mixes schools
|
|
31609
|
+
* and former employers/board seats, discriminated only by an internal type marker never
|
|
31610
|
+
* exposed here — a school stays a school, a past employer never gets reported as one.
|
|
31611
|
+
* `currentTitle`/`currentEmployer` are the first entry of `positions`, which is null on a
|
|
31612
|
+
* profile that publishes no positions at all — not every member does. When LinkedIn MASKS the
|
|
31613
|
+
* position titles on an anonymous read, `currentTitle` is recovered from the member's unmasked
|
|
31614
|
+
* headline where it can be, and `currentTitleSource` says "headline" rather than "position".
|
|
31615
|
+
* Skills and certifications are NOT returned in this version: they live in a separate DOM
|
|
31616
|
+
* region this parse does not read yet, and reporting empty arrays for a section that is really
|
|
31617
|
+
* unread would be indistinguishable from a member who has none. WHO IT CAN READ WITHOUT A
|
|
31618
|
+
* SIGN-IN: anyone. LinkedIn walls most members from an anonymous browser, so this reads the
|
|
31619
|
+
* page LinkedIn serves to link-preview clients instead (`readAs: "anonymous"` for the full
|
|
31620
|
+
* public record, `"preview"` for a thinner one with titles withheld). Some members' titles and
|
|
31621
|
+
* employers still come back hidden (`masked: true`); with a live LinkedIn sign-in this
|
|
31622
|
+
* re-reads exactly those members signed in (`readAs: "signed-in"`), and never asks you to sign
|
|
31623
|
+
* in. A slug nobody holds throws "no member at" (HTTP 404). `connections` is the member's
|
|
31624
|
+
* connection count where the page shows one. Throws rather than returning a profile of nulls
|
|
31625
|
+
* when the page does not render, because "this person has no name" and "we could not read
|
|
31626
|
+
* them" are opposite answers.
|
|
30945
31627
|
*/
|
|
30946
31628
|
getProfile(urlOrSlug: string): Promise<LinkedinProfile>;
|
|
30947
31629
|
|
|
30948
31630
|
/**
|
|
30949
|
-
* Finds LinkedIn members by NAME
|
|
30950
|
-
*
|
|
30951
|
-
*
|
|
30952
|
-
*
|
|
30953
|
-
*
|
|
30954
|
-
*
|
|
30955
|
-
*
|
|
30956
|
-
*
|
|
30957
|
-
*
|
|
30958
|
-
*
|
|
30959
|
-
*
|
|
30960
|
-
*
|
|
30961
|
-
*
|
|
30962
|
-
*
|
|
30963
|
-
|
|
30964
|
-
|
|
30965
|
-
* resolves among several is skipped rather than returned wrong, but if EVERY candidate fails
|
|
30966
|
-
* to read this throws (that is `getProfile`'s reach failing for the whole batch, not nobody
|
|
30967
|
-
* matching). **A SKIPPED CANDIDATE IS NAMED IN `warnings`, and reading it is not optional**:
|
|
30968
|
-
* the answer is `{profiles, warnings}`, and a short `profiles` with an EMPTY `warnings` means
|
|
30969
|
-
* the index knew of that many people, while a short one WITH warnings means the rest refused
|
|
30970
|
-
* us — the profile list alone cannot tell those apart, and only the second is a fact about us
|
|
30971
|
-
* rather than about the person you searched for. Do not present the results as everyone by
|
|
30972
|
-
* that name without checking it. (4) Throws if the index itself refuses the query (a bot
|
|
30973
|
-
* challenge or non-200) — a real "the search failed" distinct from "nobody matched", which
|
|
30974
|
-
* returns an empty `profiles` with no warnings.
|
|
30975
|
-
*/
|
|
30976
|
-
searchPeople(query: string | {query: string, limit?: number}): Promise<LinkedinPeopleSearch>;
|
|
31631
|
+
* Finds LinkedIn members by NAME, using LinkedIn's own public people directory, and returns
|
|
31632
|
+
* each match's full public profile (the same shape `getProfile` returns) plus every other
|
|
31633
|
+
* person the directory listed. Takes a bare string or `{query, limit, firstName, lastName}`.
|
|
31634
|
+
* `query` is a name, optionally with context appended ("Satya Nadella Microsoft", "Martin Lima
|
|
31635
|
+
* Itau"): the first words are read as the name, and every word ranks the results, so context
|
|
31636
|
+
* moves the right person up without filtering anyone out. Pass `firstName`/`lastName` when you
|
|
31637
|
+
* know which words are which. `limit` caps how many profiles are read in full (default 5, max
|
|
31638
|
+
* 10); `candidates` holds up to 25 directory cards (name, place, employer line) at no extra
|
|
31639
|
+
* cost, and any `id` there feeds `getProfile`. A name LinkedIn has nobody under returns empty
|
|
31640
|
+
* `profiles` and `candidates` with no warnings. A one-word query, or a directory that refuses
|
|
31641
|
+
* us, falls back to a third-party web index, and `warnings` says so. **Read `warnings`**: it
|
|
31642
|
+
* names every candidate that could not be read, so a short `profiles` with warnings means some
|
|
31643
|
+
* refused us, not that fewer people match. Throws when no index would answer at all, which is
|
|
31644
|
+
* never the same as nobody matching.
|
|
31645
|
+
*/
|
|
31646
|
+
searchPeople(query: string | {query?: string, firstName?: string, lastName?: string, limit?: number}): Promise<LinkedinPeopleSearch>;
|
|
30977
31647
|
|
|
30978
31648
|
/**
|
|
30979
31649
|
* Returns the signed-in caller's own LinkedIn member record — name, headline, profile URL and
|
|
@@ -31803,7 +32473,12 @@ interface LululemonProduct {
|
|
|
31803
32473
|
id: string;
|
|
31804
32474
|
title: string;
|
|
31805
32475
|
brand: string;
|
|
32476
|
+
/** The product page on the store it was read from — /en-ca/ for Canada. */
|
|
31806
32477
|
url: string;
|
|
32478
|
+
/** Which storefront answered: "us" (the default) or "ca". */
|
|
32479
|
+
country: "us" | "ca";
|
|
32480
|
+
/** ISO 4217 for every price on this record: "USD", or "CAD" for Canada. */
|
|
32481
|
+
currency: string | null;
|
|
31807
32482
|
/** The store's own audience attribute, e.g. "women". */
|
|
31808
32483
|
gender: string | null;
|
|
31809
32484
|
rating: number | null;
|
|
@@ -31837,6 +32512,8 @@ interface LululemonProductAttributes {
|
|
|
31837
32512
|
productId: string;
|
|
31838
32513
|
url: string;
|
|
31839
32514
|
title: string;
|
|
32515
|
+
/** Which storefront answered: "us" or "ca". */
|
|
32516
|
+
country: "us" | "ca";
|
|
31840
32517
|
/** The site's own ProductGroup category, e.g. "Leggings". */
|
|
31841
32518
|
category: string | null;
|
|
31842
32519
|
description: string | null;
|
|
@@ -31928,12 +32605,17 @@ interface LululemonRow {
|
|
|
31928
32605
|
/** False only on the fallback path (the store's search did not answer). */
|
|
31929
32606
|
priced: boolean;
|
|
31930
32607
|
image: string | null;
|
|
32608
|
+
/** ISO 4217 for priceLow/priceHigh: "USD", or "CAD" on a Canadian search. */
|
|
31931
32609
|
currency: string | null;
|
|
31932
32610
|
category: string | null;
|
|
31933
32611
|
colorFamilies: string[];
|
|
31934
32612
|
}
|
|
31935
32613
|
interface LululemonSearch {
|
|
31936
32614
|
query: string;
|
|
32615
|
+
/** Which storefront was searched: "us" (the default) or "ca". */
|
|
32616
|
+
country: "us" | "ca";
|
|
32617
|
+
/** That storefront's currency: "USD" or "CAD". */
|
|
32618
|
+
currency: string;
|
|
31937
32619
|
products: LululemonRow[];
|
|
31938
32620
|
/** How many products matched IN TOTAL. Exact on the first page; a later page
|
|
31939
32621
|
* may only know offset + rows, so keep the first page's value. */
|
|
@@ -31947,6 +32629,7 @@ interface LululemonSearch {
|
|
|
31947
32629
|
nextOffset: number | null;
|
|
31948
32630
|
warnings: string[];
|
|
31949
32631
|
}
|
|
32632
|
+
/** US store only: the rail is a third party's, and it has no Canadian catalogue. */
|
|
31950
32633
|
interface LululemonSimilarProducts {
|
|
31951
32634
|
seedProductId: string;
|
|
31952
32635
|
products: LululemonRow[];
|
|
@@ -31990,7 +32673,9 @@ interface LululemonSizeGuide {
|
|
|
31990
32673
|
productName: string | null;
|
|
31991
32674
|
/** The store's own key for the guide, e.g. "womens-pants". */
|
|
31992
32675
|
sizeGuideCategory: string;
|
|
32676
|
+
/** The guide page on that storefront — /en-ca/help/size-guide/… for Canada. */
|
|
31993
32677
|
guideUrl: string;
|
|
32678
|
+
country: "us" | "ca";
|
|
31994
32679
|
charts: LululemonSizeChart[];
|
|
31995
32680
|
warnings: string[];
|
|
31996
32681
|
}
|
|
@@ -32013,9 +32698,12 @@ interface LululemonSizeGuide {
|
|
|
32013
32698
|
* 24), `offset` where the page starts (default 0). An offset past the end is an empty page,
|
|
32014
32699
|
* not an error. A category is just a query — the site's own URL segments (`womens-leggings`,
|
|
32015
32700
|
* `men-joggers`) are ranked over, so `{ query: "womens leggings", offset }` walks that
|
|
32016
|
-
* category.
|
|
32701
|
+
* category. CANADA: `country: "ca"` searches the Canadian store (shop.lululemon.com/en-ca) —
|
|
32702
|
+
* CAD prices, Canadian sale prices and stock, and every row's `url` is the /en-ca/ page, so
|
|
32703
|
+
* the row passed straight to `getProduct` reads the Canadian record too. Default "us". The
|
|
32704
|
+
* answer's `country` and `currency` say which store answered.
|
|
32017
32705
|
*/
|
|
32018
|
-
search(query: { query: string; limit?: number; offset?: number }): Promise<LululemonSearch>;
|
|
32706
|
+
search(query: { query: string; limit?: number; offset?: number; country?: "us" | "ca" }): Promise<LululemonSearch>;
|
|
32019
32707
|
|
|
32020
32708
|
/**
|
|
32021
32709
|
* Reads one product's full configurator the way its product page presents it — every colourway
|
|
@@ -32035,9 +32723,13 @@ interface LululemonSizeGuide {
|
|
|
32035
32723
|
* colourway (`shopThisLook`), resolved to the real companion product it names over a second
|
|
32036
32724
|
* keyless GET — a merchandiser's styling choice, not the algorithmic "You may also like" rail
|
|
32037
32725
|
* `getSimilarProducts` exposes. Empty when a colourway named none, or named only ids the store
|
|
32038
|
-
* no longer carries.
|
|
32726
|
+
* no longer carries. CANADA: `country: "ca"` reads the Canadian store — CAD prices, Canadian
|
|
32727
|
+
* markdowns and Canadian per-SKU stock, /en-ca/ urls; the record's `country` and `currency`
|
|
32728
|
+
* say which. `productId` may also be a product URL (an /en-ca/ one selects Canada by itself)
|
|
32729
|
+
* or a whole `search` row. The 10-character ids answer in both stores; an explicit `country`
|
|
32730
|
+
* wins over the URL.
|
|
32039
32731
|
*/
|
|
32040
|
-
getProduct(query: { productId: string }): Promise<LululemonProduct>;
|
|
32732
|
+
getProduct(query: { productId: string; country?: "us" | "ca" } | LululemonRow): Promise<LululemonProduct>;
|
|
32041
32733
|
|
|
32042
32734
|
/**
|
|
32043
32735
|
* Reads the full configurator for MANY products in one call — the shape for ranking a
|
|
@@ -32047,9 +32739,11 @@ interface LululemonSizeGuide {
|
|
|
32047
32739
|
* 2026-09-20 over 72 real ids, 72 of 72. An id that still does not read is named in `missing`
|
|
32048
32740
|
* with the store's own sentence rather than throwing and taking the other rows with it. At
|
|
32049
32741
|
* most 24 ids, which is `search`'s own row cap, so one full search page is always one batch.
|
|
32050
|
-
* Same `retailerSetEvidence` resolution as `getProduct`, per id.
|
|
32742
|
+
* Same `retailerSetEvidence` resolution as `getProduct`, per id. `country: "ca"` reads every
|
|
32743
|
+
* id from the Canadian store in CAD; an entry may also be a product URL or a `search` row, and
|
|
32744
|
+
* an /en-ca/ one is read from Canada whatever the batch default is.
|
|
32051
32745
|
*/
|
|
32052
|
-
getProducts(query: { productIds: string[] }): Promise<LululemonProductBatch>;
|
|
32746
|
+
getProducts(query: { productIds: string[]; country?: "us" | "ca" }): Promise<LululemonProductBatch>;
|
|
32053
32747
|
|
|
32054
32748
|
/**
|
|
32055
32749
|
* Reads what lululemon publishes ABOUT a garment rather than what it costs: the category it is
|
|
@@ -32064,9 +32758,10 @@ interface LululemonSizeGuide {
|
|
|
32064
32758
|
* is therefore below 1 on a perfectly healthy read (0.75 typically, lower when a garment has
|
|
32065
32759
|
* no rise). It THROWS when the door does not answer, rather than returning an empty record:
|
|
32066
32760
|
* this function has no browser fallback, by declaration, so a caller can trust that a field it
|
|
32067
|
-
* did get was actually read.
|
|
32761
|
+
* did get was actually read. `country: "ca"` (or an /en-ca/ product URL as `productId`) reads
|
|
32762
|
+
* the Canadian store's record.
|
|
32068
32763
|
*/
|
|
32069
|
-
getProductAttributes(query: { productId: string }): Promise<LululemonProductAttributes>;
|
|
32764
|
+
getProductAttributes(query: { productId: string; country?: "us" | "ca" } | LululemonRow): Promise<LululemonProductAttributes>;
|
|
32070
32765
|
|
|
32071
32766
|
/**
|
|
32072
32767
|
* Returns the products lululemon's own product pages recommend alongside one product — the
|
|
@@ -32077,8 +32772,11 @@ interface LululemonSizeGuide {
|
|
|
32077
32772
|
* is a `search`. An old-style `prod…` id is accepted: lululemon renumbered its catalogue in
|
|
32078
32773
|
* October 2026 and the rail knows only the new ids, so the old one is resolved through the
|
|
32079
32774
|
* store's own product service first, and `seedProductId` names the id the rail was built from.
|
|
32775
|
+
* US STORE ONLY: the rail is a third party's and it has no Canadian catalogue, so `country:
|
|
32776
|
+
* "ca"` (or an /en-ca/ product URL) is refused with an input error rather than answered with
|
|
32777
|
+
* US rows and US prices.
|
|
32080
32778
|
*/
|
|
32081
|
-
getSimilarProducts(query: { productId: string; limit?: number }): Promise<LululemonSimilarProducts>;
|
|
32779
|
+
getSimilarProducts(query: { productId: string; limit?: number } | LululemonRow): Promise<LululemonSimilarProducts>;
|
|
32082
32780
|
|
|
32083
32781
|
/**
|
|
32084
32782
|
* Reads the customer reviews on one product — rating, title, body, number of helpful votes,
|
|
@@ -32086,9 +32784,10 @@ interface LululemonSizeGuide {
|
|
|
32086
32784
|
* bought — the way the review section of its product page does. Reviews live on Bazaarvoice, a
|
|
32087
32785
|
* third party, keyed off the `reviewsId` slug lululemon's own product door publishes; a
|
|
32088
32786
|
* product with no reviewsId, or a Bazaarvoice call that fails, comes back with an empty
|
|
32089
|
-
* `reviews` and a `warnings` entry naming why rather than throwing.
|
|
32787
|
+
* `reviews` and a `warnings` entry naming why rather than throwing. Takes `country` like
|
|
32788
|
+
* `getProduct`, and reads the `reviewsId` off that store's record.
|
|
32090
32789
|
*/
|
|
32091
|
-
getReviews(query: { productId: string }): Promise<{ reviews: LululemonReview[]; warnings: string[] }>;
|
|
32790
|
+
getReviews(query: { productId: string; country?: "us" | "ca" } | LululemonRow): Promise<{ reviews: LululemonReview[]; warnings: string[] }>;
|
|
32092
32791
|
|
|
32093
32792
|
/**
|
|
32094
32793
|
* Returns lululemon's size chart for one garment — the body measurements (waist, hip, bust,
|
|
@@ -32098,8 +32797,9 @@ interface LululemonSizeGuide {
|
|
|
32098
32797
|
* garment, each row a `{ label, values }` with one value per size column. When the store's
|
|
32099
32798
|
* category matches no chart by name, `charts` is EVERY chart on that gender's guide page and
|
|
32100
32799
|
* `warnings` says so. Throws for a product that names no size guide (bags, accessories).
|
|
32800
|
+
* `country: "ca"` (or an /en-ca/ product URL) returns the Canadian store's guide page.
|
|
32101
32801
|
*/
|
|
32102
|
-
getSizeGuide(query: { productId: string }): Promise<LululemonSizeGuide>;
|
|
32802
|
+
getSizeGuide(query: { productId: string; country?: "us" | "ca" } | LululemonRow): Promise<LululemonSizeGuide>;
|
|
32103
32803
|
}
|
|
32104
32804
|
}
|
|
32105
32805
|
|
|
@@ -32180,6 +32880,9 @@ interface DiscoverEventsArgs {
|
|
|
32180
32880
|
category?: string;
|
|
32181
32881
|
/** YYYY-MM-DD, the event's own local day. */
|
|
32182
32882
|
date?: string;
|
|
32883
|
+
/** Free-text keyword ("retail", "robotics"), matched by Luma's own search within the city.
|
|
32884
|
+
* Searches every topic, so it cannot be combined with category. */
|
|
32885
|
+
query?: string;
|
|
32183
32886
|
/** Default 50, at most 1000. */
|
|
32184
32887
|
limit?: number;
|
|
32185
32888
|
}
|
|
@@ -32203,9 +32906,11 @@ interface DiscoverEventsArgs {
|
|
|
32203
32906
|
getEvent(args: GetEventArgs): Promise<LumaEvent>;
|
|
32204
32907
|
|
|
32205
32908
|
/**
|
|
32206
|
-
*
|
|
32207
|
-
*
|
|
32208
|
-
*
|
|
32909
|
+
* Search and discover upcoming Luma events in a city by free-text keyword query (retail, loss
|
|
32910
|
+
* prevention, robotics — any topic, not just Luma's categories) or filter by topic category
|
|
32911
|
+
* (ai, tech, crypto). Supports searching by local date. Pass the `query` parameter for keyword
|
|
32912
|
+
* filtering, the `category` slug for topic filtering, or both for a keyword search across the
|
|
32913
|
+
* whole feed around the city.
|
|
32209
32914
|
*/
|
|
32210
32915
|
discoverEvents(args: DiscoverEventsArgs): Promise<LumaEvent[]>;
|
|
32211
32916
|
|
|
@@ -32408,6 +33113,8 @@ interface mailchimpPlanPricing {
|
|
|
32408
33113
|
declare namespace BowmarkProvider_mango {
|
|
32409
33114
|
// ── Mango — the unit's own declarations, verbatim ──
|
|
32410
33115
|
interface MangoCategory { id: string; gender: "men" | "women" | "kids"; title: string }
|
|
33116
|
+
/** Which Mango store: "us" (default, USD) or "ca" (Canada, CAD). Catalogs differ by store. */
|
|
33117
|
+
type MangoCountry = "us" | "ca";
|
|
32411
33118
|
interface MangoSearchArgs {
|
|
32412
33119
|
/** Shopper words — "sweater", "long sleeve shirt". Matched to a category; with no category match, to product names. */
|
|
32413
33120
|
query?: string;
|
|
@@ -32420,8 +33127,22 @@ interface MangoSearchArgs {
|
|
|
32420
33127
|
inStockOnly?: boolean;
|
|
32421
33128
|
/** 1-60, default 20. */
|
|
32422
33129
|
limit?: number;
|
|
33130
|
+
/** "us" (default) or "ca" for Canadian prices (CAD), stock and URLs. */
|
|
33131
|
+
country?: MangoCountry;
|
|
32423
33132
|
}
|
|
32424
33133
|
interface MangoSize { sizeId: string; label: string; inStock: boolean; lastUnits: boolean }
|
|
33134
|
+
/** Mango's own photo URLs for one color. A product with no studio shoot (home goods)
|
|
33135
|
+
* has only the swatch; its other shots answer 403. */
|
|
33136
|
+
interface MangoImages {
|
|
33137
|
+
/** Full-length, front, back — on a model. */
|
|
33138
|
+
model: string[];
|
|
33139
|
+
/** The garment alone. */
|
|
33140
|
+
flat: string;
|
|
33141
|
+
/** A close-up. */
|
|
33142
|
+
detail: string;
|
|
33143
|
+
/** The fabric swatch; always present. */
|
|
33144
|
+
swatch: string;
|
|
33145
|
+
}
|
|
32425
33146
|
interface MangoColor {
|
|
32426
33147
|
colorId: string;
|
|
32427
33148
|
label: string;
|
|
@@ -32430,10 +33151,18 @@ interface MangoColor {
|
|
|
32430
33151
|
compareAtPrice: number | null;
|
|
32431
33152
|
discountPercent: number | null;
|
|
32432
33153
|
onSale: boolean;
|
|
33154
|
+
/** Sizes of THIS color. A search's size filter matches the product, so check here. */
|
|
32433
33155
|
sizes: MangoSize[];
|
|
33156
|
+
/** The first model shot, images.model[0]. */
|
|
33157
|
+
imageUrl: string;
|
|
33158
|
+
images: MangoImages;
|
|
32434
33159
|
}
|
|
32435
33160
|
interface MangoProduct {
|
|
32436
33161
|
productId: string;
|
|
33162
|
+
/** The store it was read from. Pass the hit itself to getProduct to stay in that store. */
|
|
33163
|
+
country: MangoCountry;
|
|
33164
|
+
/** "USD" or "CAD"; every price on this product is in it. */
|
|
33165
|
+
currency: string;
|
|
32437
33166
|
name: string;
|
|
32438
33167
|
url: string;
|
|
32439
33168
|
model: string | null;
|
|
@@ -32446,6 +33175,8 @@ interface MangoProduct {
|
|
|
32446
33175
|
inStock: boolean;
|
|
32447
33176
|
}
|
|
32448
33177
|
interface MangoSearchResult {
|
|
33178
|
+
country: MangoCountry;
|
|
33179
|
+
currency: string;
|
|
32449
33180
|
category: MangoCategory;
|
|
32450
33181
|
totalInCategory: number;
|
|
32451
33182
|
/** Products read to find the hits; a filtered search stops at 120. */
|
|
@@ -32456,31 +33187,33 @@ interface MangoSearchResult {
|
|
|
32456
33187
|
}
|
|
32457
33188
|
|
|
32458
33189
|
/**
|
|
32459
|
-
* Mango (mango.com) fashion store, US catalog
|
|
32460
|
-
* shirts, jeans…) with per-color price,
|
|
32461
|
-
* size, on-sale and in-stock; and reads
|
|
33190
|
+
* Mango (mango.com) fashion store, US catalog by default or the Canadian store (country: "ca",
|
|
33191
|
+
* CAD prices). Lists a men's/women's category (sweaters, shirts, jeans…) with per-color price,
|
|
33192
|
+
* sale compare-at price and per-size stock, filtered by size, on-sale and in-stock; and reads
|
|
33193
|
+
* one product's variant sizes, prices and live stock.
|
|
32462
33194
|
*/
|
|
32463
33195
|
interface Unit {
|
|
32464
33196
|
/**
|
|
32465
|
-
* Lists the Mango
|
|
32466
|
-
* dresses…) with the ids searchProducts takes.
|
|
33197
|
+
* Lists the Mango catalog categories (men's sweaters and cardigans, shirts, jeans, women's
|
|
33198
|
+
* dresses…) with the ids searchProducts takes; the same ids serve the US and Canadian stores.
|
|
32467
33199
|
*/
|
|
32468
33200
|
listCategories(): Promise<MangoCategory[]>;
|
|
32469
33201
|
|
|
32470
33202
|
/**
|
|
32471
33203
|
* Searches Mango's apparel catalog for what a shopper asks ("men's sweater", "long sleeve
|
|
32472
33204
|
* shirt") and returns each product with variant sizes, sale and compare-at prices and per-size
|
|
32473
|
-
* stock — filterable to a size, on-sale and in-stock only
|
|
32474
|
-
* getProduct takes.
|
|
33205
|
+
* stock — filterable to a size, on-sale and in-stock only, from the US store or the Canadian
|
|
33206
|
+
* one (country: "ca", CAD). The way in; returns the productId getProduct takes.
|
|
32475
33207
|
*/
|
|
32476
33208
|
searchProducts(args: MangoSearchArgs | string): Promise<MangoSearchResult>;
|
|
32477
33209
|
|
|
32478
33210
|
/**
|
|
32479
33211
|
* Reads one Mango product's colors and sizes with each color's price, compare-at price,
|
|
32480
|
-
* discount
|
|
32481
|
-
*
|
|
33212
|
+
* discount, live per-size stock and photos (model, flat, close-up, swatch), so a sold-out size
|
|
33213
|
+
* is never shown. Takes the 8-digit reference, the product URL, or a searchProducts hit (which
|
|
33214
|
+
* keeps its US or Canadian store).
|
|
32482
33215
|
*/
|
|
32483
|
-
getProduct(productId: string): Promise<MangoProduct>;
|
|
33216
|
+
getProduct(productId: string | MangoProduct | { productId: string; country?: MangoCountry }): Promise<MangoProduct>;
|
|
32484
33217
|
}
|
|
32485
33218
|
}
|
|
32486
33219
|
|
|
@@ -32533,6 +33266,181 @@ interface marketplaceSearchResult {
|
|
|
32533
33266
|
}
|
|
32534
33267
|
}
|
|
32535
33268
|
|
|
33269
|
+
declare namespace BowmarkProvider_marks {
|
|
33270
|
+
// ── Mark's — the unit's own declarations, verbatim ──
|
|
33271
|
+
interface MarksSearchArgs {
|
|
33272
|
+
query: string;
|
|
33273
|
+
storeId?: string | number; // a findStores storeId; only scopes the site's own search, stock is getProduct's job
|
|
33274
|
+
gender?: "men" | "women";
|
|
33275
|
+
onSaleOnly?: boolean; // the site's own "Sale" deal filter (Clearance is a separate deal)
|
|
33276
|
+
limit?: number; // default 24, max 1000; walks result pages until it has this many
|
|
33277
|
+
}
|
|
33278
|
+
interface MarksColour {
|
|
33279
|
+
id: string; // e.g. "COLOUR_Light_Wash"
|
|
33280
|
+
name: string; // e.g. "Light Wash"
|
|
33281
|
+
url: string; // opens the product on this colour
|
|
33282
|
+
price: number | null; // CAD, what it costs now
|
|
33283
|
+
originalPrice: number | null; // CAD, the regular price
|
|
33284
|
+
onSale: boolean;
|
|
33285
|
+
salePercent: number | null;
|
|
33286
|
+
saleEndsOn: string | null; // ISO date the sale price ends
|
|
33287
|
+
availableToSell: number | null; // the site's max units available for any one SKU of this colour (search only)
|
|
33288
|
+
image: string | null;
|
|
33289
|
+
images: string[];
|
|
33290
|
+
swatch: string | null;
|
|
33291
|
+
skuCodes: string[];
|
|
33292
|
+
}
|
|
33293
|
+
interface MarksSearchHit {
|
|
33294
|
+
code: string; // pass to getProduct
|
|
33295
|
+
title: string;
|
|
33296
|
+
brand: string | null;
|
|
33297
|
+
url: string; // marks.com product page
|
|
33298
|
+
image: string | null;
|
|
33299
|
+
currency: "CAD";
|
|
33300
|
+
price: number | null; // cheapest colour's current price
|
|
33301
|
+
originalPrice: number | null; // that colour's regular price
|
|
33302
|
+
onSale: boolean; // any colour on sale
|
|
33303
|
+
salePercent: number | null;
|
|
33304
|
+
saleEndsOn: string | null;
|
|
33305
|
+
rating: number | null;
|
|
33306
|
+
ratingsCount: number | null;
|
|
33307
|
+
badges: string[]; // e.g. "SALE", "BESTSELLER", "Flash_Sale"
|
|
33308
|
+
colours: MarksColour[];
|
|
33309
|
+
}
|
|
33310
|
+
interface MarksSearchResult {
|
|
33311
|
+
query: string;
|
|
33312
|
+
gender: "men" | "women" | null;
|
|
33313
|
+
onSaleOnly: boolean;
|
|
33314
|
+
storeId: string | null;
|
|
33315
|
+
currency: "CAD";
|
|
33316
|
+
total: number; // products the site matched
|
|
33317
|
+
pageCount: number;
|
|
33318
|
+
pagesRead: number;
|
|
33319
|
+
hasMore: boolean;
|
|
33320
|
+
redirectUrl: string | null; // set when the site sends this query to a category page instead
|
|
33321
|
+
hits: MarksSearchHit[];
|
|
33322
|
+
warnings: string[]; // a results page that failed after the first; empty when complete
|
|
33323
|
+
}
|
|
33324
|
+
interface MarksProductRef {
|
|
33325
|
+
code?: string;
|
|
33326
|
+
url?: string;
|
|
33327
|
+
storeId?: string | number;
|
|
33328
|
+
}
|
|
33329
|
+
interface MarksProductOptions {
|
|
33330
|
+
storeId?: string | number; // a findStores storeId; adds that store's per-SKU quantity
|
|
33331
|
+
}
|
|
33332
|
+
interface MarksOptionAxis {
|
|
33333
|
+
descriptor: string; // e.g. "WAIST_SIZE_CD"
|
|
33334
|
+
name: string; // e.g. "Waist/Size", "Pants Length", "Primary Colour"
|
|
33335
|
+
values: string[];
|
|
33336
|
+
}
|
|
33337
|
+
interface MarksSku {
|
|
33338
|
+
sku: string;
|
|
33339
|
+
url: string; // opens the product on exactly this SKU
|
|
33340
|
+
colour: string | null;
|
|
33341
|
+
size: string | null; // the non-colour options, waist first: "32 / 30"
|
|
33342
|
+
options: Record<string, string>; // axis name -> value
|
|
33343
|
+
price: number | null; // CAD
|
|
33344
|
+
originalPrice: number | null; // CAD
|
|
33345
|
+
onSale: boolean;
|
|
33346
|
+
salePercent: number | null;
|
|
33347
|
+
saleEndsOn: string | null; // ISO date
|
|
33348
|
+
onlineQuantity: number | null; // units available to ship (null if stock could not be read)
|
|
33349
|
+
inStockOnline: boolean | null;
|
|
33350
|
+
storeQuantity: number | null; // units at options.storeId; null when no storeId was given
|
|
33351
|
+
inStockAtStore: boolean | null;
|
|
33352
|
+
lowStock: boolean;
|
|
33353
|
+
sellable: boolean;
|
|
33354
|
+
}
|
|
33355
|
+
interface MarksProduct {
|
|
33356
|
+
code: string;
|
|
33357
|
+
name: string;
|
|
33358
|
+
brand: string | null;
|
|
33359
|
+
url: string;
|
|
33360
|
+
currency: "CAD";
|
|
33361
|
+
price: number | null;
|
|
33362
|
+
originalPrice: number | null;
|
|
33363
|
+
onSale: boolean;
|
|
33364
|
+
salePercent: number | null;
|
|
33365
|
+
saleEndsOn: string | null;
|
|
33366
|
+
rating: number | null;
|
|
33367
|
+
ratingsCount: number | null;
|
|
33368
|
+
description: string | null;
|
|
33369
|
+
features: string[];
|
|
33370
|
+
images: string[];
|
|
33371
|
+
options: MarksOptionAxis[];
|
|
33372
|
+
colours: MarksColour[];
|
|
33373
|
+
sizes: string[];
|
|
33374
|
+
skus: MarksSku[];
|
|
33375
|
+
storeId: string | null; // the store storeQuantity is for; null = online stock only
|
|
33376
|
+
inStockOnline: boolean;
|
|
33377
|
+
warnings: string[]; // stock that could not be read for some SKUs; empty when complete
|
|
33378
|
+
}
|
|
33379
|
+
interface MarksFindStoresArgs {
|
|
33380
|
+
latitude: number;
|
|
33381
|
+
longitude: number;
|
|
33382
|
+
radiusKm?: number; // default 25, max 2000
|
|
33383
|
+
limit?: number; // default 10, max 50
|
|
33384
|
+
}
|
|
33385
|
+
interface MarksStoreHours {
|
|
33386
|
+
day: string;
|
|
33387
|
+
open: string | null; // "10:00 AM"
|
|
33388
|
+
close: string | null;
|
|
33389
|
+
closed: boolean;
|
|
33390
|
+
}
|
|
33391
|
+
interface MarksStore {
|
|
33392
|
+
storeId: string; // pass to getProduct / searchProducts as storeId
|
|
33393
|
+
name: string;
|
|
33394
|
+
address: string | null;
|
|
33395
|
+
city: string | null;
|
|
33396
|
+
province: string | null; // "ON"
|
|
33397
|
+
postalCode: string | null;
|
|
33398
|
+
phone: string | null;
|
|
33399
|
+
latitude: number | null;
|
|
33400
|
+
longitude: number | null;
|
|
33401
|
+
distanceKm: number | null;
|
|
33402
|
+
url: string;
|
|
33403
|
+
inStorePickup: boolean;
|
|
33404
|
+
hours: MarksStoreHours[];
|
|
33405
|
+
}
|
|
33406
|
+
interface MarksStoreSearch {
|
|
33407
|
+
latitude: number;
|
|
33408
|
+
longitude: number;
|
|
33409
|
+
radiusKm: number;
|
|
33410
|
+
stores: MarksStore[]; // nearest first; empty when no Mark's is inside the radius
|
|
33411
|
+
}
|
|
33412
|
+
|
|
33413
|
+
/**
|
|
33414
|
+
* Mark's (marks.com), Canada's clothing and workwear chain (Canada only, prices in CAD).
|
|
33415
|
+
* Searches the live catalog (men's/women's, on-sale), reads one product's every size and
|
|
33416
|
+
* colour with current and regular price, online stock and a chosen store's stock, and finds
|
|
33417
|
+
* stores near a point.
|
|
33418
|
+
*/
|
|
33419
|
+
interface Unit {
|
|
33420
|
+
/**
|
|
33421
|
+
* Searches Mark's live catalog the way a shopper would ("jeans", "work boots"), optionally
|
|
33422
|
+
* men's/women's and on-sale only, walking result pages until `limit` is met. One row per
|
|
33423
|
+
* product with each colour's current and regular CAD price, sale % and end date, photos, and
|
|
33424
|
+
* the code getProduct takes. The way in.
|
|
33425
|
+
*/
|
|
33426
|
+
searchProducts(args: MarksSearchArgs | string): Promise<MarksSearchResult>;
|
|
33427
|
+
|
|
33428
|
+
/**
|
|
33429
|
+
* Reads one Mark's product: its size and colour options and every SKU with price, regular
|
|
33430
|
+
* price, sale, online quantity and — when `storeId` is given — that store's quantity, plus
|
|
33431
|
+
* photos and marks.com URLs that open the product and each SKU. Takes the code, a search hit,
|
|
33432
|
+
* or a marks.com product URL.
|
|
33433
|
+
*/
|
|
33434
|
+
getProduct(product: string | MarksProductRef, options?: MarksProductOptions): Promise<MarksProduct>;
|
|
33435
|
+
|
|
33436
|
+
/**
|
|
33437
|
+
* Lists Mark's stores nearest a latitude/longitude with address, distance, hours and the
|
|
33438
|
+
* storeId getProduct takes for per-store stock.
|
|
33439
|
+
*/
|
|
33440
|
+
findStores(args: MarksFindStoresArgs): Promise<MarksStoreSearch>;
|
|
33441
|
+
}
|
|
33442
|
+
}
|
|
33443
|
+
|
|
32536
33444
|
declare namespace BowmarkProvider_marriott {
|
|
32537
33445
|
// ── Marriott — the unit's own declarations, verbatim ──
|
|
32538
33446
|
interface MarriottHotelListing {
|
|
@@ -34295,7 +35203,7 @@ interface MossyoakCheckoutLink {
|
|
|
34295
35203
|
}
|
|
34296
35204
|
|
|
34297
35205
|
declare namespace BowmarkProvider_msc {
|
|
34298
|
-
// ── MSC shipment tracking — track containers
|
|
35206
|
+
// ── MSC shipment tracking — track containers, bills of lading, and booking numbers — the unit's own declarations, verbatim ──
|
|
34299
35207
|
interface TrackingResult {
|
|
34300
35208
|
status: string; // the site's own labels — read the values off a result, never guess one from prose
|
|
34301
35209
|
location: string;
|
|
@@ -34304,7 +35212,10 @@ interface TrackingResult {
|
|
|
34304
35212
|
rawData?: Record<string, unknown>;
|
|
34305
35213
|
}
|
|
34306
35214
|
|
|
34307
|
-
/**
|
|
35215
|
+
/**
|
|
35216
|
+
* Track shipment status for MSC container, bill of lading, or booking reference — get
|
|
35217
|
+
* real-time location, current status, and estimated delivery date.
|
|
35218
|
+
*/
|
|
34308
35219
|
interface Unit {
|
|
34309
35220
|
/**
|
|
34310
35221
|
* Track MSC container and shipment status — get real-time location, current status, and
|
|
@@ -35163,6 +36074,16 @@ interface nhcCurrentStorm {
|
|
|
35163
36074
|
position: { lat: number; lon: number };
|
|
35164
36075
|
}
|
|
35165
36076
|
|
|
36077
|
+
interface nhcStormInfo extends nhcCurrentStorm {
|
|
36078
|
+
movement: { direction: string; speed: number };
|
|
36079
|
+
links: {
|
|
36080
|
+
publicAdvisory?: string;
|
|
36081
|
+
forecastAdvisory?: string;
|
|
36082
|
+
forecastDiscussion?: string;
|
|
36083
|
+
windSpeedProbabilities?: string;
|
|
36084
|
+
};
|
|
36085
|
+
}
|
|
36086
|
+
|
|
35166
36087
|
/**
|
|
35167
36088
|
* Current and recent tropical storms and hurricanes from NOAA's Hurricane Center, keyless and
|
|
35168
36089
|
* public.
|
|
@@ -35173,6 +36094,13 @@ interface nhcCurrentStorm {
|
|
|
35173
36094
|
* Pacific, with position, intensity and pressure. Pass `basin` to narrow to one of them.
|
|
35174
36095
|
*/
|
|
35175
36096
|
listCurrentStorms(args?: { basin?: 'AL' | 'EP' | 'CP' }): Promise<nhcCurrentStorm[]>;
|
|
36097
|
+
|
|
36098
|
+
/**
|
|
36099
|
+
* Get one active storm's current status — position, intensity, pressure, movement,
|
|
36100
|
+
* classification and links to its latest advisory products — by the id returned from
|
|
36101
|
+
* listCurrentStorms.
|
|
36102
|
+
*/
|
|
36103
|
+
getStormInfo(args: { stormId: string }): Promise<nhcStormInfo>;
|
|
35176
36104
|
}
|
|
35177
36105
|
}
|
|
35178
36106
|
|
|
@@ -35415,6 +36343,37 @@ interface NvisioncentersCandidacyResult {
|
|
|
35415
36343
|
}
|
|
35416
36344
|
}
|
|
35417
36345
|
|
|
36346
|
+
declare namespace BowmarkProvider_nws {
|
|
36347
|
+
// ── National Weather Service — the unit's own declarations, verbatim ──
|
|
36348
|
+
interface nwsRow {
|
|
36349
|
+
id: string;
|
|
36350
|
+
}
|
|
36351
|
+
|
|
36352
|
+
interface SearchLocationArgs {
|
|
36353
|
+
query: string;
|
|
36354
|
+
}
|
|
36355
|
+
|
|
36356
|
+
interface SearchLocationResult {
|
|
36357
|
+
name: string;
|
|
36358
|
+
state: string;
|
|
36359
|
+
lat: number;
|
|
36360
|
+
lon: number;
|
|
36361
|
+
}
|
|
36362
|
+
|
|
36363
|
+
/**
|
|
36364
|
+
* National Weather Service forecasts, alerts, current conditions, radar and forecast-office
|
|
36365
|
+
* products for any US place, keyless and public.
|
|
36366
|
+
*/
|
|
36367
|
+
interface Unit {
|
|
36368
|
+
/**
|
|
36369
|
+
* Turns what a person types into weather.gov's own search box into candidate places with name,
|
|
36370
|
+
* state, latitude and longitude — the door every other NWS function needs, since the API only
|
|
36371
|
+
* speaks coordinates.
|
|
36372
|
+
*/
|
|
36373
|
+
searchLocation(args: SearchLocationArgs): Promise<SearchLocationResult[]>;
|
|
36374
|
+
}
|
|
36375
|
+
}
|
|
36376
|
+
|
|
35418
36377
|
declare namespace BowmarkProvider_nyt_cooking {
|
|
35419
36378
|
// ── NYT Cooking — the unit's own declarations, verbatim ──
|
|
35420
36379
|
interface nyt_cookingRow {
|
|
@@ -35630,6 +36589,24 @@ interface NytCookingRateRecipeResult {
|
|
|
35630
36589
|
rating: number;
|
|
35631
36590
|
}
|
|
35632
36591
|
|
|
36592
|
+
interface NytCookingGetMyRatingArgs {
|
|
36593
|
+
recipeId: number | string;
|
|
36594
|
+
}
|
|
36595
|
+
|
|
36596
|
+
interface NytCookingGetMyRatingResult {
|
|
36597
|
+
recipeId: number;
|
|
36598
|
+
rating: number | null;
|
|
36599
|
+
}
|
|
36600
|
+
|
|
36601
|
+
interface NytCookingMarkRecipeCookedArgs {
|
|
36602
|
+
recipeId: number | string;
|
|
36603
|
+
}
|
|
36604
|
+
|
|
36605
|
+
interface NytCookingMarkRecipeCookedResult {
|
|
36606
|
+
recipeId: number;
|
|
36607
|
+
marked: true;
|
|
36608
|
+
}
|
|
36609
|
+
|
|
35633
36610
|
/** Recipe search, recipe detail and Recipe Box/grocery-list actions on NYT Cooking. */
|
|
35634
36611
|
interface Unit {
|
|
35635
36612
|
/**
|
|
@@ -35713,6 +36690,18 @@ interface NytCookingRateRecipeResult {
|
|
|
35713
36690
|
* is called.
|
|
35714
36691
|
*/
|
|
35715
36692
|
rateRecipe(args: NytCookingRateRecipeArgs, opts?: ConnectionOption): Promise<NytCookingRateRecipeResult>;
|
|
36693
|
+
|
|
36694
|
+
/**
|
|
36695
|
+
* Reads the signed-in reader's own rating for a recipe, if one exists. Requires the caller to
|
|
36696
|
+
* be signed in to NYT — the run pauses for a login the first time this is called.
|
|
36697
|
+
*/
|
|
36698
|
+
getMyRating(args: NytCookingGetMyRatingArgs, opts?: ConnectionOption): Promise<NytCookingGetMyRatingResult>;
|
|
36699
|
+
|
|
36700
|
+
/**
|
|
36701
|
+
* Marks a recipe as cooked in the signed-in reader's Recipe Box. Requires the caller to be
|
|
36702
|
+
* signed in to NYT — the run pauses for a login the first time this is called.
|
|
36703
|
+
*/
|
|
36704
|
+
markRecipeCooked(args: NytCookingMarkRecipeCookedArgs, opts?: ConnectionOption): Promise<NytCookingMarkRecipeCookedResult>;
|
|
35716
36705
|
}
|
|
35717
36706
|
}
|
|
35718
36707
|
|
|
@@ -35752,8 +36741,6 @@ interface SportsConnectionsCard { content: string; position: number; }
|
|
|
35752
36741
|
interface SportsConnectionsCategory { title: string; cards: SportsConnectionsCard[]; }
|
|
35753
36742
|
interface NytSportsConnections { id: string; printDate: string; categories: SportsConnectionsCategory[]; difficulty: number | null; editor: string | null; hintUrl: string | null; }
|
|
35754
36743
|
interface GetSportsConnectionsArgs { date?: string; edition?: "sports-connections" | "soccer-connections"; }
|
|
35755
|
-
interface NytPlayerStatsData { states: unknown[]; }
|
|
35756
|
-
interface GetMyStatsArgs { game?: string; puzzleIds?: Array<number | string>; }
|
|
35757
36744
|
|
|
35758
36745
|
/**
|
|
35759
36746
|
* Access daily puzzles from The New York Times Games collection including Wordle, Connections,
|
|
@@ -35764,93 +36751,93 @@ interface GetMyStatsArgs { game?: string; puzzleIds?: Array<number | string>; }
|
|
|
35764
36751
|
* Reads one day's Wordle answer, puzzle number and editor. Defaults to today in New York; pass
|
|
35765
36752
|
* { date: "YYYY-MM-DD" } for any day since 2021-06-19.
|
|
35766
36753
|
*/
|
|
35767
|
-
getWordle(args?: GetWordleArgs): Promise<NytWordle>;
|
|
36754
|
+
getWordle(args?: GetWordleArgs, opts?: ConnectionOption): Promise<NytWordle>;
|
|
35768
36755
|
|
|
35769
36756
|
/**
|
|
35770
36757
|
* Retrieves the daily Connections puzzle with four category groupings and their cards.
|
|
35771
36758
|
* Defaults to today in New York; pass { date: "YYYY-MM-DD" } for any day.
|
|
35772
36759
|
*/
|
|
35773
|
-
getConnections(args?: GetConnectionsArgs): Promise<NytConnections>;
|
|
36760
|
+
getConnections(args?: GetConnectionsArgs, opts?: ConnectionOption): Promise<NytConnections>;
|
|
35774
36761
|
|
|
35775
36762
|
/**
|
|
35776
36763
|
* Retrieves the daily Spelling Bee puzzle with center letter, outer letters, valid answers and
|
|
35777
36764
|
* pangrams. Defaults to today in New York; pass { date: "YYYY-MM-DD" } for any day.
|
|
35778
36765
|
*/
|
|
35779
|
-
getSpellingBee(args?: GetSpellingBeeArgs): Promise<NytSpellingBee>;
|
|
36766
|
+
getSpellingBee(args?: GetSpellingBeeArgs, opts?: ConnectionOption): Promise<NytSpellingBee>;
|
|
35780
36767
|
|
|
35781
36768
|
/**
|
|
35782
36769
|
* Retrieves the daily Letter Boxed puzzle with the four letter sides, complete dictionary, and
|
|
35783
36770
|
* the official solution. Defaults to today in New York; pass { date: "YYYY-MM-DD" } for any
|
|
35784
36771
|
* day.
|
|
35785
36772
|
*/
|
|
35786
|
-
getLetterBoxed(args?: GetLetterBoxedArgs): Promise<NytLetterBoxed>;
|
|
36773
|
+
getLetterBoxed(args?: GetLetterBoxedArgs, opts?: ConnectionOption): Promise<NytLetterBoxed>;
|
|
35787
36774
|
|
|
35788
36775
|
/**
|
|
35789
36776
|
* Retrieves the daily Strands puzzle: theme words, spangram, clue, the letter board and each
|
|
35790
36777
|
* answer's board path. Defaults to today in New York; pass { date: "YYYY-MM-DD" } for any day.
|
|
35791
36778
|
*/
|
|
35792
|
-
getStrands(args?: GetStrandsArgs): Promise<NytStrands>;
|
|
36779
|
+
getStrands(args?: GetStrandsArgs, opts?: ConnectionOption): Promise<NytStrands>;
|
|
35793
36780
|
|
|
35794
36781
|
/**
|
|
35795
36782
|
* Retrieves the daily crossword: grid dimensions, editor, constructors, and every clue with
|
|
35796
36783
|
* its answer spelled out from the grid. Defaults to today in New York; the archive runs back
|
|
35797
36784
|
* to 1993.
|
|
35798
36785
|
*/
|
|
35799
|
-
getCrosswordDaily(args?: GetCrosswordDailyArgs): Promise<NytCrossword>;
|
|
36786
|
+
getCrosswordDaily(args?: GetCrosswordDailyArgs, opts?: ConnectionOption): Promise<NytCrossword>;
|
|
35800
36787
|
|
|
35801
36788
|
/**
|
|
35802
36789
|
* Retrieves the mini crossword: grid dimensions, editor, constructors, and every clue with its
|
|
35803
36790
|
* answer spelled out from the grid. Defaults to today in New York; the mini launched
|
|
35804
36791
|
* 2014-08-21.
|
|
35805
36792
|
*/
|
|
35806
|
-
getCrosswordMini(args?: GetCrosswordMiniArgs): Promise<NytCrossword>;
|
|
36793
|
+
getCrosswordMini(args?: GetCrosswordMiniArgs, opts?: ConnectionOption): Promise<NytCrossword>;
|
|
35807
36794
|
|
|
35808
36795
|
/**
|
|
35809
36796
|
* Retrieves the midi crossword: grid dimensions, editor, constructors, and every clue with its
|
|
35810
36797
|
* answer spelled out from the grid. Defaults to today in New York; the midi launched 2024-04.
|
|
35811
36798
|
*/
|
|
35812
|
-
getCrosswordMidi(args?: GetCrosswordMidiArgs): Promise<NytCrossword>;
|
|
36799
|
+
getCrosswordMidi(args?: GetCrosswordMidiArgs, opts?: ConnectionOption): Promise<NytCrossword>;
|
|
35813
36800
|
|
|
35814
36801
|
/**
|
|
35815
36802
|
* Retrieves the daily Pips puzzle: all three difficulties (easy, medium, hard), each with its
|
|
35816
36803
|
* dominoes, board regions and official solution. Defaults to today in New York; pass { date:
|
|
35817
36804
|
* "YYYY-MM-DD" } for any day.
|
|
35818
36805
|
*/
|
|
35819
|
-
getPips(args?: GetPipsArgs): Promise<NytPips>;
|
|
36806
|
+
getPips(args?: GetPipsArgs, opts?: ConnectionOption): Promise<NytPips>;
|
|
35820
36807
|
|
|
35821
36808
|
/**
|
|
35822
36809
|
* Retrieves today's Sudoku: all three difficulties (easy, medium, hard), each with its board
|
|
35823
36810
|
* (0 for a blank cell) and the official solution. NYT publishes Sudoku for today only — there
|
|
35824
36811
|
* is no dated archive, so this takes no arguments.
|
|
35825
36812
|
*/
|
|
35826
|
-
getSudoku(): Promise<NytSudoku>;
|
|
36813
|
+
getSudoku(opts?: ConnectionOption): Promise<NytSudoku>;
|
|
35827
36814
|
|
|
35828
36815
|
/**
|
|
35829
36816
|
* Retrieves today's Tiles puzzle with its name, creator, board color and every earlier
|
|
35830
36817
|
* palette. NYT publishes Tiles for today only — there is no dated archive, so this takes no
|
|
35831
36818
|
* arguments.
|
|
35832
36819
|
*/
|
|
35833
|
-
getTiles(): Promise<NytTiles>;
|
|
36820
|
+
getTiles(opts?: ConnectionOption): Promise<NytTiles>;
|
|
35834
36821
|
|
|
35835
36822
|
/**
|
|
35836
36823
|
* Lists all available crossword puzzles from NYT, including daily, mini, and midi, ordered by
|
|
35837
36824
|
* publication date (newest first). Each puzzle includes its ID, author, editor, title, and
|
|
35838
36825
|
* publication date.
|
|
35839
36826
|
*/
|
|
35840
|
-
listCrosswordPuzzles(): Promise<CrosswordPuzzleList>;
|
|
36827
|
+
listCrosswordPuzzles(opts?: ConnectionOption): Promise<CrosswordPuzzleList>;
|
|
35841
36828
|
|
|
35842
36829
|
/**
|
|
35843
36830
|
* Retrieves a historical crossword puzzle from the archive dating back to 1995. Requires {
|
|
35844
36831
|
* date: "YYYY-MM-DD" }.
|
|
35845
36832
|
*/
|
|
35846
|
-
getCrosswordArchive(args: GetCrosswordArchiveArgs): Promise<NytCrossword>;
|
|
36833
|
+
getCrosswordArchive(args: GetCrosswordArchiveArgs, opts?: ConnectionOption): Promise<NytCrossword>;
|
|
35847
36834
|
|
|
35848
36835
|
/**
|
|
35849
36836
|
* Lists this week's Bonus Puzzles drop (Wordle in 1, Connections 3x3, Colorful Strands, a
|
|
35850
36837
|
* mystery mini and more), each with its title, constructors, editors and page URL. Defaults to
|
|
35851
36838
|
* the most recent drop; pass { dropDate: "YYYY-MM-DD" } for an earlier week.
|
|
35852
36839
|
*/
|
|
35853
|
-
listBonusPuzzles(args?: ListBonusPuzzlesArgs): Promise<BonusPuzzlesWeek>;
|
|
36840
|
+
listBonusPuzzles(args?: ListBonusPuzzlesArgs, opts?: ConnectionOption): Promise<BonusPuzzlesWeek>;
|
|
35854
36841
|
|
|
35855
36842
|
/**
|
|
35856
36843
|
* Retrieves the daily Sports Connections puzzle with four category groupings and their cards.
|
|
@@ -35858,14 +36845,7 @@ interface GetMyStatsArgs { game?: string; puzzleIds?: Array<number | string>; }
|
|
|
35858
36845
|
* in New York and the standard edition; pass { date: "YYYY-MM-DD", edition:
|
|
35859
36846
|
* "soccer-connections" } to customize.
|
|
35860
36847
|
*/
|
|
35861
|
-
getSportsConnections(args?: GetSportsConnectionsArgs): Promise<NytSportsConnections>;
|
|
35862
|
-
|
|
35863
|
-
/**
|
|
35864
|
-
* The signed-in player's saved game state for one puzzle (stats and streaks live inside it) —
|
|
35865
|
-
* defaults to { game: "wordleV2" }. Requires the caller to be signed in to NYT — the run
|
|
35866
|
-
* pauses for a login the first time this is called.
|
|
35867
|
-
*/
|
|
35868
|
-
getMyStats(args?: GetMyStatsArgs, opts?: ConnectionOption): Promise<NytPlayerStatsData>;
|
|
36848
|
+
getSportsConnections(args?: GetSportsConnectionsArgs, opts?: ConnectionOption): Promise<NytSportsConnections>;
|
|
35869
36849
|
}
|
|
35870
36850
|
}
|
|
35871
36851
|
|
|
@@ -36150,12 +37130,12 @@ interface NytimesSpellingBeePuzzle {
|
|
|
36150
37130
|
*/
|
|
36151
37131
|
getNewsletter(slug: string): Promise<NytimesNewsletter>;
|
|
36152
37132
|
|
|
36153
|
-
/** Lists NYT's own podcasts
|
|
37133
|
+
/** Lists NYT's own podcasts off its /spotlight/podcasts page. */
|
|
36154
37134
|
listPodcasts(): Promise<NytimesPodcast[]>;
|
|
36155
37135
|
|
|
36156
37136
|
/**
|
|
36157
|
-
* Gets one podcast's own details (title, description
|
|
36158
|
-
* "the-daily" (from listPodcasts) or a path like "/podcasts/the-daily".
|
|
37137
|
+
* Gets one podcast's own details (title, description) off its /column/<slug> page. Takes a
|
|
37138
|
+
* podcast slug like "the-daily" (from listPodcasts) or a path like "/podcasts/the-daily".
|
|
36159
37139
|
*/
|
|
36160
37140
|
getPodcast(slug: string): Promise<NytimesPodcast>;
|
|
36161
37141
|
|
|
@@ -36217,6 +37197,120 @@ interface OandaConversion {
|
|
|
36217
37197
|
}
|
|
36218
37198
|
}
|
|
36219
37199
|
|
|
37200
|
+
declare namespace BowmarkProvider_old_navy {
|
|
37201
|
+
// ── Old Navy — the unit's own declarations, verbatim ──
|
|
37202
|
+
interface OldNavySearchArgs {
|
|
37203
|
+
query: string;
|
|
37204
|
+
department?: "men" | "women";
|
|
37205
|
+
inStockOnly?: boolean;
|
|
37206
|
+
onSaleOnly?: boolean;
|
|
37207
|
+
limit?: number; // default 24, max 2000; the search walks result pages until it has this many
|
|
37208
|
+
country?: "us" | "ca"; // which store; default "us". "ca" = oldnavy.gapcanada.ca, prices in CAD
|
|
37209
|
+
}
|
|
37210
|
+
interface OldNavySearchHit {
|
|
37211
|
+
styleId: string;
|
|
37212
|
+
ccId: string; // pass to getProduct (or pass the whole hit, which carries its country)
|
|
37213
|
+
country: "us" | "ca";
|
|
37214
|
+
currency: string; // "USD" | "CAD"
|
|
37215
|
+
url: string; // opens this color
|
|
37216
|
+
title: string;
|
|
37217
|
+
color: string | null;
|
|
37218
|
+
colorDescription: string | null;
|
|
37219
|
+
productType: string | null; // e.g. "mens shirts"
|
|
37220
|
+
price: number | null; // what it costs now
|
|
37221
|
+
regularPrice: number | null; // compare-at
|
|
37222
|
+
percentOff: number | null;
|
|
37223
|
+
onSale: boolean;
|
|
37224
|
+
inStock: boolean; // "In Stock", "Low" and "Very Low" are all in stock
|
|
37225
|
+
lowStock: boolean; // "Low" / "Very Low"
|
|
37226
|
+
inventoryStatus: string | null; // "In Stock" | "Low" | "Very Low" | …
|
|
37227
|
+
reviewScore: number | null;
|
|
37228
|
+
reviewCount: number | null;
|
|
37229
|
+
image: string | null; // this color's product photo
|
|
37230
|
+
}
|
|
37231
|
+
interface OldNavySearchResult {
|
|
37232
|
+
query: string;
|
|
37233
|
+
department: "Men" | "Women" | null;
|
|
37234
|
+
country: "us" | "ca";
|
|
37235
|
+
currency: string;
|
|
37236
|
+
total: number; // colors the site matched, before inStockOnly/onSaleOnly/limit
|
|
37237
|
+
pagesRead: number;
|
|
37238
|
+
pageCount: number; // result pages the site has for this query (200 colors each)
|
|
37239
|
+
hasMore: boolean; // true when more matching colors exist past `limit`
|
|
37240
|
+
hits: OldNavySearchHit[];
|
|
37241
|
+
warnings: string[]; // a results page that failed after the first; empty when complete
|
|
37242
|
+
}
|
|
37243
|
+
interface OldNavySku {
|
|
37244
|
+
skuId: string;
|
|
37245
|
+
fit: string; // "REGULAR", "TALL", "PETITE", …
|
|
37246
|
+
ccId: string;
|
|
37247
|
+
color: string | null;
|
|
37248
|
+
size: string | null;
|
|
37249
|
+
size2: string | null; // second size dimension (e.g. inseam), when the product has one
|
|
37250
|
+
price: number | null;
|
|
37251
|
+
regularPrice: number | null;
|
|
37252
|
+
percentOff: number | null;
|
|
37253
|
+
onSale: boolean;
|
|
37254
|
+
inStock: boolean;
|
|
37255
|
+
lowStock: boolean;
|
|
37256
|
+
status: string | null; // "IN_STOCK" | "OUT_OF_STOCK" | …
|
|
37257
|
+
}
|
|
37258
|
+
interface OldNavyColor {
|
|
37259
|
+
ccId: string;
|
|
37260
|
+
color: string | null;
|
|
37261
|
+
fit: string;
|
|
37262
|
+
url: string; // opens this color
|
|
37263
|
+
price: number | null;
|
|
37264
|
+
regularPrice: number | null;
|
|
37265
|
+
percentOff: number | null;
|
|
37266
|
+
onSale: boolean;
|
|
37267
|
+
inStock: boolean;
|
|
37268
|
+
sizesInStock: string[];
|
|
37269
|
+
sizesOutOfStock: string[];
|
|
37270
|
+
image: string | null; // main photo of this color
|
|
37271
|
+
images: string[]; // main photo first, then the alternate views
|
|
37272
|
+
swatch: string | null; // fabric swatch
|
|
37273
|
+
}
|
|
37274
|
+
interface OldNavyProduct {
|
|
37275
|
+
styleId: string;
|
|
37276
|
+
ccId: string;
|
|
37277
|
+
country: "us" | "ca";
|
|
37278
|
+
currency: string; // every price on this product is in this currency
|
|
37279
|
+
url: string;
|
|
37280
|
+
title: string;
|
|
37281
|
+
fits: string[];
|
|
37282
|
+
sizes: string[];
|
|
37283
|
+
colors: OldNavyColor[];
|
|
37284
|
+
skus: OldNavySku[];
|
|
37285
|
+
inStock: boolean;
|
|
37286
|
+
}
|
|
37287
|
+
|
|
37288
|
+
/**
|
|
37289
|
+
* Old Navy (oldnavy.gap.com, and the Canadian store oldnavy.gapcanada.ca) family clothing
|
|
37290
|
+
* store. Searches the live catalog (men's/women's, on-sale, in-stock, with sale and regular
|
|
37291
|
+
* prices, every page) and reads one product's per-size, per-color price, live stock and
|
|
37292
|
+
* photos. Pass country: "ca" for the Canadian store in CAD.
|
|
37293
|
+
*/
|
|
37294
|
+
interface Unit {
|
|
37295
|
+
/**
|
|
37296
|
+
* Searches Old Navy's live apparel catalog the way a shopper would ("button up shirt"),
|
|
37297
|
+
* optionally narrowed to men/women, on-sale and in-stock only, walking result pages until
|
|
37298
|
+
* `limit` is met, from the US store or (country: "ca") the Canadian one in CAD. One row per
|
|
37299
|
+
* product color with sale price, regular (compare-at) price, percent off, stock, a photo, and
|
|
37300
|
+
* the ccId getProduct takes. The way in.
|
|
37301
|
+
*/
|
|
37302
|
+
searchProducts(args: OldNavySearchArgs | string): Promise<OldNavySearchResult>;
|
|
37303
|
+
|
|
37304
|
+
/**
|
|
37305
|
+
* Reads one Old Navy product's every fit × color × size SKU with its price, regular price and
|
|
37306
|
+
* live in-stock flag, plus per-color in-stock and sold-out size lists and photos, so a
|
|
37307
|
+
* sold-out size is never shown. Takes the hit, ccId or url searchProducts returns; a Canadian
|
|
37308
|
+
* ccId needs country: "ca" (a hit or url carries it).
|
|
37309
|
+
*/
|
|
37310
|
+
getProduct(product: string | { ccId: string; country?: "us" | "ca" } | OldNavySearchHit): Promise<OldNavyProduct>;
|
|
37311
|
+
}
|
|
37312
|
+
}
|
|
37313
|
+
|
|
36220
37314
|
declare namespace BowmarkProvider_oliverwinery {
|
|
36221
37315
|
// ── Oliver Winery — the unit's own declarations, verbatim ──
|
|
36222
37316
|
interface OliverwineryWine {
|
|
@@ -39355,6 +40449,81 @@ interface CoverageRegion {
|
|
|
39355
40449
|
}
|
|
39356
40450
|
}
|
|
39357
40451
|
|
|
40452
|
+
declare namespace BowmarkProvider_pullandbear {
|
|
40453
|
+
// ── Pull&Bear — the unit's own declarations, verbatim ──
|
|
40454
|
+
interface PullAndBearCategory { id: string; gender: "men" | "women"; title: string; keyword: string }
|
|
40455
|
+
interface PullAndBearSearchArgs {
|
|
40456
|
+
/** Shopper words — "jacket", "puffer jacket". Matched against the site's own category names. */
|
|
40457
|
+
query?: string;
|
|
40458
|
+
gender?: "men" | "women";
|
|
40459
|
+
/** A category id from listCategories(); overrides the word match. */
|
|
40460
|
+
category?: string;
|
|
40461
|
+
/** Size label as Pull&Bear prints it: "M", "XL", "32". */
|
|
40462
|
+
size?: string;
|
|
40463
|
+
onSaleOnly?: boolean;
|
|
40464
|
+
inStockOnly?: boolean;
|
|
40465
|
+
/** 1-50, default 20. */
|
|
40466
|
+
limit?: number;
|
|
40467
|
+
}
|
|
40468
|
+
interface PullAndBearSize { sizeId: string; label: string; inStock: boolean; backSoon: boolean }
|
|
40469
|
+
interface PullAndBearColor {
|
|
40470
|
+
colorId: string;
|
|
40471
|
+
/** The site's own Spanish colour name — no English label exists on this door. */
|
|
40472
|
+
label: string;
|
|
40473
|
+
price: number | null;
|
|
40474
|
+
/** Pull&Bear's previous price when the colour is marked down; null when it is not. */
|
|
40475
|
+
compareAtPrice: number | null;
|
|
40476
|
+
discountPercent: number | null;
|
|
40477
|
+
onSale: boolean;
|
|
40478
|
+
sizes: PullAndBearSize[];
|
|
40479
|
+
}
|
|
40480
|
+
interface PullAndBearProduct {
|
|
40481
|
+
productId: string;
|
|
40482
|
+
name: string;
|
|
40483
|
+
url: string;
|
|
40484
|
+
gender: "men" | "women";
|
|
40485
|
+
colors: PullAndBearColor[];
|
|
40486
|
+
minPrice: number | null;
|
|
40487
|
+
onSale: boolean;
|
|
40488
|
+
inStock: boolean;
|
|
40489
|
+
}
|
|
40490
|
+
interface PullAndBearSearchResult {
|
|
40491
|
+
category: PullAndBearCategory;
|
|
40492
|
+
totalInCategory: number;
|
|
40493
|
+
hits: PullAndBearProduct[];
|
|
40494
|
+
/** Listed products that could not be read; empty on a whole answer. */
|
|
40495
|
+
warnings: string[];
|
|
40496
|
+
}
|
|
40497
|
+
|
|
40498
|
+
/**
|
|
40499
|
+
* Pull&Bear (pullandbear.com) fast-fashion store, US catalog. Lists a men's/women's category
|
|
40500
|
+
* (jackets, jeans, t-shirts…) with per-colour price, sale compare-at price and per-size stock,
|
|
40501
|
+
* filtered by size, on-sale and in-stock; and reads one product's colours and sizes.
|
|
40502
|
+
*/
|
|
40503
|
+
interface Unit {
|
|
40504
|
+
/**
|
|
40505
|
+
* Lists Pull&Bear's US catalog categories (jackets, jeans, t-shirts…), read live off the
|
|
40506
|
+
* site's own navigation, with the ids searchProducts takes.
|
|
40507
|
+
*/
|
|
40508
|
+
listCategories(args?: { gender?: "men" | "women" }): Promise<PullAndBearCategory[]>;
|
|
40509
|
+
|
|
40510
|
+
/**
|
|
40511
|
+
* Searches Pull&Bear's apparel catalog for what a shopper asks ("jacket", "puffer jacket") and
|
|
40512
|
+
* returns each product with every colour's price, sale compare-at price and per-size stock —
|
|
40513
|
+
* filterable to a size, on-sale and in-stock only. The way in; returns the productId
|
|
40514
|
+
* getProduct takes.
|
|
40515
|
+
*/
|
|
40516
|
+
searchProducts(args: PullAndBearSearchArgs | string): Promise<PullAndBearSearchResult>;
|
|
40517
|
+
|
|
40518
|
+
/**
|
|
40519
|
+
* Reads one Pull&Bear product's colours and sizes with each colour's price, compare-at price
|
|
40520
|
+
* and live per-size stock, so a sold-out size is never shown. Gender is optional — omitted, it
|
|
40521
|
+
* tries both stores.
|
|
40522
|
+
*/
|
|
40523
|
+
getProduct(arg: string | { productId: string; gender?: "men" | "women" }): Promise<PullAndBearProduct>;
|
|
40524
|
+
}
|
|
40525
|
+
}
|
|
40526
|
+
|
|
39358
40527
|
declare namespace BowmarkProvider_puls_com {
|
|
39359
40528
|
// ── Puls — the unit's own declarations, verbatim ──
|
|
39360
40529
|
interface PulsApplianceCategory {
|
|
@@ -39401,17 +40570,30 @@ interface GetRepairQuoteResult {
|
|
|
39401
40570
|
|
|
39402
40571
|
declare namespace BowmarkProvider_quince {
|
|
39403
40572
|
// ── Quince — the unit's own declarations, verbatim ──
|
|
40573
|
+
type QuinceCountry = "us" | "ca";
|
|
39404
40574
|
interface QuinceSearchArgs {
|
|
39405
40575
|
query: string;
|
|
39406
40576
|
gender?: "men" | "women";
|
|
39407
40577
|
size?: string;
|
|
39408
40578
|
inStockOnly?: boolean;
|
|
39409
40579
|
limit?: number;
|
|
40580
|
+
/** Which store: "us" (default, USD) or "ca" (Canadian store, CAD, a smaller catalogue). */
|
|
40581
|
+
country?: QuinceCountry;
|
|
40582
|
+
}
|
|
40583
|
+
interface QuinceProductRef {
|
|
40584
|
+
/** A handle or quince.com URL; a /ca/ URL implies country "ca". */
|
|
40585
|
+
handle?: string;
|
|
40586
|
+
url?: string;
|
|
40587
|
+
country?: QuinceCountry;
|
|
39410
40588
|
}
|
|
39411
40589
|
interface QuinceSearchHit {
|
|
39412
40590
|
productId: number;
|
|
39413
40591
|
handle: string;
|
|
40592
|
+
/** The product page in this hit's store: https://www.quince.com/ca/... for Canada. */
|
|
39414
40593
|
url: string;
|
|
40594
|
+
country: QuinceCountry;
|
|
40595
|
+
/** "USD" or "CAD": the currency minPrice and maxPrice are in. */
|
|
40596
|
+
currency: string;
|
|
39415
40597
|
title: string;
|
|
39416
40598
|
color: string | null;
|
|
39417
40599
|
department: string | null;
|
|
@@ -39425,6 +40607,8 @@ interface QuinceSearchHit {
|
|
|
39425
40607
|
}
|
|
39426
40608
|
interface QuinceSearchResult {
|
|
39427
40609
|
query: string;
|
|
40610
|
+
country: QuinceCountry;
|
|
40611
|
+
currency: string;
|
|
39428
40612
|
total: number;
|
|
39429
40613
|
hits: QuinceSearchHit[];
|
|
39430
40614
|
}
|
|
@@ -39445,6 +40629,9 @@ interface QuinceProduct {
|
|
|
39445
40629
|
productId: number;
|
|
39446
40630
|
handle: string;
|
|
39447
40631
|
url: string;
|
|
40632
|
+
country: QuinceCountry;
|
|
40633
|
+
/** "USD" or "CAD": the currency every variant's price and traditionalRetailPrice is in. */
|
|
40634
|
+
currency: string;
|
|
39448
40635
|
title: string;
|
|
39449
40636
|
productType: string | null;
|
|
39450
40637
|
gender: string | null;
|
|
@@ -39456,22 +40643,25 @@ interface QuinceProduct {
|
|
|
39456
40643
|
|
|
39457
40644
|
/**
|
|
39458
40645
|
* Quince (quince.com) apparel and home store. Searches the live catalog (men's/women's, size,
|
|
39459
|
-
* in-stock) and reads one product's per-variant size, color, price and live stock.
|
|
40646
|
+
* in-stock) and reads one product's per-variant size, color, price and live stock. US store by
|
|
40647
|
+
* default; country "ca" reads the Canadian store in CAD.
|
|
39460
40648
|
*/
|
|
39461
40649
|
interface Unit {
|
|
39462
40650
|
/**
|
|
39463
40651
|
* Searches Quince's live apparel catalog the way a shopper would ("men's sweater", "cashmere
|
|
39464
40652
|
* crewneck"), optionally narrowed to men/women, a size and in-stock only. Returns one row per
|
|
39465
|
-
* product color with its price and the handle getProduct takes.
|
|
40653
|
+
* product color with its price and the handle getProduct takes. US store by default; country:
|
|
40654
|
+
* "ca" searches the Canadian store, prices in CAD, /ca/ URLs. The way in.
|
|
39466
40655
|
*/
|
|
39467
40656
|
searchProducts(args: QuinceSearchArgs | string): Promise<QuinceSearchResult>;
|
|
39468
40657
|
|
|
39469
40658
|
/**
|
|
39470
40659
|
* Reads one Quince product page's per-variant (color × size) price, traditional-retail
|
|
39471
40660
|
* comparison price, savings and live stock count, so a sold-out size is never shown. Takes the
|
|
39472
|
-
* handle or URL searchProducts returns
|
|
40661
|
+
* handle or URL searchProducts returns, or the hit itself; a /ca/ URL or { handle, country:
|
|
40662
|
+
* "ca" } reads the Canadian store in CAD, whose variants have their own ids and stock.
|
|
39473
40663
|
*/
|
|
39474
|
-
getProduct(handle: string): Promise<QuinceProduct>;
|
|
40664
|
+
getProduct(handle: string | QuinceProductRef): Promise<QuinceProduct>;
|
|
39475
40665
|
}
|
|
39476
40666
|
}
|
|
39477
40667
|
|
|
@@ -39501,6 +40691,41 @@ interface GetQuestionArgs {
|
|
|
39501
40691
|
url?: string;
|
|
39502
40692
|
title?: string;
|
|
39503
40693
|
}
|
|
40694
|
+
interface QuoraProfile {
|
|
40695
|
+
id: string;
|
|
40696
|
+
name: string;
|
|
40697
|
+
displayName: string;
|
|
40698
|
+
bio?: string;
|
|
40699
|
+
credentialText?: string;
|
|
40700
|
+
followerCount?: number;
|
|
40701
|
+
answerCount?: number;
|
|
40702
|
+
questionCount?: number;
|
|
40703
|
+
spaces?: Array<{
|
|
40704
|
+
id: string;
|
|
40705
|
+
name: string;
|
|
40706
|
+
description?: string;
|
|
40707
|
+
}>;
|
|
40708
|
+
}
|
|
40709
|
+
interface GetProfileArgs {
|
|
40710
|
+
url?: string;
|
|
40711
|
+
name?: string;
|
|
40712
|
+
}
|
|
40713
|
+
interface QuoraSpace {
|
|
40714
|
+
id: string;
|
|
40715
|
+
name: string;
|
|
40716
|
+
description?: string;
|
|
40717
|
+
memberCount?: number;
|
|
40718
|
+
followCount?: number;
|
|
40719
|
+
questions?: Array<{
|
|
40720
|
+
id: string;
|
|
40721
|
+
title: string;
|
|
40722
|
+
url: string;
|
|
40723
|
+
}>;
|
|
40724
|
+
}
|
|
40725
|
+
interface GetSpaceArgs {
|
|
40726
|
+
url?: string;
|
|
40727
|
+
name?: string;
|
|
40728
|
+
}
|
|
39504
40729
|
|
|
39505
40730
|
/**
|
|
39506
40731
|
* A question-and-answer site: questions and their answers, member profiles and Spaces, and
|
|
@@ -39514,6 +40739,72 @@ interface GetQuestionArgs {
|
|
|
39514
40739
|
* its exact title text.
|
|
39515
40740
|
*/
|
|
39516
40741
|
getQuestion(args: GetQuestionArgs): Promise<QuoraQuestion>;
|
|
40742
|
+
|
|
40743
|
+
/**
|
|
40744
|
+
* Reads a member's public profile — display name, bio, credential, follower count, answer
|
|
40745
|
+
* count, question count, and their Spaces — taking a Quora profile URL or the name as it
|
|
40746
|
+
* appears in the URL.
|
|
40747
|
+
*/
|
|
40748
|
+
getProfile(args: GetProfileArgs): Promise<QuoraProfile>;
|
|
40749
|
+
|
|
40750
|
+
/**
|
|
40751
|
+
* Reads one Space — its name, description, member count, and its most recent questions —
|
|
40752
|
+
* taking a Space URL or name (e.g., 'technology' or 'https://technology.quora.com').
|
|
40753
|
+
*/
|
|
40754
|
+
getSpace(args: GetSpaceArgs): Promise<QuoraSpace>;
|
|
40755
|
+
}
|
|
40756
|
+
}
|
|
40757
|
+
|
|
40758
|
+
declare namespace BowmarkProvider_raadvanstate_nl {
|
|
40759
|
+
// ── Raad van State — the unit's own declarations, verbatim ──
|
|
40760
|
+
interface RaadvanstateRulingHit {
|
|
40761
|
+
caseNumber: string; // e.g. "202304490/1/R3"
|
|
40762
|
+
ecli: string | null; // e.g. "ECLI:NL:RVS:2026:5911" — pass to getRuling
|
|
40763
|
+
date: string | null; // as printed, e.g. "7 oktober 2026"
|
|
40764
|
+
summary: string | null;
|
|
40765
|
+
tags: string[]; // e.g. ["Eerste aanleg - meervoudig", "RO - Friesland"]
|
|
40766
|
+
url: string;
|
|
40767
|
+
}
|
|
40768
|
+
interface RaadvanstateSearchResult {
|
|
40769
|
+
query: string;
|
|
40770
|
+
page: number; // zero-based
|
|
40771
|
+
total: number | null; // total hits for the query
|
|
40772
|
+
rulings: RaadvanstateRulingHit[]; // up to 10 per page
|
|
40773
|
+
}
|
|
40774
|
+
interface RaadvanstateRuling {
|
|
40775
|
+
ecli: string;
|
|
40776
|
+
caseNumber: string | null;
|
|
40777
|
+
date: string | null; // ISO, e.g. "2026-10-07"
|
|
40778
|
+
published: string | null; // ISO
|
|
40779
|
+
court: string | null;
|
|
40780
|
+
procedure: string | null;
|
|
40781
|
+
subject: string | null; // area of law, e.g. "Bestuursrecht"
|
|
40782
|
+
title: string | null;
|
|
40783
|
+
summary: string | null; // the court's inhoudsindicatie
|
|
40784
|
+
text: string; // full ruling, one paragraph per line
|
|
40785
|
+
url: string;
|
|
40786
|
+
}
|
|
40787
|
+
|
|
40788
|
+
/**
|
|
40789
|
+
* Searches the Dutch Council of State's (Raad van State) case register of administrative-court
|
|
40790
|
+
* rulings and reads any ruling in full by ECLI — no key, no browser.
|
|
40791
|
+
*/
|
|
40792
|
+
interface Unit {
|
|
40793
|
+
/**
|
|
40794
|
+
* Searches the Raad van State (Dutch Council of State) case register — the rulings of the
|
|
40795
|
+
* Netherlands' highest administrative court — and returns ten hits per page, newest first,
|
|
40796
|
+
* each with case number, ECLI, ruling date, summary and tags. `query` is a keyword (Dutch
|
|
40797
|
+
* works best: "omgevingsvergunning", "stikstof", "vreemdelingen") or a case number like
|
|
40798
|
+
* "202304490/1/R3". `page` is zero-based. Pass a hit's `ecli` to getRuling for the full text.
|
|
40799
|
+
*/
|
|
40800
|
+
searchRulings(query: string, page?: number): Promise<RaadvanstateSearchResult>;
|
|
40801
|
+
|
|
40802
|
+
/**
|
|
40803
|
+
* Reads one Raad van State ruling in full by its ECLI (e.g. "ECLI:NL:RVS:2026:5911", as
|
|
40804
|
+
* returned by searchRulings) — case number, dates, procedure, area of law, the court's summary
|
|
40805
|
+
* and the complete ruling text, from the Dutch judiciary's open-data service.
|
|
40806
|
+
*/
|
|
40807
|
+
getRuling(ecli: string): Promise<RaadvanstateRuling>;
|
|
39517
40808
|
}
|
|
39518
40809
|
}
|
|
39519
40810
|
|
|
@@ -43759,6 +45050,7 @@ interface ListNewsResponse {
|
|
|
43759
45050
|
}
|
|
43760
45051
|
|
|
43761
45052
|
interface GetNewsItemArgs {
|
|
45053
|
+
appid: string | number;
|
|
43762
45054
|
newsId: string;
|
|
43763
45055
|
}
|
|
43764
45056
|
|
|
@@ -43838,6 +45130,13 @@ interface GetWishlistResponse {
|
|
|
43838
45130
|
appids: string[];
|
|
43839
45131
|
}
|
|
43840
45132
|
|
|
45133
|
+
interface GetLibraryArgs {
|
|
45134
|
+
}
|
|
45135
|
+
|
|
45136
|
+
interface GetLibraryResponse {
|
|
45137
|
+
appids: string[];
|
|
45138
|
+
}
|
|
45139
|
+
|
|
43841
45140
|
interface RemoveFromWishlistArgs {
|
|
43842
45141
|
appid: string | number;
|
|
43843
45142
|
}
|
|
@@ -43909,8 +45208,8 @@ interface RemoveFromWishlistResult {
|
|
|
43909
45208
|
listNews(args: ListNewsArgs): Promise<ListNewsResponse>;
|
|
43910
45209
|
|
|
43911
45210
|
/**
|
|
43912
|
-
* Fetches the full text of a specific news article by
|
|
43913
|
-
* publication date, and complete
|
|
45211
|
+
* Fetches the full text of a specific news article by appid and id (both from listNews or
|
|
45212
|
+
* searchNews results), including title, author, publication date, and complete content.
|
|
43914
45213
|
*/
|
|
43915
45214
|
getNewsItem(args: GetNewsItemArgs): Promise<NewsItemResponse>;
|
|
43916
45215
|
|
|
@@ -43951,6 +45250,12 @@ interface RemoveFromWishlistResult {
|
|
|
43951
45250
|
* their wishlist, by appid. NEEDS A SIGN-IN — the caller signs in, not us.
|
|
43952
45251
|
*/
|
|
43953
45252
|
getWishlist(args: GetWishlistArgs, opts?: ConnectionOption): Promise<GetWishlistResponse>;
|
|
45253
|
+
|
|
45254
|
+
/**
|
|
45255
|
+
* Fetches the signed-in caller's owned-games library — the appid of every game they own, off
|
|
45256
|
+
* the same userdata door getWishlist reads. NEEDS A SIGN-IN — the caller signs in, not us.
|
|
45257
|
+
*/
|
|
45258
|
+
getLibrary(args: GetLibraryArgs, opts?: ConnectionOption): Promise<GetLibraryResponse>;
|
|
43954
45259
|
}
|
|
43955
45260
|
}
|
|
43956
45261
|
|
|
@@ -44475,8 +45780,11 @@ interface TargetProduct {
|
|
|
44475
45780
|
title: string;
|
|
44476
45781
|
brand: string | null;
|
|
44477
45782
|
description: string | null;
|
|
44478
|
-
price: number | null;
|
|
45783
|
+
price: number | null; // the shelf price a non-member pays — same figure search returns
|
|
44479
45784
|
wasPrice: number | null;
|
|
45785
|
+
unitPrice: number | null; // the site's per-unit figure ("$0.32/ounce"), never a substitute for price
|
|
45786
|
+
unitPriceUnit: string | null; // what unitPrice is per, the site's own word ("ounce")
|
|
45787
|
+
circlePrice: number | null; // Target Circle members-only deal, when shown
|
|
44480
45788
|
primaryImage: ProductImage | null;
|
|
44481
45789
|
images: ProductImage[];
|
|
44482
45790
|
availabilityStatus: string | null; // the site's own labels — read the values off a result, never guess one from prose
|
|
@@ -44485,6 +45793,22 @@ interface TargetProduct {
|
|
|
44485
45793
|
warnings: string[];
|
|
44486
45794
|
}
|
|
44487
45795
|
|
|
45796
|
+
interface TargetReviewPhoto {
|
|
45797
|
+
url: string; // a shopper's own photo (scene7 GUEST_ image), not a catalog shot
|
|
45798
|
+
rating: number | null; // 1-5 stars on the review it came with
|
|
45799
|
+
submittedAt: string | null; // ISO timestamp
|
|
45800
|
+
reviewId: string;
|
|
45801
|
+
reviewTitle: string | null;
|
|
45802
|
+
reviewText: string | null;
|
|
45803
|
+
}
|
|
45804
|
+
|
|
45805
|
+
interface TargetReviewPhotos {
|
|
45806
|
+
tcin: string;
|
|
45807
|
+
photos: TargetReviewPhoto[]; // newest review first; one row per photo
|
|
45808
|
+
reviewsWithPhotos: number | null; // the site's count of reviews carrying a photo
|
|
45809
|
+
warnings: string[];
|
|
45810
|
+
}
|
|
45811
|
+
|
|
44488
45812
|
/**
|
|
44489
45813
|
* Big-box general merchandise — search, product detail, store stock and store lookup on
|
|
44490
45814
|
* target.com.
|
|
@@ -44516,6 +45840,14 @@ interface TargetProduct {
|
|
|
44516
45840
|
* returns each store's id, slug, name, address, phone, time-zone and 14-day weekly hours.
|
|
44517
45841
|
*/
|
|
44518
45842
|
findStore(args: { query: string }): Promise<TargetStoreSearch>;
|
|
45843
|
+
|
|
45844
|
+
/**
|
|
45845
|
+
* Returns customer review photos for one product — the real-world pictures shoppers attached
|
|
45846
|
+
* to their reviews, as opposed to the catalog images `getProduct` returns — newest review
|
|
45847
|
+
* first, one row per photo with the image URL, the review's star rating, submission date,
|
|
45848
|
+
* title and text. Takes a TCIN from `search`. `limit` defaults to 20, max 200.
|
|
45849
|
+
*/
|
|
45850
|
+
reviewPhotos(args: { tcin: string; limit?: number }): Promise<TargetReviewPhotos>;
|
|
44519
45851
|
}
|
|
44520
45852
|
}
|
|
44521
45853
|
|
|
@@ -47597,6 +48929,10 @@ interface ListChannelClipsArgs {
|
|
|
47597
48929
|
/** Max clips to return, 1-100. Default 20. */
|
|
47598
48930
|
limit?: number;
|
|
47599
48931
|
}
|
|
48932
|
+
interface GetClipArgs {
|
|
48933
|
+
/** A Twitch clip slug — a clips.twitch.tv url, a twitch.tv/<login>/clip/<slug> url, or the slug alone. */
|
|
48934
|
+
slug: string;
|
|
48935
|
+
}
|
|
47600
48936
|
interface TwitchClip {
|
|
47601
48937
|
id: string;
|
|
47602
48938
|
title: string;
|
|
@@ -47773,6 +49109,13 @@ interface TwitchFollowChannelResult {
|
|
|
47773
49109
|
*/
|
|
47774
49110
|
listChannelClips(args: ListChannelClipsArgs): Promise<TwitchClip[]>;
|
|
47775
49111
|
|
|
49112
|
+
/**
|
|
49113
|
+
* Reads one clip by its slug from clips.twitch.tv or twitch.tv/<login>/clip/<slug>: title,
|
|
49114
|
+
* creation date, view count, duration, who cut it, and the category being played. Keyless,
|
|
49115
|
+
* same door as listChannelClips. THROWS naming the slug when Twitch has no such clip.
|
|
49116
|
+
*/
|
|
49117
|
+
getClip(args: GetClipArgs): Promise<TwitchClip>;
|
|
49118
|
+
|
|
47776
49119
|
/**
|
|
47777
49120
|
* Reads a channel's scheduled broadcast times and upcoming events (if public). Returns an
|
|
47778
49121
|
* empty list if the channel has no public schedule. No sign-in. THROWS naming the login when
|
|
@@ -48070,6 +49413,120 @@ interface UlrichPriceResult {
|
|
|
48070
49413
|
}
|
|
48071
49414
|
}
|
|
48072
49415
|
|
|
49416
|
+
declare namespace BowmarkProvider_uniqlo {
|
|
49417
|
+
// ── Uniqlo — the unit's own declarations, verbatim ──
|
|
49418
|
+
interface UniqloSearchArgs {
|
|
49419
|
+
query?: string; // a query, a department, or both
|
|
49420
|
+
department?: "men" | "women" | "kids" | "baby"; // department alone lists the whole department
|
|
49421
|
+
onSaleOnly?: boolean; // the site's own Sale filter
|
|
49422
|
+
limit?: number; // default 24, max 1000; the search walks result pages until it has this many
|
|
49423
|
+
country?: "us" | "ca"; // which store: "us" (default, USD) or "ca" (Canada, CAD prices and Canadian stock)
|
|
49424
|
+
}
|
|
49425
|
+
interface UniqloColorRef {
|
|
49426
|
+
code: string; // color display code, e.g. "69"
|
|
49427
|
+
name: string | null; // "NAVY"
|
|
49428
|
+
image: string | null; // this color's product photo
|
|
49429
|
+
}
|
|
49430
|
+
interface UniqloSearchHit {
|
|
49431
|
+
productId: string; // pass with priceGroup to getProduct (or pass the hit itself)
|
|
49432
|
+
priceGroup: string; // "00" full price, "01"/"02" a reduced price for select colors/sizes
|
|
49433
|
+
country: "us" | "ca"; // the store this hit came from; getProduct(hit) reads the same store
|
|
49434
|
+
url: string;
|
|
49435
|
+
name: string;
|
|
49436
|
+
gender: string | null; // "MEN" | "WOMEN" | "UNISEX" | …
|
|
49437
|
+
price: number | null; // what it costs now
|
|
49438
|
+
regularPrice: number | null; // the original, ONLY when the site publishes one — usually null on a Sale item
|
|
49439
|
+
onSale: boolean; // the site marks it Sale
|
|
49440
|
+
currency: string | null; // "USD" | "CAD"
|
|
49441
|
+
rating: number | null;
|
|
49442
|
+
reviewCount: number | null;
|
|
49443
|
+
colors: UniqloColorRef[];
|
|
49444
|
+
sizes: string[];
|
|
49445
|
+
image: string | null;
|
|
49446
|
+
}
|
|
49447
|
+
interface UniqloSearchResult {
|
|
49448
|
+
query: string | null;
|
|
49449
|
+
department: "men" | "women" | "kids" | "baby" | null;
|
|
49450
|
+
onSaleOnly: boolean;
|
|
49451
|
+
country: "us" | "ca";
|
|
49452
|
+
total: number; // products the site matched
|
|
49453
|
+
hasMore: boolean; // true when more matching products exist past `limit`
|
|
49454
|
+
hits: UniqloSearchHit[];
|
|
49455
|
+
warnings: string[]; // a results page that failed after the first; empty when complete
|
|
49456
|
+
}
|
|
49457
|
+
interface UniqloSku {
|
|
49458
|
+
l2Id: string;
|
|
49459
|
+
color: string | null;
|
|
49460
|
+
colorCode: string | null;
|
|
49461
|
+
size: string | null; // "M", "L", "3XL", …
|
|
49462
|
+
sizeCode: string | null;
|
|
49463
|
+
url: string; // opens this color AND size
|
|
49464
|
+
price: number | null;
|
|
49465
|
+
regularPrice: number | null; // original, when published; else null
|
|
49466
|
+
onSale: boolean;
|
|
49467
|
+
inStock: boolean; // IN_STOCK or LOW_STOCK
|
|
49468
|
+
lowStock: boolean;
|
|
49469
|
+
quantity: number | null; // units the site reports
|
|
49470
|
+
status: string | null; // "IN_STOCK" | "LOW_STOCK" | "STOCK_OUT"
|
|
49471
|
+
}
|
|
49472
|
+
interface UniqloColor {
|
|
49473
|
+
code: string;
|
|
49474
|
+
name: string | null;
|
|
49475
|
+
url: string; // opens this color
|
|
49476
|
+
image: string | null; // main photo
|
|
49477
|
+
images: string[]; // main photo first, then this color's other views
|
|
49478
|
+
inStock: boolean;
|
|
49479
|
+
sizesInStock: string[];
|
|
49480
|
+
sizesOutOfStock: string[];
|
|
49481
|
+
}
|
|
49482
|
+
interface UniqloProduct {
|
|
49483
|
+
productId: string;
|
|
49484
|
+
priceGroup: string;
|
|
49485
|
+
country: "us" | "ca";
|
|
49486
|
+
url: string;
|
|
49487
|
+
name: string;
|
|
49488
|
+
gender: string | null;
|
|
49489
|
+
price: number | null;
|
|
49490
|
+
regularPrice: number | null; // original, when published; else null
|
|
49491
|
+
onSale: boolean;
|
|
49492
|
+
currency: string | null; // "USD" | "CAD"
|
|
49493
|
+
rating: number | null;
|
|
49494
|
+
reviewCount: number | null;
|
|
49495
|
+
composition: string | null; // "100% Cotton\nImported"
|
|
49496
|
+
sizes: string[];
|
|
49497
|
+
colors: UniqloColor[];
|
|
49498
|
+
skus: UniqloSku[];
|
|
49499
|
+
inStock: boolean;
|
|
49500
|
+
warnings: string[]; // the full-price lookup for a reduced price group failed; empty otherwise
|
|
49501
|
+
}
|
|
49502
|
+
|
|
49503
|
+
/**
|
|
49504
|
+
* Uniqlo clothing store, US (uniqlo.com/us, USD) or Canada (uniqlo.com/ca, CAD) via country.
|
|
49505
|
+
* Searches the live catalog by keyword and/or department (men's, women's, kids, baby), Sale
|
|
49506
|
+
* items only if asked, every page; reads one product's per-color, per-size price, live stock
|
|
49507
|
+
* with quantity, and photos.
|
|
49508
|
+
*/
|
|
49509
|
+
interface Unit {
|
|
49510
|
+
/**
|
|
49511
|
+
* Searches Uniqlo's live catalog the way a shopper would ("button up shirt"), US store by
|
|
49512
|
+
* default or Canada with country: "ca" (CAD prices), narrowed to a department
|
|
49513
|
+
* (men/women/kids/baby) and optionally Sale only — or lists a whole department with no query —
|
|
49514
|
+
* walking result pages until `limit` is met. One row per product with price, Sale flag, every
|
|
49515
|
+
* color with its photo, and the sizes it comes in. The way in.
|
|
49516
|
+
*/
|
|
49517
|
+
searchProducts(args: UniqloSearchArgs | string): Promise<UniqloSearchResult>;
|
|
49518
|
+
|
|
49519
|
+
/**
|
|
49520
|
+
* Reads one Uniqlo product's every color × size with its price, Sale flag, live stock status
|
|
49521
|
+
* and unit count, plus per-color in-stock and sold-out size lists, photos, and a URL that
|
|
49522
|
+
* opens that exact color and size. Takes a productId (US store, or { productId, country: "ca"
|
|
49523
|
+
* } for Canada), a search hit (read from the hit's own store), or a uniqlo.com/us or /ca
|
|
49524
|
+
* product url.
|
|
49525
|
+
*/
|
|
49526
|
+
getProduct(product: string | { productId: string; priceGroup?: string; country?: "us" | "ca" } | UniqloSearchHit): Promise<UniqloProduct>;
|
|
49527
|
+
}
|
|
49528
|
+
}
|
|
49529
|
+
|
|
48073
49530
|
declare namespace BowmarkProvider_upkeepstl_com {
|
|
48074
49531
|
// ── UPKEEP Home Maintenance Plans — the unit's own declarations, verbatim ──
|
|
48075
49532
|
interface UpkeepstlPricedOption {
|
|
@@ -49632,6 +51089,25 @@ interface TropicalConeResult {
|
|
|
49632
51089
|
systems: TropicalConeSystem[];
|
|
49633
51090
|
}
|
|
49634
51091
|
|
|
51092
|
+
interface NewsArticle {
|
|
51093
|
+
id: string;
|
|
51094
|
+
title: string;
|
|
51095
|
+
url: string;
|
|
51096
|
+
slug: string;
|
|
51097
|
+
collection: "articles" | "videos" | string;
|
|
51098
|
+
publishDate: string;
|
|
51099
|
+
updatedAt: string;
|
|
51100
|
+
score: number;
|
|
51101
|
+
thumbnailUrl: string | null;
|
|
51102
|
+
readTimeMinutes: number | null;
|
|
51103
|
+
watchTimeMinutes: number | null;
|
|
51104
|
+
durationSeconds: number | null;
|
|
51105
|
+
}
|
|
51106
|
+
|
|
51107
|
+
interface SearchNewsResult {
|
|
51108
|
+
articles: NewsArticle[];
|
|
51109
|
+
}
|
|
51110
|
+
|
|
49635
51111
|
/**
|
|
49636
51112
|
* Current weather conditions, forecasts, alerts, air quality, pollen, radar and tropical
|
|
49637
51113
|
* storms for any location.
|
|
@@ -49646,6 +51122,14 @@ interface TropicalConeResult {
|
|
|
49646
51122
|
*/
|
|
49647
51123
|
searchLocations(query: string): Promise<WeatherLocation[]>;
|
|
49648
51124
|
|
|
51125
|
+
/**
|
|
51126
|
+
* Searches weather.com articles and videos — e.g. `searchNews("winter storm")` — the same
|
|
51127
|
+
* search its site search runs. Each result carries the article/video title, URL, publish date,
|
|
51128
|
+
* relevance score, thumbnail URL, and for videos the watch time in minutes. `collection` names
|
|
51129
|
+
* the source (articles or videos). Results are ordered by relevance.
|
|
51130
|
+
*/
|
|
51131
|
+
searchNews(query: string): Promise<SearchNewsResult>;
|
|
51132
|
+
|
|
49649
51133
|
/**
|
|
49650
51134
|
* Gets detailed location information for a place name, postal code, or coordinates — e.g.
|
|
49651
51135
|
* `getLocation("Toronto")`, `getLocation("10001")`, or `getLocation({ latitude: 40.7,
|
|
@@ -50165,6 +51649,14 @@ interface WikipediaUser {
|
|
|
50165
51649
|
groups: string[];
|
|
50166
51650
|
}
|
|
50167
51651
|
|
|
51652
|
+
interface WikipediaCurrentUser {
|
|
51653
|
+
id: number;
|
|
51654
|
+
name: string;
|
|
51655
|
+
editCount: number;
|
|
51656
|
+
registrationTime: string;
|
|
51657
|
+
isBlocked: boolean;
|
|
51658
|
+
}
|
|
51659
|
+
|
|
50168
51660
|
interface WikipediaUserContribution {
|
|
50169
51661
|
title: string;
|
|
50170
51662
|
url: string;
|
|
@@ -50254,6 +51746,21 @@ interface WikipediaRandomArticle {
|
|
|
50254
51746
|
};
|
|
50255
51747
|
}
|
|
50256
51748
|
|
|
51749
|
+
interface WikipediaWatchlistItem {
|
|
51750
|
+
title: string;
|
|
51751
|
+
pageId: number;
|
|
51752
|
+
revisionId: number;
|
|
51753
|
+
oldRevisionId: number;
|
|
51754
|
+
namespace: number;
|
|
51755
|
+
user: string;
|
|
51756
|
+
anonymous: boolean;
|
|
51757
|
+
timestamp: string;
|
|
51758
|
+
comment: string;
|
|
51759
|
+
minor: boolean;
|
|
51760
|
+
isNew: boolean;
|
|
51761
|
+
bot: boolean;
|
|
51762
|
+
}
|
|
51763
|
+
|
|
50257
51764
|
/**
|
|
50258
51765
|
* The encyclopedia — read an article, its summary, sections, infobox, links, categories,
|
|
50259
51766
|
* images and full edit history, search across ~340 language editions, and (signed in as
|
|
@@ -50513,6 +52020,20 @@ interface WikipediaRandomArticle {
|
|
|
50513
52020
|
* (defaults to 'en') selects the edition.
|
|
50514
52021
|
*/
|
|
50515
52022
|
getRandomArticle(options?: { lang?: string }): Promise<{ randomArticle: WikipediaRandomArticle; warnings: string[] }>;
|
|
52023
|
+
|
|
52024
|
+
/**
|
|
52025
|
+
* The currently signed-in user's id, name, edit count, registration time, and block status.
|
|
52026
|
+
* The entry point to every other signed-in read here, and the cheapest proof that a session
|
|
52027
|
+
* replayed at all.
|
|
52028
|
+
*/
|
|
52029
|
+
getCurrentUser(opts?: ConnectionOption): Promise<WikipediaCurrentUser>;
|
|
52030
|
+
|
|
52031
|
+
/**
|
|
52032
|
+
* The signed-in caller's watchlist — the pages they follow and recent changes to them, newest
|
|
52033
|
+
* first. Returns the page title, namespace, the most recent editor and edit summary, and
|
|
52034
|
+
* whether that edit was minor or created a new page.
|
|
52035
|
+
*/
|
|
52036
|
+
listWatchlist(opts?: ConnectionOption): Promise<{ items: WikipediaWatchlistItem[]; warnings: string[] }>;
|
|
50516
52037
|
}
|
|
50517
52038
|
}
|
|
50518
52039
|
|
|
@@ -51127,19 +52648,17 @@ interface YahooFinanceWatchlists {
|
|
|
51127
52648
|
|
|
51128
52649
|
/**
|
|
51129
52650
|
* Reads the signed-in viewer's saved watchlists with their tickers and current quotes, the way
|
|
51130
|
-
* the site's own watchlists page does. NEEDS
|
|
51131
|
-
*
|
|
51132
|
-
*
|
|
51133
|
-
* measured on every call, not assumed.
|
|
52651
|
+
* the site's own watchlists page does. NEEDS THE CALLER'S YAHOO SIGN-IN: with none saved the
|
|
52652
|
+
* run pauses for one before any request. With one, the watchlists page is reached but its
|
|
52653
|
+
* signed-in shape has never been measured, so the call still throws rather than guess.
|
|
51134
52654
|
*/
|
|
51135
52655
|
listWatchlists(opts?: ConnectionOption): Promise<YahooFinanceWatchlists>;
|
|
51136
52656
|
|
|
51137
52657
|
/**
|
|
51138
52658
|
* Adds a ticker to one of the signed-in viewer's watchlists, for a caller managing their own
|
|
51139
|
-
* market watch. NEEDS
|
|
51140
|
-
*
|
|
51141
|
-
*
|
|
51142
|
-
* assumed.
|
|
52659
|
+
* market watch. NEEDS THE CALLER'S YAHOO SIGN-IN: with none saved the run pauses for one
|
|
52660
|
+
* before any request. With one, the watchlists page is reached but its signed-in shape has
|
|
52661
|
+
* never been measured, so the call still throws rather than guess.
|
|
51143
52662
|
*/
|
|
51144
52663
|
addToWatchlist(watchlistName: string, symbol: string, opts?: ConnectionOption): Promise<void>;
|
|
51145
52664
|
}
|
|
@@ -51164,8 +52683,24 @@ interface YahooMailFolder {
|
|
|
51164
52683
|
raw: Record<string, unknown>;
|
|
51165
52684
|
}
|
|
51166
52685
|
|
|
52686
|
+
interface YahooMailMessage {
|
|
52687
|
+
id?: string;
|
|
52688
|
+
from?: string;
|
|
52689
|
+
to?: string;
|
|
52690
|
+
subject?: string;
|
|
52691
|
+
body?: string;
|
|
52692
|
+
bodyHtml?: string;
|
|
52693
|
+
receivedAt?: string;
|
|
52694
|
+
unread?: boolean;
|
|
52695
|
+
raw: Record<string, unknown>;
|
|
52696
|
+
}
|
|
52697
|
+
|
|
51167
52698
|
type ListFoldersArgs = Record<string, never>;
|
|
51168
52699
|
|
|
52700
|
+
interface GetMessageArgs {
|
|
52701
|
+
id: unknown;
|
|
52702
|
+
}
|
|
52703
|
+
|
|
51169
52704
|
/**
|
|
51170
52705
|
* Reads and sends mail in the CALLER's own Yahoo Mail account — inbox, folders, search,
|
|
51171
52706
|
* compose — through the auth relay. Every function needs the caller signed in; none of it
|
|
@@ -51180,6 +52715,14 @@ type ListFoldersArgs = Record<string, never>;
|
|
|
51180
52715
|
* shape.
|
|
51181
52716
|
*/
|
|
51182
52717
|
listFolders(args: ListFoldersArgs, opts?: ConnectionOption): Promise<YahooMailFolder[]>;
|
|
52718
|
+
|
|
52719
|
+
/**
|
|
52720
|
+
* Reads one message in full from the CALLER's own mailbox, given the message id `listMessages`
|
|
52721
|
+
* returns. The caller signs in through the auth relay; Bowmark never signs up on this site.
|
|
52722
|
+
* Field values besides `raw` are read defensively and may come back undefined until a real
|
|
52723
|
+
* signed-in capture measures the success shape.
|
|
52724
|
+
*/
|
|
52725
|
+
getMessage(args: GetMessageArgs, opts?: ConnectionOption): Promise<YahooMailMessage>;
|
|
51183
52726
|
}
|
|
51184
52727
|
}
|
|
51185
52728
|
|
|
@@ -52794,8 +54337,9 @@ interface SaleEvidence {
|
|
|
52794
54337
|
/** The published "was" price. Strictly greater than currentPrice when
|
|
52795
54338
|
* evidenceType is "compare_at_price". Null when nothing published one. */
|
|
52796
54339
|
originalPrice: string | null;
|
|
52797
|
-
/** ISO 4217
|
|
52798
|
-
* failed — never defaulted to "USD", which is wrong on every non-US
|
|
54340
|
+
/** ISO 4217 — the same value as the product's own currency. Null only when
|
|
54341
|
+
* that read failed — never defaulted to "USD", which is wrong on every non-US
|
|
54342
|
+
* store. */
|
|
52799
54343
|
currency: string | null;
|
|
52800
54344
|
promotionMessage: string | null;
|
|
52801
54345
|
/** How it was decided. "compare_at_price" is a struck-through price;
|
|
@@ -52912,14 +54456,30 @@ interface ShopifyProduct {
|
|
|
52912
54456
|
url: string;
|
|
52913
54457
|
optionNames: string[];
|
|
52914
54458
|
variants: ShopifyVariant[];
|
|
54459
|
+
/** True when `variants` is a SAMPLE of the size run, not all of it — the
|
|
54460
|
+
* search door publishes at most ten variants per product. Always false off
|
|
54461
|
+
* every other door, and off a search row re-read with
|
|
54462
|
+
* { withSaleEvidence: true }. Read `getProduct`/`getProducts` for the
|
|
54463
|
+
* real size run when this is true. */
|
|
54464
|
+
variantsTruncated: boolean;
|
|
52915
54465
|
priceRange: { min: string; max: string } | null;
|
|
54466
|
+
/** True when ANY variant is purchasable. When `variantsTruncated` is true
|
|
54467
|
+
* this is computed over the SAMPLE only: true still proves the product is
|
|
54468
|
+
* purchasable, but false is NOT proof it is sold out. */
|
|
52916
54469
|
inStock: boolean;
|
|
52917
54470
|
tags: string[];
|
|
52918
54471
|
descriptionHtml: string | null;
|
|
52919
54472
|
/** The same copy with its markup removed. */
|
|
52920
54473
|
descriptionText: string | null;
|
|
52921
|
-
/** ISO 4217
|
|
54474
|
+
/** ISO 4217 of THIS row's prices. Read once per store from its own /meta.json;
|
|
54475
|
+
* on a call that passed { country } it is that MARKET's currency instead (e.g.
|
|
54476
|
+
* "CAD"), read from the market's own answer. Null when the read failed — never
|
|
54477
|
+
* guessed. */
|
|
52922
54478
|
currency: string | null;
|
|
54479
|
+
/** The market asked for with { country: "CA" }, upper-cased. ABSENT when the
|
|
54480
|
+
* call passed none. A country the store does not sell to is answered in its
|
|
54481
|
+
* default market, with no error — read currency to see which market answered. */
|
|
54482
|
+
country?: string;
|
|
52923
54483
|
/** When the store's door ANSWERED this row, ISO 8601 UTC. Every field here is
|
|
52924
54484
|
* a live fact with a shelf life — the price, the markdown, the per-variant
|
|
52925
54485
|
* stock flag — so read it before treating a cached row as current. Stamped per
|
|
@@ -53059,7 +54619,11 @@ interface ShopifyCart {
|
|
|
53059
54619
|
/** Units, NOT lines: two of one variant is one line and two items. */
|
|
53060
54620
|
itemCount: number;
|
|
53061
54621
|
subtotal: string;
|
|
54622
|
+
/** The cart's own currency. A cart keeps the market of the call that created
|
|
54623
|
+
* it, so pass the same { country } to every cart call. */
|
|
53062
54624
|
currency: string;
|
|
54625
|
+
/** The market asked for with { country }. Absent when the call passed none. */
|
|
54626
|
+
country?: string;
|
|
53063
54627
|
cartUrl: string;
|
|
53064
54628
|
checkoutUrl: string;
|
|
53065
54629
|
}
|
|
@@ -53075,7 +54639,7 @@ interface ShopifyCart {
|
|
|
53075
54639
|
* current prices and per-variant stock. Goes through the store's OWN MCP server, so the
|
|
53076
54640
|
* ranking is the store's own. Its variants[].id is the only thing the cart takes.
|
|
53077
54641
|
*/
|
|
53078
|
-
search(query: string, opts?: { productType?: string; inStockOnly?: boolean; limit?: number; withSaleEvidence?: boolean }): Promise<ShopifyProduct[]>;
|
|
54642
|
+
search(query: string, opts?: { productType?: string; inStockOnly?: boolean; limit?: number; withSaleEvidence?: boolean; country?: string }): Promise<ShopifyProduct[]>;
|
|
53079
54643
|
|
|
53080
54644
|
/**
|
|
53081
54645
|
* Reads one product by handle — every variant, its exact price, its SKU and whether that
|
|
@@ -53083,7 +54647,7 @@ interface ShopifyCart {
|
|
|
53083
54647
|
* star rating and review count from whichever review app the merchant installed; it is off by
|
|
53084
54648
|
* default because it costs a second origin and usually the rendered product page too.
|
|
53085
54649
|
*/
|
|
53086
|
-
getProduct(handle: string): Promise<ShopifyProduct>;
|
|
54650
|
+
getProduct(handle: string, opts?: { country?: string }): Promise<ShopifyProduct>;
|
|
53087
54651
|
|
|
53088
54652
|
/**
|
|
53089
54653
|
* Turns a product URL into the product, which is the address a caller actually holds when a
|
|
@@ -53094,7 +54658,7 @@ interface ShopifyCart {
|
|
|
53094
54658
|
* true } option as getProduct, on the same default: a url is another way of naming one
|
|
53095
54659
|
* product, so holding a link rather than a handle must not cost a caller the rating.
|
|
53096
54660
|
*/
|
|
53097
|
-
resolveProductUrl(url: string): Promise<ShopifyProductFromUrl>;
|
|
54661
|
+
resolveProductUrl(url: string, opts?: { country?: string }): Promise<ShopifyProductFromUrl>;
|
|
53098
54662
|
|
|
53099
54663
|
/**
|
|
53100
54664
|
* Reads FULL detail for many products in one call — the shape for ranking a candidate set,
|
|
@@ -53106,7 +54670,7 @@ interface ShopifyCart {
|
|
|
53106
54670
|
* option, and is the shape to use for it: the review app's key is learned from the first pages
|
|
53107
54671
|
* and reused, so ratings for twenty handles cost a handful of page fetches rather than twenty.
|
|
53108
54672
|
*/
|
|
53109
|
-
getProducts(handles: string[]): Promise<ShopifyProductBatch>;
|
|
54673
|
+
getProducts(handles: string[], opts?: { country?: string }): Promise<ShopifyProductBatch>;
|
|
53110
54674
|
|
|
53111
54675
|
/**
|
|
53112
54676
|
* Walks the store's WHOLE catalogue a page at a time, in its own merchandised order — the
|
|
@@ -53129,7 +54693,7 @@ interface ShopifyCart {
|
|
|
53129
54693
|
* walk is not something to wait through: page in smaller calls, carry the cursor, and come
|
|
53130
54694
|
* back.
|
|
53131
54695
|
*/
|
|
53132
|
-
listProducts(opts?: { limit?: number; cursor?: string | null }): Promise<ShopifyProductPage>;
|
|
54696
|
+
listProducts(opts?: { limit?: number; cursor?: string | null; country?: string }): Promise<ShopifyProductPage>;
|
|
53133
54697
|
|
|
53134
54698
|
/**
|
|
53135
54699
|
* Lists EVERY one of the store's own merchandised collections, walked page by page, optionally
|
|
@@ -53146,7 +54710,7 @@ interface ShopifyCart {
|
|
|
53146
54710
|
* products through this door — but an UNKNOWN handle throws, naming the collections that match
|
|
53147
54711
|
* it, because the products door answers an empty list for any handle.
|
|
53148
54712
|
*/
|
|
53149
|
-
getCollection(handle: string, opts?: { limit?: number; cursor?: string | null }): Promise<ShopifyCollectionProducts>;
|
|
54713
|
+
getCollection(handle: string, opts?: { limit?: number; cursor?: string | null; country?: string }): Promise<ShopifyCollectionProducts>;
|
|
53150
54714
|
|
|
53151
54715
|
/**
|
|
53152
54716
|
* Two answers in one call. `evidence` is ONLY what a MERCHANDISER pinned by hand, in the order
|
|
@@ -53165,14 +54729,14 @@ interface ShopifyCart {
|
|
|
53165
54729
|
* run's cookie jar. Buys nothing — checkoutUrl is where a shopper would pay. Absent on a
|
|
53166
54730
|
* member whose cart door is not reachable.
|
|
53167
54731
|
*/
|
|
53168
|
-
addToCart(items: Array<{ variantId: string; quantity?: number }
|
|
54732
|
+
addToCart(items: Array<{ variantId: string; quantity?: number }>, opts?: { country?: string }): Promise<ShopifyCart>;
|
|
53169
54733
|
|
|
53170
54734
|
/**
|
|
53171
54735
|
* Reads THIS run's cart back — lines, quantities, per-line and order totals, and the real cart
|
|
53172
54736
|
* and checkout URLs. An empty cart is an ordinary answer, not an error. Absent on a member
|
|
53173
54737
|
* whose cart door is not reachable.
|
|
53174
54738
|
*/
|
|
53175
|
-
getCart(): Promise<ShopifyCart>;
|
|
54739
|
+
getCart(opts?: { country?: string }): Promise<ShopifyCart>;
|
|
53176
54740
|
}
|
|
53177
54741
|
}
|
|
53178
54742
|
|
|
@@ -53223,8 +54787,9 @@ interface SaleEvidence {
|
|
|
53223
54787
|
/** The published "was" price. Strictly greater than currentPrice when
|
|
53224
54788
|
* evidenceType is "compare_at_price". Null when nothing published one. */
|
|
53225
54789
|
originalPrice: string | null;
|
|
53226
|
-
/** ISO 4217
|
|
53227
|
-
* failed — never defaulted to "USD", which is wrong on every non-US
|
|
54790
|
+
/** ISO 4217 — the same value as the product's own currency. Null only when
|
|
54791
|
+
* that read failed — never defaulted to "USD", which is wrong on every non-US
|
|
54792
|
+
* store. */
|
|
53228
54793
|
currency: string | null;
|
|
53229
54794
|
promotionMessage: string | null;
|
|
53230
54795
|
/** How it was decided. "compare_at_price" is a struck-through price;
|
|
@@ -53341,14 +54906,30 @@ interface ShopifyProduct {
|
|
|
53341
54906
|
url: string;
|
|
53342
54907
|
optionNames: string[];
|
|
53343
54908
|
variants: ShopifyVariant[];
|
|
54909
|
+
/** True when `variants` is a SAMPLE of the size run, not all of it — the
|
|
54910
|
+
* search door publishes at most ten variants per product. Always false off
|
|
54911
|
+
* every other door, and off a search row re-read with
|
|
54912
|
+
* { withSaleEvidence: true }. Read `getProduct`/`getProducts` for the
|
|
54913
|
+
* real size run when this is true. */
|
|
54914
|
+
variantsTruncated: boolean;
|
|
53344
54915
|
priceRange: { min: string; max: string } | null;
|
|
54916
|
+
/** True when ANY variant is purchasable. When `variantsTruncated` is true
|
|
54917
|
+
* this is computed over the SAMPLE only: true still proves the product is
|
|
54918
|
+
* purchasable, but false is NOT proof it is sold out. */
|
|
53345
54919
|
inStock: boolean;
|
|
53346
54920
|
tags: string[];
|
|
53347
54921
|
descriptionHtml: string | null;
|
|
53348
54922
|
/** The same copy with its markup removed. */
|
|
53349
54923
|
descriptionText: string | null;
|
|
53350
|
-
/** ISO 4217
|
|
54924
|
+
/** ISO 4217 of THIS row's prices. Read once per store from its own /meta.json;
|
|
54925
|
+
* on a call that passed { country } it is that MARKET's currency instead (e.g.
|
|
54926
|
+
* "CAD"), read from the market's own answer. Null when the read failed — never
|
|
54927
|
+
* guessed. */
|
|
53351
54928
|
currency: string | null;
|
|
54929
|
+
/** The market asked for with { country: "CA" }, upper-cased. ABSENT when the
|
|
54930
|
+
* call passed none. A country the store does not sell to is answered in its
|
|
54931
|
+
* default market, with no error — read currency to see which market answered. */
|
|
54932
|
+
country?: string;
|
|
53352
54933
|
/** When the store's door ANSWERED this row, ISO 8601 UTC. Every field here is
|
|
53353
54934
|
* a live fact with a shelf life — the price, the markdown, the per-variant
|
|
53354
54935
|
* stock flag — so read it before treating a cached row as current. Stamped per
|
|
@@ -53488,7 +55069,11 @@ interface ShopifyCart {
|
|
|
53488
55069
|
/** Units, NOT lines: two of one variant is one line and two items. */
|
|
53489
55070
|
itemCount: number;
|
|
53490
55071
|
subtotal: string;
|
|
55072
|
+
/** The cart's own currency. A cart keeps the market of the call that created
|
|
55073
|
+
* it, so pass the same { country } to every cart call. */
|
|
53491
55074
|
currency: string;
|
|
55075
|
+
/** The market asked for with { country }. Absent when the call passed none. */
|
|
55076
|
+
country?: string;
|
|
53492
55077
|
cartUrl: string;
|
|
53493
55078
|
checkoutUrl: string;
|
|
53494
55079
|
}
|
|
@@ -53504,7 +55089,7 @@ interface ShopifyCart {
|
|
|
53504
55089
|
* current prices and per-variant stock. Goes through the store's OWN MCP server, so the
|
|
53505
55090
|
* ranking is the store's own. Its variants[].id is the only thing the cart takes.
|
|
53506
55091
|
*/
|
|
53507
|
-
search(query: string, opts?: { productType?: string; inStockOnly?: boolean; limit?: number; withSaleEvidence?: boolean }): Promise<ShopifyProduct[]>;
|
|
55092
|
+
search(query: string, opts?: { productType?: string; inStockOnly?: boolean; limit?: number; withSaleEvidence?: boolean; country?: string }): Promise<ShopifyProduct[]>;
|
|
53508
55093
|
|
|
53509
55094
|
/**
|
|
53510
55095
|
* Reads one product by handle — every variant, its exact price, its SKU and whether that
|
|
@@ -53512,7 +55097,7 @@ interface ShopifyCart {
|
|
|
53512
55097
|
* star rating and review count from whichever review app the merchant installed; it is off by
|
|
53513
55098
|
* default because it costs a second origin and usually the rendered product page too.
|
|
53514
55099
|
*/
|
|
53515
|
-
getProduct(handle: string): Promise<ShopifyProduct>;
|
|
55100
|
+
getProduct(handle: string, opts?: { country?: string }): Promise<ShopifyProduct>;
|
|
53516
55101
|
|
|
53517
55102
|
/**
|
|
53518
55103
|
* Turns a product URL into the product, which is the address a caller actually holds when a
|
|
@@ -53523,7 +55108,7 @@ interface ShopifyCart {
|
|
|
53523
55108
|
* true } option as getProduct, on the same default: a url is another way of naming one
|
|
53524
55109
|
* product, so holding a link rather than a handle must not cost a caller the rating.
|
|
53525
55110
|
*/
|
|
53526
|
-
resolveProductUrl(url: string): Promise<ShopifyProductFromUrl>;
|
|
55111
|
+
resolveProductUrl(url: string, opts?: { country?: string }): Promise<ShopifyProductFromUrl>;
|
|
53527
55112
|
|
|
53528
55113
|
/**
|
|
53529
55114
|
* Reads FULL detail for many products in one call — the shape for ranking a candidate set,
|
|
@@ -53535,7 +55120,7 @@ interface ShopifyCart {
|
|
|
53535
55120
|
* option, and is the shape to use for it: the review app's key is learned from the first pages
|
|
53536
55121
|
* and reused, so ratings for twenty handles cost a handful of page fetches rather than twenty.
|
|
53537
55122
|
*/
|
|
53538
|
-
getProducts(handles: string[]): Promise<ShopifyProductBatch>;
|
|
55123
|
+
getProducts(handles: string[], opts?: { country?: string }): Promise<ShopifyProductBatch>;
|
|
53539
55124
|
|
|
53540
55125
|
/**
|
|
53541
55126
|
* Walks the store's WHOLE catalogue a page at a time, in its own merchandised order — the
|
|
@@ -53558,7 +55143,7 @@ interface ShopifyCart {
|
|
|
53558
55143
|
* walk is not something to wait through: page in smaller calls, carry the cursor, and come
|
|
53559
55144
|
* back.
|
|
53560
55145
|
*/
|
|
53561
|
-
listProducts(opts?: { limit?: number; cursor?: string | null }): Promise<ShopifyProductPage>;
|
|
55146
|
+
listProducts(opts?: { limit?: number; cursor?: string | null; country?: string }): Promise<ShopifyProductPage>;
|
|
53562
55147
|
|
|
53563
55148
|
/**
|
|
53564
55149
|
* Lists EVERY one of the store's own merchandised collections, walked page by page, optionally
|
|
@@ -53575,7 +55160,7 @@ interface ShopifyCart {
|
|
|
53575
55160
|
* products through this door — but an UNKNOWN handle throws, naming the collections that match
|
|
53576
55161
|
* it, because the products door answers an empty list for any handle.
|
|
53577
55162
|
*/
|
|
53578
|
-
getCollection(handle: string, opts?: { limit?: number; cursor?: string | null }): Promise<ShopifyCollectionProducts>;
|
|
55163
|
+
getCollection(handle: string, opts?: { limit?: number; cursor?: string | null; country?: string }): Promise<ShopifyCollectionProducts>;
|
|
53579
55164
|
|
|
53580
55165
|
/**
|
|
53581
55166
|
* Two answers in one call. `evidence` is ONLY what a MERCHANDISER pinned by hand, in the order
|
|
@@ -53717,6 +55302,7 @@ interface BowmarkProviders {
|
|
|
53717
55302
|
cascadiaseniorliving_com: BowmarkProvider_cascadiaseniorliving_com.Unit;
|
|
53718
55303
|
cbhhomes: BowmarkProvider_cbhhomes.Unit;
|
|
53719
55304
|
census_api: BowmarkProvider_census_api.Unit;
|
|
55305
|
+
cerebralvalley: BowmarkProvider_cerebralvalley.Unit;
|
|
53720
55306
|
cftc: BowmarkProvider_cftc.Unit;
|
|
53721
55307
|
champxpress: BowmarkProvider_champxpress.Unit;
|
|
53722
55308
|
chantecaille: BowmarkProvider_chantecaille.Unit;
|
|
@@ -53758,6 +55344,7 @@ interface BowmarkProviders {
|
|
|
53758
55344
|
cyberpowerpc: BowmarkProvider_cyberpowerpc.Unit;
|
|
53759
55345
|
dahlconsulting: BowmarkProvider_dahlconsulting.Unit;
|
|
53760
55346
|
dailymotion: BowmarkProvider_dailymotion.Unit;
|
|
55347
|
+
dangotecement: BowmarkProvider_dangotecement.Unit;
|
|
53761
55348
|
dansons: BowmarkProvider_dansons.Unit;
|
|
53762
55349
|
davidsonhomes: BowmarkProvider_davidsonhomes.Unit;
|
|
53763
55350
|
deangroup: BowmarkProvider_deangroup.Unit;
|
|
@@ -53778,6 +55365,7 @@ interface BowmarkProviders {
|
|
|
53778
55365
|
disney: BowmarkProvider_disney.Unit;
|
|
53779
55366
|
donsappliances: BowmarkProvider_donsappliances.Unit;
|
|
53780
55367
|
doordash: BowmarkProvider_doordash.Unit;
|
|
55368
|
+
duckduckgo: BowmarkProvider_duckduckgo.Unit;
|
|
53781
55369
|
dumpsters: BowmarkProvider_dumpsters.Unit;
|
|
53782
55370
|
ebay: BowmarkProvider_ebay.Unit;
|
|
53783
55371
|
elase: BowmarkProvider_elase.Unit;
|
|
@@ -53824,6 +55412,7 @@ interface BowmarkProviders {
|
|
|
53824
55412
|
fred: BowmarkProvider_fred.Unit;
|
|
53825
55413
|
furniture: BowmarkProvider_furniture.Unit;
|
|
53826
55414
|
g2: BowmarkProvider_g2.Unit;
|
|
55415
|
+
gap: BowmarkProvider_gap.Unit;
|
|
53827
55416
|
gasbuddy: BowmarkProvider_gasbuddy.Unit;
|
|
53828
55417
|
gazelle: BowmarkProvider_gazelle.Unit;
|
|
53829
55418
|
geico: BowmarkProvider_geico.Unit;
|
|
@@ -53930,6 +55519,7 @@ interface BowmarkProviders {
|
|
|
53930
55519
|
mailchimp: BowmarkProvider_mailchimp.Unit;
|
|
53931
55520
|
mango: BowmarkProvider_mango.Unit;
|
|
53932
55521
|
marketplace_visualstudio: BowmarkProvider_marketplace_visualstudio.Unit;
|
|
55522
|
+
marks: BowmarkProvider_marks.Unit;
|
|
53933
55523
|
marriott: BowmarkProvider_marriott.Unit;
|
|
53934
55524
|
mcdonalds: BowmarkProvider_mcdonalds.Unit;
|
|
53935
55525
|
mcp_registry: BowmarkProvider_mcp_registry.Unit;
|
|
@@ -53965,10 +55555,12 @@ interface BowmarkProviders {
|
|
|
53965
55555
|
nurturelife: BowmarkProvider_nurturelife.Unit;
|
|
53966
55556
|
nutrafol: BowmarkProvider_nutrafol.Unit;
|
|
53967
55557
|
nvisioncenters: BowmarkProvider_nvisioncenters.Unit;
|
|
55558
|
+
nws: BowmarkProvider_nws.Unit;
|
|
53968
55559
|
nyt_cooking: BowmarkProvider_nyt_cooking.Unit;
|
|
53969
55560
|
nyt_games: BowmarkProvider_nyt_games.Unit;
|
|
53970
55561
|
nytimes: BowmarkProvider_nytimes.Unit;
|
|
53971
55562
|
oanda: BowmarkProvider_oanda.Unit;
|
|
55563
|
+
old_navy: BowmarkProvider_old_navy.Unit;
|
|
53972
55564
|
oliverwinery: BowmarkProvider_oliverwinery.Unit;
|
|
53973
55565
|
onthemarket: BowmarkProvider_onthemarket.Unit;
|
|
53974
55566
|
openai: BowmarkProvider_openai.Unit;
|
|
@@ -54006,9 +55598,11 @@ interface BowmarkProviders {
|
|
|
54006
55598
|
provenwinners: BowmarkProvider_provenwinners.Unit;
|
|
54007
55599
|
proxmox: BowmarkProvider_proxmox.Unit;
|
|
54008
55600
|
proxy_cheap: BowmarkProvider_proxy_cheap.Unit;
|
|
55601
|
+
pullandbear: BowmarkProvider_pullandbear.Unit;
|
|
54009
55602
|
puls_com: BowmarkProvider_puls_com.Unit;
|
|
54010
55603
|
quince: BowmarkProvider_quince.Unit;
|
|
54011
55604
|
quora: BowmarkProvider_quora.Unit;
|
|
55605
|
+
raadvanstate_nl: BowmarkProvider_raadvanstate_nl.Unit;
|
|
54012
55606
|
reddit: BowmarkProvider_reddit.Unit;
|
|
54013
55607
|
rei: BowmarkProvider_rei.Unit;
|
|
54014
55608
|
reliancepartners: BowmarkProvider_reliancepartners.Unit;
|
|
@@ -54095,6 +55689,7 @@ interface BowmarkProviders {
|
|
|
54095
55689
|
uhaul: BowmarkProvider_uhaul.Unit;
|
|
54096
55690
|
uhc_smallbusiness: BowmarkProvider_uhc_smallbusiness.Unit;
|
|
54097
55691
|
ulrichlifestyle: BowmarkProvider_ulrichlifestyle.Unit;
|
|
55692
|
+
uniqlo: BowmarkProvider_uniqlo.Unit;
|
|
54098
55693
|
upkeepstl_com: BowmarkProvider_upkeepstl_com.Unit;
|
|
54099
55694
|
ups: BowmarkProvider_ups.Unit;
|
|
54100
55695
|
usps: BowmarkProvider_usps.Unit;
|
|
@@ -104017,6 +105612,7 @@ interface BowmarkLibrary {
|
|
|
104017
105612
|
booking_links: BowmarkCapability_booking_links.Unit;
|
|
104018
105613
|
browser_agent: BowmarkCapability_browser_agent.Unit;
|
|
104019
105614
|
bundles: BowmarkCapability_bundles.Unit;
|
|
105615
|
+
business_electricity_quote: BowmarkCapability_business_electricity_quote.Unit;
|
|
104020
105616
|
cable_railing_quote: BowmarkCapability_cable_railing_quote.Unit;
|
|
104021
105617
|
candy_prices: BowmarkCapability_candy_prices.Unit;
|
|
104022
105618
|
cars: BowmarkCapability_cars.Unit;
|
|
@@ -104053,6 +105649,7 @@ interface BowmarkLibrary {
|
|
|
104053
105649
|
industrial_supply: BowmarkCapability_industrial_supply.Unit;
|
|
104054
105650
|
insurance: BowmarkCapability_insurance.Unit;
|
|
104055
105651
|
istanbul_schedules: BowmarkCapability_istanbul_schedules.Unit;
|
|
105652
|
+
job_search: BowmarkCapability_job_search.Unit;
|
|
104056
105653
|
kenya_fuel_prices: BowmarkCapability_kenya_fuel_prices.Unit;
|
|
104057
105654
|
local_database_gui: BowmarkCapability_local_database_gui.Unit;
|
|
104058
105655
|
local_html_preview: BowmarkCapability_local_html_preview.Unit;
|