n8n-nodes-scavio 0.51.0 → 0.53.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 +26 -2
- package/dist/nodes/Scavio/Scavio.node.js +5 -1
- package/dist/nodes/Scavio/Scavio.node.js.map +1 -1
- package/dist/nodes/Scavio/descriptions/KrogerDescription.js +353 -20
- package/dist/nodes/Scavio/descriptions/KrogerDescription.js.map +1 -1
- package/dist/nodes/Scavio/descriptions/PublixDescription.d.ts +3 -0
- package/dist/nodes/Scavio/descriptions/PublixDescription.js +484 -0
- package/dist/nodes/Scavio/descriptions/PublixDescription.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 88 resources and 626 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
|
|
|
@@ -28,7 +28,8 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
28
28
|
| [Home Depot](https://scavio.dev/docs/home-depot-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Products, Get Product, Get Reviews |
|
|
29
29
|
| [Costco](https://scavio.dev/docs/costco-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1; Search Products, Get Category Products, Get Deals and Find Clearance Items 2 in the United States; Get Warehouse Prices, Get Availability and Get Gas Prices scale with the number of warehouses | Search Products, Get Category Products, Get Categories, Get Products, Get Warehouse Prices, Get Availability, Get Reviews, Get Warehouses, Get Gas Prices, Get Coupon Book, Get Deals, Find Clearance Items, Get Search Suggestions |
|
|
30
30
|
| [HEB](https://scavio.dev/docs/heb-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Products, Get Product, Get Stores |
|
|
31
|
-
| [Kroger](https://scavio.dev/docs/kroger-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Products, Get Product |
|
|
31
|
+
| [Kroger, QFC and Fred Meyer](https://scavio.dev/docs/kroger-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1; Search Products and Get Product 2, Get Store Prices 3 | Search Products, Get Product, Get Store Prices, Find Stores, Get Category Products, Get Weekly Digital Deals, Get Coupons, Get Search Suggestions |
|
|
32
|
+
| [Publix](https://scavio.dev/docs/publix-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Products, Get Product, Get Category Products, Get Categories, Get Weekly Ad, Get Extra Savings, Get Coupons, Search Savings, Get Order Ahead Menu, Find Stores, Get Search Suggestions |
|
|
32
33
|
| [Spec's](https://scavio.dev/docs/specs-product?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 5 | Search Products, Get Product, Find Stores |
|
|
33
34
|
| [Lowe's](https://scavio.dev/docs/lowes-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2; Get Reviews 1 | Search Products, Get Product, Find Stores, Get Reviews |
|
|
34
35
|
| [Sam's Club](https://scavio.dev/docs/samsclub-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Products, Get Product, Find Clubs, Get Instant Savings, Get Category Products, Get Reviews |
|
|
@@ -120,6 +121,29 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
120
121
|
| [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 |
|
|
121
122
|
| Account | Free | Get Usage |
|
|
122
123
|
|
|
124
|
+
## What changed in 0.53.0
|
|
125
|
+
|
|
126
|
+
**New resource: Publix, 11 operations, 1 credit each.** Publix grocery data by store: the weekly ad with BOGO deals, Extra Savings, digital coupons, the deli and bakery order-ahead menu (Pub Subs) with store prices, product search, category listings, nutrition facts and store locations. Nothing else changed.
|
|
127
|
+
|
|
128
|
+
- Every price operation takes a **Store ID**: a Publix store number from **Find Stores** (by ZIP, city and state, or store number). Prices and promotions differ by store: a Publix Chicken Tender Sub measured $12.09 in Miami (store 1614) and $11.99 in Atlanta (store 1825).
|
|
129
|
+
- Publix does not show regular shelf prices online. price is a number only for items on promotion (weekly ad, BOGO, multi-buy, Extra Savings) and for order-ahead items, and null otherwise; it is never estimated. Multi-buys (2 for $5.00) carry bundle {quantity, price}.
|
|
130
|
+
- **Get Weekly Ad** returns about 700 items per store, about 230 of them BOGO, with the ad's start and end dates. Ads run Thursday to Wednesday in Florida and Wednesday to Tuesday in Georgia and North Carolina (weekly_ad_break_day per store); English ad only.
|
|
131
|
+
- **Search Products** and **Get Category Products** serve 48 items per page with sort and on-sale, BOGO and brand filters; **Get Order Ahead Menu** 60 per page. Products are keyed by Publix item code: Publix does not publish UPCs, ingredients, allergens or reviews online.
|
|
132
|
+
- **Get Coupons** lists the store's digital coupons; nothing is clipped and no account is used. No cart or ordering.
|
|
133
|
+
|
|
134
|
+
Every Publix operation carries a 120-second request timeout. Failed calls are not charged; an unknown item code or store ID is a charged not-found.
|
|
135
|
+
|
|
136
|
+
## What changed in 0.52.0
|
|
137
|
+
|
|
138
|
+
**Kroger: QFC and Fred Meyer banners and 6 new operations.** Nothing else changed.
|
|
139
|
+
|
|
140
|
+
- Every Kroger operation has a **Banner** option: Kroger (kroger.com), QFC (qfc.com: Washington and Oregon) or Fred Meyer (fredmeyer.com: the Pacific Northwest and Alaska, grocery plus general merchandise, apparel and home). **Auto**, the default, sends none: Kroger, unless a product or category URL or a store ID sets it, so existing workflows behave as before. Other Kroger banners (Ralphs, King Soopers, Fry's, Harris Teeter, Smith's...) are not supported yet.
|
|
141
|
+
- New: **Get Store Prices** (price, promotion, stock, available quantity, aisle and fulfillment for up to 25 UPCs at one store you choose, 3 credits), **Find Stores**, **Get Category Products**, **Get Weekly Digital Deals**, **Get Coupons** (listed, never clipped; no account) and **Get Search Suggestions**, 1 credit each.
|
|
142
|
+
- Prices are integer cents (price 399 = $3.99) and differ by banner and by store. **Search Products**, **Get Product**, **Get Category Products** and **Get Weekly Digital Deals** return the prices of a store the site chooses for the request (returned in store); for one specific store, take a location_id from **Find Stores** and use it in **Get Store Prices**.
|
|
143
|
+
- **Search Products**, **Get Category Products** and **Get Weekly Digital Deals** serve the first page only (up to 24 products), with no sort; a page above 1 is refused before any charge. Ratings are average, count and star distribution; review text is not available. Fuel center locations are returned, fuel prices are not. The printed weekly ad circular is not available.
|
|
144
|
+
|
|
145
|
+
Every Kroger operation now carries a 120-second request timeout. Failed calls are not charged; an unknown UPC or store ID is a charged not-found.
|
|
146
|
+
|
|
123
147
|
## What changed in 0.51.0
|
|
124
148
|
|
|
125
149
|
**New resource: OLX, 9 operations, 1 credit each.** OLX Europe classifieds: used goods, cars, real estate and jobs, with sellers, category filters and similar ads. Nothing else changed.
|
|
@@ -20,6 +20,7 @@ const HomeDepotDescription_1 = require("./descriptions/HomeDepotDescription");
|
|
|
20
20
|
const CostcoDescription_1 = require("./descriptions/CostcoDescription");
|
|
21
21
|
const HebDescription_1 = require("./descriptions/HebDescription");
|
|
22
22
|
const KrogerDescription_1 = require("./descriptions/KrogerDescription");
|
|
23
|
+
const PublixDescription_1 = require("./descriptions/PublixDescription");
|
|
23
24
|
const DecathlonDescription_1 = require("./descriptions/DecathlonDescription");
|
|
24
25
|
const SpecsDescription_1 = require("./descriptions/SpecsDescription");
|
|
25
26
|
const LowesDescription_1 = require("./descriptions/LowesDescription");
|
|
@@ -97,7 +98,7 @@ class Scavio {
|
|
|
97
98
|
group: ['transform'],
|
|
98
99
|
version: 1,
|
|
99
100
|
subtitle: '={{ $parameter["operation"] + ": " + $parameter["resource"] }}',
|
|
100
|
-
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, Fanatics, Carrefour, Allegro, OLX, 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, company websites (contact and owner enrichment), G2, Capterra, Trustpilot, ad libraries, and any URL',
|
|
101
|
+
description: 'Real-time structured data from Google, ChatGPT, Gemini, Amazon, Walmart, eBay, Target, Home Depot, Costco, HEB, Kroger, Publix, 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, Fanatics, Carrefour, Allegro, OLX, 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, company websites (contact and owner enrichment), G2, Capterra, Trustpilot, ad libraries, and any URL',
|
|
101
102
|
defaults: { name: 'Scavio' },
|
|
102
103
|
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
103
104
|
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
@@ -189,6 +190,7 @@ class Scavio {
|
|
|
189
190
|
{ name: 'Petco', value: 'petco' },
|
|
190
191
|
{ name: 'PetSmart', value: 'petsmart' },
|
|
191
192
|
{ name: 'Pinterest', value: 'pinterest' },
|
|
193
|
+
{ name: 'Publix', value: 'publix' },
|
|
192
194
|
{ name: 'Realtor.com', value: 'realtor' },
|
|
193
195
|
{ name: 'Reddit', value: 'reddit' },
|
|
194
196
|
{ name: 'Redfin', value: 'redfin' },
|
|
@@ -244,6 +246,8 @@ class Scavio {
|
|
|
244
246
|
...HebDescription_1.hebFields,
|
|
245
247
|
...KrogerDescription_1.krogerOperations,
|
|
246
248
|
...KrogerDescription_1.krogerFields,
|
|
249
|
+
...PublixDescription_1.publixOperations,
|
|
250
|
+
...PublixDescription_1.publixFields,
|
|
247
251
|
...DecathlonDescription_1.decathlonOperations,
|
|
248
252
|
...DecathlonDescription_1.decathlonFields,
|
|
249
253
|
...SpecsDescription_1.specsOperations,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Scavio.node.js","sourceRoot":"","sources":["../../../nodes/Scavio/Scavio.node.ts"],"names":[],"mappings":";;;AAAA,+CAAmD;AAGnD,w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3F,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,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,sEAA+E;AAC/E,gFAA8F;AAC9F,4EAAwF;AACxF,8EAA2F;AAC3F,0EAAqF;AACrF,kEAAyE;AACzE,wEAAkF;AAClF,0EAAqF;AACrF,kFAAiG;AACjG,wEAA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G,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;AA7TD,wBA6TC"}
|
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.krogerFields = exports.krogerOperations = void 0;
|
|
4
|
+
const show = (operation, extra = {}) => ({
|
|
5
|
+
show: { resource: ['kroger'], operation, ...extra },
|
|
6
|
+
});
|
|
7
|
+
// Kroger (kroger.com) plus the QFC (qfc.com) and Fred Meyer (fredmeyer.com) banners, 8
|
|
8
|
+
// operations. Search Products and Get Product 2 credits, Get Store Prices 3, the rest 1. Prices
|
|
9
|
+
// are integer cents. A call can take up to about a minute, so every route carries a 120s timeout.
|
|
10
|
+
const request = (url) => ({
|
|
11
|
+
request: { method: 'POST', url, timeout: 120000 },
|
|
12
|
+
});
|
|
13
|
+
// Comma-separated text -> string array, blanks dropped.
|
|
14
|
+
const splitList = '={{ String($value).split(",").map(s => s.trim()).filter(Boolean) }}';
|
|
15
|
+
const CENTS = 'Prices are integer cents (price 399 = $3.99).';
|
|
16
|
+
const SITE_STORE = 'Prices, promotions, stock and aisle are those of the store returned in store (a store the site chooses, which can change between calls); for one specific store use Get Store Prices with a store ID from Find Stores.';
|
|
17
|
+
const ITEM = 'UPC, name, brand, URL, image, price, list_price, promo_price with promo_ends_at, price_display, unit_price_display, n-for deals, size, in_stock (null when the store has no stock record), stock_level, SNAP eligibility, dietary info, category and rating (average, count, star distribution; no review text)';
|
|
18
|
+
const GRID = `banner, store, total, count and products with ${ITEM}. Only the first page (up to 24 products) is available, with no sort.`;
|
|
19
|
+
const CHARGE = 'Failed upstream calls are not charged (they are retried automatically); a not-found is charged.';
|
|
20
|
+
const STORE_ID_DESCRIPTION = "A store's 8-digit location_id from Find Stores, e.g. 70500847. QFC IDs start with 705, Fred Meyer IDs with 701.";
|
|
4
21
|
exports.krogerOperations = [
|
|
5
22
|
{
|
|
6
23
|
displayName: 'Operation',
|
|
@@ -9,25 +26,92 @@ exports.krogerOperations = [
|
|
|
9
26
|
noDataExpression: true,
|
|
10
27
|
displayOptions: { show: { resource: ['kroger'] } },
|
|
11
28
|
options: [
|
|
29
|
+
{
|
|
30
|
+
name: 'Find Stores',
|
|
31
|
+
value: 'stores',
|
|
32
|
+
action: 'Find kroger stores',
|
|
33
|
+
description: `Kroger, QFC or Fred Meyer stores near a ZIP or a city / address (nearest first), or one store by ID: location_id (the store ID for Get Store Prices, Get Coupons and Get Search Suggestions), banner, type (store or fuel_center), name, store_number, address, coordinates, phone, timezone, hours, open_24_hours, departments, has_pharmacy, has_fuel_center, pickup, delivery and distance_miles. Fuel center locations only, no fuel prices. ${CHARGE} Costs 1 credit.`,
|
|
34
|
+
routing: request('/api/v1/kroger/stores'),
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'Get Category Products',
|
|
38
|
+
value: 'category',
|
|
39
|
+
action: 'Get kroger category products',
|
|
40
|
+
description: `A Kroger, QFC or Fred Meyer category listing by /pl/ URL or taxonomy ID. Returns category (ID, name, URL) and ${GRID} ${SITE_STORE} ${CENTS} ${CHARGE} Costs 1 credit.`,
|
|
41
|
+
routing: request('/api/v1/kroger/category'),
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'Get Coupons',
|
|
45
|
+
value: 'coupons',
|
|
46
|
+
action: 'Get kroger digital coupons',
|
|
47
|
+
description: `The digital coupons at one Kroger, QFC or Fred Meyer store (store ID, or the banner's store nearest a ZIP), 24 per page: ID, brand, title, description, details, savings (type, amount in cents, percent), type, min_quantity, categories, tags, valid_for, max_redemptions, starts_at, clip_by, expires_at and image; plus total_at_store, has_more and the categories to filter on. Listing only: coupons are not clipped and no account is used. ${CHARGE} Costs 1 credit.`,
|
|
48
|
+
routing: request('/api/v1/kroger/coupons'),
|
|
49
|
+
},
|
|
12
50
|
{
|
|
13
51
|
name: 'Get Product',
|
|
14
52
|
value: 'product',
|
|
15
53
|
action: 'Get a kroger product',
|
|
16
|
-
description:
|
|
17
|
-
routing:
|
|
54
|
+
description: `One Kroger, QFC or Fred Meyer product by URL or UPC: the search fields plus description, nutrition facts, ingredients, allergens, images, country of origin, dimensions, weight, dietary flags, the aisle at the store (store_location) and breadcrumbs. ${SITE_STORE} ${CENTS} ${CHARGE} Costs 2 credits.`,
|
|
55
|
+
routing: request('/api/v1/kroger/product'),
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'Get Search Suggestions',
|
|
59
|
+
value: 'suggestions',
|
|
60
|
+
action: 'Get kroger search suggestions',
|
|
61
|
+
description: `Kroger, QFC or Fred Meyer search box suggestions for a partial query: suggestions (text, type) and the store they were asked for. ${CHARGE} Costs 1 credit.`,
|
|
62
|
+
routing: request('/api/v1/kroger/suggestions'),
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: 'Get Store Prices',
|
|
66
|
+
value: 'prices',
|
|
67
|
+
action: 'Get kroger store prices',
|
|
68
|
+
description: `Price, promotion, stock and aisle for up to 25 UPCs at one Kroger, QFC or Fred Meyer store you choose (store ID from Find Stores). Per UPC: price, promo_price, promo_ends_at, on_sale, price_display, unit_price_display, in_stock, stock_level, quantity (the site's available estimate, not a shelf count), aisle (description, number, side, bay, shelf), fulfillment and priced_at; unknown UPCs in not_found. ${CENTS} An unknown store ID is a charged not-found. ${CHARGE} Costs 3 credits.`,
|
|
69
|
+
routing: request('/api/v1/kroger/prices'),
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'Get Weekly Digital Deals',
|
|
73
|
+
value: 'deals',
|
|
74
|
+
action: 'Get kroger weekly digital deals',
|
|
75
|
+
description: `This week's weekly digital deals of Kroger, QFC or Fred Meyer: deals_week (ID, ends_at) and ${GRID} Store promotions carry promo_price; digital-coupon deals show the shelf price (the coupon is in Get Coupons, tag Weekly Digital Deals). The printed weekly ad circular is not available. ${SITE_STORE} ${CENTS} ${CHARGE} Costs 1 credit.`,
|
|
76
|
+
routing: request('/api/v1/kroger/deals'),
|
|
18
77
|
},
|
|
19
78
|
{
|
|
20
79
|
name: 'Search Products',
|
|
21
80
|
value: 'search',
|
|
22
81
|
action: 'Search kroger products',
|
|
23
|
-
description:
|
|
24
|
-
routing:
|
|
82
|
+
description: `Search Kroger, QFC or Fred Meyer products by keyword. Returns ${GRID} ${SITE_STORE} ${CENTS} ${CHARGE} Costs 2 credits.`,
|
|
83
|
+
routing: request('/api/v1/kroger/search'),
|
|
25
84
|
},
|
|
26
85
|
],
|
|
27
86
|
default: 'search',
|
|
28
87
|
},
|
|
29
88
|
];
|
|
30
89
|
exports.krogerFields = [
|
|
90
|
+
// -- Banner: every operation --
|
|
91
|
+
{
|
|
92
|
+
displayName: 'Banner',
|
|
93
|
+
name: 'banner',
|
|
94
|
+
type: 'options',
|
|
95
|
+
default: 'auto',
|
|
96
|
+
options: [
|
|
97
|
+
{ name: 'Auto (Kroger, or From the URL / Store ID)', value: 'auto' },
|
|
98
|
+
{ name: 'Fred Meyer (Fredmeyer.com: Pacific Northwest and Alaska)', value: 'fred_meyer' },
|
|
99
|
+
{ name: 'Kroger (Kroger.com)', value: 'kroger' },
|
|
100
|
+
{ name: 'QFC (Qfc.com: Washington and Oregon)', value: 'qfc' },
|
|
101
|
+
],
|
|
102
|
+
displayOptions: show([
|
|
103
|
+
'search',
|
|
104
|
+
'product',
|
|
105
|
+
'prices',
|
|
106
|
+
'stores',
|
|
107
|
+
'category',
|
|
108
|
+
'deals',
|
|
109
|
+
'coupons',
|
|
110
|
+
'suggestions',
|
|
111
|
+
]),
|
|
112
|
+
routing: { request: { body: { banner: '={{ $value === "auto" ? undefined : $value }}' } } },
|
|
113
|
+
description: 'The store banner. Auto sends none: kroger, unless a product or category URL or a store ID sets it. Prices differ by banner and by store. Other Kroger banners are not supported yet.',
|
|
114
|
+
},
|
|
31
115
|
// -- Search Products --
|
|
32
116
|
{
|
|
33
117
|
displayName: 'Keyword',
|
|
@@ -36,7 +120,7 @@ exports.krogerFields = [
|
|
|
36
120
|
required: true,
|
|
37
121
|
default: '',
|
|
38
122
|
placeholder: 'organic milk',
|
|
39
|
-
displayOptions:
|
|
123
|
+
displayOptions: show(['search']),
|
|
40
124
|
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
41
125
|
description: 'Product search keyword',
|
|
42
126
|
},
|
|
@@ -46,49 +130,298 @@ exports.krogerFields = [
|
|
|
46
130
|
name: 'product_url',
|
|
47
131
|
type: 'string',
|
|
48
132
|
default: '',
|
|
49
|
-
placeholder: '/p/
|
|
50
|
-
displayOptions:
|
|
51
|
-
routing: { request: { body: { product_url: '={{ $value }}' } } },
|
|
52
|
-
description: 'Full or relative product URL
|
|
133
|
+
placeholder: '/p/simple-truth-organic-lactose-free-2-reduced-fat-milk-half-gallon/0001111050438',
|
|
134
|
+
displayOptions: show(['product']),
|
|
135
|
+
routing: { request: { body: { product_url: '={{ $value || undefined }}' } } },
|
|
136
|
+
description: 'Full or relative product URL on kroger.com, qfc.com or fredmeyer.com (the product URL from Search Products). Pass this or UPC. An absolute URL sets the banner.',
|
|
53
137
|
},
|
|
54
138
|
{
|
|
55
139
|
displayName: 'UPC',
|
|
56
140
|
name: 'upc',
|
|
57
141
|
type: 'string',
|
|
58
142
|
default: '',
|
|
59
|
-
placeholder: '
|
|
60
|
-
displayOptions:
|
|
61
|
-
routing: { request: { body: { upc: '={{ $value }}' } } },
|
|
62
|
-
description:
|
|
143
|
+
placeholder: '0001111050438',
|
|
144
|
+
displayOptions: show(['product']),
|
|
145
|
+
routing: { request: { body: { upc: '={{ $value || undefined }}' } } },
|
|
146
|
+
description: "The product's UPC (from Search Products or product URLs: /p/{slug}/{upc})",
|
|
63
147
|
},
|
|
64
148
|
{
|
|
65
149
|
displayName: 'Slug',
|
|
66
150
|
name: 'slug',
|
|
67
151
|
type: 'string',
|
|
68
152
|
default: '',
|
|
69
|
-
placeholder: '
|
|
70
|
-
displayOptions:
|
|
71
|
-
routing: { request: { body: { slug: '={{ $value }}' } } },
|
|
72
|
-
description: 'Product slug
|
|
153
|
+
placeholder: 'simple-truth-organic-lactose-free-2-reduced-fat-milk-half-gallon',
|
|
154
|
+
displayOptions: show(['product']),
|
|
155
|
+
routing: { request: { body: { slug: '={{ $value || undefined }}' } } },
|
|
156
|
+
description: 'Product slug (the readable part of the product URL). Optional with UPC.',
|
|
157
|
+
},
|
|
158
|
+
// -- Get Store Prices --
|
|
159
|
+
{
|
|
160
|
+
displayName: 'Store ID',
|
|
161
|
+
name: 'store_id',
|
|
162
|
+
type: 'string',
|
|
163
|
+
required: true,
|
|
164
|
+
default: '',
|
|
165
|
+
placeholder: '70500847',
|
|
166
|
+
displayOptions: show(['prices']),
|
|
167
|
+
routing: { request: { body: { store_id: '={{ $value }}' } } },
|
|
168
|
+
description: STORE_ID_DESCRIPTION,
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
displayName: 'UPCs',
|
|
172
|
+
name: 'upcs',
|
|
173
|
+
type: 'string',
|
|
174
|
+
required: true,
|
|
175
|
+
default: '',
|
|
176
|
+
placeholder: '0001111050438, 0081006334306',
|
|
177
|
+
displayOptions: show(['prices']),
|
|
178
|
+
routing: { request: { body: { upcs: splitList } } },
|
|
179
|
+
description: '1 to 25 13-digit UPCs, comma-separated, as the site writes them (products[].upc of Search Products or Get Category Products)',
|
|
180
|
+
},
|
|
181
|
+
// -- Find Stores --
|
|
182
|
+
{
|
|
183
|
+
displayName: 'Find By',
|
|
184
|
+
name: 'findBy',
|
|
185
|
+
type: 'options',
|
|
186
|
+
default: 'zip',
|
|
187
|
+
options: [
|
|
188
|
+
{ name: 'City or Address', value: 'query' },
|
|
189
|
+
{ name: 'Store ID', value: 'storeId' },
|
|
190
|
+
{ name: 'ZIP Code', value: 'zip' },
|
|
191
|
+
],
|
|
192
|
+
displayOptions: show(['stores']),
|
|
193
|
+
description: 'Find stores near a ZIP or a place, or read one store by ID',
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
displayName: 'ZIP Code',
|
|
197
|
+
name: 'zip',
|
|
198
|
+
type: 'string',
|
|
199
|
+
required: true,
|
|
200
|
+
default: '',
|
|
201
|
+
placeholder: '98101',
|
|
202
|
+
displayOptions: show(['stores'], { findBy: ['zip'] }),
|
|
203
|
+
routing: { request: { body: { zip: '={{ $value }}' } } },
|
|
204
|
+
description: 'A 5-digit US ZIP code',
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
displayName: 'City or Address',
|
|
208
|
+
name: 'query',
|
|
209
|
+
type: 'string',
|
|
210
|
+
required: true,
|
|
211
|
+
default: '',
|
|
212
|
+
placeholder: 'Portland, OR',
|
|
213
|
+
displayOptions: show(['stores'], { findBy: ['query'] }),
|
|
214
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
215
|
+
description: "A city or address, as typed in the site's store finder",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
displayName: 'Store ID',
|
|
219
|
+
name: 'storeLookupId',
|
|
220
|
+
type: 'string',
|
|
221
|
+
required: true,
|
|
222
|
+
default: '',
|
|
223
|
+
placeholder: '70100011',
|
|
224
|
+
displayOptions: show(['stores'], { findBy: ['storeId'] }),
|
|
225
|
+
routing: { request: { body: { store_id: '={{ $value }}' } } },
|
|
226
|
+
description: STORE_ID_DESCRIPTION,
|
|
227
|
+
},
|
|
228
|
+
// -- Get Category Products --
|
|
229
|
+
{
|
|
230
|
+
displayName: 'Category By',
|
|
231
|
+
name: 'categoryBy',
|
|
232
|
+
type: 'options',
|
|
233
|
+
default: 'url',
|
|
234
|
+
options: [
|
|
235
|
+
{ name: 'Category URL', value: 'url' },
|
|
236
|
+
{ name: 'Taxonomy ID', value: 'taxonomyId' },
|
|
237
|
+
],
|
|
238
|
+
displayOptions: show(['category']),
|
|
239
|
+
description: 'Read a category by its /pl/ URL or by the ID at the end of it',
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
displayName: 'Category URL',
|
|
243
|
+
name: 'url',
|
|
244
|
+
type: 'string',
|
|
245
|
+
required: true,
|
|
246
|
+
default: '',
|
|
247
|
+
placeholder: 'https://www.fredmeyer.com/pl/headphones-earbuds-headsets/2900300001',
|
|
248
|
+
displayOptions: show(['category'], { categoryBy: ['url'] }),
|
|
249
|
+
routing: { request: { body: { url: '={{ $value }}' } } },
|
|
250
|
+
description: "A category listing URL (/pl/<name>/<ID>) on kroger.com, qfc.com or fredmeyer.com. The URL's host sets the banner.",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
displayName: 'Taxonomy ID',
|
|
254
|
+
name: 'taxonomy_id',
|
|
255
|
+
type: 'string',
|
|
256
|
+
required: true,
|
|
257
|
+
default: '',
|
|
258
|
+
placeholder: '08190',
|
|
259
|
+
displayOptions: show(['category'], { categoryBy: ['taxonomyId'] }),
|
|
260
|
+
routing: { request: { body: { taxonomy_id: '={{ $value }}' } } },
|
|
261
|
+
description: 'The digits at the end of a /pl/ URL. Category IDs are shared across banners.',
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
displayName: 'Category Slug',
|
|
265
|
+
name: 'categorySlug',
|
|
266
|
+
type: 'string',
|
|
267
|
+
default: '',
|
|
268
|
+
placeholder: 'Import-Beer',
|
|
269
|
+
displayOptions: show(['category'], { categoryBy: ['taxonomyId'] }),
|
|
270
|
+
routing: { request: { body: { slug: '={{ $value || undefined }}' } } },
|
|
271
|
+
description: 'The name part of a /pl/ URL. Optional; without it category.name is null.',
|
|
272
|
+
},
|
|
273
|
+
// -- Get Coupons --
|
|
274
|
+
{
|
|
275
|
+
displayName: 'Store By',
|
|
276
|
+
name: 'couponStoreBy',
|
|
277
|
+
type: 'options',
|
|
278
|
+
default: 'storeId',
|
|
279
|
+
options: [
|
|
280
|
+
{ name: 'Store ID', value: 'storeId' },
|
|
281
|
+
{ name: 'ZIP Code (Nearest Store)', value: 'zip' },
|
|
282
|
+
],
|
|
283
|
+
displayOptions: show(['coupons']),
|
|
284
|
+
description: "Read one store's coupons, or those of the banner's store nearest a ZIP",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
displayName: 'Store ID',
|
|
288
|
+
name: 'couponStoreId',
|
|
289
|
+
type: 'string',
|
|
290
|
+
required: true,
|
|
291
|
+
default: '',
|
|
292
|
+
placeholder: '70500847',
|
|
293
|
+
displayOptions: show(['coupons'], { couponStoreBy: ['storeId'] }),
|
|
294
|
+
routing: { request: { body: { store_id: '={{ $value }}' } } },
|
|
295
|
+
description: STORE_ID_DESCRIPTION,
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
displayName: 'ZIP Code',
|
|
299
|
+
name: 'couponZip',
|
|
300
|
+
type: 'string',
|
|
301
|
+
required: true,
|
|
302
|
+
default: '',
|
|
303
|
+
placeholder: '98101',
|
|
304
|
+
displayOptions: show(['coupons'], { couponStoreBy: ['zip'] }),
|
|
305
|
+
routing: { request: { body: { zip: '={{ $value }}' } } },
|
|
306
|
+
description: "A 5-digit ZIP: the banner's nearest store is used",
|
|
73
307
|
},
|
|
74
|
-
// --
|
|
308
|
+
// -- Get Search Suggestions --
|
|
309
|
+
{
|
|
310
|
+
displayName: 'Query',
|
|
311
|
+
name: 'suggestionQuery',
|
|
312
|
+
type: 'string',
|
|
313
|
+
required: true,
|
|
314
|
+
default: '',
|
|
315
|
+
placeholder: 'almond mi',
|
|
316
|
+
displayOptions: show(['suggestions']),
|
|
317
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
318
|
+
description: 'What a shopper has typed so far (2+ characters)',
|
|
319
|
+
},
|
|
320
|
+
// -- Additional Options: Search Products, Get Category Products, Get Weekly Digital Deals --
|
|
75
321
|
{
|
|
76
322
|
displayName: 'Additional Options',
|
|
77
323
|
name: 'additionalOptions',
|
|
78
324
|
type: 'collection',
|
|
79
325
|
placeholder: 'Add Option',
|
|
80
326
|
default: {},
|
|
81
|
-
displayOptions:
|
|
327
|
+
displayOptions: show(['search', 'category', 'deals']),
|
|
82
328
|
options: [
|
|
83
329
|
{
|
|
84
330
|
displayName: 'Page',
|
|
85
331
|
name: 'page',
|
|
86
332
|
type: 'number',
|
|
87
333
|
default: 1,
|
|
334
|
+
typeOptions: { minValue: 1, maxValue: 1 },
|
|
335
|
+
description: 'Only page 1 (up to 24 products) is available; a page above 1 is refused before any charge',
|
|
336
|
+
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
},
|
|
340
|
+
// -- Additional Options: Find Stores --
|
|
341
|
+
{
|
|
342
|
+
displayName: 'Additional Options',
|
|
343
|
+
name: 'storeOptions',
|
|
344
|
+
type: 'collection',
|
|
345
|
+
placeholder: 'Add Option',
|
|
346
|
+
default: {},
|
|
347
|
+
displayOptions: show(['stores']),
|
|
348
|
+
options: [
|
|
349
|
+
{
|
|
350
|
+
displayName: 'Include Other Banners',
|
|
351
|
+
name: 'include_other_banners',
|
|
352
|
+
type: 'boolean',
|
|
353
|
+
default: false,
|
|
354
|
+
description: 'Whether to also return nearby stores of other Kroger banners (for example Fred Meyer stores near a QFC search)',
|
|
355
|
+
routing: { request: { body: { include_other_banners: '={{ $value }}' } } },
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
displayName: 'Limit',
|
|
359
|
+
name: 'limit',
|
|
360
|
+
type: 'number',
|
|
361
|
+
default: 50,
|
|
88
362
|
typeOptions: { minValue: 1 },
|
|
89
|
-
|
|
363
|
+
hint: 'Stores to return, 1 to 50. The API default is 10.',
|
|
364
|
+
description: 'Max number of results to return',
|
|
365
|
+
routing: { request: { body: { limit: '={{ $value }}' } } },
|
|
366
|
+
},
|
|
367
|
+
],
|
|
368
|
+
},
|
|
369
|
+
// -- Additional Options: Get Coupons --
|
|
370
|
+
{
|
|
371
|
+
displayName: 'Additional Options',
|
|
372
|
+
name: 'couponOptions',
|
|
373
|
+
type: 'collection',
|
|
374
|
+
placeholder: 'Add Option',
|
|
375
|
+
default: {},
|
|
376
|
+
displayOptions: show(['coupons']),
|
|
377
|
+
options: [
|
|
378
|
+
{
|
|
379
|
+
displayName: 'Category',
|
|
380
|
+
name: 'category',
|
|
381
|
+
type: 'string',
|
|
382
|
+
default: '',
|
|
383
|
+
placeholder: 'Dairy',
|
|
384
|
+
description: "Only coupons in one department: a name from the response's categories list",
|
|
385
|
+
routing: { request: { body: { category: '={{ $value || undefined }}' } } },
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
displayName: 'Page',
|
|
389
|
+
name: 'page',
|
|
390
|
+
type: 'number',
|
|
391
|
+
default: 1,
|
|
392
|
+
typeOptions: { minValue: 1, maxValue: 50 },
|
|
393
|
+
description: 'Page of coupons, 24 per page. Follow has_more.',
|
|
90
394
|
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
91
395
|
},
|
|
396
|
+
{
|
|
397
|
+
displayName: 'Text Match',
|
|
398
|
+
name: 'query',
|
|
399
|
+
type: 'string',
|
|
400
|
+
default: '',
|
|
401
|
+
placeholder: 'coffee',
|
|
402
|
+
description: 'Only coupons whose brand or text matches',
|
|
403
|
+
routing: { request: { body: { query: '={{ $value || undefined }}' } } },
|
|
404
|
+
},
|
|
405
|
+
],
|
|
406
|
+
},
|
|
407
|
+
// -- Additional Options: Get Search Suggestions --
|
|
408
|
+
{
|
|
409
|
+
displayName: 'Additional Options',
|
|
410
|
+
name: 'suggestionOptions',
|
|
411
|
+
type: 'collection',
|
|
412
|
+
placeholder: 'Add Option',
|
|
413
|
+
default: {},
|
|
414
|
+
displayOptions: show(['suggestions']),
|
|
415
|
+
options: [
|
|
416
|
+
{
|
|
417
|
+
displayName: 'Store ID',
|
|
418
|
+
name: 'store_id',
|
|
419
|
+
type: 'string',
|
|
420
|
+
default: '',
|
|
421
|
+
placeholder: '70500847',
|
|
422
|
+
description: "A store's 8-digit location_id. Without it the banner's store nearest a representative ZIP is used (Kroger 45202, QFC 98101, Fred Meyer 97201).",
|
|
423
|
+
routing: { request: { body: { store_id: '={{ $value || undefined }}' } } },
|
|
424
|
+
},
|
|
92
425
|
],
|
|
93
426
|
},
|
|
94
427
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KrogerDescription.js","sourceRoot":"","sources":["../../../../nodes/Scavio/descriptions/KrogerDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,gBAAgB,GAAsB;IAClD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;QAClD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,SAAS;gBAChB,MAAM,EAAE,sBAAsB;gBAC9B,WAAW,EACV,uYAAuY;gBACxY,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,wBAA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C"}
|
|
1
|
+
{"version":3,"file":"KrogerDescription.js","sourceRoot":"","sources":["../../../../nodes/Scavio/descriptions/KrogerDescription.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,CAAC,SAAmB,EAAE,QAAkC,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE;CACnD,CAAC,CAAC;AAEH,uFAAuF;AACvF,gGAAgG;AAChG,kGAAkG;AAClG,MAAM,OAAO,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC;IACjC,OAAO,EAAE,EAAE,MAAM,EAAE,MAAe,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE;CAC1D,CAAC,CAAC;AAEH,wDAAwD;AACxD,MAAM,SAAS,GAAG,qEAAqE,CAAC;AAExF,MAAM,KAAK,GAAG,+CAA+C,CAAC;AAC9D,MAAM,UAAU,GACf,wNAAwN,CAAC;AAC1N,MAAM,IAAI,GACT,iTAAiT,CAAC;AACnT,MAAM,IAAI,GAAG,iDAAiD,IAAI,uEAAuE,CAAC;AAC1I,MAAM,MAAM,GACX,iGAAiG,CAAC;AAEnG,MAAM,oBAAoB,GACzB,iHAAiH,CAAC;AAEtG,QAAA,gBAAgB,GAAsB;IAClD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;QAClD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,oBAAoB;gBAC5B,WAAW,EAAE,obAAob,MAAM,kBAAkB;gBACzd,OAAO,EAAE,OAAO,CAAC,uBAAuB,CAAC;aACzC;YACD;gBACC,I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E,EAAE;QACX,cAAc,EAAE,IAAI,CAAC,CAAC,aAAa,CAAC,CAAC;QACrC,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,UAAU;gBACvB,WAAW,EACV,gJAAgJ;gBACjJ,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,4BAA4B,EAAE,EAAE,EAAE;aAC1E;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,484 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.publixFields = exports.publixOperations = void 0;
|
|
4
|
+
const show = (operation, extra = {}) => ({
|
|
5
|
+
show: { resource: ['publix'], operation, ...extra },
|
|
6
|
+
});
|
|
7
|
+
// Publix (publix.com, US), 11 operations, 1 credit each. Every price operation is store-scoped:
|
|
8
|
+
// it takes a Publix store number from Find Stores. Every route carries a 120s timeout.
|
|
9
|
+
const request = (url) => ({
|
|
10
|
+
request: { method: 'POST', url, timeout: 120000 },
|
|
11
|
+
});
|
|
12
|
+
const PRICES = 'Publix shows prices online only for items on sale and for order-ahead (deli and bakery) items, so price is a number only when the site shows one and null otherwise; it is never estimated (no regular shelf prices). price_text is the price as shown, bundle {quantity, price} for multi-buys (2 for $5.00), starting_price for "Starts at" items, regular_price the crossed-out price.';
|
|
13
|
+
const STORE = 'Aisles, promotions and prices are those of the store you pick (returned in store); they differ by store.';
|
|
14
|
+
const ITEM = 'item_code, base_product_id, title, brand, size, description, image, URL, category_path, aisle, on_sale, price, price_unit, bundle, starting_price, regular_price, price_text, regular_price_text, promo (type single, bogo or multi; message, conditions, savings, valid_from, valid_through), has_coupon and is_order_ahead';
|
|
15
|
+
const GRID = `total, page, page_size (48), total_pages, count, sort, applied_filters, facets and items with ${ITEM}.`;
|
|
16
|
+
const CHARGE = 'Failed upstream calls are not charged (they are retried automatically); a not-found is charged.';
|
|
17
|
+
const STORE_ID_DESCRIPTION = 'A Publix store number from Find Stores (stores[].store_id), e.g. 1614 (Miami) or 1825 (Atlanta)';
|
|
18
|
+
const PRICE_OPS = [
|
|
19
|
+
'search',
|
|
20
|
+
'product',
|
|
21
|
+
'category',
|
|
22
|
+
'weeklyAd',
|
|
23
|
+
'extraSavings',
|
|
24
|
+
'coupons',
|
|
25
|
+
'savingsSearch',
|
|
26
|
+
'orderAhead',
|
|
27
|
+
];
|
|
28
|
+
exports.publixOperations = [
|
|
29
|
+
{
|
|
30
|
+
displayName: 'Operation',
|
|
31
|
+
name: 'operation',
|
|
32
|
+
type: 'options',
|
|
33
|
+
noDataExpression: true,
|
|
34
|
+
displayOptions: { show: { resource: ['publix'] } },
|
|
35
|
+
options: [
|
|
36
|
+
{
|
|
37
|
+
name: 'Find Stores',
|
|
38
|
+
value: 'stores',
|
|
39
|
+
action: 'Find publix stores',
|
|
40
|
+
description: `Publix stores near a ZIP, in a city (with state), or one store by number: store_id (for every other operation), name, short_name, type, address, phone, hours for the next 7 days, time_zone, departments, services, pharmacy (phone, hours), liquor_store, latitude, longitude, distance_miles, weekly_ad_break_day (the day the store's weekly ad starts), opening_date, closing_date and image. Publix operates in FL, GA, AL, SC, NC, TN, VA and KY. ${CHARGE} Costs 1 credit.`,
|
|
41
|
+
routing: request('/api/v1/publix/stores'),
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'Get Categories',
|
|
45
|
+
value: 'categories',
|
|
46
|
+
action: 'Get publix categories',
|
|
47
|
+
description: `The Publix category tree: departments with their categories and sub-categories, each with ID (for Get Category Products), name, URL, parent_id, level and children; plus count. ${CHARGE} Costs 1 credit.`,
|
|
48
|
+
routing: request('/api/v1/publix/categories'),
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'Get Category Products',
|
|
52
|
+
value: 'category',
|
|
53
|
+
action: 'Get publix category products',
|
|
54
|
+
description: `One Publix category's products at one store, by category URL or ID, with the search sorts and filters. Returns category (ID, name, path), store and ${GRID} ${STORE} ${PRICES} ${CHARGE} Costs 1 credit.`,
|
|
55
|
+
routing: request('/api/v1/publix/category'),
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'Get Coupons',
|
|
59
|
+
value: 'coupons',
|
|
60
|
+
action: 'Get publix digital coupons',
|
|
61
|
+
description: `The store's Publix digital coupons (about 100-130): ID, title, description, brand, savings_text, value, min_quantity, limit_per_transaction, categories, valid_from, valid_to, terms and image; plus store and count. Listing only: coupons are never clipped and no account is used. ${CHARGE} Costs 1 credit.`,
|
|
62
|
+
routing: request('/api/v1/publix/coupons'),
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: 'Get Extra Savings',
|
|
66
|
+
value: 'extraSavings',
|
|
67
|
+
action: 'Get publix extra savings',
|
|
68
|
+
description: `The store's Publix Extra Savings (temporary price reductions): ID, base_product_id, title, size, brand, categories, savings_text, savings, additional_savings, final_price (as the site lists it), min_quantity, image and URL; plus store, count and period (start_date, end_date). ${CHARGE} Costs 1 credit.`,
|
|
69
|
+
routing: request('/api/v1/publix/extra-savings'),
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'Get Order Ahead Menu',
|
|
73
|
+
value: 'orderAhead',
|
|
74
|
+
action: 'Get publix order ahead menu',
|
|
75
|
+
description: `The store's Publix deli and bakery order-ahead menu with this store's prices: Pub Subs or the whole catalog of subs, platters, cakes, wings and meals (60 per page). Each item: ${ITEM}, short_description, lead_time, serves, calories and pay_online. ${CHARGE} Costs 1 credit.`,
|
|
76
|
+
routing: request('/api/v1/publix/order-ahead'),
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: 'Get Product',
|
|
80
|
+
value: 'product',
|
|
81
|
+
action: 'Get a publix product',
|
|
82
|
+
description: `One Publix product by item code at one store: the product card (${ITEM}) and its nutrition facts (every nutrient with amount, unit and percent daily value; null when Publix has none). Publix does not publish ingredients, allergens, UPC or reviews online. ${STORE} ${PRICES} ${CHARGE} Costs 1 credit.`,
|
|
83
|
+
routing: request('/api/v1/publix/product'),
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: 'Get Search Suggestions',
|
|
87
|
+
value: 'suggestions',
|
|
88
|
+
action: 'Get publix search suggestions',
|
|
89
|
+
description: `The suggestions the Publix search box shows for a partial query: up to 10 popular searches and, with a store ID, up to 4 products (item_code, title, description, image, URL). ${CHARGE} Costs 1 credit.`,
|
|
90
|
+
routing: request('/api/v1/publix/suggestions'),
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: 'Get Weekly Ad',
|
|
94
|
+
value: 'weeklyAd',
|
|
95
|
+
action: 'Get publix weekly ad',
|
|
96
|
+
description: `The store's current Publix weekly ad (English), about 700 items: BOGO deals (about 230 a week), sale prices, multi-buys and percent-off deals, with ad (start_date, end_date), departments and items with savings_text, deal_type (bogo, b2g1, multi, price, percent_off or other), price (only for a plain price), price_unit, bundle, save_up_to, department, promotion, valid_from and valid_to. Ads run Thursday to Wednesday in Florida and Wednesday to Tuesday in Georgia and North Carolina. ${CHARGE} Costs 1 credit.`,
|
|
97
|
+
routing: request('/api/v1/publix/weekly-ad'),
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: 'Search Products',
|
|
101
|
+
value: 'search',
|
|
102
|
+
action: 'Search publix products',
|
|
103
|
+
description: `Search Publix products at one store by keyword. Returns query, corrected_query, store and ${GRID} Keywords the site sends to an order-ahead page set redirected_to. ${STORE} ${PRICES} ${CHARGE} Costs 1 credit.`,
|
|
104
|
+
routing: request('/api/v1/publix/search'),
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: 'Search Savings',
|
|
108
|
+
value: 'savingsSearch',
|
|
109
|
+
action: 'Search publix savings',
|
|
110
|
+
description: `Find a keyword across the store's Publix weekly ad, Extra Savings and digital coupons in one call: query, store, count and items, each with saving_type (weekly_ad, extra_savings or coupon) and that feed's fields. ${CHARGE} Costs 1 credit.`,
|
|
111
|
+
routing: request('/api/v1/publix/savings-search'),
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
default: 'search',
|
|
115
|
+
},
|
|
116
|
+
];
|
|
117
|
+
exports.publixFields = [
|
|
118
|
+
// -- Store ID: every price operation --
|
|
119
|
+
{
|
|
120
|
+
displayName: 'Store ID',
|
|
121
|
+
name: 'store_id',
|
|
122
|
+
type: 'string',
|
|
123
|
+
required: true,
|
|
124
|
+
default: '',
|
|
125
|
+
placeholder: '1614',
|
|
126
|
+
displayOptions: show(PRICE_OPS),
|
|
127
|
+
routing: { request: { body: { store_id: '={{ $value }}' } } },
|
|
128
|
+
description: STORE_ID_DESCRIPTION,
|
|
129
|
+
},
|
|
130
|
+
// -- Search Products --
|
|
131
|
+
{
|
|
132
|
+
displayName: 'Keyword',
|
|
133
|
+
name: 'keyword',
|
|
134
|
+
type: 'string',
|
|
135
|
+
required: true,
|
|
136
|
+
default: '',
|
|
137
|
+
placeholder: 'chicken',
|
|
138
|
+
displayOptions: show(['search']),
|
|
139
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
140
|
+
description: 'Product search keyword',
|
|
141
|
+
},
|
|
142
|
+
// -- Get Product --
|
|
143
|
+
{
|
|
144
|
+
displayName: 'Item Code',
|
|
145
|
+
name: 'itemCode',
|
|
146
|
+
type: 'string',
|
|
147
|
+
required: true,
|
|
148
|
+
default: '',
|
|
149
|
+
placeholder: '90355',
|
|
150
|
+
displayOptions: show(['product']),
|
|
151
|
+
routing: { request: { body: { item_code: '={{ $value }}' } } },
|
|
152
|
+
description: 'A Publix item code (not a UPC): items[].item_code of Search Products, Get Category Products or Get Order Ahead Menu',
|
|
153
|
+
},
|
|
154
|
+
// -- Get Category Products --
|
|
155
|
+
{
|
|
156
|
+
displayName: 'Category By',
|
|
157
|
+
name: 'categoryBy',
|
|
158
|
+
type: 'options',
|
|
159
|
+
default: 'url',
|
|
160
|
+
options: [
|
|
161
|
+
{ name: 'Category ID', value: 'id' },
|
|
162
|
+
{ name: 'Category URL', value: 'url' },
|
|
163
|
+
],
|
|
164
|
+
displayOptions: show(['category']),
|
|
165
|
+
description: 'Read a category by its publix.com link or by its ID from Get Categories',
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
displayName: 'Category URL',
|
|
169
|
+
name: 'category_url',
|
|
170
|
+
type: 'string',
|
|
171
|
+
required: true,
|
|
172
|
+
default: '',
|
|
173
|
+
placeholder: 'https://www.publix.com/c/chicken/6772da29-55bf-4051-83d5-104d73ae9a96',
|
|
174
|
+
displayOptions: show(['category'], { categoryBy: ['url'] }),
|
|
175
|
+
routing: { request: { body: { category_url: '={{ $value }}' } } },
|
|
176
|
+
description: 'A publix.com category link (/c/<name>/<ID>)',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
displayName: 'Category ID',
|
|
180
|
+
name: 'category_id',
|
|
181
|
+
type: 'string',
|
|
182
|
+
required: true,
|
|
183
|
+
default: '',
|
|
184
|
+
placeholder: '6772da29-55bf-4051-83d5-104d73ae9a96',
|
|
185
|
+
displayOptions: show(['category'], { categoryBy: ['id'] }),
|
|
186
|
+
routing: { request: { body: { category_id: '={{ $value }}' } } },
|
|
187
|
+
description: 'A category ID (categories[].ID of Get Categories)',
|
|
188
|
+
},
|
|
189
|
+
// -- Search Savings --
|
|
190
|
+
{
|
|
191
|
+
displayName: 'Keyword',
|
|
192
|
+
name: 'savingsQuery',
|
|
193
|
+
type: 'string',
|
|
194
|
+
required: true,
|
|
195
|
+
default: '',
|
|
196
|
+
placeholder: 'coffee',
|
|
197
|
+
displayOptions: show(['savingsSearch']),
|
|
198
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
199
|
+
description: "A keyword to find in the store's weekly ad, Extra Savings and digital coupons",
|
|
200
|
+
},
|
|
201
|
+
// -- Find Stores --
|
|
202
|
+
{
|
|
203
|
+
displayName: 'Find By',
|
|
204
|
+
name: 'findBy',
|
|
205
|
+
type: 'options',
|
|
206
|
+
default: 'zip',
|
|
207
|
+
options: [
|
|
208
|
+
{ name: 'City and State', value: 'city' },
|
|
209
|
+
{ name: 'Store ID', value: 'storeId' },
|
|
210
|
+
{ name: 'ZIP Code', value: 'zip' },
|
|
211
|
+
],
|
|
212
|
+
displayOptions: show(['stores']),
|
|
213
|
+
description: 'Find stores near a ZIP or in a city, or read one store by number',
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
displayName: 'ZIP Code',
|
|
217
|
+
name: 'zip',
|
|
218
|
+
type: 'string',
|
|
219
|
+
required: true,
|
|
220
|
+
default: '',
|
|
221
|
+
placeholder: '33101',
|
|
222
|
+
displayOptions: show(['stores'], { findBy: ['zip'] }),
|
|
223
|
+
routing: { request: { body: { zip: '={{ $value }}' } } },
|
|
224
|
+
description: 'A 5-digit US ZIP code: the stores nearest to it',
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
displayName: 'City',
|
|
228
|
+
name: 'city',
|
|
229
|
+
type: 'string',
|
|
230
|
+
required: true,
|
|
231
|
+
default: '',
|
|
232
|
+
placeholder: 'Nashville',
|
|
233
|
+
displayOptions: show(['stores'], { findBy: ['city'] }),
|
|
234
|
+
routing: { request: { body: { city: '={{ $value }}' } } },
|
|
235
|
+
description: 'A city name',
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
displayName: 'State',
|
|
239
|
+
name: 'state',
|
|
240
|
+
type: 'string',
|
|
241
|
+
required: true,
|
|
242
|
+
default: '',
|
|
243
|
+
placeholder: 'TN',
|
|
244
|
+
displayOptions: show(['stores'], { findBy: ['city'] }),
|
|
245
|
+
routing: { request: { body: { state: '={{ $value }}' } } },
|
|
246
|
+
description: 'A 2-letter state code (FL, GA, AL, SC, NC, TN, VA or KY)',
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
displayName: 'Store ID',
|
|
250
|
+
name: 'storeLookupId',
|
|
251
|
+
type: 'string',
|
|
252
|
+
required: true,
|
|
253
|
+
default: '',
|
|
254
|
+
placeholder: '1825',
|
|
255
|
+
displayOptions: show(['stores'], { findBy: ['storeId'] }),
|
|
256
|
+
routing: { request: { body: { store_id: '={{ $value }}' } } },
|
|
257
|
+
description: 'A Publix store number',
|
|
258
|
+
},
|
|
259
|
+
// -- Get Search Suggestions --
|
|
260
|
+
{
|
|
261
|
+
displayName: 'Query',
|
|
262
|
+
name: 'suggestionQuery',
|
|
263
|
+
type: 'string',
|
|
264
|
+
required: true,
|
|
265
|
+
default: '',
|
|
266
|
+
placeholder: 'chick',
|
|
267
|
+
displayOptions: show(['suggestions']),
|
|
268
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
269
|
+
description: 'What a shopper has typed so far',
|
|
270
|
+
},
|
|
271
|
+
// -- Get Order Ahead Menu --
|
|
272
|
+
{
|
|
273
|
+
displayName: 'Section',
|
|
274
|
+
name: 'orderAheadSection',
|
|
275
|
+
type: 'options',
|
|
276
|
+
default: 'subs',
|
|
277
|
+
options: [
|
|
278
|
+
{ name: 'All (Subs, Platters, Cakes, Meals)', value: 'all' },
|
|
279
|
+
{ name: 'Pub Subs', value: 'subs' },
|
|
280
|
+
],
|
|
281
|
+
displayOptions: show(['orderAhead']),
|
|
282
|
+
routing: { request: { body: { section: '={{ $value }}' } } },
|
|
283
|
+
description: 'The Pub Sub menu or the whole deli and bakery order-ahead catalog',
|
|
284
|
+
},
|
|
285
|
+
// -- Additional Options: Search Products, Get Category Products --
|
|
286
|
+
{
|
|
287
|
+
displayName: 'Additional Options',
|
|
288
|
+
name: 'additionalOptions',
|
|
289
|
+
type: 'collection',
|
|
290
|
+
placeholder: 'Add Option',
|
|
291
|
+
default: {},
|
|
292
|
+
displayOptions: show(['search', 'category']),
|
|
293
|
+
options: [
|
|
294
|
+
{
|
|
295
|
+
displayName: 'BOGO Only',
|
|
296
|
+
name: 'bogo',
|
|
297
|
+
type: 'boolean',
|
|
298
|
+
default: false,
|
|
299
|
+
description: 'Whether to return only Buy One Get One Free items at the store',
|
|
300
|
+
routing: { request: { body: { bogo: '={{ $value || undefined }}' } } },
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
displayName: 'Brand',
|
|
304
|
+
name: 'brand',
|
|
305
|
+
type: 'string',
|
|
306
|
+
default: '',
|
|
307
|
+
placeholder: 'Tyson',
|
|
308
|
+
description: 'Only this brand, as the site lists it (facets: Brand values)',
|
|
309
|
+
routing: { request: { body: { brand: '={{ $value || undefined }}' } } },
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
displayName: 'On Sale Only',
|
|
313
|
+
name: 'on_sale',
|
|
314
|
+
type: 'boolean',
|
|
315
|
+
default: false,
|
|
316
|
+
description: 'Whether to return only items on sale at the store (weekly ad, BOGO, multi-buy or extra savings)',
|
|
317
|
+
routing: { request: { body: { on_sale: '={{ $value || undefined }}' } } },
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
displayName: 'Page',
|
|
321
|
+
name: 'page',
|
|
322
|
+
type: 'number',
|
|
323
|
+
default: 1,
|
|
324
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
325
|
+
description: 'Results page, 48 products per page',
|
|
326
|
+
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
displayName: 'Sort',
|
|
330
|
+
name: 'sort',
|
|
331
|
+
type: 'options',
|
|
332
|
+
default: 'relevance',
|
|
333
|
+
options: [
|
|
334
|
+
{ name: 'Featured', value: 'featured' },
|
|
335
|
+
{ name: 'Most Viewed', value: 'most_viewed' },
|
|
336
|
+
{ name: 'Name: A to Z', value: 'name_asc' },
|
|
337
|
+
{ name: 'Name: Z to A', value: 'name_desc' },
|
|
338
|
+
{ name: 'Popularity', value: 'popularity' },
|
|
339
|
+
{ name: 'Relevance', value: 'relevance' },
|
|
340
|
+
{ name: 'Savings Amount (Biggest First)', value: 'savings_amount' },
|
|
341
|
+
],
|
|
342
|
+
description: 'Result order',
|
|
343
|
+
routing: {
|
|
344
|
+
request: { body: { sort: '={{ $value === "relevance" ? undefined : $value }}' } },
|
|
345
|
+
},
|
|
346
|
+
},
|
|
347
|
+
],
|
|
348
|
+
},
|
|
349
|
+
// -- Additional Options: Get Weekly Ad --
|
|
350
|
+
{
|
|
351
|
+
displayName: 'Additional Options',
|
|
352
|
+
name: 'weeklyAdOptions',
|
|
353
|
+
type: 'collection',
|
|
354
|
+
placeholder: 'Add Option',
|
|
355
|
+
default: {},
|
|
356
|
+
displayOptions: show(['weeklyAd']),
|
|
357
|
+
options: [
|
|
358
|
+
{
|
|
359
|
+
displayName: 'BOGO Only',
|
|
360
|
+
name: 'bogo_only',
|
|
361
|
+
type: 'boolean',
|
|
362
|
+
default: false,
|
|
363
|
+
description: 'Whether to return only Buy 1 Get 1 Free and Buy 2 Get 1 Free items',
|
|
364
|
+
routing: { request: { body: { bogo_only: '={{ $value || undefined }}' } } },
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
displayName: 'Department',
|
|
368
|
+
name: 'department',
|
|
369
|
+
type: 'string',
|
|
370
|
+
default: '',
|
|
371
|
+
placeholder: 'Produce',
|
|
372
|
+
description: 'Only items of this department (departments of the answer, e.g. Meat, Deli, Wine)',
|
|
373
|
+
routing: { request: { body: { department: '={{ $value || undefined }}' } } },
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
displayName: 'Text Match',
|
|
377
|
+
name: 'query',
|
|
378
|
+
type: 'string',
|
|
379
|
+
default: '',
|
|
380
|
+
placeholder: 'apple',
|
|
381
|
+
description: 'Only items whose title, description or brand contains this text',
|
|
382
|
+
routing: { request: { body: { query: '={{ $value || undefined }}' } } },
|
|
383
|
+
},
|
|
384
|
+
],
|
|
385
|
+
},
|
|
386
|
+
// -- Additional Options: Get Order Ahead Menu --
|
|
387
|
+
{
|
|
388
|
+
displayName: 'Additional Options',
|
|
389
|
+
name: 'orderAheadOptions',
|
|
390
|
+
type: 'collection',
|
|
391
|
+
placeholder: 'Add Option',
|
|
392
|
+
default: {},
|
|
393
|
+
displayOptions: show(['orderAhead']),
|
|
394
|
+
options: [
|
|
395
|
+
{
|
|
396
|
+
displayName: 'Page',
|
|
397
|
+
name: 'page',
|
|
398
|
+
type: 'number',
|
|
399
|
+
default: 1,
|
|
400
|
+
typeOptions: { minValue: 1, maxValue: 50 },
|
|
401
|
+
description: 'Results page, 60 items per page',
|
|
402
|
+
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
403
|
+
},
|
|
404
|
+
],
|
|
405
|
+
},
|
|
406
|
+
// -- Additional Options: Get Categories --
|
|
407
|
+
{
|
|
408
|
+
displayName: 'Additional Options',
|
|
409
|
+
name: 'categoriesOptions',
|
|
410
|
+
type: 'collection',
|
|
411
|
+
placeholder: 'Add Option',
|
|
412
|
+
default: {},
|
|
413
|
+
displayOptions: show(['categories']),
|
|
414
|
+
options: [
|
|
415
|
+
{
|
|
416
|
+
displayName: 'Parent ID',
|
|
417
|
+
name: 'parent_id',
|
|
418
|
+
type: 'string',
|
|
419
|
+
default: '',
|
|
420
|
+
description: "Return only this department's or category's subtree (categories[].ID)",
|
|
421
|
+
routing: { request: { body: { parent_id: '={{ $value || undefined }}' } } },
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
displayName: 'Store ID',
|
|
425
|
+
name: 'store_id',
|
|
426
|
+
type: 'string',
|
|
427
|
+
default: '',
|
|
428
|
+
placeholder: '1614',
|
|
429
|
+
description: STORE_ID_DESCRIPTION,
|
|
430
|
+
routing: { request: { body: { store_id: '={{ $value || undefined }}' } } },
|
|
431
|
+
},
|
|
432
|
+
],
|
|
433
|
+
},
|
|
434
|
+
// -- Additional Options: Find Stores --
|
|
435
|
+
{
|
|
436
|
+
displayName: 'Additional Options',
|
|
437
|
+
name: 'storeOptions',
|
|
438
|
+
type: 'collection',
|
|
439
|
+
placeholder: 'Add Option',
|
|
440
|
+
default: {},
|
|
441
|
+
displayOptions: show(['stores']),
|
|
442
|
+
options: [
|
|
443
|
+
{
|
|
444
|
+
displayName: 'Stores to Return',
|
|
445
|
+
name: 'storeCount',
|
|
446
|
+
type: 'number',
|
|
447
|
+
default: 10,
|
|
448
|
+
typeOptions: { minValue: 1, maxValue: 30 },
|
|
449
|
+
description: 'Stores to return, 1 to 30',
|
|
450
|
+
routing: { request: { body: { limit: '={{ $value }}' } } },
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
displayName: 'Radius (Miles)',
|
|
454
|
+
name: 'radius_miles',
|
|
455
|
+
type: 'number',
|
|
456
|
+
default: 50,
|
|
457
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
458
|
+
description: 'Search radius in miles',
|
|
459
|
+
routing: { request: { body: { radius_miles: '={{ $value }}' } } },
|
|
460
|
+
},
|
|
461
|
+
],
|
|
462
|
+
},
|
|
463
|
+
// -- Additional Options: Get Search Suggestions --
|
|
464
|
+
{
|
|
465
|
+
displayName: 'Additional Options',
|
|
466
|
+
name: 'suggestionOptions',
|
|
467
|
+
type: 'collection',
|
|
468
|
+
placeholder: 'Add Option',
|
|
469
|
+
default: {},
|
|
470
|
+
displayOptions: show(['suggestions']),
|
|
471
|
+
options: [
|
|
472
|
+
{
|
|
473
|
+
displayName: 'Store ID',
|
|
474
|
+
name: 'store_id',
|
|
475
|
+
type: 'string',
|
|
476
|
+
default: '',
|
|
477
|
+
placeholder: '1614',
|
|
478
|
+
description: `${STORE_ID_DESCRIPTION}. With a store the answer also carries up to 4 products.`,
|
|
479
|
+
routing: { request: { body: { store_id: '={{ $value || undefined }}' } } },
|
|
480
|
+
},
|
|
481
|
+
],
|
|
482
|
+
},
|
|
483
|
+
];
|
|
484
|
+
//# sourceMappingURL=PublixDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PublixDescription.js","sourceRoot":"","sources":["../../../../nodes/Scavio/descriptions/PublixDescription.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,CAAC,SAAmB,EAAE,QAAkC,EAA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EAAE,IAAI,CAAC,CAAC,aAAa,CAAC,CAAC;QACrC,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,MAAM;gBACnB,WAAW,EAAE,GAAG,oBAAoB,0DAA0D;gBAC9F,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,4BAA4B,EAAE,EAAE,EAAE;aAC1E;SACD;KACD;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const NODE_PACKAGE_VERSION = "0.
|
|
1
|
+
export declare const NODE_PACKAGE_VERSION = "0.53.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.53.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, Saks Fifth Avenue, Kohl's, JCPenney, Dick's Sporting Goods, Foot Locker, Fanatics, Carrefour, Allegro, OLX, 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.53.0",
|
|
4
|
+
"description": "n8n community node for Scavio — real-time structured JSON from Google, ChatGPT, Gemini, Amazon, Walmart, eBay, Target, Home Depot, Costco, Publix, Best Buy, TCGplayer, Vinted, Macy's, Saks Fifth Avenue, Kohl's, JCPenney, Dick's Sporting Goods, Foot Locker, Fanatics, Carrefour, Allegro, OLX, 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",
|