n8n-nodes-scavio 0.44.0 → 0.46.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 +30 -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/DicksDescription.d.ts +3 -0
- package/dist/nodes/Scavio/descriptions/DicksDescription.js +452 -0
- package/dist/nodes/Scavio/descriptions/DicksDescription.js.map +1 -0
- package/dist/nodes/Scavio/descriptions/FootlockerDescription.d.ts +3 -0
- package/dist/nodes/Scavio/descriptions/FootlockerDescription.js +706 -0
- package/dist/nodes/Scavio/descriptions/FootlockerDescription.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 82 resources and 578 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
|
|
|
@@ -55,6 +55,8 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
55
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
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 |
|
|
57
57
|
| [JCPenney](https://scavio.dev/docs/jcpenney-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Products, Get Product, Get Reviews, Get Questions, Get Category Products, Get Brand Products, Get Deals, Find Stores, Get Store Availability, Get Search Suggestions, Get Coupon Codes |
|
|
58
|
+
| [Dick's Sporting Goods](https://scavio.dev/docs/dicks-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1; Get Product and Get Reviews 2 | Search Products, Get Product, Get Products Summary, Get Reviews, Get Category Products, Get Brand Products, Get Deals, Get Store Availability, Get Search Suggestions |
|
|
59
|
+
| [Foot Locker (13 storefronts)](https://scavio.dev/docs/footlocker-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Products, Get Product, Get Category Products, Get Brand Products, Get Deals, Get Release Calendar, Find Stores, Get Store Availability, Get Reviews, Get Questions |
|
|
58
60
|
| [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 |
|
|
59
61
|
| [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 |
|
|
60
62
|
|
|
@@ -113,6 +115,33 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
113
115
|
| [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 |
|
|
114
116
|
| Account | Free | Get Usage |
|
|
115
117
|
|
|
118
|
+
## What changed in 0.46.0
|
|
119
|
+
|
|
120
|
+
**New resource: Foot Locker, 10 operations, 1 credit each.** Nothing else changed.
|
|
121
|
+
|
|
122
|
+
- **Country** picks the storefront for Search Products, Get Product, Get Category Products, Get Brand Products and Get Deals: United States (footlocker.com, USD, default), Canada (CAD; Language English or French), United Kingdom (GBP), Germany, France, Italy, Spain, Netherlands, Belgium (Language Dutch or French), Austria, Ireland (EUR), Australia (AUD) or New Zealand (NZD). Titles come in the storefront's language, prices in its currency.
|
|
123
|
+
- **Search Products**, **Get Category Products**, **Get Brand Products** and **Get Deals** share one grid: 48 items per page with total and total_pages, sorted by relevance, price, new arrivals, top rated, name or brand. Filter by Brands (comma-separated, any case), Genders, Colors, Price Ranges, On Sale Only or any facet through Other Filters (JSON), e.g. {"mensShoesSize": "10.0"}. Listings can be a few hours old: data_as_of says when each one was built. A bare brand keyword (nike, hoka) returns that brand's listing, reported as redirected_to.
|
|
124
|
+
- **Get Deals** reads Sale (every storefront), Foot Locker Exclusives (US and Canada) or the items a promo code applies to.
|
|
125
|
+
- **Get Product** lists every colorway with its price and every size with available, ship, pickup and stores_available (a store count, not units): availability is yes / no, Foot Locker publishes no unit counts. European storefronts add lowest_price_30d.
|
|
126
|
+
- **Get Release Calendar** (US, Canada, UK) is the release calendar as monitoring data: launch date and time, retail price (not in the UK), colorway, style code, heat level, size run and reservation windows where the storefront runs them. Nothing here enters, reserves or buys a release.
|
|
127
|
+
- **Find Stores**, **Get Store Availability** (which nearby Foot Locker stores show a product or one size as available, yes / no), **Get Reviews** and **Get Questions** are US only. Foot Locker banner stores only (no Kids Foot Locker or Champs).
|
|
128
|
+
- No search suggestions, member (FLX) prices, price history or checkout: to track prices, poll and store your own.
|
|
129
|
+
|
|
130
|
+
Get Reviews and Get Questions usually take 25-90 seconds, up to about 3-4 minutes, so they carry a 240-second request timeout; every other operation carries 120 seconds. Failed calls are not charged; unknown SKUs, categories and brands are a charged error.
|
|
131
|
+
|
|
132
|
+
## What changed in 0.45.0
|
|
133
|
+
|
|
134
|
+
**New resource: Dick's Sporting Goods, 9 operations, 1 credit each except Get Product and Get Reviews (2 credits).** dickssportinggoods.com, US only, prices in USD. Nothing else changed.
|
|
135
|
+
|
|
136
|
+
- **Search Products**, **Get Category Products**, **Get Brand Products** and **Get Deals** share one grid: 48 items per page by default, up to 144 (Page Size), with total and total_pages, sorted by relevance, top sellers, savings, price, featured, new arrivals or brand A-Z. Filter by Brands (comma-separated), an approximate Min / Max Price, or any facet through Other Filters (JSON), e.g. {"5495": "Men's"}. Search returns did_you_mean for a misspelled query and follows keywords Dick's sends to a landing page (clearance, golf balls), reported as redirected_to. Merchandised items are flagged is_pinned and can make page 1 a few items longer than Page Size. scheduled_prices are the retailer's own planned price windows and can change: not a forecast or price history.
|
|
137
|
+
- **Get Category Products** takes a /f/ or /c/ path, a URL or a category ID. **Get Deals** reads Clearance (default), Sale or This Week's Deals.
|
|
138
|
+
- **Get Product** lists every SKU with its own price, list price, percent off, is_clearance, online units, UPC and buyable flag: prices differ per size and color. **Get Products Summary** is the cheap style-level check for up to 5 product IDs.
|
|
139
|
+
- **Get Reviews** returns the 15 newest reviews with full text plus rating stats and distribution: no paging, sort or star filter, and questions and answers are counts only.
|
|
140
|
+
- **Get Store Availability** takes SKUs (from Get Product) and a ZIP code or coordinates; it returns unit counts at up to 100 DICK'S, Golf Galaxy or Public Lands stores with address, phone, hours and distance. There is no standalone store locator, and an unknown SKU reads 0 everywhere.
|
|
141
|
+
- No price history: to track clearance prices, poll and store your own.
|
|
142
|
+
|
|
143
|
+
Get Product and Get Reviews usually take 20-75 seconds, up to about 2.5 minutes, so they carry a 240-second request timeout; every other operation carries 120 seconds. Failed calls are not charged.
|
|
144
|
+
|
|
116
145
|
## What changed in 0.44.0
|
|
117
146
|
|
|
118
147
|
**JCPenney: Get Reviews and Get Questions, 1 credit each (11 operations).** Both take a Product ID or a Product URL. Nothing else changed.
|
|
@@ -48,6 +48,8 @@ const MacysDescription_1 = require("./descriptions/MacysDescription");
|
|
|
48
48
|
const SaksDescription_1 = require("./descriptions/SaksDescription");
|
|
49
49
|
const KohlsDescription_1 = require("./descriptions/KohlsDescription");
|
|
50
50
|
const JcpenneyDescription_1 = require("./descriptions/JcpenneyDescription");
|
|
51
|
+
const DicksDescription_1 = require("./descriptions/DicksDescription");
|
|
52
|
+
const FootlockerDescription_1 = require("./descriptions/FootlockerDescription");
|
|
51
53
|
const ZillowDescription_1 = require("./descriptions/ZillowDescription");
|
|
52
54
|
const BookingDescription_1 = require("./descriptions/BookingDescription");
|
|
53
55
|
const TripadvisorDescription_1 = require("./descriptions/TripadvisorDescription");
|
|
@@ -90,7 +92,7 @@ class Scavio {
|
|
|
90
92
|
group: ['transform'],
|
|
91
93
|
version: 1,
|
|
92
94
|
subtitle: '={{ $parameter["operation"] + ": " + $parameter["resource"] }}',
|
|
93
|
-
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, JCPenney, 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',
|
|
95
|
+
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, JCPenney, Dick\'s Sporting Goods, Foot Locker, 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',
|
|
94
96
|
defaults: { name: 'Scavio' },
|
|
95
97
|
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
96
98
|
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
@@ -133,12 +135,14 @@ class Scavio {
|
|
|
133
135
|
// eslint-disable-next-line n8n-nodes-base/node-param-resource-with-plural-option
|
|
134
136
|
{ name: 'CVS', value: 'cvs' },
|
|
135
137
|
{ name: 'Decathlon', value: 'decathlon' },
|
|
138
|
+
{ name: "Dick's Sporting Goods", value: 'dicks' },
|
|
136
139
|
{ name: 'Dollar General', value: 'dollarGeneral' },
|
|
137
140
|
{ name: 'Douyin (China)', value: 'douyin' },
|
|
138
141
|
{ name: 'eBay', value: 'ebay' },
|
|
139
142
|
{ name: 'Etsy', value: 'etsy' },
|
|
140
143
|
{ name: 'Extract (Any URL)', value: 'extract' },
|
|
141
144
|
{ name: 'Facebook', value: 'facebook' },
|
|
145
|
+
{ name: 'Foot Locker', value: 'footlocker' },
|
|
142
146
|
{ name: 'G2 (Software Reviews)', value: 'g2' },
|
|
143
147
|
{ name: 'Gemini', value: 'gemini' },
|
|
144
148
|
{ name: 'GitHub', value: 'github' },
|
|
@@ -286,6 +290,10 @@ class Scavio {
|
|
|
286
290
|
...KohlsDescription_1.kohlsFields,
|
|
287
291
|
...JcpenneyDescription_1.jcpenneyOperations,
|
|
288
292
|
...JcpenneyDescription_1.jcpenneyFields,
|
|
293
|
+
...DicksDescription_1.dicksOperations,
|
|
294
|
+
...DicksDescription_1.dicksFields,
|
|
295
|
+
...FootlockerDescription_1.footlockerOperations,
|
|
296
|
+
...FootlockerDescription_1.footlockerFields,
|
|
289
297
|
...MercadoLibreDescription_1.mercadoLibreOperations,
|
|
290
298
|
...MercadoLibreDescription_1.mercadoLibreFields,
|
|
291
299
|
...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,oEAA4E;AAC5E,sEAA+E;AAC/E,4EAAwF;AACxF,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,wEAAk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AAG,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;AA3SD,wBA2SC"}
|
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dicksFields = exports.dicksOperations = void 0;
|
|
4
|
+
const show = (operation, extra = {}) => ({
|
|
5
|
+
show: { resource: ['dicks'], operation, ...extra },
|
|
6
|
+
});
|
|
7
|
+
// Dick's Sporting Goods (dickssportinggoods.com, US, USD), 9 operations, 1 credit each except Get
|
|
8
|
+
// Product and Get Reviews (2 credits). Get Product and Get Reviews take a product ID or URL; Get
|
|
9
|
+
// Products Summary takes up to 5 product IDs; Get Category Products takes a path, URL or category
|
|
10
|
+
// ID; Get Store Availability takes SKUs plus a ZIP code or coordinates. Every route carries a 120s
|
|
11
|
+
// timeout, except Get Product and Get Reviews: they usually take 20-75 s, up to about 2.5
|
|
12
|
+
// minutes, so they carry 240s.
|
|
13
|
+
const request = (url, timeout = 120000) => ({
|
|
14
|
+
request: { method: 'POST', url, timeout },
|
|
15
|
+
});
|
|
16
|
+
// Comma-separated values sent as a list (one value or several, any of them matches).
|
|
17
|
+
const splitList = '={{ String($value).split(",").map(s => s.trim()).filter(Boolean) }}';
|
|
18
|
+
const GRID = "48 items per page by default (up to 144), each with ID, SKU (the variant the tile shows; null on style-level tiles), title, brand, URL, image, price and price_max (current), list_price and list_price_max, percent_off, map_price_applies (the lowest price only shows in the cart), rating, review_count, badge, sku_count, options, is_pinned (a merchandised placement) and scheduled_prices (the offer-price windows Dick's has planned: price, starts_at, ends_at; set by the retailer and can change, not a forecast or price history). Also returns total, page, page_size, total_pages, the sort applied, applied_filters, every facet (ID, label, values with value, label, count and selected; any of them works in Other Filters) and categories (ID, name, path, count). Pinned items come first on page 1 under the featured sort, so that page can hold a few more than Page Size. Prices in USD.";
|
|
19
|
+
const SLOW = 'Usually 20-75 s, up to about 2.5 minutes when a call is retried; failed calls and unknown products are not charged.';
|
|
20
|
+
// Grid options shared by Search Products, Get Category Products, Get Brand Products and Get
|
|
21
|
+
// Deals (Get Brand Products has no Brands filter: the page is one brand).
|
|
22
|
+
const gridOptions = (withBrand, defaultSort) => {
|
|
23
|
+
const options = [
|
|
24
|
+
{
|
|
25
|
+
displayName: 'Max Price',
|
|
26
|
+
name: 'max_price',
|
|
27
|
+
type: 'number',
|
|
28
|
+
default: 0,
|
|
29
|
+
typeOptions: { minValue: 0, maxValue: 100000, numberPrecision: 2 },
|
|
30
|
+
description: 'Approximate upper price bound in USD',
|
|
31
|
+
routing: { request: { body: { max_price: '={{ $value }}' } } },
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
displayName: 'Min Price',
|
|
35
|
+
name: 'min_price',
|
|
36
|
+
type: 'number',
|
|
37
|
+
default: 0,
|
|
38
|
+
typeOptions: { minValue: 0, maxValue: 100000, numberPrecision: 2 },
|
|
39
|
+
description: "Approximate lower price bound in USD (the site's price filter is loose: a few items just outside the range can appear)",
|
|
40
|
+
routing: { request: { body: { min_price: '={{ $value }}' } } },
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
displayName: 'Other Filters (JSON)',
|
|
44
|
+
name: 'filters',
|
|
45
|
+
type: 'json',
|
|
46
|
+
default: '{}',
|
|
47
|
+
description: 'Any facet from a previous response: its ID to one value or a list (any of them), e.g. {"5495": "Men\'s", "rating": "4+", "price": "50-100"}. Values of one facet are OR, facets combine (AND).',
|
|
48
|
+
routing: {
|
|
49
|
+
request: {
|
|
50
|
+
body: { filters: '={{ typeof $value === "string" ? JSON.parse($value) : $value }}' },
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
displayName: 'Page',
|
|
56
|
+
name: 'page',
|
|
57
|
+
type: 'number',
|
|
58
|
+
default: 1,
|
|
59
|
+
typeOptions: { minValue: 1, maxValue: 500 },
|
|
60
|
+
description: 'Results page, 1-based. A page past the last one returns an empty items list with the real total. Defaults to 1.',
|
|
61
|
+
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
displayName: 'Page Size',
|
|
65
|
+
name: 'page_size',
|
|
66
|
+
type: 'number',
|
|
67
|
+
default: 48,
|
|
68
|
+
typeOptions: { minValue: 1, maxValue: 144 },
|
|
69
|
+
description: 'Items per page, 1-144. Defaults to 48.',
|
|
70
|
+
routing: { request: { body: { page_size: '={{ $value }}' } } },
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
displayName: 'Sort',
|
|
74
|
+
name: 'sort',
|
|
75
|
+
type: 'options',
|
|
76
|
+
default: defaultSort,
|
|
77
|
+
options: [
|
|
78
|
+
{ name: 'Brand A-Z', value: 'brand_az' },
|
|
79
|
+
{ name: 'Featured', value: 'featured' },
|
|
80
|
+
{ name: 'New Arrivals', value: 'new_arrivals' },
|
|
81
|
+
{ name: 'Price: High to Low', value: 'price_high_to_low' },
|
|
82
|
+
{ name: 'Price: Low to High', value: 'price_low_to_high' },
|
|
83
|
+
{ name: 'Relevance', value: 'relevance' },
|
|
84
|
+
{ name: 'Savings', value: 'savings' },
|
|
85
|
+
{ name: 'Top Sellers', value: 'top_sellers' },
|
|
86
|
+
],
|
|
87
|
+
description: "Relevance, top sellers, savings (biggest discount first), price, featured (the site's merchandised order: pinned items first), new arrivals or brand A-Z. Search and brand default to relevance; category and deals to featured, like the site.",
|
|
88
|
+
routing: { request: { body: { sort: '={{ $value }}' } } },
|
|
89
|
+
},
|
|
90
|
+
];
|
|
91
|
+
if (withBrand) {
|
|
92
|
+
options.push({
|
|
93
|
+
displayName: 'Brands',
|
|
94
|
+
name: 'brand',
|
|
95
|
+
type: 'string',
|
|
96
|
+
default: '',
|
|
97
|
+
placeholder: 'Nike, HOKA',
|
|
98
|
+
description: 'Only these brands, as the Brand facet lists them (Nike, HOKA, YETI), separated by commas. Several match any of them.',
|
|
99
|
+
routing: { send: { type: 'body', property: 'brand', value: splitList } },
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
return options.sort((x, y) => x.displayName.localeCompare(y.displayName));
|
|
103
|
+
};
|
|
104
|
+
exports.dicksOperations = [
|
|
105
|
+
{
|
|
106
|
+
displayName: 'Operation',
|
|
107
|
+
name: 'operation',
|
|
108
|
+
type: 'options',
|
|
109
|
+
noDataExpression: true,
|
|
110
|
+
displayOptions: { show: { resource: ['dicks'] } },
|
|
111
|
+
options: [
|
|
112
|
+
{
|
|
113
|
+
name: 'Get Brand Products',
|
|
114
|
+
value: 'brand',
|
|
115
|
+
action: 'Get dicks brand products',
|
|
116
|
+
description: "Every Dick's Sporting Goods product of one brand by name (Nike, YETI, Callaway, Under Armour...), optionally narrowed by a keyword, with the same filters and sorts as Search Products. " +
|
|
117
|
+
GRID +
|
|
118
|
+
" brand echoes the brand as Dick's writes it. An unknown brand is an error. Costs 1 credit.",
|
|
119
|
+
routing: request('/api/v1/dicks/brand'),
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: 'Get Category Products',
|
|
123
|
+
value: 'category',
|
|
124
|
+
action: 'Get dicks category products',
|
|
125
|
+
description: "Browse one Dick's Sporting Goods category by its page path, URL or ID (Men's Running Shoes, Golf Drivers, Kayaks...), in the site's featured order by default, with the same filters and sorts as Search Products. " +
|
|
126
|
+
GRID +
|
|
127
|
+
" Also returns the category's ID, name, path and URL. An unknown category is an error. Costs 1 credit.",
|
|
128
|
+
routing: request('/api/v1/dicks/category'),
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: 'Get Deals',
|
|
132
|
+
value: 'deals',
|
|
133
|
+
action: 'Get dicks clearance and deals',
|
|
134
|
+
description: "Dick's Sporting Goods deal listings: Clearance (default), Sale or This Week's Deals, in the site's featured order by default (sort Savings for the biggest discounts first), with the same filters and sorts as Search Products. " +
|
|
135
|
+
GRID +
|
|
136
|
+
' To track clearance prices over time, poll and store your own: there is no price history. Costs 1 credit.',
|
|
137
|
+
routing: request('/api/v1/dicks/deals'),
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
name: 'Get Product',
|
|
141
|
+
value: 'product',
|
|
142
|
+
action: 'Get a dicks product',
|
|
143
|
+
description: "One Dick's Sporting Goods product by ID or URL with every SKU: title, brand, description, features, specs, attributes, product type, category, images, rating, review_count, question and answer counts, the price block (min, max, list_min, list_max, percent_off, map_price_applies), clearance flag, the option axes (color, size, width...) and every variant: SKU, UPC, options, color, size, price, list_price, percent_off, map_price_applies (the price only shows in the cart), is_clearance, online_units (units available to ship), buyable, ship_class and lead_time. Prices differ per SKU (one color on clearance, the rest at full price), so read the variant you need. A variant's SKU is what Get Store Availability takes. An unknown ID is an error. " +
|
|
144
|
+
SLOW +
|
|
145
|
+
' Costs 2 credits.',
|
|
146
|
+
routing: request('/api/v1/dicks/product', 240000),
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
name: 'Get Products Summary',
|
|
150
|
+
value: 'products',
|
|
151
|
+
action: 'Get a dicks products summary',
|
|
152
|
+
description: "Up to 5 Dick's Sporting Goods products in one call: the fast style-level check of title, brand, URL, image, price and list-price ranges, percent_off, map_price_applies, clearance, buyable, option axes, attributes, specs, product type, rating, review_count and description. No per-SKU prices or units: those come from Get Product. Unknown IDs are listed in not_found. Costs 1 credit.",
|
|
153
|
+
routing: request('/api/v1/dicks/products'),
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: 'Get Reviews',
|
|
157
|
+
value: 'reviews',
|
|
158
|
+
action: 'Get dicks product reviews',
|
|
159
|
+
description: "The 15 newest customer reviews of one Dick's Sporting Goods product by ID or URL, with its review statistics: total, average, distribution (1-5 stars), recommended and not-recommended counts, photo count, first and last review dates, question and answer counts, and the average of each secondary rating (fit, comfort, quality, value...). Each review has ID, rating, title, text, pros, cons, author nickname, submitted_at, recommended, helpful and unhelpful votes, verified_purchaser and incentivized badges, syndicated_from (the brand site a review came from), secondary ratings, customer photos and the brand's public response. The newest 15 only: no paging, no sort, no star filter; questions and answers are counts only. An unknown ID is an error. " +
|
|
160
|
+
SLOW +
|
|
161
|
+
' Costs 2 credits.',
|
|
162
|
+
routing: request('/api/v1/dicks/reviews', 240000),
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
name: 'Get Search Suggestions',
|
|
166
|
+
value: 'suggestions',
|
|
167
|
+
action: 'Get dicks search suggestions',
|
|
168
|
+
description: 'The dickssportinggoods.com search-box suggestions for a partial query: keyword completions, brands, categories (ID, name, path, URL, product_count) and products (ID, title, brand, URL, image, color, price and list-price ranges, percent_off). Costs 1 credit.',
|
|
169
|
+
routing: request('/api/v1/dicks/suggestions'),
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
name: 'Get Store Availability',
|
|
173
|
+
value: 'storeAvailability',
|
|
174
|
+
action: 'Get dicks store stock',
|
|
175
|
+
description: "Store unit counts for 1-20 Dick's Sporting Goods SKUs at up to 100 stores near a US ZIP code or a point (latitude and longitude), nearest first, within 25 miles by default (up to 250). Chain picks DICK'S stores (default, incl. House of Sport and Going, Going, Gone!), Golf Galaxy or Public Lands. Each store has store_id, chain, name, address, shopping_center, city, state, ZIP, phone, latitude and longitude, distance_miles, status, weekly hours and per SKU: units (the units the store can sell) and in_store_units (the units on hand). Also returns sku_totals and how many stores have stock. There is no standalone store locator: store details come with a SKU lookup. An unknown SKU reads 0 at every store, so take SKUs from Get Product (variants[].sku). Costs 1 credit.",
|
|
176
|
+
routing: request('/api/v1/dicks/store-availability'),
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: 'Search Products',
|
|
180
|
+
value: 'search',
|
|
181
|
+
action: 'Search dicks products',
|
|
182
|
+
description: "Search dickssportinggoods.com (Dick's Sporting Goods, US) by keyword, filtered by brand, an approximate price range and any facet (gender, size, color, rating, sale...), sorted by relevance, top sellers, savings, price, featured, new arrivals or brand A-Z. " +
|
|
183
|
+
GRID +
|
|
184
|
+
" did_you_mean carries Dick's spelling suggestion for a misspelled query. Keywords Dick's sends to a landing page (golf balls, clearance) are followed to that page: redirected_to and category say which. Use a result ID with Get Product. Costs 1 credit.",
|
|
185
|
+
routing: request('/api/v1/dicks/search'),
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
default: 'search',
|
|
189
|
+
},
|
|
190
|
+
];
|
|
191
|
+
exports.dicksFields = [
|
|
192
|
+
// -- Search Products --
|
|
193
|
+
{
|
|
194
|
+
displayName: 'Query',
|
|
195
|
+
name: 'query',
|
|
196
|
+
type: 'string',
|
|
197
|
+
required: true,
|
|
198
|
+
default: '',
|
|
199
|
+
placeholder: 'running shoes',
|
|
200
|
+
displayOptions: show(['search']),
|
|
201
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
202
|
+
description: 'Search keywords',
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
displayName: 'Additional Options',
|
|
206
|
+
name: 'searchOptions',
|
|
207
|
+
type: 'collection',
|
|
208
|
+
placeholder: 'Add Option',
|
|
209
|
+
default: {},
|
|
210
|
+
displayOptions: show(['search']),
|
|
211
|
+
options: gridOptions(true, 'relevance'),
|
|
212
|
+
},
|
|
213
|
+
// -- Get Category Products --
|
|
214
|
+
{
|
|
215
|
+
displayName: 'Category Path',
|
|
216
|
+
name: 'path',
|
|
217
|
+
type: 'string',
|
|
218
|
+
default: '',
|
|
219
|
+
placeholder: '/f/mens-running-shoes',
|
|
220
|
+
displayOptions: show(['category']),
|
|
221
|
+
routing: { request: { body: { path: '={{ $value || undefined }}' } } },
|
|
222
|
+
description: "A Dick's category page path (/f/... or /c/...), as dickssportinggoods.com category links and a response's categories[].path carry it. Use this, Category URL or Category ID.",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
displayName: 'Category URL',
|
|
226
|
+
name: 'url',
|
|
227
|
+
type: 'string',
|
|
228
|
+
default: '',
|
|
229
|
+
placeholder: 'https://www.dickssportinggoods.com/f/mens-running-shoes',
|
|
230
|
+
displayOptions: show(['category']),
|
|
231
|
+
routing: { request: { body: { url: '={{ $value || undefined }}' } } },
|
|
232
|
+
description: 'A dickssportinggoods.com category URL (filters in the URL are not read: set them in Additional Options). Used when Category Path is not given.',
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
displayName: 'Category ID',
|
|
236
|
+
name: 'category_id',
|
|
237
|
+
type: 'string',
|
|
238
|
+
default: '',
|
|
239
|
+
placeholder: '202105',
|
|
240
|
+
displayOptions: show(['category']),
|
|
241
|
+
routing: { request: { body: { category_id: '={{ $value || undefined }}' } } },
|
|
242
|
+
description: "A category ID, as a response's categories list or category object carries it",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
displayName: 'Additional Options',
|
|
246
|
+
name: 'categoryOptions',
|
|
247
|
+
type: 'collection',
|
|
248
|
+
placeholder: 'Add Option',
|
|
249
|
+
default: {},
|
|
250
|
+
displayOptions: show(['category']),
|
|
251
|
+
options: gridOptions(true, 'featured'),
|
|
252
|
+
},
|
|
253
|
+
// -- Get Brand Products --
|
|
254
|
+
{
|
|
255
|
+
displayName: 'Brand Name',
|
|
256
|
+
name: 'brandName',
|
|
257
|
+
type: 'string',
|
|
258
|
+
required: true,
|
|
259
|
+
default: '',
|
|
260
|
+
placeholder: 'YETI',
|
|
261
|
+
displayOptions: show(['brand']),
|
|
262
|
+
routing: { request: { body: { brand: '={{ $value }}' } } },
|
|
263
|
+
description: "A brand name as Dick's lists it in the Brand facet (Nike, YETI, Callaway, Under Armour); case does not matter",
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
displayName: 'Additional Options',
|
|
267
|
+
name: 'brandOptions',
|
|
268
|
+
type: 'collection',
|
|
269
|
+
placeholder: 'Add Option',
|
|
270
|
+
default: {},
|
|
271
|
+
displayOptions: show(['brand']),
|
|
272
|
+
options: [
|
|
273
|
+
...gridOptions(false, 'relevance'),
|
|
274
|
+
{
|
|
275
|
+
displayName: 'Keyword',
|
|
276
|
+
name: 'query',
|
|
277
|
+
type: 'string',
|
|
278
|
+
default: '',
|
|
279
|
+
placeholder: 'tumbler',
|
|
280
|
+
description: 'Narrow the brand to a keyword',
|
|
281
|
+
routing: { request: { body: { query: '={{ $value || undefined }}' } } },
|
|
282
|
+
},
|
|
283
|
+
].sort((x, y) => x.displayName.localeCompare(y.displayName)),
|
|
284
|
+
},
|
|
285
|
+
// -- Get Deals --
|
|
286
|
+
{
|
|
287
|
+
displayName: 'List',
|
|
288
|
+
name: 'type',
|
|
289
|
+
type: 'options',
|
|
290
|
+
default: 'clearance',
|
|
291
|
+
options: [
|
|
292
|
+
{ name: 'Clearance', value: 'clearance' },
|
|
293
|
+
{ name: 'Sale', value: 'sale' },
|
|
294
|
+
{ name: "This Week's Deals", value: 'weekly_deals' },
|
|
295
|
+
],
|
|
296
|
+
displayOptions: show(['deals']),
|
|
297
|
+
routing: { request: { body: { type: '={{ $value }}' } } },
|
|
298
|
+
description: "Which deal listing to read: Clearance (default), Sale or This Week's Deals",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
displayName: 'Additional Options',
|
|
302
|
+
name: 'dealsOptions',
|
|
303
|
+
type: 'collection',
|
|
304
|
+
placeholder: 'Add Option',
|
|
305
|
+
default: {},
|
|
306
|
+
displayOptions: show(['deals']),
|
|
307
|
+
options: gridOptions(true, 'featured'),
|
|
308
|
+
},
|
|
309
|
+
// -- Get Product / Get Reviews --
|
|
310
|
+
{
|
|
311
|
+
displayName: 'Product ID',
|
|
312
|
+
name: 'product_id',
|
|
313
|
+
type: 'string',
|
|
314
|
+
default: '',
|
|
315
|
+
placeholder: '23FHQMCLFTN9GTXBLMNS',
|
|
316
|
+
displayOptions: show(['product', 'reviews']),
|
|
317
|
+
routing: { request: { body: { product_id: '={{ $value || undefined }}' } } },
|
|
318
|
+
description: "A Dick's product ID: a search result's ID, the last part of a product URL (any case). Use this or Product URL.",
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
displayName: 'Product URL',
|
|
322
|
+
name: 'url',
|
|
323
|
+
type: 'string',
|
|
324
|
+
default: '',
|
|
325
|
+
placeholder: 'https://www.dickssportinggoods.com/p/hoka-mens-clifton-9-gtx-running-shoes-23fhqmclftn9gtxblmns/23fhqmclftn9gtxblmns',
|
|
326
|
+
displayOptions: show(['product', 'reviews']),
|
|
327
|
+
routing: { request: { body: { url: '={{ $value || undefined }}' } } },
|
|
328
|
+
description: 'A dickssportinggoods.com product URL (its product ID is used). Used when Product ID is not given.',
|
|
329
|
+
},
|
|
330
|
+
// -- Get Products Summary --
|
|
331
|
+
{
|
|
332
|
+
displayName: 'Product IDs',
|
|
333
|
+
name: 'product_ids',
|
|
334
|
+
type: 'string',
|
|
335
|
+
required: true,
|
|
336
|
+
default: '',
|
|
337
|
+
placeholder: '23FHQMCLFTN9GTXBLMNS, 26UNDMFITN1HRI9WUAETC',
|
|
338
|
+
displayOptions: show(['products']),
|
|
339
|
+
routing: { send: { type: 'body', property: 'product_ids', value: splitList } },
|
|
340
|
+
description: '1 to 5 product IDs, separated by commas, in one call (1 credit). Unknown IDs are listed in not_found.',
|
|
341
|
+
},
|
|
342
|
+
// -- Get Store Availability --
|
|
343
|
+
{
|
|
344
|
+
displayName: 'SKUs',
|
|
345
|
+
name: 'skus',
|
|
346
|
+
type: 'string',
|
|
347
|
+
required: true,
|
|
348
|
+
default: '',
|
|
349
|
+
placeholder: '25535758, 26810079',
|
|
350
|
+
displayOptions: show(['storeAvailability']),
|
|
351
|
+
routing: { send: { type: 'body', property: 'skus', value: splitList } },
|
|
352
|
+
description: "1 to 20 SKU IDs from Get Product (variants[].sku), separated by commas. An ID Dick's does not know reads 0 at every store.",
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
displayName: 'Locate By',
|
|
356
|
+
name: 'availabilityLocateBy',
|
|
357
|
+
type: 'options',
|
|
358
|
+
default: 'zip',
|
|
359
|
+
options: [
|
|
360
|
+
{ name: 'Coordinates', value: 'coordinates' },
|
|
361
|
+
{ name: 'ZIP Code', value: 'zip' },
|
|
362
|
+
],
|
|
363
|
+
displayOptions: show(['storeAvailability']),
|
|
364
|
+
description: 'Search stores near a ZIP code or a latitude/longitude pair',
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
displayName: 'ZIP Code',
|
|
368
|
+
name: 'zip',
|
|
369
|
+
type: 'string',
|
|
370
|
+
required: true,
|
|
371
|
+
default: '',
|
|
372
|
+
placeholder: '60601',
|
|
373
|
+
displayOptions: show(['storeAvailability'], { availabilityLocateBy: ['zip'] }),
|
|
374
|
+
routing: { request: { body: { zip: '={{ $value }}' } } },
|
|
375
|
+
description: 'US ZIP code to search around',
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
displayName: 'Latitude',
|
|
379
|
+
name: 'lat',
|
|
380
|
+
type: 'number',
|
|
381
|
+
required: true,
|
|
382
|
+
default: 0,
|
|
383
|
+
typeOptions: { minValue: -90, maxValue: 90, numberPrecision: 6 },
|
|
384
|
+
displayOptions: show(['storeAvailability'], { availabilityLocateBy: ['coordinates'] }),
|
|
385
|
+
routing: { request: { body: { lat: '={{ $value }}' } } },
|
|
386
|
+
description: 'Latitude to search around',
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
displayName: 'Longitude',
|
|
390
|
+
name: 'lng',
|
|
391
|
+
type: 'number',
|
|
392
|
+
required: true,
|
|
393
|
+
default: 0,
|
|
394
|
+
typeOptions: { minValue: -180, maxValue: 180, numberPrecision: 6 },
|
|
395
|
+
displayOptions: show(['storeAvailability'], { availabilityLocateBy: ['coordinates'] }),
|
|
396
|
+
routing: { request: { body: { lng: '={{ $value }}' } } },
|
|
397
|
+
description: 'Longitude to search around',
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
displayName: 'Additional Options',
|
|
401
|
+
name: 'storeAvailabilityOptions',
|
|
402
|
+
type: 'collection',
|
|
403
|
+
placeholder: 'Add Option',
|
|
404
|
+
default: {},
|
|
405
|
+
displayOptions: show(['storeAvailability']),
|
|
406
|
+
options: [
|
|
407
|
+
{
|
|
408
|
+
displayName: 'Chain',
|
|
409
|
+
name: 'chain',
|
|
410
|
+
type: 'options',
|
|
411
|
+
default: 'dicks',
|
|
412
|
+
options: [
|
|
413
|
+
{ name: "DICK'S Sporting Goods", value: 'dicks' },
|
|
414
|
+
{ name: 'Golf Galaxy', value: 'golf_galaxy' },
|
|
415
|
+
{ name: 'Public Lands', value: 'public_lands' },
|
|
416
|
+
],
|
|
417
|
+
description: "DICK'S Sporting Goods (default, incl. House of Sport and Going, Going, Gone! stores), Golf Galaxy or Public Lands.",
|
|
418
|
+
routing: { request: { body: { chain: '={{ $value }}' } } },
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
displayName: 'In Stock Only',
|
|
422
|
+
name: 'in_stock_only',
|
|
423
|
+
type: 'boolean',
|
|
424
|
+
default: false,
|
|
425
|
+
description: 'Whether to return only the stores that have at least one of the SKUs',
|
|
426
|
+
routing: { request: { body: { in_stock_only: '={{ $value || undefined }}' } } },
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
displayName: 'Radius (Miles)',
|
|
430
|
+
name: 'radius',
|
|
431
|
+
type: 'number',
|
|
432
|
+
default: 25,
|
|
433
|
+
typeOptions: { minValue: 1, maxValue: 250 },
|
|
434
|
+
description: 'Search radius in miles, 1-250. Defaults to 25. Up to 100 stores are returned.',
|
|
435
|
+
routing: { request: { body: { radius: '={{ $value }}' } } },
|
|
436
|
+
},
|
|
437
|
+
],
|
|
438
|
+
},
|
|
439
|
+
// -- Get Search Suggestions --
|
|
440
|
+
{
|
|
441
|
+
displayName: 'Query',
|
|
442
|
+
name: 'query',
|
|
443
|
+
type: 'string',
|
|
444
|
+
required: true,
|
|
445
|
+
default: '',
|
|
446
|
+
placeholder: 'yeti tum',
|
|
447
|
+
displayOptions: show(['suggestions']),
|
|
448
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
449
|
+
description: 'What the shopper has typed so far',
|
|
450
|
+
},
|
|
451
|
+
];
|
|
452
|
+
//# sourceMappingURL=DicksDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DicksDescription.js","sourceRoot":"","sources":["../../../../nodes/Scavio/descriptions/DicksDescription.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,kGAAkG;AAClG,iGAAiG;AACjG,kGAAkG;AAClG,mGAAmG;AACnG,0FAA0F;AAC1F,+BAA+B;AAC/B,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,qFAAqF;AACrF,MAAM,SAAS,GA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