n8n-nodes-scavio 0.40.0 → 0.42.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 +29 -1
- package/dist/nodes/Scavio/Scavio.node.js +9 -1
- package/dist/nodes/Scavio/Scavio.node.js.map +1 -1
- package/dist/nodes/Scavio/descriptions/KohlsDescription.d.ts +3 -0
- package/dist/nodes/Scavio/descriptions/KohlsDescription.js +493 -0
- package/dist/nodes/Scavio/descriptions/KohlsDescription.js.map +1 -0
- package/dist/nodes/Scavio/descriptions/SaksDescription.d.ts +3 -0
- package/dist/nodes/Scavio/descriptions/SaksDescription.js +494 -0
- package/dist/nodes/Scavio/descriptions/SaksDescription.js.map +1 -0
- package/dist/nodes/Scavio/version.d.ts +1 -1
- package/dist/nodes/Scavio/version.js +1 -1
- package/package.json +2 -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, AI assistant answers, 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 79 resources and 548 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
|
|
|
@@ -52,6 +52,8 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
52
52
|
| [Best Buy](https://scavio.dev/docs/bestbuy-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2; Get Category Products 3 on a pcmcat page; Get Deal of the Day 3; Find Stores and Get Search Suggestions 1 | Search Products, Get Product, Get Reviews, Get Category Products, Get Deal of the Day, Find Stores, Get Availability, Get Search Suggestions, Get Prices |
|
|
53
53
|
| [TCGplayer](https://scavio.dev/docs/tcgplayer-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Products, Get Product, Get Listings, Get Price History, Get Recent Sales, Get Games, Get Sets, Get Price Guide, Get Search Suggestions, Get Trending Searches, Get Seller, Get Seller Feedback, Get Seller Products |
|
|
54
54
|
| [Macy's](https://scavio.dev/docs/macys-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Products, Get Product, Get Reviews, Get Category Products, Get Brand Products, Get Deals, Find Stores, Get Store Availability, Get Search Suggestions |
|
|
55
|
+
| [Saks Fifth Avenue](https://scavio.dev/docs/saks-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Products, Get Product, Get Category Products, Get Brand Products, Get Deals, Find Stores, Get Store Availability, Get Search Suggestions, Get Designers |
|
|
56
|
+
| [Kohl's](https://scavio.dev/docs/kohls-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2; Find Stores 1 | Search Products, Get Product, Get Category Products, Get Brand Products, Get Deals, Find Stores, Get Store Availability, Get Search Suggestions, Get Coupon Codes |
|
|
55
57
|
| [Vinted (27 country sites)](https://scavio.dev/docs/vinted-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Listings, Get Product, Get Seller, Get Seller Listings, Get Seller Feedback, Find Brands, Get Search Suggestions, Get Filter Options, Get Categories |
|
|
56
58
|
| [Mercado Libre (MX, BR, AR, CO)](https://scavio.dev/docs/mercadolibre-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2; Get Reviews 1 | Search Listings, Get Product, Get Reviews, Get Questions, Get Best Sellers |
|
|
57
59
|
|
|
@@ -110,6 +112,32 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
110
112
|
| [Extract (Any URL)](https://scavio.dev/docs/extract?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 normal, 1 advanced, 2 ultra; crawl and batch bill that per successful page; Map Website 1; status and cancel free | Extract Page, Map Website, Start Crawl, Get Crawl Status, Cancel Crawl, Start Batch, Get Batch Status, Cancel Batch, Screenshot |
|
|
111
113
|
| Account | Free | Get Usage |
|
|
112
114
|
|
|
115
|
+
## What changed in 0.42.0
|
|
116
|
+
|
|
117
|
+
**New resource: Kohl's, 9 operations, 2 credits each except Find Stores (1 credit).** kohls.com, US only, prices in USD. Nothing else changed.
|
|
118
|
+
|
|
119
|
+
- **Search Products**, **Get Category Products**, **Get Brand Products** and **Get Deals** share one grid: 120 products per page with total and total_pages. Up to about 8 sponsored items stay in the list, flagged is_sponsored and counted in sponsored_count. Filter by Brand, Color, Size, On Sale Only, Clearance Only, or any facet value ID through Facet Filters (one per line). Price is a facet bucket ("Price:$25 to $50"), not a free min / max. Sorts include Percent Off and Highest Rated. Search returns corrected_query when the site autocorrects a keyword.
|
|
120
|
+
- **Get Category Products** takes a kohls.com catalog path or URL that carries its CN= filter (a product's breadcrumbs[].url works).
|
|
121
|
+
- **Get Deals** reads Clearance (default), Sale, items that earn Kohl's Cash now, or Sephora at Kohl's.
|
|
122
|
+
- Prices carry price_label (sale, clearance, clearance+regular), percent_off, with_code_price (the price after a public offer code, with the code) and price_suppressed + price_note for cart-only prices.
|
|
123
|
+
- **Get Product** takes a Product ID or URL, with an optional Store ID for that store's availability and price per variant. It returns Kohl's Cash earn and redeem windows and public offer codes when the product has them, and dept. Rating and review count only: review text is not available.
|
|
124
|
+
- **Get Store Availability** takes a SKU (from Get Product), a ZIP code and optionally the department code; it returns real pickup_units and a stock_level at every store within about 50 miles.
|
|
125
|
+
- **Get Coupon Codes** lists today's public Kohl's coupon codes. No price history: to track clearance prices, poll and store your own.
|
|
126
|
+
|
|
127
|
+
Every operation carries a 120-second request timeout.
|
|
128
|
+
|
|
129
|
+
## What changed in 0.41.0
|
|
130
|
+
|
|
131
|
+
**New resource: Saks Fifth Avenue, 9 operations, 2 credits each.** saksfifthavenue.com, US only, prices in USD. Nothing else changed.
|
|
132
|
+
|
|
133
|
+
- **Search Products**, **Get Category Products**, **Get Brand Products** and **Get Deals** share one grid: 24 positions per page with total, total_pages, start and next_start. An editorial tile can take a grid position, so a page may carry 22-23 items: put the previous next_start in Start to miss nothing (Page also works). Filter by Designers, Colors, Sizes (the facet label, "Medium" not "M"), a price range, On Sale Only, New Arrivals Only, or any facet value through Other Filters (JSON). A keyword the site maps to a designer or category page returns redirected_to.
|
|
134
|
+
- **Get Deals** reads Sale, Women's Clothing Sale, Men's Sale, Women's New Arrivals or Men's New Arrivals. Saks has no clearance or final-sale list (items carry is_clearance / is_final_sale flags).
|
|
135
|
+
- **Get Product** takes a Product ID (master or variant) or URL, with an optional Color and Size to resolve one variant; every SKU carries its online warehouse unit count. Rating and review count only: review text is not available.
|
|
136
|
+
- **Get Store Availability** takes a variant SKU (from Get Product) and a ZIP code or coordinates; units_at_store is present only when the site shows a count, otherwise null. **Find Stores** flags the stores that offer pickup.
|
|
137
|
+
- **Get Designers** returns the A-Z designer index (about 1,200 names) with the slugs Get Brand Products takes.
|
|
138
|
+
|
|
139
|
+
Every operation carries a 120-second request timeout.
|
|
140
|
+
|
|
113
141
|
## What changed in 0.40.0
|
|
114
142
|
|
|
115
143
|
**New resource: Macy's, 9 operations, 1 credit each.** macys.com, US only, prices in USD. Nothing else changed.
|
|
@@ -45,6 +45,8 @@ const BestBuyDescription_1 = require("./descriptions/BestBuyDescription");
|
|
|
45
45
|
const TcgplayerDescription_1 = require("./descriptions/TcgplayerDescription");
|
|
46
46
|
const VintedDescription_1 = require("./descriptions/VintedDescription");
|
|
47
47
|
const MacysDescription_1 = require("./descriptions/MacysDescription");
|
|
48
|
+
const SaksDescription_1 = require("./descriptions/SaksDescription");
|
|
49
|
+
const KohlsDescription_1 = require("./descriptions/KohlsDescription");
|
|
48
50
|
const ZillowDescription_1 = require("./descriptions/ZillowDescription");
|
|
49
51
|
const BookingDescription_1 = require("./descriptions/BookingDescription");
|
|
50
52
|
const TripadvisorDescription_1 = require("./descriptions/TripadvisorDescription");
|
|
@@ -87,7 +89,7 @@ class Scavio {
|
|
|
87
89
|
group: ['transform'],
|
|
88
90
|
version: 1,
|
|
89
91
|
subtitle: '={{ $parameter["operation"] + ": " + $parameter["resource"] }}',
|
|
90
|
-
description: 'Real-time structured data from Google, ChatGPT, Gemini, Amazon, Walmart, eBay, Target, Home Depot, Costco, HEB, Kroger, Decathlon, Spec\'s, Lowe\'s, Sam\'s Club, Canadian Tire, Dollar General, Sephora, Ulta Beauty, ALDI, Micro Center, Walgreens, CVS, Whole Foods Market, Harbor Freight, PetSmart, Petco, iHerb, Chewy, Menards, Nordstrom, Nordstrom Rack, Best Buy, TCGplayer, Vinted, Macy\'s, 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',
|
|
92
|
+
description: 'Real-time structured data from Google, ChatGPT, Gemini, Amazon, Walmart, eBay, Target, Home Depot, Costco, HEB, Kroger, Decathlon, Spec\'s, Lowe\'s, Sam\'s Club, Canadian Tire, Dollar General, Sephora, Ulta Beauty, ALDI, Micro Center, Walgreens, CVS, Whole Foods Market, Harbor Freight, PetSmart, Petco, iHerb, Chewy, Menards, Nordstrom, Nordstrom Rack, Best Buy, TCGplayer, Vinted, Macy\'s, Saks Fifth Avenue, Kohl\'s, 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',
|
|
91
93
|
defaults: { name: 'Scavio' },
|
|
92
94
|
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
93
95
|
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
@@ -149,6 +151,7 @@ class Scavio {
|
|
|
149
151
|
{ name: 'iHerb', value: 'iherb' },
|
|
150
152
|
{ name: 'Indeed', value: 'indeed' },
|
|
151
153
|
{ name: 'Instagram', value: 'instagram' },
|
|
154
|
+
{ name: "Kohl's", value: 'kohls' },
|
|
152
155
|
{ name: 'Kroger', value: 'kroger' },
|
|
153
156
|
{ name: 'Kuaishou (China)', value: 'kuaishou' },
|
|
154
157
|
{ name: 'Legistar (Municipal)', value: 'legistar' },
|
|
@@ -174,6 +177,7 @@ class Scavio {
|
|
|
174
177
|
{ name: 'Reddit', value: 'reddit' },
|
|
175
178
|
{ name: 'Redfin', value: 'redfin' },
|
|
176
179
|
{ name: 'Rightmove (UK)', value: 'rightmove' },
|
|
180
|
+
{ name: 'Saks Fifth Avenue', value: 'saks' },
|
|
177
181
|
{ name: "Sam's Club", value: 'samsClub' },
|
|
178
182
|
{ name: 'SEC EDGAR', value: 'sec' },
|
|
179
183
|
{ name: 'Sephora', value: 'sephora' },
|
|
@@ -274,6 +278,10 @@ class Scavio {
|
|
|
274
278
|
...VintedDescription_1.vintedFields,
|
|
275
279
|
...MacysDescription_1.macysOperations,
|
|
276
280
|
...MacysDescription_1.macysFields,
|
|
281
|
+
...SaksDescription_1.saksOperations,
|
|
282
|
+
...SaksDescription_1.saksFields,
|
|
283
|
+
...KohlsDescription_1.kohlsOperations,
|
|
284
|
+
...KohlsDescription_1.kohlsFields,
|
|
277
285
|
...MercadoLibreDescription_1.mercadoLibreOperations,
|
|
278
286
|
...MercadoLibreDescription_1.mercadoLibreFields,
|
|
279
287
|
...YouTubeDescription_1.youtubeOperations,
|
|
@@ -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,kEAAyE;AACzE,wEAAkF;AAClF,8EAA2F;AAC3F,sEAA+E;AAC/E,sEAA+E;AAC/E,4EAAwF;AACxF,oFAGgD;AAChD,sFAGiD;AACjD,0EAAqF;AACrF,oEAA4E;AAC5E,oEAA4E;AAC5E,kFAAiG;AACjG,8EAA2F;AAC3F,kEAAyE;AACzE,gFAA8F;AAC9F,sFAGiD;AACjD,4EAAwF;AACxF,sEAA+E;AAC/E,sEAA+E;AAC/E,sEAA+E;AAC/E,0EAAqF;AACrF,8EAA2F;AAC3F,sFAGiD;AACjD,0EAAqF;AACrF,8EAA2F;AAC3F,wEAAkF;AAClF,sEAA+E;AAC/E,wEAAkF;AAClF,0EAAqF;AACrF,kFAAiG;AACjG,wEAAkF;AAClF,wEAAkF;AAClF,8EAA2F;AAC3F,oEAA4E;AAC5E,4EAAwF;AACxF,gFAA8F;AAC9F,kEAAyE;AACzE,wEAAkF;AAClF,0EAAqF;AACrF,8EAA2F;AAC3F,oFAGgD;AAChD,wFAGkD;AAClD,gEAAsE;AACtE,4EAAwF;AACxF,gFAA8F;AAC9F,wEAK0C;AAC1C,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,8EAA2F;AAC3F,8DAAmE;AACnE,4EAAwF;AACxF,0EAAqF;AACrF,4EAAwF;AACxF,oEAA4E;AAC5E,wEAAkF;AAClF,8EAA2F;AAC3F,wEAAkF;AAClF,kEAAyE;AACzE,wEAAkF;AAClF,8EAA2F;AAC3F,sEAA+E;AAC/E,sEAA+E;AAC/E,4EAAwF;AACxF,oFAGgD;AAChD,sFAGiD;AACjD,0EAAqF;AACrF,oEAA4E;AAC5E,oEAA4E;AAC5E,kFAAiG;AACjG,8EAA2F;AAC3F,kEAAyE;AACzE,gFAA8F;AAC9F,sFAGiD;AACjD,4EAAwF;AACxF,sEAA+E;AAC/E,sEAA+E;AAC/E,sEAA+E;AAC/E,0EAAqF;AACrF,8EAA2F;AAC3F,sFAGiD;AACjD,0EAAqF;AACrF,8EAA2F;AAC3F,wEAAkF;AAClF,sEAA+E;AAC/E,oEAA4E;AAC5E,sEAA+E;AAC/E,wEAAkF;AAClF,0EAAqF;AACrF,kFAAiG;AACjG,wEAAkF;AAClF,wEAAkF;AAClF,8EAA2F;AAC3F,oEAA4E;AAC5E,4EAAwF;AACxF,gFAA8F;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GAAG,0CAAmB;YACtB,GAAG,sCAAe;YAClB,GAAG,wCAAkB;YACrB,GAAG,oCAAc;YACjB,GAAG,4CAAoB;YACvB,GAAG,wCAAgB;YACnB,GAAG,8BAAa;YAChB,GAAG,0BAAS;YACZ,GAAG,oDAAwB;YAC3B,GAAG,gDAAoB;YACvB,GAAG,4BAAY;YACf,GAAG,wBAAQ;YACX,GAAG,wCAAkB;YACrB,GAAG,oCAAc;YACjB,GAAG,4CAAoB;YACvB,GAAG,wCAAgB;YACnB,GAAG,qCAAiB;YACpB,GAAG,iCAAa;YAChB,GAAG,oCAAgB;YACnB,GAAG,gCAAY;YACf,GAAG,0CAAmB;YACtB,GAAG,sCAAe;YAClB,GAAG,sCAAiB;YACpB,GAAG,kCAAa;YAChB,GAAG,wCAAkB;YACrB,GAAG,oCAAc;YACjB,GAAG,4CAAoB;YACvB,GAAG,wCAAgB;YACnB,GAAG,oCAAgB;YACnB,GAAG,gCAAY;YACf,GAAG,gCAAc;YACjB,GAAG,4BAAU;YACb,GAAG,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;AAlSD,wBAkSC"}
|
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.kohlsFields = exports.kohlsOperations = void 0;
|
|
4
|
+
const show = (operation, extra = {}) => ({
|
|
5
|
+
show: { resource: ['kohls'], operation, ...extra },
|
|
6
|
+
});
|
|
7
|
+
// Kohl's (kohls.com, US only, USD), 9 operations: Find Stores costs 1 credit, every other
|
|
8
|
+
// operation 2. Get Product takes a product ID or URL; Get Category Products takes a catalog
|
|
9
|
+
// path or URL that carries its CN filter; Get Brand Products takes a brand name or URL; Get
|
|
10
|
+
// Store Availability takes a SKU and a ZIP code. Every route carries a 120s timeout.
|
|
11
|
+
const request = (url, timeout = 120000) => ({
|
|
12
|
+
request: { method: 'POST', url, timeout },
|
|
13
|
+
});
|
|
14
|
+
// Facet value IDs, one per line (a facet label can itself contain a comma).
|
|
15
|
+
const splitLines = '={{ String($value).split("\\n").map(s => s.trim()).filter(Boolean) }}';
|
|
16
|
+
const GRID = '120 products per page, each with ID, title, URL, image, price (price_max for a range), regular_price, sale_price, price_label (sale, clearance, clearance+regular), on_sale, is_clearance, percent_off, price_suppressed with price_note (Kohl\'s shows some prices only in the cart), with_code_price (the price after a public offer code) with with_code_offer_codes, promotions (BOGO...), rating, review_count, badges (best_seller, top_rated...), colors, is_sephora, coupon_eligible, available_online / available_pickup / available_ship_to_store, and is_sponsored. Sponsored placements (up to about 8) stay in the list, flagged is_sponsored and counted in sponsored_count. Also returns total, page, total_pages, the sort applied, applied_filters and every facet (ID, label and values with their value ID, count and a selected flag; any value ID works in Facet Filters; price is a bucket such as "Price:$25 to $50", there is no free min / max). Average rating and review count only: review text is not available. Prices in USD.';
|
|
17
|
+
// Grid options shared by Search Products, Get Category Products, Get Brand Products and
|
|
18
|
+
// Get Deals (Get Brand Products has no Brand filter: the page is one brand).
|
|
19
|
+
const gridOptions = (withBrand) => {
|
|
20
|
+
const options = [
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Clearance Only',
|
|
23
|
+
name: 'clearance',
|
|
24
|
+
type: 'boolean',
|
|
25
|
+
default: false,
|
|
26
|
+
description: 'Whether to return only clearance items',
|
|
27
|
+
routing: { request: { body: { clearance: '={{ $value || undefined }}' } } },
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
displayName: 'Color',
|
|
31
|
+
name: 'shade',
|
|
32
|
+
type: 'string',
|
|
33
|
+
default: '',
|
|
34
|
+
placeholder: 'Black',
|
|
35
|
+
description: 'Only this color, as the Color facet lists it (Black, Blue, Beig/khaki...)',
|
|
36
|
+
routing: { request: { body: { color: '={{ $value || undefined }}' } } },
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
displayName: 'Facet Filters',
|
|
40
|
+
name: 'filters',
|
|
41
|
+
type: 'string',
|
|
42
|
+
typeOptions: { rows: 3 },
|
|
43
|
+
default: '',
|
|
44
|
+
placeholder: 'Gender:Womens\nPrice:$25 to $50',
|
|
45
|
+
description: "Facet value IDs from a previous response's facets[].values[].value, one per line, e.g. Gender:Womens, Price:%2425%20to%20%2450 (price buckets), TopRated:4, InStoreOnline:Pick%20Up%20in%20Store. Several combine (AND). Unencoded values work too (Price:$25 to $50).",
|
|
46
|
+
routing: { send: { type: 'body', property: 'filters', value: splitLines } },
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
displayName: 'On Sale Only',
|
|
50
|
+
name: 'on_sale',
|
|
51
|
+
type: 'boolean',
|
|
52
|
+
default: false,
|
|
53
|
+
description: 'Whether to return only items on sale',
|
|
54
|
+
routing: { request: { body: { on_sale: '={{ $value || undefined }}' } } },
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
displayName: 'Page',
|
|
58
|
+
name: 'page',
|
|
59
|
+
type: 'number',
|
|
60
|
+
default: 1,
|
|
61
|
+
typeOptions: { minValue: 1, maxValue: 500 },
|
|
62
|
+
description: 'Results page, 1-based (120 products per page). Defaults to 1.',
|
|
63
|
+
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
displayName: 'Size',
|
|
67
|
+
name: 'size',
|
|
68
|
+
type: 'string',
|
|
69
|
+
default: '',
|
|
70
|
+
placeholder: 'M',
|
|
71
|
+
description: 'Only this size, as the Size facet lists it (M, 32X30, 10...)',
|
|
72
|
+
routing: { request: { body: { size: '={{ $value || undefined }}' } } },
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
displayName: 'Sort',
|
|
76
|
+
name: 'sort',
|
|
77
|
+
type: 'options',
|
|
78
|
+
default: 'featured',
|
|
79
|
+
options: [
|
|
80
|
+
{ name: 'Best Sellers', value: 'best_sellers' },
|
|
81
|
+
{ name: 'Featured', value: 'featured' },
|
|
82
|
+
{ name: 'Highest Rated', value: 'highest_rated' },
|
|
83
|
+
{ name: 'New Arrivals', value: 'new_arrivals' },
|
|
84
|
+
{ name: 'Percent Off', value: 'percent_off' },
|
|
85
|
+
{ name: 'Price: High to Low', value: 'price_high_to_low' },
|
|
86
|
+
{ name: 'Price: Low to High', value: 'price_low_to_high' },
|
|
87
|
+
],
|
|
88
|
+
description: 'Featured (default), new arrivals, best sellers, price, highest rated or percent off',
|
|
89
|
+
routing: { request: { body: { sort: '={{ $value }}' } } },
|
|
90
|
+
},
|
|
91
|
+
];
|
|
92
|
+
if (withBrand) {
|
|
93
|
+
options.push({
|
|
94
|
+
displayName: 'Brand',
|
|
95
|
+
name: 'brand',
|
|
96
|
+
type: 'string',
|
|
97
|
+
default: '',
|
|
98
|
+
placeholder: "Levi's",
|
|
99
|
+
description: 'Only this brand, as the Brand facet lists it ("Levi\'s", "Hamilton Beach", "BLACK+DECKER")',
|
|
100
|
+
routing: { request: { body: { brand: '={{ $value || undefined }}' } } },
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
return options.sort((x, y) => x.displayName.localeCompare(y.displayName));
|
|
104
|
+
};
|
|
105
|
+
exports.kohlsOperations = [
|
|
106
|
+
{
|
|
107
|
+
displayName: 'Operation',
|
|
108
|
+
name: 'operation',
|
|
109
|
+
type: 'options',
|
|
110
|
+
noDataExpression: true,
|
|
111
|
+
displayOptions: { show: { resource: ['kohls'] } },
|
|
112
|
+
options: [
|
|
113
|
+
{
|
|
114
|
+
name: 'Find Stores',
|
|
115
|
+
value: 'stores',
|
|
116
|
+
action: 'Find kohls stores',
|
|
117
|
+
description: "Kohl's stores near a US ZIP code, a city and state or a point (latitude and longitude), within 25 miles by default (up to 100): store_id (what Get Product's Store ID takes), name, address, city, state, ZIP, phone, latitude and longitude, distance in miles, weekly opening hours with the UTC offset, store badges (Sephora, Fine Jewelry, Lands' End...), services (In-Store Pickup, Amazon Returns...) and the store page URL. Costs 1 credit.",
|
|
118
|
+
routing: request('/api/v1/kohls/stores'),
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
name: 'Get Brand Products',
|
|
122
|
+
value: 'brand',
|
|
123
|
+
action: 'Get kohls brand products',
|
|
124
|
+
description: "Browse one brand at Kohl's by name or URL (Nike, Hamilton Beach, Levi's...), with the same filters and sorts as Search Products. " +
|
|
125
|
+
GRID +
|
|
126
|
+
" Also returns the brand's name, facet value and URL. An unknown brand is an error. Costs 2 credits.",
|
|
127
|
+
routing: request('/api/v1/kohls/brand'),
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: 'Get Category Products',
|
|
131
|
+
value: 'category',
|
|
132
|
+
action: 'Get kohls category products',
|
|
133
|
+
description: "Browse one Kohl's catalog listing by its path or URL (Small Appliances, Women's Clothing, Men's Shoes...), with the same filters and sorts as Search Products. The path must carry its CN=... filter, the way kohls.com category links and a product's breadcrumbs[].url do. " +
|
|
134
|
+
GRID +
|
|
135
|
+
" Also returns the category's name, breadcrumbs, path and URL. Costs 2 credits.",
|
|
136
|
+
routing: request('/api/v1/kohls/category'),
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: 'Get Coupon Codes',
|
|
140
|
+
value: 'coupons',
|
|
141
|
+
action: 'Get kohls coupon codes',
|
|
142
|
+
description: "Today's public Kohl's coupon codes: code, description (the offer, minimum purchase and exclusions as stated), end date, whether it needs a Kohl's Card (requires_kohls_card), the terms page URL and the URL of the eligible products. Public codes only, no account offers or Kohl's Rewards balances. Costs 2 credits.",
|
|
143
|
+
routing: {
|
|
144
|
+
request: { method: 'POST', url: '/api/v1/kohls/coupons', timeout: 120000, body: {} },
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name: 'Get Deals',
|
|
149
|
+
value: 'deals',
|
|
150
|
+
action: 'Get kohls clearance and deals',
|
|
151
|
+
description: "Kohl's deal listings: Clearance (default), Sale, items that earn Kohl's Cash right now, or Sephora at Kohl's, with the same filters and sorts as Search Products. " +
|
|
152
|
+
GRID +
|
|
153
|
+
' To track clearance prices over time, poll and store your own: there is no price history. Costs 2 credits.',
|
|
154
|
+
routing: request('/api/v1/kohls/deals'),
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
name: 'Get Product',
|
|
158
|
+
value: 'product',
|
|
159
|
+
action: 'Get a kohls product',
|
|
160
|
+
description: "One kohls.com product by ID or URL: title, brand, status, dept (what Get Store Availability can take), breadcrumbs, Sephora at Kohl's flag, average rating, review_count and recommended_percent (review text is not available), is_new / best_seller / top_rated, badges, description, details, ingredients (beauty), images, videos, return policy, the price block (regular, sale, sale_status, percent_off, lowest_applicable_price, price_suppressed with price_note for cart-only prices, with_code_price with its savings and offer codes), kohls_cash (earn and redeem windows, amount earned) when the product has it, the public offers that apply (code, description, terms, start and end dates), pickup / ship-to-store eligibility, online_units, and every variant: SKU, UPC, color, size, availability, online_units, max_per_order, price, sale price, with-code price, Kohl's Cash earned and pickup eligibility. Add a Store ID (from Find Stores) for that store's availability and in-store price on each variant. A variants[].sku is what Get Store Availability takes. An unknown ID is an error. Costs 2 credits.",
|
|
161
|
+
routing: request('/api/v1/kohls/product'),
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
name: 'Get Search Suggestions',
|
|
165
|
+
value: 'suggestions',
|
|
166
|
+
action: 'Get kohls search suggestions',
|
|
167
|
+
description: 'The kohls.com search-box suggestions for a partial query: keyword completions (Terms, default), or matching products with ID, title, URL and image (Products). Costs 2 credits.',
|
|
168
|
+
routing: request('/api/v1/kohls/suggestions'),
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
name: 'Get Store Availability',
|
|
172
|
+
value: 'storeAvailability',
|
|
173
|
+
action: 'Get kohls store pickup stock',
|
|
174
|
+
description: "Pickup stock for one Kohl's SKU at every store within about 50 miles of a US ZIP code, with unit counts: per store pickup_units, stock_level (In Stock, Low Stock, Out of Stock), in_stock, ship_to_store_units with the ship-to-store pickup window, pickup and ship-to-store eligibility, clearance and Sephora flags, and the store's address, phone, distance and hours for the week. Also returns how many stores have it (in_stock_count) and total_pickup_units. Take the SKU (variants[].sku) and dept from Get Product. Costs 2 credits.",
|
|
175
|
+
routing: request('/api/v1/kohls/store-availability'),
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
name: 'Search Products',
|
|
179
|
+
value: 'search',
|
|
180
|
+
action: 'Search kohls products',
|
|
181
|
+
description: 'Search kohls.com (US) by keyword, filtered by brand, color, size, on sale, clearance and any facet value (price buckets, gender, rating, store pickup...), sorted by featured, new arrivals, best sellers, price, highest rated or percent off. ' +
|
|
182
|
+
GRID +
|
|
183
|
+
' When the site autocorrects the keyword, corrected_query says so. Use a result ID with Get Product. Costs 2 credits.',
|
|
184
|
+
routing: request('/api/v1/kohls/search'),
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
default: 'search',
|
|
188
|
+
},
|
|
189
|
+
];
|
|
190
|
+
exports.kohlsFields = [
|
|
191
|
+
// -- Search Products --
|
|
192
|
+
{
|
|
193
|
+
displayName: 'Query',
|
|
194
|
+
name: 'query',
|
|
195
|
+
type: 'string',
|
|
196
|
+
required: true,
|
|
197
|
+
default: '',
|
|
198
|
+
placeholder: 'jeans',
|
|
199
|
+
displayOptions: show(['search']),
|
|
200
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
201
|
+
description: 'Search keywords',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
displayName: 'Additional Options',
|
|
205
|
+
name: 'searchOptions',
|
|
206
|
+
type: 'collection',
|
|
207
|
+
placeholder: 'Add Option',
|
|
208
|
+
default: {},
|
|
209
|
+
displayOptions: show(['search']),
|
|
210
|
+
options: gridOptions(true),
|
|
211
|
+
},
|
|
212
|
+
// -- Get Category Products --
|
|
213
|
+
{
|
|
214
|
+
displayName: 'Category Path',
|
|
215
|
+
name: 'path',
|
|
216
|
+
type: 'string',
|
|
217
|
+
default: '',
|
|
218
|
+
placeholder: '/catalog/small-appliances-kitchen-dining.jsp?CN=Category:Small%20Appliances+Department:Kitchen%20%26%20Dining',
|
|
219
|
+
displayOptions: show(['category']),
|
|
220
|
+
routing: { request: { body: { path: '={{ $value || undefined }}' } } },
|
|
221
|
+
description: "A Kohl's catalog path with its CN=... part, as kohls.com category links and a product's breadcrumbs[].URL carry it. Use this or Category URL.",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
displayName: 'Category URL',
|
|
225
|
+
name: 'url',
|
|
226
|
+
type: 'string',
|
|
227
|
+
default: '',
|
|
228
|
+
placeholder: 'https://www.kohls.com/catalog/womens-clothing.jsp?CN=Gender:Womens+Department:Clothing',
|
|
229
|
+
displayOptions: show(['category']),
|
|
230
|
+
routing: { request: { body: { url: '={{ $value || undefined }}' } } },
|
|
231
|
+
description: 'A kohls.com catalog URL. Its CN facets define the listing; a sort or page in the URL is kept. Used when Category Path is not given.',
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
displayName: 'Additional Options',
|
|
235
|
+
name: 'categoryOptions',
|
|
236
|
+
type: 'collection',
|
|
237
|
+
placeholder: 'Add Option',
|
|
238
|
+
default: {},
|
|
239
|
+
displayOptions: show(['category']),
|
|
240
|
+
options: gridOptions(true),
|
|
241
|
+
},
|
|
242
|
+
// -- Get Brand Products --
|
|
243
|
+
{
|
|
244
|
+
displayName: 'Brand Name',
|
|
245
|
+
name: 'brandName',
|
|
246
|
+
type: 'string',
|
|
247
|
+
default: '',
|
|
248
|
+
placeholder: 'Hamilton Beach',
|
|
249
|
+
displayOptions: show(['brand']),
|
|
250
|
+
routing: { request: { body: { brand: '={{ $value || undefined }}' } } },
|
|
251
|
+
description: "A brand name as Kohl's lists it in the Brand facet (Nike, Hamilton Beach, Levi's). Use this or Brand Page URL.",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
displayName: 'Brand Page URL',
|
|
255
|
+
name: 'url',
|
|
256
|
+
type: 'string',
|
|
257
|
+
default: '',
|
|
258
|
+
placeholder: 'https://www.kohls.com/catalog/hamilton-beach.jsp?CN=Brand:Hamilton%20Beach',
|
|
259
|
+
displayOptions: show(['brand']),
|
|
260
|
+
routing: { request: { body: { url: '={{ $value || undefined }}' } } },
|
|
261
|
+
description: 'A kohls.com brand page URL (its CN carries Brand:...). Used when Brand Name is not given.',
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
displayName: 'Additional Options',
|
|
265
|
+
name: 'brandOptions',
|
|
266
|
+
type: 'collection',
|
|
267
|
+
placeholder: 'Add Option',
|
|
268
|
+
default: {},
|
|
269
|
+
displayOptions: show(['brand']),
|
|
270
|
+
options: gridOptions(false),
|
|
271
|
+
},
|
|
272
|
+
// -- Get Deals --
|
|
273
|
+
{
|
|
274
|
+
displayName: 'List',
|
|
275
|
+
name: 'type',
|
|
276
|
+
type: 'options',
|
|
277
|
+
default: 'clearance',
|
|
278
|
+
options: [
|
|
279
|
+
{ name: 'Clearance', value: 'clearance' },
|
|
280
|
+
{ name: "Earn Kohl's Cash", value: 'kohls_cash' },
|
|
281
|
+
{ name: 'Sale', value: 'sale' },
|
|
282
|
+
{ name: "Sephora at Kohl's", value: 'sephora' },
|
|
283
|
+
],
|
|
284
|
+
displayOptions: show(['deals']),
|
|
285
|
+
routing: { request: { body: { type: '={{ $value }}' } } },
|
|
286
|
+
description: "Which deal listing to read: Clearance (default), Sale, items that earn Kohl's Cash now, or Sephora at Kohl's",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
displayName: 'Additional Options',
|
|
290
|
+
name: 'dealsOptions',
|
|
291
|
+
type: 'collection',
|
|
292
|
+
placeholder: 'Add Option',
|
|
293
|
+
default: {},
|
|
294
|
+
displayOptions: show(['deals']),
|
|
295
|
+
options: gridOptions(true),
|
|
296
|
+
},
|
|
297
|
+
// -- Get Product --
|
|
298
|
+
{
|
|
299
|
+
displayName: 'Product ID',
|
|
300
|
+
name: 'product_id',
|
|
301
|
+
type: 'string',
|
|
302
|
+
default: '',
|
|
303
|
+
placeholder: '6251213',
|
|
304
|
+
displayOptions: show(['product']),
|
|
305
|
+
routing: { request: { body: { product_id: '={{ $value || undefined }}' } } },
|
|
306
|
+
description: "Kohl's product ID: a search result's ID, the number after prd- in a product URL. Use this or Product URL.",
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
displayName: 'Product URL',
|
|
310
|
+
name: 'url',
|
|
311
|
+
type: 'string',
|
|
312
|
+
default: '',
|
|
313
|
+
placeholder: 'https://www.kohls.com/product/prd-6251213/hamilton-beach-17-liter-black-electric-kettle.jsp',
|
|
314
|
+
displayOptions: show(['product']),
|
|
315
|
+
routing: { request: { body: { url: '={{ $value || undefined }}' } } },
|
|
316
|
+
description: 'A kohls.com product URL (its prd- number is used). Used when Product ID is not given.',
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
displayName: 'Additional Options',
|
|
320
|
+
name: 'productOptions',
|
|
321
|
+
type: 'collection',
|
|
322
|
+
placeholder: 'Add Option',
|
|
323
|
+
default: {},
|
|
324
|
+
displayOptions: show(['product']),
|
|
325
|
+
options: [
|
|
326
|
+
{
|
|
327
|
+
displayName: 'Store ID',
|
|
328
|
+
name: 'store_id',
|
|
329
|
+
type: 'string',
|
|
330
|
+
default: '',
|
|
331
|
+
placeholder: '725',
|
|
332
|
+
description: "A Kohl's store number (store_id from Find Stores): adds that store's availability and in-store price to every variant",
|
|
333
|
+
routing: { request: { body: { store_id: '={{ $value || undefined }}' } } },
|
|
334
|
+
},
|
|
335
|
+
],
|
|
336
|
+
},
|
|
337
|
+
// -- Get Store Availability --
|
|
338
|
+
{
|
|
339
|
+
displayName: 'SKU',
|
|
340
|
+
name: 'sku',
|
|
341
|
+
type: 'string',
|
|
342
|
+
required: true,
|
|
343
|
+
default: '',
|
|
344
|
+
placeholder: '73519108',
|
|
345
|
+
displayOptions: show(['storeAvailability']),
|
|
346
|
+
routing: { request: { body: { sku: '={{ $value }}' } } },
|
|
347
|
+
description: "A Kohl's SKU code: a product's variants[].sku from Get Product",
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
displayName: 'ZIP Code',
|
|
351
|
+
name: 'zip',
|
|
352
|
+
type: 'string',
|
|
353
|
+
required: true,
|
|
354
|
+
default: '',
|
|
355
|
+
placeholder: '10001',
|
|
356
|
+
displayOptions: show(['storeAvailability']),
|
|
357
|
+
routing: { request: { body: { zip: '={{ $value }}' } } },
|
|
358
|
+
description: 'US ZIP code: stores within about 50 miles are listed',
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
displayName: 'Additional Options',
|
|
362
|
+
name: 'storeAvailabilityOptions',
|
|
363
|
+
type: 'collection',
|
|
364
|
+
placeholder: 'Add Option',
|
|
365
|
+
default: {},
|
|
366
|
+
displayOptions: show(['storeAvailability']),
|
|
367
|
+
options: [
|
|
368
|
+
{
|
|
369
|
+
displayName: 'Department Code',
|
|
370
|
+
name: 'dept',
|
|
371
|
+
type: 'string',
|
|
372
|
+
default: '',
|
|
373
|
+
placeholder: '063',
|
|
374
|
+
description: "The product's department code (dept from Get Product)",
|
|
375
|
+
routing: { request: { body: { dept: '={{ $value || undefined }}' } } },
|
|
376
|
+
},
|
|
377
|
+
],
|
|
378
|
+
},
|
|
379
|
+
// -- Find Stores --
|
|
380
|
+
{
|
|
381
|
+
displayName: 'Locate By',
|
|
382
|
+
name: 'locateBy',
|
|
383
|
+
type: 'options',
|
|
384
|
+
default: 'zip',
|
|
385
|
+
options: [
|
|
386
|
+
{ name: 'City and State', value: 'city' },
|
|
387
|
+
{ name: 'Coordinates', value: 'coordinates' },
|
|
388
|
+
{ name: 'ZIP Code', value: 'zip' },
|
|
389
|
+
],
|
|
390
|
+
displayOptions: show(['stores']),
|
|
391
|
+
description: 'Search near a ZIP code, a city and state, or a latitude/longitude pair',
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
displayName: 'ZIP Code',
|
|
395
|
+
name: 'zip',
|
|
396
|
+
type: 'string',
|
|
397
|
+
required: true,
|
|
398
|
+
default: '',
|
|
399
|
+
placeholder: '60601',
|
|
400
|
+
displayOptions: show(['stores'], { locateBy: ['zip'] }),
|
|
401
|
+
routing: { request: { body: { zip: '={{ $value }}' } } },
|
|
402
|
+
description: 'US ZIP code to search around',
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
displayName: 'City',
|
|
406
|
+
name: 'city',
|
|
407
|
+
type: 'string',
|
|
408
|
+
required: true,
|
|
409
|
+
default: '',
|
|
410
|
+
placeholder: 'Austin',
|
|
411
|
+
displayOptions: show(['stores'], { locateBy: ['city'] }),
|
|
412
|
+
routing: { request: { body: { city: '={{ $value }}' } } },
|
|
413
|
+
description: 'City to search around (with State)',
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
displayName: 'State',
|
|
417
|
+
name: 'state',
|
|
418
|
+
type: 'string',
|
|
419
|
+
required: true,
|
|
420
|
+
default: '',
|
|
421
|
+
placeholder: 'TX',
|
|
422
|
+
displayOptions: show(['stores'], { locateBy: ['city'] }),
|
|
423
|
+
routing: { request: { body: { state: '={{ $value }}' } } },
|
|
424
|
+
description: '2-letter US state code',
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
displayName: 'Latitude',
|
|
428
|
+
name: 'lat',
|
|
429
|
+
type: 'number',
|
|
430
|
+
required: true,
|
|
431
|
+
default: 0,
|
|
432
|
+
typeOptions: { minValue: -90, maxValue: 90, numberPrecision: 6 },
|
|
433
|
+
displayOptions: show(['stores'], { locateBy: ['coordinates'] }),
|
|
434
|
+
routing: { request: { body: { lat: '={{ $value }}' } } },
|
|
435
|
+
description: 'Latitude to search around',
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
displayName: 'Longitude',
|
|
439
|
+
name: 'lng',
|
|
440
|
+
type: 'number',
|
|
441
|
+
required: true,
|
|
442
|
+
default: 0,
|
|
443
|
+
typeOptions: { minValue: -180, maxValue: 180, numberPrecision: 6 },
|
|
444
|
+
displayOptions: show(['stores'], { locateBy: ['coordinates'] }),
|
|
445
|
+
routing: { request: { body: { lng: '={{ $value }}' } } },
|
|
446
|
+
description: 'Longitude to search around',
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
displayName: 'Additional Options',
|
|
450
|
+
name: 'storesOptions',
|
|
451
|
+
type: 'collection',
|
|
452
|
+
placeholder: 'Add Option',
|
|
453
|
+
default: {},
|
|
454
|
+
displayOptions: show(['stores']),
|
|
455
|
+
options: [
|
|
456
|
+
{
|
|
457
|
+
displayName: 'Radius (Miles)',
|
|
458
|
+
name: 'radius',
|
|
459
|
+
type: 'number',
|
|
460
|
+
default: 25,
|
|
461
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
462
|
+
description: 'Search radius in miles, 1-100. Defaults to 25.',
|
|
463
|
+
routing: { request: { body: { radius: '={{ $value }}' } } },
|
|
464
|
+
},
|
|
465
|
+
],
|
|
466
|
+
},
|
|
467
|
+
// -- Get Search Suggestions --
|
|
468
|
+
{
|
|
469
|
+
displayName: 'Query',
|
|
470
|
+
name: 'query',
|
|
471
|
+
type: 'string',
|
|
472
|
+
required: true,
|
|
473
|
+
default: '',
|
|
474
|
+
placeholder: 'coff',
|
|
475
|
+
displayOptions: show(['suggestions']),
|
|
476
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
477
|
+
description: 'What the shopper has typed so far',
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
displayName: 'Suggestion Type',
|
|
481
|
+
name: 'type',
|
|
482
|
+
type: 'options',
|
|
483
|
+
default: 'terms',
|
|
484
|
+
options: [
|
|
485
|
+
{ name: 'Products', value: 'products' },
|
|
486
|
+
{ name: 'Terms', value: 'terms' },
|
|
487
|
+
],
|
|
488
|
+
displayOptions: show(['suggestions']),
|
|
489
|
+
routing: { request: { body: { type: '={{ $value }}' } } },
|
|
490
|
+
description: 'Terms: keyword completions. Products: matching products (ID, title, URL, image).',
|
|
491
|
+
},
|
|
492
|
+
];
|
|
493
|
+
//# sourceMappingURL=KohlsDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KohlsDescription.js","sourceRoot":"","sources":["../../../../nodes/Scavio/descriptions/KohlsDescription.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,CAAC,SAAmB,EAAE,QAAkC,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE;CAClD,CAAC,CAAC;AAEH,0FAA0F;AAC1F,4FAA4F;AAC5F,4FAA4F;AAC5F,qFAAqF;AACrF,MAAM,OAAO,GAAG,CAAC,GAAW,EAAE,OAAO,GAAG,MAAM,EAAE,EAAE,CAAC,CAAC;IACnD,OAAO,EAAE,EAAE,MAAM,EAAE,MAAe,EAAE,GAAG,EAAE,OAAO,EAAE;CAClD,CAAC,CAAC;AAEH,4EAA4E;AAC5E,MAAM,UAAU,GAAG,uEAAuE,CAAC;AAE3F,MAAM,IAAI,GACT,8/BAA8/B,CAAC;AAEhgC,wFAAwF;AACxF,6EAA6E;AAC7E,MAAM,WAAW,GAAG,CAAC,SAAkB,EAAqB,EAAE;IAC7D,MAAM,OAAO,GAAsB;QAClC;YACC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,WAAW,EAAE,wCAAwC;YACrD,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,4BAA4B,EAAE,EAAE,EAAE;SAC3E;QACD;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,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AO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE;QACzD,WAAW,EAAE,kFAAkF;KAC/F;CACD,CAAC"}
|
|
@@ -0,0 +1,494 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.saksFields = exports.saksOperations = void 0;
|
|
4
|
+
const show = (operation, extra = {}) => ({
|
|
5
|
+
show: { resource: ['saks'], operation, ...extra },
|
|
6
|
+
});
|
|
7
|
+
// Saks Fifth Avenue (saksfifthavenue.com, US only, USD), 9 operations, 2 credits each. Get
|
|
8
|
+
// Product takes a product ID or URL; Get Category Products takes a path or URL; Get Brand
|
|
9
|
+
// Products takes a designer slug or URL; Get Store Availability takes a variant SKU. Every
|
|
10
|
+
// route carries a 120s timeout.
|
|
11
|
+
const request = (url, timeout = 120000) => ({
|
|
12
|
+
request: { method: 'POST', url, timeout },
|
|
13
|
+
});
|
|
14
|
+
const splitList = '={{ String($value).split(",").map(s => s.trim()).filter(Boolean) }}';
|
|
15
|
+
const GRID = '24 grid positions per page, each item with ID (variant_id too when the tile shows one variant), title, brand, URL, image, price (price_max when the item sells at a range), regular and sale price, percent off, on-sale flag, review count, badge (Best Seller, Exclusive, Runway Look...), is_final_sale and is_clearance (null when the tile leaves them blank; Get Product is authoritative), returnable, limited_inventory, promotions, product_type and colors. Also returns total, page, total_pages, start and next_start (put next_start in Start for the next page: an editorial tile can take a grid position, so a page may carry 22-23 items), the sort applied, the facets (ID, label and values with counts; any value works in Other Filters), price_ranges and applied_filters. Review count only: review text is not available. Prices in USD.';
|
|
16
|
+
// Grid options shared by Search Products, Get Category Products, Get Brand Products and
|
|
17
|
+
// Get Deals (Get Brand Products has no Designers filter: the page is one designer).
|
|
18
|
+
const gridOptions = (withBrand) => {
|
|
19
|
+
const options = [
|
|
20
|
+
{
|
|
21
|
+
displayName: 'Colors',
|
|
22
|
+
name: 'shades',
|
|
23
|
+
type: 'string',
|
|
24
|
+
default: '',
|
|
25
|
+
placeholder: 'Black, Blue',
|
|
26
|
+
description: 'Only these colors, as the colorRefinement facet lists them, separated by commas. Several match any of them.',
|
|
27
|
+
routing: { send: { type: 'body', property: 'color', value: splitList } },
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
displayName: 'Max Price',
|
|
31
|
+
name: 'max_price',
|
|
32
|
+
type: 'number',
|
|
33
|
+
default: 0,
|
|
34
|
+
typeOptions: { minValue: 0 },
|
|
35
|
+
description: 'Maximum price in USD',
|
|
36
|
+
routing: { request: { body: { max_price: '={{ $value }}' } } },
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
displayName: 'Min Price',
|
|
40
|
+
name: 'min_price',
|
|
41
|
+
type: 'number',
|
|
42
|
+
default: 0,
|
|
43
|
+
typeOptions: { minValue: 0 },
|
|
44
|
+
description: "Minimum price in USD. Any bound works, not only the site's price buckets.",
|
|
45
|
+
routing: { request: { body: { min_price: '={{ $value }}' } } },
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
displayName: 'New Arrivals Only',
|
|
49
|
+
name: 'new_arrivals',
|
|
50
|
+
type: 'boolean',
|
|
51
|
+
default: false,
|
|
52
|
+
description: 'Whether to return only new arrivals',
|
|
53
|
+
routing: { request: { body: { new_arrivals: '={{ $value || undefined }}' } } },
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
displayName: 'On Sale Only',
|
|
57
|
+
name: 'on_sale',
|
|
58
|
+
type: 'boolean',
|
|
59
|
+
default: false,
|
|
60
|
+
description: 'Whether to return only items on sale',
|
|
61
|
+
routing: { request: { body: { on_sale: '={{ $value || undefined }}' } } },
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
displayName: 'Other Filters (JSON)',
|
|
65
|
+
name: 'filters',
|
|
66
|
+
type: 'json',
|
|
67
|
+
default: '{}',
|
|
68
|
+
description: 'Any other facet from a previous response\'s facets: its ID to one value or a list, e.g. {"refGender": "Women\'s", "refMaterial": "Cashmere"}',
|
|
69
|
+
routing: {
|
|
70
|
+
request: {
|
|
71
|
+
body: { filters: '={{ typeof $value === "string" ? JSON.parse($value) : $value }}' },
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
displayName: 'Page',
|
|
77
|
+
name: 'page',
|
|
78
|
+
type: 'number',
|
|
79
|
+
default: 1,
|
|
80
|
+
typeOptions: { minValue: 1, maxValue: 500 },
|
|
81
|
+
description: 'Results page, 1-based (24 grid positions per page). Defaults to 1.',
|
|
82
|
+
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
displayName: 'Sizes',
|
|
86
|
+
name: 'size',
|
|
87
|
+
type: 'string',
|
|
88
|
+
default: '',
|
|
89
|
+
placeholder: 'Medium',
|
|
90
|
+
description: 'Only these sizes, spelled as the sizeRefinement facet LABEL lists them ("Medium", not "M"), separated by commas. Several match any of them.',
|
|
91
|
+
routing: { send: { type: 'body', property: 'size', value: splitList } },
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
displayName: 'Sort',
|
|
95
|
+
name: 'sort',
|
|
96
|
+
type: 'options',
|
|
97
|
+
default: 'featured',
|
|
98
|
+
options: [
|
|
99
|
+
{ name: 'Best Sellers', value: 'best_sellers' },
|
|
100
|
+
{ name: 'Designer A-Z', value: 'brand_az' },
|
|
101
|
+
{ name: 'Featured', value: 'featured' },
|
|
102
|
+
{ name: 'Newest', value: 'newest' },
|
|
103
|
+
{ name: 'Price: High to Low', value: 'price_high_to_low' },
|
|
104
|
+
{ name: 'Price: Low to High', value: 'price_low_to_high' },
|
|
105
|
+
{ name: 'Sale First', value: 'sale_first' },
|
|
106
|
+
],
|
|
107
|
+
description: "Featured (default, the site's own order), best sellers, newest, price, sale first or designer A-Z",
|
|
108
|
+
routing: { request: { body: { sort: '={{ $value }}' } } },
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
displayName: 'Start',
|
|
112
|
+
name: 'start',
|
|
113
|
+
type: 'number',
|
|
114
|
+
default: 0,
|
|
115
|
+
typeOptions: { minValue: 0 },
|
|
116
|
+
description: "Item offset, instead of Page: a previous response's next_start, to walk every item without gaps",
|
|
117
|
+
routing: { request: { body: { start: '={{ $value }}' } } },
|
|
118
|
+
},
|
|
119
|
+
];
|
|
120
|
+
if (withBrand) {
|
|
121
|
+
options.push({
|
|
122
|
+
displayName: 'Designers',
|
|
123
|
+
name: 'brand',
|
|
124
|
+
type: 'string',
|
|
125
|
+
default: '',
|
|
126
|
+
placeholder: 'Prada, Moncler',
|
|
127
|
+
description: 'Only these designers, spelled as the brand facet lists them, separated by commas. Several match any of them.',
|
|
128
|
+
routing: { send: { type: 'body', property: 'brand', value: splitList } },
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
return options.sort((x, y) => x.displayName.localeCompare(y.displayName));
|
|
132
|
+
};
|
|
133
|
+
// Location fields shared by Find Stores and Get Store Availability.
|
|
134
|
+
const locationFields = (operation, modeName) => [
|
|
135
|
+
{
|
|
136
|
+
displayName: 'ZIP Code',
|
|
137
|
+
name: 'zip',
|
|
138
|
+
type: 'string',
|
|
139
|
+
required: true,
|
|
140
|
+
default: '',
|
|
141
|
+
placeholder: '10022',
|
|
142
|
+
displayOptions: show([operation], { [modeName]: ['zip'] }),
|
|
143
|
+
routing: { request: { body: { zip: '={{ $value }}' } } },
|
|
144
|
+
description: 'US ZIP code to search around',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
displayName: 'Latitude',
|
|
148
|
+
name: 'lat',
|
|
149
|
+
type: 'number',
|
|
150
|
+
required: true,
|
|
151
|
+
default: 0,
|
|
152
|
+
typeOptions: { minValue: -90, maxValue: 90, numberPrecision: 6 },
|
|
153
|
+
displayOptions: show([operation], { [modeName]: ['coordinates'] }),
|
|
154
|
+
routing: { request: { body: { lat: '={{ $value }}' } } },
|
|
155
|
+
description: 'Latitude to search around',
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
displayName: 'Longitude',
|
|
159
|
+
name: 'lng',
|
|
160
|
+
type: 'number',
|
|
161
|
+
required: true,
|
|
162
|
+
default: 0,
|
|
163
|
+
typeOptions: { minValue: -180, maxValue: 180, numberPrecision: 6 },
|
|
164
|
+
displayOptions: show([operation], { [modeName]: ['coordinates'] }),
|
|
165
|
+
routing: { request: { body: { lng: '={{ $value }}' } } },
|
|
166
|
+
description: 'Longitude to search around',
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
displayName: 'Locate By',
|
|
170
|
+
name: modeName,
|
|
171
|
+
type: 'options',
|
|
172
|
+
default: 'zip',
|
|
173
|
+
options: [
|
|
174
|
+
{ name: 'Coordinates', value: 'coordinates' },
|
|
175
|
+
{ name: 'ZIP Code', value: 'zip' },
|
|
176
|
+
],
|
|
177
|
+
displayOptions: show([operation]),
|
|
178
|
+
description: 'Search near a ZIP code or a latitude/longitude pair',
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
displayName: 'Additional Options',
|
|
182
|
+
name: `${operation}LocationOptions`,
|
|
183
|
+
type: 'collection',
|
|
184
|
+
placeholder: 'Add Option',
|
|
185
|
+
default: {},
|
|
186
|
+
displayOptions: show([operation]),
|
|
187
|
+
options: [
|
|
188
|
+
{
|
|
189
|
+
displayName: 'Radius (Miles)',
|
|
190
|
+
name: 'radius',
|
|
191
|
+
type: 'options',
|
|
192
|
+
default: 50,
|
|
193
|
+
options: [
|
|
194
|
+
{ name: '15 Miles', value: 15 },
|
|
195
|
+
{ name: '30 Miles', value: 30 },
|
|
196
|
+
{ name: '50 Miles', value: 50 },
|
|
197
|
+
{ name: '100 Miles', value: 100 },
|
|
198
|
+
{ name: '300 Miles', value: 300 },
|
|
199
|
+
],
|
|
200
|
+
description: 'Search radius in miles. Defaults to 50.',
|
|
201
|
+
routing: { request: { body: { radius: '={{ $value }}' } } },
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
},
|
|
205
|
+
];
|
|
206
|
+
exports.saksOperations = [
|
|
207
|
+
{
|
|
208
|
+
displayName: 'Operation',
|
|
209
|
+
name: 'operation',
|
|
210
|
+
type: 'options',
|
|
211
|
+
noDataExpression: true,
|
|
212
|
+
displayOptions: { show: { resource: ['saks'] } },
|
|
213
|
+
options: [
|
|
214
|
+
{
|
|
215
|
+
name: 'Find Stores',
|
|
216
|
+
value: 'stores',
|
|
217
|
+
action: 'Find saks fifth avenue stores',
|
|
218
|
+
description: "Saks Fifth Avenue stores near a US ZIP code or a point (latitude and longitude), within 15 / 30 / 50 / 100 / 300 miles (default 50): store_id, name, address, city, state, ZIP, latitude and longitude, distance in miles (pickup stores), today's opening and closing times, hours as listed, closed flag, and pickup (true for stores that offer in-store pickup; other Saks locations are listed with pickup false). Costs 2 credits.",
|
|
219
|
+
routing: request('/api/v1/saks/stores'),
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
name: 'Get Brand Products',
|
|
223
|
+
value: 'brand',
|
|
224
|
+
action: 'Get saks fifth avenue designer products',
|
|
225
|
+
description: "Browse one designer's Saks page by slug (from Get Designers) or URL, with the same filters and sorts as Search Products. " +
|
|
226
|
+
GRID +
|
|
227
|
+
" Also returns the brand's name, slug and URL. An unknown slug is an error. Costs 2 credits.",
|
|
228
|
+
routing: request('/api/v1/saks/brand'),
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
name: 'Get Category Products',
|
|
232
|
+
value: 'category',
|
|
233
|
+
action: 'Get saks fifth avenue category products',
|
|
234
|
+
description: "Browse one Saks category by its /c/ path or URL (women's dresses, men's sweaters, beauty...), with the same filters and sorts as Search Products. " +
|
|
235
|
+
GRID +
|
|
236
|
+
" Also returns the category's name, path, URL and breadcrumbs. An unknown path is an error. Costs 2 credits.",
|
|
237
|
+
routing: request('/api/v1/saks/category'),
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
name: 'Get Deals',
|
|
241
|
+
value: 'deals',
|
|
242
|
+
action: 'Get saks fifth avenue sale and new arrivals',
|
|
243
|
+
description: "Saks sale and new-arrival listings: all Sale (default), Women's Clothing Sale, Men's Sale, Women's New Arrivals or Men's New Arrivals, with the same filters and sorts as Search Products. " +
|
|
244
|
+
GRID +
|
|
245
|
+
' Saks has no clearance or final-sale listing (items carry is_clearance / is_final_sale flags). Costs 2 credits.',
|
|
246
|
+
routing: request('/api/v1/saks/deals'),
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
name: 'Get Designers',
|
|
250
|
+
value: 'designers',
|
|
251
|
+
action: 'Get saks fifth avenue designers',
|
|
252
|
+
description: 'The Saks A-Z designer index (about 1,200 designers): name, slug (what Get Brand Products takes), URL and letter, optionally only one letter. Costs 2 credits.',
|
|
253
|
+
routing: request('/api/v1/saks/designers'),
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
name: 'Get Product',
|
|
257
|
+
value: 'product',
|
|
258
|
+
action: 'Get a saks fifth avenue product',
|
|
259
|
+
description: 'One saksfifthavenue.com product by ID or URL: title, brand, type (master or variant), UPC (for a variant), price, price_max, regular and sale price, percent off, on-sale flag, is_new / is_sale / is_clearance / is_final_sale, badge, returnable, promotions, description, style code, images, colors and sizes (each with availability IN_STOCK / NOT_AVAILABLE, selectable and waitlist), every SKU in variants with its online warehouse unit count, in-stock and available counts, availability (units available to sell, message such as Limited Inventory, in_stock_date), available_in_store, marketplace, drop_ship, preorder, merchandising attributes, the average star rating and review_count. Review text is not available. Add Color and Size (or pass a variant SKU) to resolve one variant. A variant SKU is what Get Store Availability takes. An unknown ID is an error. Costs 2 credits.',
|
|
260
|
+
routing: request('/api/v1/saks/product'),
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
name: 'Get Search Suggestions',
|
|
264
|
+
value: 'suggestions',
|
|
265
|
+
action: 'Get saks fifth avenue search suggestions',
|
|
266
|
+
description: 'The saksfifthavenue.com search-box suggestions for a partial query: the result count, matching designers, suggested categories (name, parent, path for Get Category Products), up to 5 featured products (ID, title, brand, URL, image) and popular searches. Costs 2 credits.',
|
|
267
|
+
routing: request('/api/v1/saks/suggestions'),
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
name: 'Get Store Availability',
|
|
271
|
+
value: 'storeAvailability',
|
|
272
|
+
action: 'Get saks fifth avenue store pickup availability',
|
|
273
|
+
description: "Can one Saks variant (SKU) be picked up near a US ZIP code or a point? For each pickup store: the site's availability message (In Stock, Limited Inventory, Not Available), in_stock, limited, units_at_store when the site gives a count (it does for stores that have the item; otherwise null), and the store's address, distance and today's hours. Needs a variant SKU from Get Product (variants[].sku). Costs 2 credits.",
|
|
274
|
+
routing: request('/api/v1/saks/store-availability'),
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
name: 'Search Products',
|
|
278
|
+
value: 'search',
|
|
279
|
+
action: 'Search saks fifth avenue products',
|
|
280
|
+
description: 'Search saksfifthavenue.com (US) by keyword, filtered by designer, color, size (the facet label, e.g. Medium), any price range, on sale, new arrivals and any other facet, sorted by featured, best sellers, newest, price, sale first or designer A-Z. ' +
|
|
281
|
+
GRID +
|
|
282
|
+
' A keyword the site sends to a designer or category page is answered from that page, named in redirected_to. Use a result ID with Get Product. Costs 2 credits.',
|
|
283
|
+
routing: request('/api/v1/saks/search'),
|
|
284
|
+
},
|
|
285
|
+
],
|
|
286
|
+
default: 'search',
|
|
287
|
+
},
|
|
288
|
+
];
|
|
289
|
+
exports.saksFields = [
|
|
290
|
+
// -- Search Products --
|
|
291
|
+
{
|
|
292
|
+
displayName: 'Query',
|
|
293
|
+
name: 'query',
|
|
294
|
+
type: 'string',
|
|
295
|
+
required: true,
|
|
296
|
+
default: '',
|
|
297
|
+
placeholder: 'coat',
|
|
298
|
+
displayOptions: show(['search']),
|
|
299
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
300
|
+
description: 'Search keywords',
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
displayName: 'Additional Options',
|
|
304
|
+
name: 'searchOptions',
|
|
305
|
+
type: 'collection',
|
|
306
|
+
placeholder: 'Add Option',
|
|
307
|
+
default: {},
|
|
308
|
+
displayOptions: show(['search']),
|
|
309
|
+
options: gridOptions(true),
|
|
310
|
+
},
|
|
311
|
+
// -- Get Category Products --
|
|
312
|
+
{
|
|
313
|
+
displayName: 'Category Path',
|
|
314
|
+
name: 'path',
|
|
315
|
+
type: 'string',
|
|
316
|
+
default: '',
|
|
317
|
+
placeholder: '/c/women-s-apparel/dresses',
|
|
318
|
+
displayOptions: show(['category']),
|
|
319
|
+
routing: { request: { body: { path: '={{ $value || undefined }}' } } },
|
|
320
|
+
description: 'A Saks category path (/c/...): from a category URL, a Get Search Suggestions category path or a breadcrumb. Use this or Category URL.',
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
displayName: 'Category URL',
|
|
324
|
+
name: 'url',
|
|
325
|
+
type: 'string',
|
|
326
|
+
default: '',
|
|
327
|
+
placeholder: 'https://www.saksfifthavenue.com/c/women-s-apparel/dresses',
|
|
328
|
+
displayOptions: show(['category']),
|
|
329
|
+
routing: { request: { body: { url: '={{ $value || undefined }}' } } },
|
|
330
|
+
description: 'A saksfifthavenue.com category URL. Filters, sort and page already in the URL are kept. Used when Category Path is not given.',
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
displayName: 'Additional Options',
|
|
334
|
+
name: 'categoryOptions',
|
|
335
|
+
type: 'collection',
|
|
336
|
+
placeholder: 'Add Option',
|
|
337
|
+
default: {},
|
|
338
|
+
displayOptions: show(['category']),
|
|
339
|
+
options: gridOptions(true),
|
|
340
|
+
},
|
|
341
|
+
// -- Get Brand Products --
|
|
342
|
+
{
|
|
343
|
+
displayName: 'Designer Slug',
|
|
344
|
+
name: 'brandSlug',
|
|
345
|
+
type: 'string',
|
|
346
|
+
default: '',
|
|
347
|
+
placeholder: 'gucci',
|
|
348
|
+
displayOptions: show(['brand']),
|
|
349
|
+
routing: { request: { body: { brand: '={{ $value || undefined }}' } } },
|
|
350
|
+
description: 'A designer slug from Get Designers (gucci, chloé, alice-olivia). A plain name is slugified. Use this or Designer Page URL.',
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
displayName: 'Designer Page URL',
|
|
354
|
+
name: 'url',
|
|
355
|
+
type: 'string',
|
|
356
|
+
default: '',
|
|
357
|
+
placeholder: 'https://www.saksfifthavenue.com/brand/gucci',
|
|
358
|
+
displayOptions: show(['brand']),
|
|
359
|
+
routing: { request: { body: { url: '={{ $value || undefined }}' } } },
|
|
360
|
+
description: 'A saksfifthavenue.com /brand/ URL. Filters, sort and page already in the URL are kept. Used when Designer Slug is not given.',
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
displayName: 'Additional Options',
|
|
364
|
+
name: 'brandOptions',
|
|
365
|
+
type: 'collection',
|
|
366
|
+
placeholder: 'Add Option',
|
|
367
|
+
default: {},
|
|
368
|
+
displayOptions: show(['brand']),
|
|
369
|
+
options: gridOptions(false),
|
|
370
|
+
},
|
|
371
|
+
// -- Get Deals --
|
|
372
|
+
{
|
|
373
|
+
displayName: 'List',
|
|
374
|
+
name: 'type',
|
|
375
|
+
type: 'options',
|
|
376
|
+
default: 'sale',
|
|
377
|
+
options: [
|
|
378
|
+
{ name: "Men's New Arrivals", value: 'mens_new_arrivals' },
|
|
379
|
+
{ name: "Men's Sale", value: 'mens_sale' },
|
|
380
|
+
{ name: 'Sale (All)', value: 'sale' },
|
|
381
|
+
{ name: "Women's Clothing Sale", value: 'womens_sale' },
|
|
382
|
+
{ name: "Women's New Arrivals", value: 'womens_new_arrivals' },
|
|
383
|
+
],
|
|
384
|
+
displayOptions: show(['deals']),
|
|
385
|
+
routing: { request: { body: { type: '={{ $value }}' } } },
|
|
386
|
+
description: 'Which sale or new-arrival listing to read. Saks has no clearance list.',
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
displayName: 'Additional Options',
|
|
390
|
+
name: 'dealsOptions',
|
|
391
|
+
type: 'collection',
|
|
392
|
+
placeholder: 'Add Option',
|
|
393
|
+
default: {},
|
|
394
|
+
displayOptions: show(['deals']),
|
|
395
|
+
options: gridOptions(true),
|
|
396
|
+
},
|
|
397
|
+
// -- Get Product --
|
|
398
|
+
{
|
|
399
|
+
displayName: 'Product ID',
|
|
400
|
+
name: 'product_id',
|
|
401
|
+
type: 'string',
|
|
402
|
+
default: '',
|
|
403
|
+
placeholder: '0400019127312',
|
|
404
|
+
displayOptions: show(['product']),
|
|
405
|
+
routing: { request: { body: { product_id: '={{ $value || undefined }}' } } },
|
|
406
|
+
description: "Saks product ID: a search result's ID (the number at the end of a product URL), or a variant SKU. Use this or Product URL.",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
displayName: 'Product URL',
|
|
410
|
+
name: 'url',
|
|
411
|
+
type: 'string',
|
|
412
|
+
default: '',
|
|
413
|
+
placeholder: 'https://www.saksfifthavenue.com/product/kay-unger-mariah-jacquard-textured-gown-0400019127312.html',
|
|
414
|
+
displayOptions: show(['product']),
|
|
415
|
+
routing: { request: { body: { url: '={{ $value || undefined }}' } } },
|
|
416
|
+
description: 'A saksfifthavenue.com product URL (its trailing ID is used; a color / size it selects is kept). Used when Product ID is not given.',
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
displayName: 'Additional Options',
|
|
420
|
+
name: 'productOptions',
|
|
421
|
+
type: 'collection',
|
|
422
|
+
placeholder: 'Add Option',
|
|
423
|
+
default: {},
|
|
424
|
+
displayOptions: show(['product']),
|
|
425
|
+
options: [
|
|
426
|
+
{
|
|
427
|
+
displayName: 'Color',
|
|
428
|
+
name: 'shade',
|
|
429
|
+
type: 'string',
|
|
430
|
+
default: '',
|
|
431
|
+
placeholder: 'BLUE OPAL',
|
|
432
|
+
description: 'Pick one color (a colors[].value) to resolve the variant',
|
|
433
|
+
routing: { request: { body: { color: '={{ $value || undefined }}' } } },
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
displayName: 'Size',
|
|
437
|
+
name: 'size',
|
|
438
|
+
type: 'string',
|
|
439
|
+
default: '',
|
|
440
|
+
placeholder: '4',
|
|
441
|
+
description: 'Pick one size (a sizes[].value). With Color, the answer is that variant.',
|
|
442
|
+
routing: { request: { body: { size: '={{ $value || undefined }}' } } },
|
|
443
|
+
},
|
|
444
|
+
],
|
|
445
|
+
},
|
|
446
|
+
// -- Get Store Availability --
|
|
447
|
+
{
|
|
448
|
+
displayName: 'Variant SKU',
|
|
449
|
+
name: 'sku',
|
|
450
|
+
type: 'string',
|
|
451
|
+
required: true,
|
|
452
|
+
default: '',
|
|
453
|
+
placeholder: '10781654',
|
|
454
|
+
displayOptions: show(['storeAvailability']),
|
|
455
|
+
routing: { request: { body: { sku: '={{ $value }}' } } },
|
|
456
|
+
description: "A variant SKU: a product's variants[].sku from Get Product, or a product's ID after picking Color and Size",
|
|
457
|
+
},
|
|
458
|
+
...locationFields('storeAvailability', 'checkBy'),
|
|
459
|
+
// -- Find Stores --
|
|
460
|
+
...locationFields('stores', 'locateBy'),
|
|
461
|
+
// -- Get Search Suggestions --
|
|
462
|
+
{
|
|
463
|
+
displayName: 'Query',
|
|
464
|
+
name: 'query',
|
|
465
|
+
type: 'string',
|
|
466
|
+
required: true,
|
|
467
|
+
default: '',
|
|
468
|
+
placeholder: 'gucci',
|
|
469
|
+
displayOptions: show(['suggestions']),
|
|
470
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
471
|
+
description: 'What the shopper has typed so far',
|
|
472
|
+
},
|
|
473
|
+
// -- Get Designers --
|
|
474
|
+
{
|
|
475
|
+
displayName: 'Additional Options',
|
|
476
|
+
name: 'designersOptions',
|
|
477
|
+
type: 'collection',
|
|
478
|
+
placeholder: 'Add Option',
|
|
479
|
+
default: {},
|
|
480
|
+
displayOptions: show(['designers']),
|
|
481
|
+
options: [
|
|
482
|
+
{
|
|
483
|
+
displayName: 'Letter',
|
|
484
|
+
name: 'letter',
|
|
485
|
+
type: 'string',
|
|
486
|
+
default: '',
|
|
487
|
+
placeholder: 'G',
|
|
488
|
+
description: 'Only designers under this letter (A-Z, or # for names starting with a digit)',
|
|
489
|
+
routing: { request: { body: { letter: '={{ $value || undefined }}' } } },
|
|
490
|
+
},
|
|
491
|
+
],
|
|
492
|
+
},
|
|
493
|
+
];
|
|
494
|
+
//# sourceMappingURL=SaksDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SaksDescription.js","sourceRoot":"","sources":["../../../../nodes/Scavio/descriptions/SaksDescription.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,CAAC,SAAmB,EAAE,QAAkC,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE;CACjD,CAAC,CAAC;AAEH,2FAA2F;AAC3F,0FAA0F;AAC1F,2FAA2F;AAC3F,gCAAgC;AAChC,MAAM,OAAO,GAAG,CAAC,GAAW,EAAE,OAAO,GAAG,MAAM,EAAE,EAAE,CAAC,CAAC;IACnD,OAAO,EAAE,EAAE,MAAM,EAAE,MAAe,EAAE,GAAG,EAAE,OAAO,EAAE;CAClD,CAAC,CAAC;AAEH,MAAM,SAAS,GAAG,qEAAqE,CAAC;AAExF,MAAM,IAAI,GACT,k0BAAk0B,CAAC;AAEp0B,wFAAwF;AACxF,oFAAoF;AACpF,MAAM,WAAW,GAAG,CAAC,SAAkB,EAAqB,EAAE;IAC7D,MAAM,OAAO,GAAsB;QAClC;YACC,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,aAAa;YAC1B,WAAW,EACV,6GAA6G;YAC9G,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE;SACxE;QACD;YACC,WAAW,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MAAM,EAAE,4BAA4B,EAAE,EAAE,EAAE;aACxE;SACD;KACD;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const NODE_PACKAGE_VERSION = "0.
|
|
1
|
+
export declare const NODE_PACKAGE_VERSION = "0.42.0";
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NODE_PACKAGE_VERSION = void 0;
|
|
4
4
|
// Generated by scripts/gen-version.js from package.json. Do not edit.
|
|
5
|
-
exports.NODE_PACKAGE_VERSION = '0.
|
|
5
|
+
exports.NODE_PACKAGE_VERSION = '0.42.0';
|
|
6
6
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-scavio",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "n8n community node for Scavio — real-time structured JSON from Google, ChatGPT, Gemini, Amazon, Walmart, eBay, Target, Home Depot, Costco, Best Buy, TCGplayer, Vinted, Macy's, Nordstrom, Nordstrom Rack, Mercado Libre, YouTube, Reddit, TikTok, Instagram, X, LinkedIn, Threads, Kuaishou, Zillow, Redfin, Realtor.com, Rightmove, Booking.com, Airbnb, Tripadvisor, Yelp, Indeed, Glassdoor, App Store, Google Play, SEC EDGAR, Companies House, G2, Capterra, Trustpilot, ad libraries, any URL, and whole websites (map, crawl, batch extract).",
|
|
3
|
+
"version": "0.42.0",
|
|
4
|
+
"description": "n8n community node for Scavio — real-time structured JSON from Google, ChatGPT, Gemini, Amazon, Walmart, eBay, Target, Home Depot, Costco, Best Buy, TCGplayer, Vinted, Macy's, Saks Fifth Avenue, Kohl's, Nordstrom, Nordstrom Rack, Mercado Libre, YouTube, Reddit, TikTok, Instagram, X, LinkedIn, Threads, Kuaishou, Zillow, Redfin, Realtor.com, Rightmove, Booking.com, Airbnb, Tripadvisor, Yelp, Indeed, Glassdoor, App Store, Google Play, SEC EDGAR, Companies House, G2, Capterra, Trustpilot, ad libraries, any URL, and whole websites (map, crawl, batch extract).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|
|
7
7
|
"scavio",
|