n8n-nodes-scavio 0.18.0 → 0.20.0
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/README.md +41 -6
- package/dist/nodes/Scavio/Scavio.node.js +13 -1
- package/dist/nodes/Scavio/Scavio.node.js.map +1 -1
- package/dist/nodes/Scavio/descriptions/MercadoLibreDescription.d.ts +3 -0
- package/dist/nodes/Scavio/descriptions/MercadoLibreDescription.js +359 -0
- package/dist/nodes/Scavio/descriptions/MercadoLibreDescription.js.map +1 -0
- package/dist/nodes/Scavio/descriptions/RealtorDescription.d.ts +3 -0
- package/dist/nodes/Scavio/descriptions/RealtorDescription.js +421 -0
- package/dist/nodes/Scavio/descriptions/RealtorDescription.js.map +1 -0
- package/dist/nodes/Scavio/descriptions/RightmoveDescription.d.ts +3 -0
- package/dist/nodes/Scavio/descriptions/RightmoveDescription.js +523 -0
- package/dist/nodes/Scavio/descriptions/RightmoveDescription.js.map +1 -0
- package/dist/nodes/Scavio/version.d.ts +1 -1
- package/dist/nodes/Scavio/version.js +1 -1
- package/package.json +8 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This is an n8n community node. It lets you use [Scavio](https://scavio.dev?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — a real-time structured-data API for search, retail, social, travel, real estate, jobs, app stores, software reviews, ad libraries, public company filings, and any URL — in your n8n workflows.
|
|
4
4
|
|
|
5
|
-
Scavio returns clean, structured JSON from
|
|
5
|
+
Scavio returns clean, structured JSON from 48 resources and 351 operations. Use it to power product research, price and review monitoring, AI agent retrieval, lead enrichment, competitive and ad intelligence, and content workflows.
|
|
6
6
|
|
|
7
7
|
[Installation](#installation) - [Operations](#operations) - [What changed in 0.13.0](#what-changed-in-0130) - [Per-resource notes](#per-resource-notes) - [Templates](#templates) - [Credentials](#credentials) - [Compatibility](#compatibility) - [Resources](#resources)
|
|
8
8
|
|
|
@@ -25,6 +25,7 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
25
25
|
| [Target](https://scavio.dev/docs/target-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Products, Get Category Products, Get Product, Get Reviews |
|
|
26
26
|
| [Home Depot](https://scavio.dev/docs/home-depot-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Products, Get Product, Get Reviews |
|
|
27
27
|
| [Costco](https://scavio.dev/docs/costco-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1; Get Warehouse Prices, Get Availability and Get Gas Prices scale with the number of warehouses | Search Products, Get Category Products, Get Categories, Get Products, Get Warehouse Prices, Get Availability, Get Reviews, Get Warehouses, Get Gas Prices, Get Coupon Book, Get Deals, Find Clearance Items, Get Search Suggestions |
|
|
28
|
+
| Mercado Libre (MX, BR, AR, CO) | 2; Get Reviews 1 | Search Listings, Get Product, Get Reviews, Get Questions, Get Best Sellers |
|
|
28
29
|
|
|
29
30
|
### Social and video
|
|
30
31
|
|
|
@@ -46,6 +47,8 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
46
47
|
| --- | --- | --- |
|
|
47
48
|
| [Zillow](https://scavio.dev/docs/zillow-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Listings, Get Property, Get Agent Reviews |
|
|
48
49
|
| [Redfin](https://scavio.dev/docs/redfin-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Listings, Get Property, Get Market Stats |
|
|
50
|
+
| [Realtor.com](https://scavio.dev/docs/realtor-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Listings, Get Property, Get Location Suggestions, Get Market Stats, Search Agents, Get Agent Profile |
|
|
51
|
+
| [Rightmove (UK)](https://scavio.dev/docs/rightmove-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Look Up Locations, Search Listings, Get Property, Get Sold Prices, Get Sold Property, Search Agents, Get Agent Branch |
|
|
49
52
|
| [Booking.com](https://scavio.dev/docs/booking-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Properties, Get Hotel, Get Hotel Reviews |
|
|
50
53
|
| [Airbnb](https://scavio.dev/docs/airbnb-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Stays, Get Listing, Get Reviews |
|
|
51
54
|
| [Tripadvisor](https://scavio.dev/docs/tripadvisor-locations?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Resolve Location IDs, Search Locations, Get Location, Get Reviews |
|
|
@@ -66,7 +69,7 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
66
69
|
| [Google Play](https://scavio.dev/docs/google-play-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Apps, Get App, Get Reviews |
|
|
67
70
|
| [G2 (Software Reviews)](https://scavio.dev/docs/g2-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 5 | Search Products, Get Product, Get Reviews |
|
|
68
71
|
| [Capterra (Software Reviews)](https://scavio.dev/docs/capterra-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Products, Get Product, Get Reviews |
|
|
69
|
-
| Trustpilot | 2 | Search Businesses, Get Business Profile, Get Reviews, Get Categories, Get Category Businesses, Get Review |
|
|
72
|
+
| [Trustpilot](https://scavio.dev/docs/trustpilot-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Businesses, Get Business Profile, Get Reviews, Get Categories, Get Category Businesses, Get Review |
|
|
70
73
|
|
|
71
74
|
### Ad libraries, filings, and any URL
|
|
72
75
|
|
|
@@ -79,6 +82,28 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
79
82
|
| [Extract (Any URL)](https://scavio.dev/docs/extract?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 normal, 1 advanced, 2 ultra | Extract Page |
|
|
80
83
|
| Account | Free | Get Usage |
|
|
81
84
|
|
|
85
|
+
## What changed in 0.20.0
|
|
86
|
+
|
|
87
|
+
**New resource: Mercado Libre, 5 operations, 2 credits each (Get Reviews 1).** Plus one description fix on Realtor.com.
|
|
88
|
+
|
|
89
|
+
- **Search Listings** covers Mercado Libre in Mexico, Argentina and Colombia, and Mercado Livre in Brazil (`Country`; Chile is not supported). Pick `Search By`: keywords, a numeric seller ID (combines with keywords, filters, sort and paging), or a seller's public nickname (their first page of listings, unfiltered, plus the seller ID to go further). Filters for condition, min / max price in the local currency, minimum discount, free shipping, Full fulfillment, official stores and interest-free installments; sort by relevance or price only (Mercado Libre has no newest or best-selling sort). **About 48 listings per page and up to 42 pages, about 2,000 results per query**; slice by price range, condition or seller to reach more. Rows carry price, list price and discount, installments, shipping flags, a sponsored flag, rating, units sold as a range ("+500") and catalog IDs; seller name appears only where Mercado Libre shows it on the card.
|
|
90
|
+
- **Get Product** takes a catalog product ID, an item (listing) ID or a URL (`Look Up By`) and returns price, promotions, the buy-box seller with reputation, stock, shipping, variations, specs, the star distribution and categories. Only the buy-box seller is returned; the full list of sellers on a product is not available.
|
|
91
|
+
- **Get Reviews** returns 15 reviews per page, with an optional `Stars` filter (1 credit). Reviews translated by Mercado Libre keep the original text. **Get Questions** returns buyer questions with the seller's answers (answers are dated, questions are not); page with `Offset` from `next_offset`. **Get Best Sellers** returns the top 20 in a category for Mexico, Argentina or Colombia; **not available for Brazil**, and the category ID prefix must match the country.
|
|
92
|
+
- Brazil and Argentina may apply a "new" condition on their own for some queries; the response lists it in `auto_applied_filters`. A query with no results is an empty, billed 200. An unknown product, item or seller nickname answers 404 naming what was not found, billed like a normal call; so does a listing with no public questions.
|
|
93
|
+
- **Realtor.com `Keywords`**: the description now says what the filter does: a listing must match **all** the keywords, so each one narrows the results (one Portland search: `workshop` 421, `garage` 2,764, both together 338). Behaviour is unchanged.
|
|
94
|
+
|
|
95
|
+
## What changed in 0.19.0
|
|
96
|
+
|
|
97
|
+
**Two new resources: Realtor.com, 6 operations, and Rightmove (UK), 7 operations, 1 credit each.** Nothing else changed.
|
|
98
|
+
|
|
99
|
+
- **Realtor.com Search Listings** covers for-sale (default; includes pending and contingent, as on the site), pending, for-rent and sold listings. Pick `Search By`: a location (city, county, ZIP, state or neighborhood), coordinates plus a 0.1-50 mile radius, or one agent's listings. Filters for price, beds, baths, square feet, lot size, year built, garage, HOA, property types, listed / sold / price-cut within N days, `Keywords` matched in the listing text (comma-separated, up to 10), new construction, foreclosures and open houses, with 10 sorts. **Up to 200 listings per call** (`Page Size`, default 50). A search reaches its first 10,000 results, so `Page` x `Page Size` may not exceed 10,000; slice big areas by price band, property type or radius.
|
|
100
|
+
- **Sold prices are null in US non-disclosure states** (Texas, Utah, Wyoming, Alaska, Idaho, Kansas, Louisiana, Mississippi, Montana, New Mexico, North Dakota and parts of Missouri). Sold dates still come back.
|
|
101
|
+
- **Realtor.com Get Property** takes a property ID or a realtor.com URL (`Look Up By`) and returns price and tax history, three home value estimates with history and forecast, schools, flood / wildfire / noise risk, the listing agent and a mortgage estimate. Estimates, schools and risk can be null for land or new construction. **Get Location Suggestions** returns the `slug_id` that **Get Market Stats** takes (median list, sold and rent price, days on market, year-over-year change, by property type). **Search Agents** finds agents by city, ZIP code or name (one of the three, up to 50 per page); **Get Agent Profile** returns one agent with every review and four sub-ratings.
|
|
102
|
+
- **Rightmove Search Listings** covers UK property for sale or to rent. Pick `Search By`: a `location_id` from **Look Up Locations**, a place name (resolved to its first match and echoed back), or an agent branch. Filters for price (GBP; monthly rent on To Rent), beds, baths, property types, must-haves, exclusions, tenure, added within 1-14 days, under offer, radius, furnishing and let type, with 4 sorts. 24-25 per page, **up to 42 pages (about 1,000 listings) per search**. **There is no keyword filter on Rightmove**; match on `summary` and `key_features` in the results instead.
|
|
103
|
+
- **Rightmove Get Sold Prices** returns 25 addresses per page in England and Wales, each with its full sale history since 1995, plus an area summary; filter by property type, tenure, sold within 1-30 years and radius, up to 40 pages. **Get Sold Property** returns one address's every sale and its archived last listing. **Get Property** returns a live listing in full (tenure and lease, council tax band, service charge, EPC, floorplans, nearest stations); live listings carry no price history. **Search Agents** (20 branches per page, up to 50 pages) and **Get Agent Branch** (by branch ID or profile URL) round it out.
|
|
104
|
+
- `Property Types`, `Must Have`, `Exclude` and `Furnishing` are multi-selects; Realtor.com `Keywords` takes comma-separated values.
|
|
105
|
+
- An unknown property, agent, sold address or branch ID answers 404 naming what was not found, and is billed like a normal call. A removed Rightmove listing is a billed 404 too.
|
|
106
|
+
|
|
82
107
|
## What changed in 0.18.0
|
|
83
108
|
|
|
84
109
|
**New resource: Trustpilot, 6 operations, 2 credits each.** Nothing else changed.
|
|
@@ -148,7 +173,7 @@ Read these before you build. They are measured behaviours, not guesses.
|
|
|
148
173
|
|
|
149
174
|
### Start with a lookup
|
|
150
175
|
|
|
151
|
-
|
|
176
|
+
Several resources are keyed by identifiers that only exist inside the target site's own URLs. Each has a lookup operation — start there, then chain the ID it returns.
|
|
152
177
|
|
|
153
178
|
| Resource | Start here | It resolves |
|
|
154
179
|
| --- | --- | --- |
|
|
@@ -157,6 +182,9 @@ Five resources are keyed by identifiers that only exist inside the target site's
|
|
|
157
182
|
| SEC EDGAR | Look Up Company | A ticker into a CIK (both fields accept either spelling, but the lookup is the reliable path) |
|
|
158
183
|
| Companies House | Search Companies | A company name into a company number |
|
|
159
184
|
| Google Ads Transparency | Find Advertisers | A brand name into an `advertiser_id` |
|
|
185
|
+
| Rightmove | Look Up Locations | A place, outcode, postcode or station into the `location_id` Search Listings and Search Agents take (a place name also works, resolved to its first match) |
|
|
186
|
+
| Realtor.com | Get Location Suggestions | A partial place name into the `slug_id` Get Market Stats takes |
|
|
187
|
+
| Mercado Libre | Search Listings | Keywords or a seller nickname into the `product_id`, `item_id`, `seller_id` and `category_id` the other operations take |
|
|
160
188
|
|
|
161
189
|
Kuaishou has the same shape for share links: **Resolve Share Link** turns a Kuaishou share URL into the user ID every other Kuaishou operation takes.
|
|
162
190
|
|
|
@@ -164,8 +192,8 @@ Kuaishou has the same shape for share links: **Resolve Share Link** turns a Kuai
|
|
|
164
192
|
|
|
165
193
|
Do not assume an operation pages. Several deliberately do not, and the node only exposes a paging field where one really exists.
|
|
166
194
|
|
|
167
|
-
- **Page number**: Walmart Search / Reviews / Category, eBay Search, Target Search / Category, Home Depot Search / Reviews, Zillow Search, Redfin Search, Booking Search, Airbnb Search / Reviews, Tripadvisor Search / Reviews, Yelp Search / Reviews, Indeed Search / Company Reviews, Glassdoor Salaries, App Store Reviews, SEC Filings / Search, Companies House Search / Officers / Filing History, G2 Search / Reviews, Capterra Reviews, Trustpilot Search / Reviews / Category Businesses.
|
|
168
|
-
- **Cursor**: Threads User Posts / User Replies / Post Comments, all cursor-paginated Kuaishou operations, Airbnb Search, Google Play Reviews, Google Ads Search, Meta Ads Search / Advertiser Ads.
|
|
195
|
+
- **Page number**: Walmart Search / Reviews / Category, eBay Search, Target Search / Category, Home Depot Search / Reviews, Zillow Search, Redfin Search, Booking Search, Airbnb Search / Reviews, Tripadvisor Search / Reviews, Yelp Search / Reviews, Indeed Search / Company Reviews, Glassdoor Salaries, App Store Reviews, SEC Filings / Search, Companies House Search / Officers / Filing History, G2 Search / Reviews, Capterra Reviews, Trustpilot Search / Reviews / Category Businesses, Realtor.com Search / Agents, Rightmove Search / Sold / Agents, Mercado Libre Search / Reviews.
|
|
196
|
+
- **Cursor**: Threads User Posts / User Replies / Post Comments, all cursor-paginated Kuaishou operations, Airbnb Search, Google Play Reviews, Google Ads Search, Meta Ads Search / Advertiser Ads. Mercado Libre Get Questions pages by `Offset` (`next_offset` from the previous page).
|
|
169
197
|
- **No pagination at all**: every detail operation, plus **App Store Search** (raise `Limit`, up to 200 — every offset spelling is ignored), **Google Play Search** (one shelf of about 30 apps), **Capterra Search** (fixed at 20 results; `?page=2` returns identical rows), **Walmart Get Seller Products** (about 40 items), and **Glassdoor Get Reviews** (see below).
|
|
170
198
|
- **Airbnb Search takes either `Page` or `Pagination Cursor`, never both** — a request carrying both is rejected. The cursor wins.
|
|
171
199
|
- **Google Play's reviews cursor is opaque, single-use, and encodes the sort.** Send it back with the same `Sort` it came from.
|
|
@@ -179,6 +207,8 @@ Do not assume an operation pages. Several deliberately do not, and the node only
|
|
|
179
207
|
- **Yelp Get Reviews page 1 is redundant.** It re-fetches the document Get Business already returned and costs another 2 credits. Start at page 2.
|
|
180
208
|
- **Capterra and Tripadvisor page 1 of reviews are already inside the detail call.** Use Get Reviews to page past it.
|
|
181
209
|
- **Trustpilot Get Reviews stops at page 10, 200 reviews per filter combination.** Different stars x language x date range combinations are separate sets, so slice to go deeper. Get Business Profile already carries the 20 newest reviews in its `Language`, so skip Get Reviews page 1 when that is all you need.
|
|
210
|
+
- **Realtor.com Search stops at 10,000 results per query** and **Rightmove stops at 42 search pages, 40 sold pages and 50 agent pages.** Slice by price band, property type or a smaller area to reach more.
|
|
211
|
+
- **Mercado Libre Search stops at 42 pages of about 48, about 2,000 results per query.** Slice by price range, condition or seller. Get Product is the slowest call, up to about 10 seconds.
|
|
182
212
|
- **Home Depot search page size is fixed at 12** and reviews are 30 per page; asking past `total_pages` is a 404.
|
|
183
213
|
|
|
184
214
|
### Silent-wrong-answer traps
|
|
@@ -186,6 +216,9 @@ Do not assume an operation pages. Several deliberately do not, and the node only
|
|
|
186
216
|
These sites answer 200 with the wrong data rather than erroring, so the node closes the enum where it can. Where a value is a passthrough, treat an unexpected result as unfiltered rather than empty.
|
|
187
217
|
|
|
188
218
|
- **Zillow**: a bare ZIP works alone but cannot be combined with a filter or a sort — Zillow geolocates that request shape and answers about another city. Use the city name there. On `Listing Status = For Rent`, `Min Price` / `Max Price` mean **monthly rent**.
|
|
219
|
+
- **Realtor.com**: on Sold, `sold_price` is null in US non-disclosure states (Texas and the others listed under 0.19.0) while `sold_date` is set. A null price there means undisclosed, not an error.
|
|
220
|
+
- **Mercado Libre**: a query can be narrowed to a category, brand or line by Mercado Libre itself, and Brazil and Argentina may apply a "new" condition on their own. Check `auto_applied_filters` before treating a result set as complete. Units sold are ranges ("+500"), never exact counts.
|
|
221
|
+
- **Rightmove**: there is no keyword filter, so the node offers none. Get Property on a live listing carries no price history; use Get Sold Property for an address's past sales.
|
|
189
222
|
- **Redfin**: city names are not accepted on `Location`. Pass a redfin.com region URL (`/city/`, `/neighborhood/`, `/county/`, `/zipcode/`) or `Region ID` + `Region Type` together. `days_on_market` is always null on responses — do not build on it.
|
|
190
223
|
- **Booking.com**: `Check-In Date` and `Check-Out Date` must be sent together, or Booking prices its own default range and returns real prices for dates you never asked for. A search with neither destination nor destination ID returns Booking's homepage, costs a credit, and returns nothing.
|
|
191
224
|
- **Airbnb**: a dateless search defaults to +30 days / 5 nights and A/B tests both the window and the prices — the response flags this as `dates_are_defaulted`. **Get Listing has no price field**; nightly rates are search-only.
|
|
@@ -289,15 +322,17 @@ The credential test calls `GET /api/v1/usage` (free) so you get instant feedback
|
|
|
289
322
|
|
|
290
323
|
- [Google Search API](https://scavio.dev/google-search-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — SERP results, news, images, maps, and knowledge graph
|
|
291
324
|
- [Amazon Product API](https://scavio.dev/amazon-product-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) and [Walmart Product API](https://scavio.dev/walmart-product-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — product search, details, reviews, categories, and sellers
|
|
325
|
+
- Mercado Libre (Mexico, Brazil, Argentina, Colombia) — listings, product detail, reviews, buyer questions, and best sellers
|
|
292
326
|
- eBay, Target, Home Depot and [Costco](https://scavio.dev/costco-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — marketplace listings, product detail, and customer reviews
|
|
293
327
|
- [YouTube API](https://scavio.dev/youtube-transcript-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme), [TikTok API](https://scavio.dev/tiktok-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme), and [Instagram API](https://scavio.dev/instagram-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — video and social media data
|
|
294
328
|
- [Reddit API](https://scavio.dev/reddit-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — posts and threaded comments
|
|
295
329
|
- [X API](https://scavio.dev/x-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) and [LinkedIn API](https://scavio.dev/linkedin-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — tweets, profiles, companies, jobs, and posts
|
|
296
330
|
- Threads and Kuaishou — profiles, feeds, comments, and search
|
|
297
331
|
- Zillow, Redfin, Booking.com, Airbnb and Tripadvisor — listings, properties, stays, and reviews
|
|
332
|
+
- [Realtor.com](https://scavio.dev/realtor-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) and [Rightmove](https://scavio.dev/rightmove-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — US and UK listings, sold prices (England and Wales for Rightmove), property detail, market stats, and agents
|
|
298
333
|
- Yelp, Indeed and Glassdoor — local businesses, job postings, employer reviews, and salaries
|
|
299
334
|
- Apple App Store, Google Play, G2 and Capterra — app and software listings with reviews
|
|
300
|
-
- Trustpilot — business profiles, TrustScores, filtered reviews, and category rankings
|
|
335
|
+
- [Trustpilot](https://scavio.dev/trustpilot-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — business profiles, TrustScores, filtered reviews, and category rankings
|
|
301
336
|
- Google Ads Transparency and Meta Ad Library — live competitor ad creatives
|
|
302
337
|
- SEC EDGAR and Companies House — filings, XBRL financials, officers, and company registers
|
|
303
338
|
- [Extract](https://scavio.dev/docs/extract?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — any URL as HTML, Markdown, or plain text
|
|
@@ -29,6 +29,9 @@ const AppStoreDescription_1 = require("./descriptions/AppStoreDescription");
|
|
|
29
29
|
const GooglePlayDescription_1 = require("./descriptions/GooglePlayDescription");
|
|
30
30
|
const SecDescription_1 = require("./descriptions/SecDescription");
|
|
31
31
|
const RedfinDescription_1 = require("./descriptions/RedfinDescription");
|
|
32
|
+
const RealtorDescription_1 = require("./descriptions/RealtorDescription");
|
|
33
|
+
const RightmoveDescription_1 = require("./descriptions/RightmoveDescription");
|
|
34
|
+
const MercadoLibreDescription_1 = require("./descriptions/MercadoLibreDescription");
|
|
32
35
|
const CompaniesHouseDescription_1 = require("./descriptions/CompaniesHouseDescription");
|
|
33
36
|
const G2Description_1 = require("./descriptions/G2Description");
|
|
34
37
|
const CapterraDescription_1 = require("./descriptions/CapterraDescription");
|
|
@@ -56,7 +59,7 @@ class Scavio {
|
|
|
56
59
|
group: ['transform'],
|
|
57
60
|
version: 1,
|
|
58
61
|
subtitle: '={{ $parameter["operation"] + ": " + $parameter["resource"] }}',
|
|
59
|
-
description: 'Real-time structured data from Google, Amazon, Walmart, eBay, Target, Home Depot, Costco, YouTube, Reddit, TikTok, Instagram, X, LinkedIn, Facebook, Pinterest, Threads, Kuaishou, Douyin, Weibo, Twitch, GitHub, Etsy, AliExpress, Zillow, Redfin, Booking.com, Airbnb, Tripadvisor, Yelp, Indeed, Glassdoor, the App Store, Google Play, SEC EDGAR, Companies House, Legistar, G2, Capterra, Trustpilot, ad libraries, and any URL',
|
|
62
|
+
description: 'Real-time structured data from Google, Amazon, Walmart, eBay, Target, Home Depot, Costco, Mercado Libre, YouTube, Reddit, TikTok, Instagram, X, LinkedIn, Facebook, Pinterest, Threads, Kuaishou, Douyin, Weibo, Twitch, GitHub, Etsy, AliExpress, Zillow, Redfin, Realtor.com, Rightmove, Booking.com, Airbnb, Tripadvisor, Yelp, Indeed, Glassdoor, the App Store, Google Play, SEC EDGAR, Companies House, Legistar, G2, Capterra, Trustpilot, ad libraries, and any URL',
|
|
60
63
|
defaults: { name: 'Scavio' },
|
|
61
64
|
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
62
65
|
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
@@ -105,10 +108,13 @@ class Scavio {
|
|
|
105
108
|
{ name: 'Kuaishou (China)', value: 'kuaishou' },
|
|
106
109
|
{ name: 'Legistar (Municipal)', value: 'legistar' },
|
|
107
110
|
{ name: 'LinkedIn', value: 'linkedin' },
|
|
111
|
+
{ name: 'Mercado Libre', value: 'mercadoLibre' },
|
|
108
112
|
{ name: 'Meta Ad Library', value: 'metaAds' },
|
|
109
113
|
{ name: 'Pinterest', value: 'pinterest' },
|
|
114
|
+
{ name: 'Realtor.com', value: 'realtor' },
|
|
110
115
|
{ name: 'Reddit', value: 'reddit' },
|
|
111
116
|
{ name: 'Redfin', value: 'redfin' },
|
|
117
|
+
{ name: 'Rightmove (UK)', value: 'rightmove' },
|
|
112
118
|
{ name: 'SEC EDGAR', value: 'sec' },
|
|
113
119
|
{ name: 'Target', value: 'target' },
|
|
114
120
|
// Threads is Meta's brand name, not a plural noun. Singularizing it to
|
|
@@ -144,6 +150,8 @@ class Scavio {
|
|
|
144
150
|
...HomeDepotDescription_1.homeDepotFields,
|
|
145
151
|
...CostcoDescription_1.costcoOperations,
|
|
146
152
|
...CostcoDescription_1.costcoFields,
|
|
153
|
+
...MercadoLibreDescription_1.mercadoLibreOperations,
|
|
154
|
+
...MercadoLibreDescription_1.mercadoLibreFields,
|
|
147
155
|
...YouTubeDescription_1.youtubeOperations,
|
|
148
156
|
...YouTubeDescription_1.youtubeFields,
|
|
149
157
|
...RedditDescription_1.redditOperations,
|
|
@@ -166,6 +174,10 @@ class Scavio {
|
|
|
166
174
|
...ZillowDescription_1.zillowFields,
|
|
167
175
|
...RedfinDescription_1.redfinOperations,
|
|
168
176
|
...RedfinDescription_1.redfinFields,
|
|
177
|
+
...RealtorDescription_1.realtorOperations,
|
|
178
|
+
...RealtorDescription_1.realtorFields,
|
|
179
|
+
...RightmoveDescription_1.rightmoveOperations,
|
|
180
|
+
...RightmoveDescription_1.rightmoveFields,
|
|
169
181
|
...BookingDescription_1.bookingOperations,
|
|
170
182
|
...BookingDescription_1.bookingFields,
|
|
171
183
|
...AirbnbDescription_1.airbnbOperations,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Scavio.node.js","sourceRoot":"","sources":["../../../nodes/Scavio/Scavio.node.ts"],"names":[],"mappings":";;;AAAA,+CAAmD;AAGnD,wEAAkF;AAClF,wEAAkF;AAClF,0EAAqF;AACrF,0EAAqF;AACrF,wEAAkF;AAClF,wEAAkF;AAClF,gFAA8F;AAC9F,8EAA2F;AAC3F,8DAAmE;AACnE,4EAAwF;AACxF,0EAAqF;AACrF,4EAAwF;AACxF,oEAA4E;AAC5E,wEAAkF;AAClF,8EAA2F;AAC3F,wEAAkF;AAClF,wEAAkF;AAClF,0EAAqF;AACrF,kFAAiG;AACjG,wEAAkF;AAClF,wEAAkF;AAClF,8EAA2F;AAC3F,oEAA4E;AAC5E,4EAAwF;AACxF,gFAA8F;AAC9F,kEAAyE;AACzE,wEAAkF;AAClF,wFAGkD;AAClD,gEAAsE;AACtE,4EAAwF;AACxF,gFAA8F;AAC9F,8EAA2F;AAC3F,0EAAqF;AACrF,0EAAqF;AACrF,0EAAqF;AACrF,gFAA8F;AAC9F,wEAAkF;AAClF,oEAA4E;AAC5E,4EAAwF;AACxF,wEAAkF;AAClF,4EAAwF;AACxF,8EAA2F;AAC3F,wEAAkF;AAClF,sEAA+E;AAC/E,4EAAwF;AACxF,uCAAiD;AAEjD,MAAa,MAAM;IAClB,WAAW,GAAyB;QACnC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,iBAAiB;QACvB,KAAK,EAAE,CAAC,WAAW,CAAC;QACpB,OAAO,EAAE,CAAC;QACV,QAAQ,EAAE,gEAAgE;QAC1E,WAAW,EACV,
|
|
1
|
+
{"version":3,"file":"Scavio.node.js","sourceRoot":"","sources":["../../../nodes/Scavio/Scavio.node.ts"],"names":[],"mappings":";;;AAAA,+CAAmD;AAGnD,wEAAkF;AAClF,wEAAkF;AAClF,0EAAqF;AACrF,0EAAqF;AACrF,wEAAkF;AAClF,wEAAkF;AAClF,gFAA8F;AAC9F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wCAAkB;YACrB,GAAG,oCAAc;YACjB,GAAG,oCAAgB;YACnB,GAAG,gCAAY;YACf,GAAG,wCAAkB;YACrB,GAAG,oCAAc;YACjB,GAAG,0CAAmB;YACtB,GAAG,sCAAe;YAClB,GAAG,oCAAgB;YACnB,GAAG,gCAAY;YACf,GAAG,kCAAe;YAClB,GAAG,8BAAW;YACd,GAAG,sCAAiB;YACpB,GAAG,kCAAa;YAChB,GAAG,sCAAiB;YACpB,GAAG,kCAAa;SAChB;KACD,CAAC;CACF;AAxLD,wBAwLC"}
|
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.mercadoLibreFields = exports.mercadoLibreOperations = void 0;
|
|
4
|
+
const show = (operation, extra = {}) => ({
|
|
5
|
+
show: { resource: ['mercadoLibre'], operation, ...extra },
|
|
6
|
+
});
|
|
7
|
+
const COUNTRY_HELP = 'Prices come back in the country\'s currency (MXN, BRL, ARS, COP). Chile is not supported.';
|
|
8
|
+
const NOT_FOUND = 'An unknown ID answers 404 naming what was not found and is billed like a normal call.';
|
|
9
|
+
function additionalOptions(operation, options, extra = {}) {
|
|
10
|
+
return {
|
|
11
|
+
displayName: 'Additional Options',
|
|
12
|
+
name: 'additionalOptions',
|
|
13
|
+
type: 'collection',
|
|
14
|
+
placeholder: 'Add Option',
|
|
15
|
+
default: {},
|
|
16
|
+
displayOptions: show(operation, extra),
|
|
17
|
+
options,
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function booleanOption(name, displayName, description) {
|
|
21
|
+
return {
|
|
22
|
+
displayName,
|
|
23
|
+
name,
|
|
24
|
+
type: 'boolean',
|
|
25
|
+
default: false,
|
|
26
|
+
description,
|
|
27
|
+
routing: { request: { body: { [name]: '={{ $value || undefined }}' } } },
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
/** Product ID / Item ID / URL selector plus the matching input fields. */
|
|
31
|
+
function listingAddress(operation, withProductId) {
|
|
32
|
+
const lookupOptions = [
|
|
33
|
+
...(withProductId ? [{ name: 'Product ID', value: 'productId' }] : []),
|
|
34
|
+
{ name: 'Item ID', value: 'itemId' },
|
|
35
|
+
{ name: 'Mercado Libre URL', value: 'url' },
|
|
36
|
+
];
|
|
37
|
+
const defaultLookup = withProductId ? 'productId' : 'itemId';
|
|
38
|
+
const fields = [
|
|
39
|
+
{
|
|
40
|
+
displayName: 'Look Up By',
|
|
41
|
+
name: 'lookupBy',
|
|
42
|
+
type: 'options',
|
|
43
|
+
noDataExpression: true,
|
|
44
|
+
default: defaultLookup,
|
|
45
|
+
displayOptions: show([operation]),
|
|
46
|
+
options: lookupOptions,
|
|
47
|
+
description: withProductId
|
|
48
|
+
? 'Whether to identify the listing by catalog product ID, item (listing) ID or page URL'
|
|
49
|
+
: 'Whether to identify the listing by item (listing) ID or page URL',
|
|
50
|
+
},
|
|
51
|
+
];
|
|
52
|
+
if (withProductId) {
|
|
53
|
+
fields.push({
|
|
54
|
+
displayName: 'Product ID',
|
|
55
|
+
name: 'product_id',
|
|
56
|
+
type: 'string',
|
|
57
|
+
required: true,
|
|
58
|
+
default: '',
|
|
59
|
+
placeholder: 'MLM1027172667',
|
|
60
|
+
displayOptions: show([operation], { lookupBy: ['productId'] }),
|
|
61
|
+
routing: { request: { body: { product_id: '={{ String($value).trim() }}' } } },
|
|
62
|
+
description: `Catalog product_id from Search Listings. The prefix (MLM, MLB, MLA, MCO) sets the country. ${NOT_FOUND}`,
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
fields.push({
|
|
66
|
+
displayName: 'Item ID',
|
|
67
|
+
name: 'item_id',
|
|
68
|
+
type: 'string',
|
|
69
|
+
required: true,
|
|
70
|
+
default: '',
|
|
71
|
+
placeholder: 'MLM3571336480',
|
|
72
|
+
displayOptions: show([operation], { lookupBy: ['itemId'] }),
|
|
73
|
+
routing: { request: { body: { item_id: '={{ String($value).trim() }}' } } },
|
|
74
|
+
description: `A listing's item_id from Search Listings. MLM-3571336480 and MLM3571336480 both work; the prefix sets the country. ${NOT_FOUND}`,
|
|
75
|
+
}, {
|
|
76
|
+
displayName: 'Mercado Libre URL',
|
|
77
|
+
name: 'url',
|
|
78
|
+
type: 'string',
|
|
79
|
+
required: true,
|
|
80
|
+
default: '',
|
|
81
|
+
placeholder: 'https://www.mercadolibre.com.mx/.../p/MLM1027172667',
|
|
82
|
+
displayOptions: show([operation], { lookupBy: ['url'] }),
|
|
83
|
+
routing: { request: { body: { url: '={{ String($value).trim() }}' } } },
|
|
84
|
+
description: operation === 'questions'
|
|
85
|
+
? 'A listing page URL, or a product (/p/, /up/) URL: a product\'s questions are those of the listing in its buy box'
|
|
86
|
+
: 'A product (/p/), user product (/up/) or listing page URL from Mexico, Brazil, Argentina or Colombia',
|
|
87
|
+
});
|
|
88
|
+
return fields;
|
|
89
|
+
}
|
|
90
|
+
exports.mercadoLibreOperations = [
|
|
91
|
+
{
|
|
92
|
+
displayName: 'Operation',
|
|
93
|
+
name: 'operation',
|
|
94
|
+
type: 'options',
|
|
95
|
+
noDataExpression: true,
|
|
96
|
+
displayOptions: { show: { resource: ['mercadoLibre'] } },
|
|
97
|
+
options: [
|
|
98
|
+
{
|
|
99
|
+
name: 'Get Best Sellers',
|
|
100
|
+
value: 'bestSellers',
|
|
101
|
+
action: 'Get mercado libre best sellers',
|
|
102
|
+
description: 'The ranked top 20 best sellers in a Mercado Libre category in Mexico, Argentina or Colombia, with price, discount, installments, rating, units sold as a lower bound and seller where shown. Not available for Brazil. Costs 2 credits.',
|
|
103
|
+
routing: { request: { method: 'POST', url: '/api/v1/mercadolibre/best-sellers' } },
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: 'Get Product',
|
|
107
|
+
value: 'product',
|
|
108
|
+
action: 'Get a mercado libre product',
|
|
109
|
+
description: 'One Mercado Libre catalog product or listing by product ID, item ID or URL: title, price, list price, installments, promotions, the buy-box seller with reputation level and seller tier, stock, shipping, rating with its star distribution, variations with sibling product IDs, specs, description, pictures and categories. Only the buy-box seller is returned; units sold is a range ("+500"). Some fields are null where the page omits them. Costs 2 credits.',
|
|
110
|
+
routing: { request: { method: 'POST', url: '/api/v1/mercadolibre/product' } },
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: 'Get Questions',
|
|
114
|
+
value: 'questions',
|
|
115
|
+
action: 'Get mercado libre listing questions',
|
|
116
|
+
description: 'Buyer questions on a Mercado Libre listing with the seller\'s answers and answer dates (Mercado Libre shows no question dates). The first page holds 20-40 questions; page through with next_offset. A listing with no public questions answers 404 saying so, billed like a normal call. Costs 2 credits.',
|
|
117
|
+
routing: { request: { method: 'POST', url: '/api/v1/mercadolibre/questions' } },
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
name: 'Get Reviews',
|
|
121
|
+
value: 'reviews',
|
|
122
|
+
action: 'Get mercado libre product reviews',
|
|
123
|
+
description: 'One page of up to 15 Mercado Libre product reviews, optionally filtered by star rating: rating, text, the original text when Mercado Libre translated it, exact date, likes, the review\'s country and photos. Catalog products pool reviews from several countries. Page until a page comes back empty. Totals and the star distribution come from Get Product. Costs 1 credit.',
|
|
124
|
+
routing: { request: { method: 'POST', url: '/api/v1/mercadolibre/reviews' } },
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
name: 'Search Listings',
|
|
128
|
+
value: 'search',
|
|
129
|
+
action: 'Search mercado libre listings',
|
|
130
|
+
description: 'Search Mercado Libre (Mercado Livre in Brazil) listings in Mexico, Brazil, Argentina or Colombia by keyword or seller, filtered by condition, price range, discount, free shipping, Full fulfillment, official stores and interest-free installments, sorted by relevance or price. Each row has price, list price and discount, installments, shipping flags, a sponsored flag, rating, units sold as a range, catalog IDs and seller where shown. About 48 per page, up to 42 pages (about 2,000 results) per query; slice by price range, condition or seller to reach more. A query with no results returns an empty list, billed. Costs 2 credits.',
|
|
131
|
+
routing: { request: { method: 'POST', url: '/api/v1/mercadolibre/search' } },
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
default: 'search',
|
|
135
|
+
},
|
|
136
|
+
];
|
|
137
|
+
exports.mercadoLibreFields = [
|
|
138
|
+
// ── Search Listings ──
|
|
139
|
+
{
|
|
140
|
+
displayName: 'Country',
|
|
141
|
+
name: 'country',
|
|
142
|
+
type: 'options',
|
|
143
|
+
required: true,
|
|
144
|
+
default: 'mx',
|
|
145
|
+
displayOptions: show(['search']),
|
|
146
|
+
options: [
|
|
147
|
+
{ name: 'Argentina', value: 'ar' },
|
|
148
|
+
{ name: 'Brazil (Mercado Livre)', value: 'br' },
|
|
149
|
+
{ name: 'Colombia', value: 'co' },
|
|
150
|
+
{ name: 'Mexico', value: 'mx' },
|
|
151
|
+
],
|
|
152
|
+
description: COUNTRY_HELP,
|
|
153
|
+
routing: { request: { body: { country: '={{ $value }}' } } },
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
displayName: 'Search By',
|
|
157
|
+
name: 'searchBy',
|
|
158
|
+
type: 'options',
|
|
159
|
+
noDataExpression: true,
|
|
160
|
+
default: 'query',
|
|
161
|
+
displayOptions: show(['search']),
|
|
162
|
+
options: [
|
|
163
|
+
{ name: 'Keywords', value: 'query' },
|
|
164
|
+
{ name: 'Seller ID', value: 'sellerId' },
|
|
165
|
+
{ name: 'Seller Nickname', value: 'sellerNickname' },
|
|
166
|
+
],
|
|
167
|
+
description: 'Whether to search by keywords, list one seller\'s catalogue by numeric seller ID (combines with keywords, filters, sort and paging), or by public nickname (first page only, no filters)',
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
displayName: 'Query',
|
|
171
|
+
name: 'query',
|
|
172
|
+
type: 'string',
|
|
173
|
+
required: true,
|
|
174
|
+
default: '',
|
|
175
|
+
placeholder: 'iphone 15',
|
|
176
|
+
displayOptions: show(['search'], { searchBy: ['query'] }),
|
|
177
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
178
|
+
description: 'Keywords, up to 200 characters. Mercado Libre may narrow a query to a category, brand or line on its own; the response lists those in auto_applied_filters.',
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
displayName: 'Seller ID',
|
|
182
|
+
name: 'seller_id',
|
|
183
|
+
type: 'string',
|
|
184
|
+
required: true,
|
|
185
|
+
default: '',
|
|
186
|
+
placeholder: '527927603',
|
|
187
|
+
displayOptions: show(['search'], { searchBy: ['sellerId'] }),
|
|
188
|
+
routing: { request: { body: { seller_id: '={{ String($value).trim() }}' } } },
|
|
189
|
+
description: 'Numeric seller ID, as returned in seller.seller_id by Get Product or by a Seller Nickname search',
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
displayName: 'Query',
|
|
193
|
+
name: 'query',
|
|
194
|
+
type: 'string',
|
|
195
|
+
default: '',
|
|
196
|
+
placeholder: 'funda',
|
|
197
|
+
displayOptions: show(['search'], { searchBy: ['sellerId'] }),
|
|
198
|
+
routing: { request: { body: { query: '={{ String($value).trim() || undefined }}' } } },
|
|
199
|
+
description: 'Optional keywords to search within this seller\'s listings',
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
displayName: 'Seller Nickname',
|
|
203
|
+
name: 'seller_nickname',
|
|
204
|
+
type: 'string',
|
|
205
|
+
required: true,
|
|
206
|
+
default: '',
|
|
207
|
+
placeholder: 'MERCADOLIBRE ELECTRONICA_MX',
|
|
208
|
+
displayOptions: show(['search'], { searchBy: ['sellerNickname'] }),
|
|
209
|
+
routing: { request: { body: { seller_nickname: '={{ String($value).trim() }}' } } },
|
|
210
|
+
description: 'A seller\'s public nickname. Returns the seller\'s first page of listings, unfiltered, plus their seller_id; use Seller ID for filters, sort and further pages. An unknown nickname answers 404 and is billed like a normal call.',
|
|
211
|
+
},
|
|
212
|
+
// ── Get Product / Get Reviews / Get Questions ──
|
|
213
|
+
...listingAddress('product', true),
|
|
214
|
+
...listingAddress('reviews', true),
|
|
215
|
+
...listingAddress('questions', false),
|
|
216
|
+
// ── Get Best Sellers ──
|
|
217
|
+
{
|
|
218
|
+
displayName: 'Country',
|
|
219
|
+
name: 'country',
|
|
220
|
+
type: 'options',
|
|
221
|
+
required: true,
|
|
222
|
+
default: 'mx',
|
|
223
|
+
displayOptions: show(['bestSellers']),
|
|
224
|
+
options: [
|
|
225
|
+
{ name: 'Argentina', value: 'ar' },
|
|
226
|
+
{ name: 'Colombia', value: 'co' },
|
|
227
|
+
{ name: 'Mexico', value: 'mx' },
|
|
228
|
+
],
|
|
229
|
+
description: 'Mexico, Argentina or Colombia. Best sellers are not available for Brazil.',
|
|
230
|
+
routing: { request: { body: { country: '={{ $value }}' } } },
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
displayName: 'Category ID',
|
|
234
|
+
name: 'category_id',
|
|
235
|
+
type: 'string',
|
|
236
|
+
required: true,
|
|
237
|
+
default: '',
|
|
238
|
+
placeholder: 'MLM1055',
|
|
239
|
+
displayOptions: show(['bestSellers']),
|
|
240
|
+
routing: { request: { body: { category_id: '={{ String($value).trim() }}' } } },
|
|
241
|
+
description: 'A category_id or category_path ID from Search Listings, or category_id from Get Product. Its prefix must match the country (MLM Mexico, MLA Argentina, MCO Colombia).',
|
|
242
|
+
},
|
|
243
|
+
// ── Additional Options ──
|
|
244
|
+
additionalOptions(['search'], [
|
|
245
|
+
{
|
|
246
|
+
displayName: 'Condition',
|
|
247
|
+
name: 'condition',
|
|
248
|
+
type: 'options',
|
|
249
|
+
default: 'new',
|
|
250
|
+
options: [
|
|
251
|
+
{ name: 'New', value: 'new' },
|
|
252
|
+
{ name: 'Open Box', value: 'open_box' },
|
|
253
|
+
{ name: 'Refurbished', value: 'refurbished' },
|
|
254
|
+
{ name: 'Used', value: 'used' },
|
|
255
|
+
],
|
|
256
|
+
description: 'Item condition. Without it, Mercado Libre may show new items only for some queries (mostly in Brazil and Argentina), listed in auto_applied_filters.',
|
|
257
|
+
routing: { request: { body: { condition: '={{ $value }}' } } },
|
|
258
|
+
},
|
|
259
|
+
booleanOption('free_shipping', 'Free Shipping Only', 'Whether to keep only listings with free shipping'),
|
|
260
|
+
booleanOption('interest_free_installments', 'Interest-Free Installments Only', 'Whether to keep only listings payable in interest-free installments'),
|
|
261
|
+
{
|
|
262
|
+
displayName: 'Max Price',
|
|
263
|
+
name: 'max_price',
|
|
264
|
+
type: 'number',
|
|
265
|
+
default: 1,
|
|
266
|
+
typeOptions: { minValue: 1 },
|
|
267
|
+
description: 'Maximum price in the country\'s currency (MXN, BRL, ARS or COP)',
|
|
268
|
+
routing: { request: { body: { max_price: '={{ $value }}' } } },
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
displayName: 'Min Discount',
|
|
272
|
+
name: 'min_discount',
|
|
273
|
+
type: 'options',
|
|
274
|
+
default: 5,
|
|
275
|
+
options: [
|
|
276
|
+
{ name: '5% Off or More', value: 5 },
|
|
277
|
+
{ name: '10% Off or More', value: 10 },
|
|
278
|
+
{ name: '15% Off or More', value: 15 },
|
|
279
|
+
{ name: '20% Off or More', value: 20 },
|
|
280
|
+
{ name: '25% Off or More', value: 25 },
|
|
281
|
+
{ name: '30% Off or More', value: 30 },
|
|
282
|
+
{ name: '40% Off or More', value: 40 },
|
|
283
|
+
],
|
|
284
|
+
description: 'Only listings at least this many percent off',
|
|
285
|
+
routing: { request: { body: { min_discount: '={{ $value }}' } } },
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
displayName: 'Min Price',
|
|
289
|
+
name: 'min_price',
|
|
290
|
+
type: 'number',
|
|
291
|
+
default: 0,
|
|
292
|
+
typeOptions: { minValue: 0 },
|
|
293
|
+
description: 'Minimum price in the country\'s currency (MXN, BRL, ARS or COP)',
|
|
294
|
+
routing: { request: { body: { min_price: '={{ $value }}' } } },
|
|
295
|
+
},
|
|
296
|
+
booleanOption('official_stores_only', 'Official Stores Only', 'Whether to keep only listings from official brand stores'),
|
|
297
|
+
{
|
|
298
|
+
displayName: 'Page',
|
|
299
|
+
name: 'page',
|
|
300
|
+
type: 'number',
|
|
301
|
+
default: 1,
|
|
302
|
+
typeOptions: { minValue: 1, maxValue: 42 },
|
|
303
|
+
description: 'Results page, 1-42, about 48 listings per page (about 2,000 results per query). Every page costs 2 credits.',
|
|
304
|
+
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
305
|
+
},
|
|
306
|
+
booleanOption('full_fulfillment', 'Shipped by Full Only', 'Whether to keep only listings shipped by Mercado Libre Full fulfillment'),
|
|
307
|
+
{
|
|
308
|
+
displayName: 'Sort',
|
|
309
|
+
name: 'sort',
|
|
310
|
+
type: 'options',
|
|
311
|
+
default: 'relevance',
|
|
312
|
+
options: [
|
|
313
|
+
{ name: 'Price: High to Low', value: 'price_desc' },
|
|
314
|
+
{ name: 'Price: Low to High', value: 'price_asc' },
|
|
315
|
+
{ name: 'Relevance', value: 'relevance' },
|
|
316
|
+
],
|
|
317
|
+
description: 'Listing order. Defaults to Relevance. Mercado Libre offers no newest or best-selling sort.',
|
|
318
|
+
routing: { request: { body: { sort: '={{ $value }}' } } },
|
|
319
|
+
},
|
|
320
|
+
], { searchBy: ['query', 'sellerId'] }),
|
|
321
|
+
additionalOptions(['reviews'], [
|
|
322
|
+
{
|
|
323
|
+
displayName: 'Page',
|
|
324
|
+
name: 'page',
|
|
325
|
+
type: 'number',
|
|
326
|
+
default: 1,
|
|
327
|
+
typeOptions: { minValue: 1, maxValue: 10000 },
|
|
328
|
+
description: 'Reviews page, 1-based, up to 15 reviews per page. A page past the last one comes back empty.',
|
|
329
|
+
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
displayName: 'Stars',
|
|
333
|
+
name: 'rating',
|
|
334
|
+
type: 'options',
|
|
335
|
+
default: 5,
|
|
336
|
+
options: [
|
|
337
|
+
{ name: '1 Star', value: 1 },
|
|
338
|
+
{ name: '2 Stars', value: 2 },
|
|
339
|
+
{ name: '3 Stars', value: 3 },
|
|
340
|
+
{ name: '4 Stars', value: 4 },
|
|
341
|
+
{ name: '5 Stars', value: 5 },
|
|
342
|
+
],
|
|
343
|
+
description: 'Only reviews with this star rating',
|
|
344
|
+
routing: { request: { body: { rating: '={{ $value }}' } } },
|
|
345
|
+
},
|
|
346
|
+
]),
|
|
347
|
+
additionalOptions(['questions'], [
|
|
348
|
+
{
|
|
349
|
+
displayName: 'Offset',
|
|
350
|
+
name: 'offset',
|
|
351
|
+
type: 'number',
|
|
352
|
+
default: 0,
|
|
353
|
+
typeOptions: { minValue: 0, maxValue: 100000 },
|
|
354
|
+
description: 'Where to start, from next_offset of the previous page. Defaults to 0.',
|
|
355
|
+
routing: { request: { body: { offset: '={{ $value }}' } } },
|
|
356
|
+
},
|
|
357
|
+
]),
|
|
358
|
+
];
|
|
359
|
+
//# sourceMappingURL=MercadoLibreDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MercadoLibreDescription.js","sourceRoot":"","sources":["../../../../nodes/Scavio/descriptions/MercadoLibreDescription.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,CAAC,SAAmB,EAAE,QAAkC,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE;CACzD,CAAC,CAAC;AAEH,MAAM,YAAY,GACjB,2FAA2F,CAAC;AAE7F,MAAM,SAAS,GAAG,uFAAuF,CAAC;AAE1G,SAAS,iBAAiB,CACzB,SAAmB,EACnB,OAA0B,EAC1B,QAAkC,EAAE;IAEpC,OAAO;QACN,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;QACtC,OAAO;KACP,CAAC;AACH,CAAC;AAED,SAAS,aAAa,CAAC,IAAY,EAAE,WAAmB,EAAE,WAAmB;IAC5E,OAAO;QACN,WAAW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