n8n-nodes-scavio 0.17.1 → 0.19.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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This is an n8n community node. It lets you use [Scavio](https://scavio.dev?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — a real-time structured-data API for search, retail, social, travel, real estate, jobs, app stores, software reviews, ad libraries, public company filings, and any URL — in your n8n workflows.
4
4
 
5
- Scavio returns clean, structured JSON from 44 resources and 327 operations. Use it to power product research, price and review monitoring, AI agent retrieval, lead enrichment, competitive and ad intelligence, and content workflows.
5
+ Scavio returns clean, structured JSON from 47 resources and 346 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
 
@@ -46,6 +46,8 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
46
46
  | --- | --- | --- |
47
47
  | [Zillow](https://scavio.dev/docs/zillow-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Listings, Get Property, Get Agent Reviews |
48
48
  | [Redfin](https://scavio.dev/docs/redfin-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Listings, Get Property, Get Market Stats |
49
+ | Realtor.com | 1 | Search Listings, Get Property, Get Location Suggestions, Get Market Stats, Search Agents, Get Agent Profile |
50
+ | Rightmove (UK) | 1 | Look Up Locations, Search Listings, Get Property, Get Sold Prices, Get Sold Property, Search Agents, Get Agent Branch |
49
51
  | [Booking.com](https://scavio.dev/docs/booking-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Properties, Get Hotel, Get Hotel Reviews |
50
52
  | [Airbnb](https://scavio.dev/docs/airbnb-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Stays, Get Listing, Get Reviews |
51
53
  | [Tripadvisor](https://scavio.dev/docs/tripadvisor-locations?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Resolve Location IDs, Search Locations, Get Location, Get Reviews |
@@ -58,7 +60,7 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
58
60
  | [Indeed](https://scavio.dev/docs/indeed-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Jobs, Get Job, Get Company, Get Company Reviews |
59
61
  | [Glassdoor](https://scavio.dev/docs/glassdoor-companies?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Companies, Get Company Profile, Get Reviews, Get Salaries |
60
62
 
61
- ### App stores and software reviews
63
+ ### App stores, software, and business reviews
62
64
 
63
65
  | Resource | Credits | Operations |
64
66
  | --- | --- | --- |
@@ -66,6 +68,7 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
66
68
  | [Google Play](https://scavio.dev/docs/google-play-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Apps, Get App, Get Reviews |
67
69
  | [G2 (Software Reviews)](https://scavio.dev/docs/g2-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 5 | Search Products, Get Product, Get Reviews |
68
70
  | [Capterra (Software Reviews)](https://scavio.dev/docs/capterra-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Products, Get Product, Get Reviews |
71
+ | [Trustpilot](https://scavio.dev/docs/trustpilot-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Businesses, Get Business Profile, Get Reviews, Get Categories, Get Category Businesses, Get Review |
69
72
 
70
73
  ### Ad libraries, filings, and any URL
71
74
 
@@ -78,6 +81,30 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
78
81
  | [Extract (Any URL)](https://scavio.dev/docs/extract?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 normal, 1 advanced, 2 ultra | Extract Page |
79
82
  | Account | Free | Get Usage |
80
83
 
84
+ ## What changed in 0.19.0
85
+
86
+ **Two new resources: Realtor.com, 6 operations, and Rightmove (UK), 7 operations, 1 credit each.** Nothing else changed.
87
+
88
+ - **Realtor.com Search Listings** covers for-sale (default; includes pending and contingent, as on the site), pending, for-rent and sold listings. Pick `Search By`: a location (city, county, ZIP, state or neighborhood), coordinates plus a 0.1-50 mile radius, or one agent's listings. Filters for price, beds, baths, square feet, lot size, year built, garage, HOA, property types, listed / sold / price-cut within N days, `Keywords` matched in the listing text (comma-separated, up to 10), new construction, foreclosures and open houses, with 10 sorts. **Up to 200 listings per call** (`Page Size`, default 50). A search reaches its first 10,000 results, so `Page` x `Page Size` may not exceed 10,000; slice big areas by price band, property type or radius.
89
+ - **Sold prices are null in US non-disclosure states** (Texas, Utah, Wyoming, Alaska, Idaho, Kansas, Louisiana, Mississippi, Montana, New Mexico, North Dakota and parts of Missouri). Sold dates still come back.
90
+ - **Realtor.com Get Property** takes a property ID or a realtor.com URL (`Look Up By`) and returns price and tax history, three home value estimates with history and forecast, schools, flood / wildfire / noise risk, the listing agent and a mortgage estimate. Estimates, schools and risk can be null for land or new construction. **Get Location Suggestions** returns the `slug_id` that **Get Market Stats** takes (median list, sold and rent price, days on market, year-over-year change, by property type). **Search Agents** finds agents by city, ZIP code or name (one of the three, up to 50 per page); **Get Agent Profile** returns one agent with every review and four sub-ratings.
91
+ - **Rightmove Search Listings** covers UK property for sale or to rent. Pick `Search By`: a `location_id` from **Look Up Locations**, a place name (resolved to its first match and echoed back), or an agent branch. Filters for price (GBP; monthly rent on To Rent), beds, baths, property types, must-haves, exclusions, tenure, added within 1-14 days, under offer, radius, furnishing and let type, with 4 sorts. 24 per page, **up to 42 pages (about 1,000 listings) per search**. **There is no keyword filter on Rightmove**; match on `summary` and `key_features` in the results instead.
92
+ - **Rightmove Get Sold Prices** returns 25 addresses per page in England and Wales, each with its full sale history since 1995, plus an area summary; filter by property type, tenure, sold within 1-30 years and radius, up to 40 pages. **Get Sold Property** returns one address's every sale and its archived last listing. **Get Property** returns a live listing in full (tenure and lease, council tax band, service charge, EPC, floorplans, nearest stations); live listings carry no price history. **Search Agents** (20 branches per page, up to 50 pages) and **Get Agent Branch** (by branch ID or profile URL) round it out.
93
+ - `Property Types`, `Must Have`, `Exclude` and `Furnishing` are multi-selects; Realtor.com `Keywords` takes comma-separated values.
94
+ - An unknown property, agent, sold address or branch ID answers 404 naming what was not found, and is billed like a normal call. A removed Rightmove listing is a billed 404 too.
95
+
96
+ ## What changed in 0.18.0
97
+
98
+ **New resource: Trustpilot, 6 operations, 2 credits each.** Nothing else changed.
99
+
100
+ - **Search Businesses** finds businesses by keyword in one country, up to 100 per page: name, domain, TrustScore, stars, review count, categories, website and address. Email and phone appear only when the business published them.
101
+ - **Get Business Profile** takes a domain or a Trustpilot URL (pick with `Look Up By`) and returns the whole profile: rating distribution, review languages, claimed and verification status, contact details, reply rate and days to reply on negative reviews, consumer alerts, similar businesses and the 20 newest reviews. The AI summary and topics come back in `Language` (default `en`) when Trustpilot has them for that language, null or empty otherwise.
102
+ - **Get Reviews** returns 20 reviews per page, filtered by stars, language (default all), date range, topics, text search, verified only and with replies, sorted by recency or relevance. `total_filtered` counts every match, so a date range doubles as review velocity. **Trustpilot serves up to 10 pages (200 reviews) per filter combination**; slice by stars, language, date range, topics or text search to reach more. `max_page` in the response says how far the current combination goes.
103
+ - **Get Categories** returns the full category tree (22 top-level categories and their subcategories), or the categories matching a name. **Get Category Businesses** ranks businesses in one category and country, 20 per page, with sort, `Min TrustScore` (3.0+, 4.0+ or 4.5+) and claimed-only filters. Trustpilot applies `Min TrustScore` to the star rating, which rounds the TrustScore, so a 3.8 passes 4.0+.
104
+ - **Get Review** returns one review by its 24-character `review_id`, with the business reply and the business it is about.
105
+ - `Stars` and `Topics` take comma-separated values. Topic IDs come from Get Business Profile's `topics`.
106
+ - An unknown domain, review ID or category ID answers 404 naming what was not found, and is billed like a normal call. There is no TrustScore history and no reviewer-profile operation.
107
+
81
108
  ## What changed in 0.17.1
82
109
 
83
110
  Every request now identifies the node with `User-Agent: n8n-nodes-scavio/<version>` and `X-Client-Source: n8n-nodes-scavio`. No operation, parameter or output changed.
@@ -144,6 +171,8 @@ Five resources are keyed by identifiers that only exist inside the target site's
144
171
  | SEC EDGAR | Look Up Company | A ticker into a CIK (both fields accept either spelling, but the lookup is the reliable path) |
145
172
  | Companies House | Search Companies | A company name into a company number |
146
173
  | Google Ads Transparency | Find Advertisers | A brand name into an `advertiser_id` |
174
+ | Rightmove | Look Up Locations | A place, outcode, postcode or station into the `location_id` Search Listings and Search Agents take (a place name also works, resolved to its first match) |
175
+ | Realtor.com | Get Location Suggestions | A partial place name into the `slug_id` Get Market Stats takes |
147
176
 
148
177
  Kuaishou has the same shape for share links: **Resolve Share Link** turns a Kuaishou share URL into the user ID every other Kuaishou operation takes.
149
178
 
@@ -151,7 +180,7 @@ Kuaishou has the same shape for share links: **Resolve Share Link** turns a Kuai
151
180
 
152
181
  Do not assume an operation pages. Several deliberately do not, and the node only exposes a paging field where one really exists.
153
182
 
154
- - **Page number**: Walmart Search / Reviews / Category, eBay Search, Target Search / Category, Home Depot Search / Reviews, Zillow Search, Redfin Search, Booking Search, Airbnb Search / Reviews, Tripadvisor Search / Reviews, Yelp Search / Reviews, Indeed Search / Company Reviews, Glassdoor Salaries, App Store Reviews, SEC Filings / Search, Companies House Search / Officers / Filing History, G2 Search / Reviews, Capterra Reviews.
183
+ - **Page number**: Walmart Search / Reviews / Category, eBay Search, Target Search / Category, Home Depot Search / Reviews, Zillow Search, Redfin Search, Booking Search, Airbnb Search / Reviews, Tripadvisor Search / Reviews, Yelp Search / Reviews, Indeed Search / Company Reviews, Glassdoor Salaries, App Store Reviews, SEC Filings / Search, Companies House Search / Officers / Filing History, G2 Search / Reviews, Capterra Reviews, Trustpilot Search / Reviews / Category Businesses, Realtor.com Search / Agents, Rightmove Search / Sold / Agents.
155
184
  - **Cursor**: Threads User Posts / User Replies / Post Comments, all cursor-paginated Kuaishou operations, Airbnb Search, Google Play Reviews, Google Ads Search, Meta Ads Search / Advertiser Ads.
156
185
  - **No pagination at all**: every detail operation, plus **App Store Search** (raise `Limit`, up to 200 — every offset spelling is ignored), **Google Play Search** (one shelf of about 30 apps), **Capterra Search** (fixed at 20 results; `?page=2` returns identical rows), **Walmart Get Seller Products** (about 40 items), and **Glassdoor Get Reviews** (see below).
157
186
  - **Airbnb Search takes either `Page` or `Pagination Cursor`, never both** — a request carrying both is rejected. The cursor wins.
@@ -165,6 +194,8 @@ Do not assume an operation pages. Several deliberately do not, and the node only
165
194
  - **Target is slow, not expensive.** Product about 4s, search about 9s, category about 37s, reviews about 40s, and a 502-then-retry was seen at 105s. Budget timeouts accordingly. **Get Reviews returns 8 review bodies maximum** regardless of `review_count`; `Max Review Bodies` only trims. `seller_*` is null for first-party stock, which is most of Target — null means "sold by Target", not "unknown".
166
195
  - **Yelp Get Reviews page 1 is redundant.** It re-fetches the document Get Business already returned and costs another 2 credits. Start at page 2.
167
196
  - **Capterra and Tripadvisor page 1 of reviews are already inside the detail call.** Use Get Reviews to page past it.
197
+ - **Trustpilot Get Reviews stops at page 10, 200 reviews per filter combination.** Different stars x language x date range combinations are separate sets, so slice to go deeper. Get Business Profile already carries the 20 newest reviews in its `Language`, so skip Get Reviews page 1 when that is all you need.
198
+ - **Realtor.com Search stops at 10,000 results per query** and **Rightmove stops at 42 search pages, 40 sold pages and 50 agent pages.** Slice by price band, property type or a smaller area to reach more.
168
199
  - **Home Depot search page size is fixed at 12** and reviews are 30 per page; asking past `total_pages` is a 404.
169
200
 
170
201
  ### Silent-wrong-answer traps
@@ -172,6 +203,8 @@ Do not assume an operation pages. Several deliberately do not, and the node only
172
203
  These sites answer 200 with the wrong data rather than erroring, so the node closes the enum where it can. Where a value is a passthrough, treat an unexpected result as unfiltered rather than empty.
173
204
 
174
205
  - **Zillow**: a bare ZIP works alone but cannot be combined with a filter or a sort — Zillow geolocates that request shape and answers about another city. Use the city name there. On `Listing Status = For Rent`, `Min Price` / `Max Price` mean **monthly rent**.
206
+ - **Realtor.com**: on Sold, `sold_price` is null in US non-disclosure states (Texas and the others listed under 0.19.0) while `sold_date` is set. A null price there means undisclosed, not an error.
207
+ - **Rightmove**: there is no keyword filter, so the node offers none. Get Property on a live listing carries no price history; use Get Sold Property for an address's past sales.
175
208
  - **Redfin**: city names are not accepted on `Location`. Pass a redfin.com region URL (`/city/`, `/neighborhood/`, `/county/`, `/zipcode/`) or `Region ID` + `Region Type` together. `days_on_market` is always null on responses — do not build on it.
176
209
  - **Booking.com**: `Check-In Date` and `Check-Out Date` must be sent together, or Booking prices its own default range and returns real prices for dates you never asked for. A search with neither destination nor destination ID returns Booking's homepage, costs a credit, and returns nothing.
177
210
  - **Airbnb**: a dateless search defaults to +30 days / 5 nights and A/B tests both the window and the prices — the response flags this as `dates_are_defaulted`. **Get Listing has no price field**; nightly rates are search-only.
@@ -281,8 +314,10 @@ The credential test calls `GET /api/v1/usage` (free) so you get instant feedback
281
314
  - [X API](https://scavio.dev/x-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) and [LinkedIn API](https://scavio.dev/linkedin-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — tweets, profiles, companies, jobs, and posts
282
315
  - Threads and Kuaishou — profiles, feeds, comments, and search
283
316
  - Zillow, Redfin, Booking.com, Airbnb and Tripadvisor — listings, properties, stays, and reviews
317
+ - Realtor.com and Rightmove — US and UK listings, sold prices, property detail, market stats, and agents
284
318
  - Yelp, Indeed and Glassdoor — local businesses, job postings, employer reviews, and salaries
285
319
  - Apple App Store, Google Play, G2 and Capterra — app and software listings with reviews
320
+ - [Trustpilot](https://scavio.dev/trustpilot-api?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — business profiles, TrustScores, filtered reviews, and category rankings
286
321
  - Google Ads Transparency and Meta Ad Library — live competitor ad creatives
287
322
  - SEC EDGAR and Companies House — filings, XBRL financials, officers, and company registers
288
323
  - [Extract](https://scavio.dev/docs/extract?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — any URL as HTML, Markdown, or plain text
@@ -29,9 +29,12 @@ const AppStoreDescription_1 = require("./descriptions/AppStoreDescription");
29
29
  const GooglePlayDescription_1 = require("./descriptions/GooglePlayDescription");
30
30
  const SecDescription_1 = require("./descriptions/SecDescription");
31
31
  const RedfinDescription_1 = require("./descriptions/RedfinDescription");
32
+ const RealtorDescription_1 = require("./descriptions/RealtorDescription");
33
+ const RightmoveDescription_1 = require("./descriptions/RightmoveDescription");
32
34
  const CompaniesHouseDescription_1 = require("./descriptions/CompaniesHouseDescription");
33
35
  const G2Description_1 = require("./descriptions/G2Description");
34
36
  const CapterraDescription_1 = require("./descriptions/CapterraDescription");
37
+ const TrustpilotDescription_1 = require("./descriptions/TrustpilotDescription");
35
38
  const GoogleAdsDescription_1 = require("./descriptions/GoogleAdsDescription");
36
39
  const MetaAdsDescription_1 = require("./descriptions/MetaAdsDescription");
37
40
  const ExtractDescription_1 = require("./descriptions/ExtractDescription");
@@ -55,7 +58,7 @@ class Scavio {
55
58
  group: ['transform'],
56
59
  version: 1,
57
60
  subtitle: '={{ $parameter["operation"] + ": " + $parameter["resource"] }}',
58
- description: 'Real-time structured data from Google, Amazon, Walmart, eBay, Target, Home Depot, Costco, YouTube, Reddit, TikTok, Instagram, X, LinkedIn, Facebook, Pinterest, Threads, Kuaishou, Douyin, Weibo, Twitch, GitHub, Etsy, AliExpress, Zillow, Redfin, Booking.com, Airbnb, Tripadvisor, Yelp, Indeed, Glassdoor, the App Store, Google Play, SEC EDGAR, Companies House, Legistar, G2, Capterra, ad libraries, and any URL',
61
+ description: 'Real-time structured data from Google, Amazon, Walmart, eBay, Target, Home Depot, Costco, YouTube, Reddit, TikTok, Instagram, X, LinkedIn, Facebook, Pinterest, Threads, Kuaishou, Douyin, Weibo, Twitch, GitHub, Etsy, AliExpress, Zillow, Redfin, 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',
59
62
  defaults: { name: 'Scavio' },
60
63
  inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
61
64
  outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
@@ -106,8 +109,10 @@ class Scavio {
106
109
  { name: 'LinkedIn', value: 'linkedin' },
107
110
  { name: 'Meta Ad Library', value: 'metaAds' },
108
111
  { name: 'Pinterest', value: 'pinterest' },
112
+ { name: 'Realtor.com', value: 'realtor' },
109
113
  { name: 'Reddit', value: 'reddit' },
110
114
  { name: 'Redfin', value: 'redfin' },
115
+ { name: 'Rightmove (UK)', value: 'rightmove' },
111
116
  { name: 'SEC EDGAR', value: 'sec' },
112
117
  { name: 'Target', value: 'target' },
113
118
  // Threads is Meta's brand name, not a plural noun. Singularizing it to
@@ -118,6 +123,7 @@ class Scavio {
118
123
  { name: 'TikTok', value: 'tiktok' },
119
124
  { name: 'TikTok Shop', value: 'tiktokShop' },
120
125
  { name: 'Tripadvisor', value: 'tripadvisor' },
126
+ { name: 'Trustpilot', value: 'trustpilot' },
121
127
  { name: 'Twitch', value: 'twitch' },
122
128
  { name: 'Walmart', value: 'walmart' },
123
129
  { name: 'Weibo (China)', value: 'weibo' },
@@ -164,6 +170,10 @@ class Scavio {
164
170
  ...ZillowDescription_1.zillowFields,
165
171
  ...RedfinDescription_1.redfinOperations,
166
172
  ...RedfinDescription_1.redfinFields,
173
+ ...RealtorDescription_1.realtorOperations,
174
+ ...RealtorDescription_1.realtorFields,
175
+ ...RightmoveDescription_1.rightmoveOperations,
176
+ ...RightmoveDescription_1.rightmoveFields,
167
177
  ...BookingDescription_1.bookingOperations,
168
178
  ...BookingDescription_1.bookingFields,
169
179
  ...AirbnbDescription_1.airbnbOperations,
@@ -188,6 +198,8 @@ class Scavio {
188
198
  ...G2Description_1.g2Fields,
189
199
  ...CapterraDescription_1.capterraOperations,
190
200
  ...CapterraDescription_1.capterraFields,
201
+ ...TrustpilotDescription_1.trustpilotOperations,
202
+ ...TrustpilotDescription_1.trustpilotFields,
191
203
  ...GoogleAdsDescription_1.googleAdsOperations,
192
204
  ...GoogleAdsDescription_1.googleAdsFields,
193
205
  ...MetaAdsDescription_1.metaAdsOperations,
@@ -1 +1 @@
1
- {"version":3,"file":"Scavio.node.js","sourceRoot":"","sources":["../../../nodes/Scavio/Scavio.node.ts"],"names":[],"mappings":";;;AAAA,+CAAmD;AAGnD,wEAAkF;AAClF,wEAAkF;AAClF,0EAAqF;AACrF,0EAAqF;AACrF,wEAAkF;AAClF,wEAAkF;AAClF,gFAA8F;AAC9F,8EAA2F;AAC3F,8DAAmE;AACnE,4EAAwF;AACxF,0EAAqF;AACrF,4EAAwF;AACxF,oEAA4E;AAC5E,wEAAkF;AAClF,8EAA2F;AAC3F,wEAAkF;AAClF,wEAAkF;AAClF,0EAAqF;AACrF,kFAAiG;AACjG,wEAAkF;AAClF,wEAAkF;AAClF,8EAA2F;AAC3F,oEAA4E;AAC5E,4EAAwF;AACxF,gFAA8F;AAC9F,kEAAyE;AACzE,wEAAkF;AAClF,wFAGkD;AAClD,gEAAsE;AACtE,4EAAwF;AACxF,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,Q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B,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;AA5KD,wBA4KC"}
1
+ {"version":3,"file":"Scavio.node.js","sourceRoot":"","sources":["../../../nodes/Scavio/Scavio.node.ts"],"names":[],"mappings":";;;AAAA,+CAAmD;AAGnD,wEAAkF;AAClF,wEAAkF;AAClF,0EAAqF;AACrF,0EAAqF;AACrF,wEAAkF;AAClF,wEAAkF;AAClF,gFAA8F;AAC9F,8EAA2F;AAC3F,8DAAmE;AACnE,4EAAwF;AACxF,0EAAqF;AACrF,4EAAwF;AACxF,oEAA4E;AAC5E,wEAAkF;AAClF,8EAA2F;AAC3F,wEAAkF;AAClF,wEAAkF;AAClF,0EAAqF;AACrF,kFAAiG;AACjG,wEAAkF;AAClF,wEAAkF;AAClF,8EAA2F;AAC3F,oEAA4E;AAC5E,4EAAwF;AACxF,gFAA8F;AAC9F,kEAAyE;AACzE,wEAAkF;AAClF,0EAAqF;AACrF,8EAA2F;AAC3F,wFAGkD;AAClD,gEAAsE;AACtE,4EAAwF;AACxF,gFAA8F;AAC9F,8EAA2F;AAC3F,0EAAqF;AACrF,0EAAqF;AACrF,0EAAqF;AACrF,gFAA8F;AAC9F,wEAAkF;AAClF,oEAA4E;AAC5E,4EAAwF;AACxF,wEAAkF;AAClF,4EAAwF;AACxF,8EAA2F;AAC3F,wEAAkF;AAClF,sEAA+E;AAC/E,4EAAwF;AACxF,uCAAiD;AAEjD,MAAa,MAAM;IAClB,WAAW,GAAyB;QACnC,WAAW,EA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AAG,wCAAgB;YACnB,GAAG,8BAAa;YAChB,GAAG,0BAAS;YACZ,GAAG,oDAAwB;YAC3B,GAAG,gDAAoB;YACvB,GAAG,4BAAY;YACf,GAAG,wBAAQ;YACX,GAAG,wCAAkB;YACrB,GAAG,oCAAc;YACjB,GAAG,4CAAoB;YACvB,GAAG,wCAAgB;YACnB,GAAG,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;AArLD,wBAqLC"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const realtorOperations: INodeProperties[];
3
+ export declare const realtorFields: INodeProperties[];
@@ -0,0 +1,421 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.realtorFields = exports.realtorOperations = void 0;
4
+ // Comma-separated text -> string array, blanks dropped.
5
+ const splitList = '={{ String($value).split(",").map(s => s.trim()).filter(Boolean) }}';
6
+ const NON_DISCLOSURE = 'Sold prices are null in US sold-price non-disclosure states (Texas, Utah, Wyoming, Alaska, Idaho, Kansas, Louisiana, Mississippi, Montana, New Mexico, North Dakota and parts of Missouri); sold dates still come back.';
7
+ const show = (operation, extra = {}) => ({
8
+ show: { resource: ['realtor'], operation, ...extra },
9
+ });
10
+ function additionalOptions(operation, options) {
11
+ return {
12
+ displayName: 'Additional Options',
13
+ name: 'additionalOptions',
14
+ type: 'collection',
15
+ placeholder: 'Add Option',
16
+ default: {},
17
+ displayOptions: show(operation),
18
+ options,
19
+ };
20
+ }
21
+ /** An optional numeric filter, sent only when added. */
22
+ function numberOption(name, displayName, description, typeOptions = { minValue: 0 }) {
23
+ return {
24
+ displayName,
25
+ name,
26
+ type: 'number',
27
+ default: 0,
28
+ typeOptions,
29
+ description,
30
+ routing: { request: { body: { [name]: '={{ $value }}' } } },
31
+ };
32
+ }
33
+ function booleanOption(name, displayName, description) {
34
+ return {
35
+ displayName,
36
+ name,
37
+ type: 'boolean',
38
+ default: false,
39
+ description,
40
+ routing: { request: { body: { [name]: '={{ $value }}' } } },
41
+ };
42
+ }
43
+ exports.realtorOperations = [
44
+ {
45
+ displayName: 'Operation',
46
+ name: 'operation',
47
+ type: 'options',
48
+ noDataExpression: true,
49
+ displayOptions: { show: { resource: ['realtor'] } },
50
+ options: [
51
+ {
52
+ name: 'Get Agent Profile',
53
+ value: 'agent',
54
+ action: 'Get a realtor com agent profile',
55
+ description: "One Realtor.com agent's profile with all reviews: bio, phones, website, license number and state, MLS memberships, languages, specializations, served areas, designations, office address, social links, listing and sales stats, and every review with responsiveness, market expertise, negotiation and professionalism sub-ratings and the agent's reply. Costs 1 credit.",
56
+ routing: { request: { method: 'POST', url: '/api/v1/realtor/agent' } },
57
+ },
58
+ {
59
+ name: 'Get Location Suggestions',
60
+ value: 'locations',
61
+ action: 'Get realtor com location suggestions',
62
+ description: 'Location suggestions for a partial name: cities, counties, ZIP codes, neighborhoods, schools and addresses. Each carries a slug_id for Get Market Stats; an address also carries the property_id for Get Property. Costs 1 credit.',
63
+ routing: { request: { method: 'POST', url: '/api/v1/realtor/locations' } },
64
+ },
65
+ {
66
+ name: 'Get Market Stats',
67
+ value: 'market',
68
+ action: 'Get realtor com market stats',
69
+ description: 'Housing market statistics for a city, county or ZIP: median listing, sold and rent price, price per square foot, days on market, lot size, listing and rental counts, year-over-year and month-over-month change, and a breakdown by property type. Some medians are null at some geography levels. Costs 1 credit.',
70
+ routing: { request: { method: 'POST', url: '/api/v1/realtor/market' } },
71
+ },
72
+ {
73
+ name: 'Get Property',
74
+ value: 'property',
75
+ action: 'Get a realtor com property',
76
+ description: `One Realtor.com property by ID or URL: description and detail groups, price history, tax history with assessed and market values, three home value estimates with ranges plus their history and forecast, nearby schools with ratings, flood, wildfire and noise risk, popularity, the listing agent and office, a mortgage estimate and photos. Estimates, schools and risk can be null for land or new construction. ${NON_DISCLOSURE} Costs 1 credit.`,
77
+ routing: { request: { method: 'POST', url: '/api/v1/realtor/property' } },
78
+ },
79
+ {
80
+ name: 'Search Agents',
81
+ value: 'agents',
82
+ action: 'Search realtor com agents',
83
+ description: 'Find real estate agents by city, ZIP code or name: rating, review and recommendation counts, active listing count and price range, homes sold in the last year, broker and office, first year in business and services. 20 per page by default, up to 50. Costs 1 credit.',
84
+ routing: { request: { method: 'POST', url: '/api/v1/realtor/agents' } },
85
+ },
86
+ {
87
+ name: 'Search Listings',
88
+ value: 'search',
89
+ action: 'Search realtor com listings',
90
+ description: `Search Realtor.com for-sale, pending, for-rent and sold listings by location, radius or agent, filtered by price, beds, baths, square feet, lot size, year built, garage, HOA, property type, listing, sold and price-cut recency, keywords in the listing text, new construction, foreclosure and open houses. Up to 200 listings per call with price, sold price and date, lot size, address with coordinates, MLS ID and listing agent. A search reaches its first 10,000 results; slice big areas by price band, property type or radius to go further. ${NON_DISCLOSURE} Costs 1 credit.`,
91
+ routing: { request: { method: 'POST', url: '/api/v1/realtor/search' } },
92
+ },
93
+ ],
94
+ default: 'search',
95
+ },
96
+ ];
97
+ exports.realtorFields = [
98
+ // ── Search Listings: where to search ──
99
+ {
100
+ displayName: 'Search By',
101
+ name: 'searchBy',
102
+ type: 'options',
103
+ noDataExpression: true,
104
+ default: 'location',
105
+ displayOptions: show(['search']),
106
+ options: [
107
+ { name: 'Location', value: 'location' },
108
+ { name: 'Coordinates and Radius', value: 'coordinates' },
109
+ { name: 'Agent', value: 'agent' },
110
+ ],
111
+ description: 'Whether to search a named place, a radius around a point, or one agent\'s listings',
112
+ },
113
+ {
114
+ displayName: 'Location',
115
+ name: 'location',
116
+ type: 'string',
117
+ required: true,
118
+ default: '',
119
+ placeholder: 'Maricopa County, AZ',
120
+ displayOptions: show(['search'], { searchBy: ['location'] }),
121
+ routing: { request: { body: { location: '={{ $value }}' } } },
122
+ description: 'A city ("Austin, TX"), county ("Travis County, TX"), ZIP code, state or neighborhood',
123
+ },
124
+ {
125
+ displayName: 'Latitude',
126
+ name: 'latitude',
127
+ type: 'number',
128
+ required: true,
129
+ default: 0,
130
+ placeholder: '33.4484',
131
+ typeOptions: { minValue: -90, maxValue: 90, numberPrecision: 6 },
132
+ displayOptions: show(['search'], { searchBy: ['coordinates'] }),
133
+ routing: { request: { body: { latitude: '={{ $value }}' } } },
134
+ description: 'Center latitude for the radius search',
135
+ },
136
+ {
137
+ displayName: 'Longitude',
138
+ name: 'longitude',
139
+ type: 'number',
140
+ required: true,
141
+ default: 0,
142
+ placeholder: '-112.074',
143
+ typeOptions: { minValue: -180, maxValue: 180, numberPrecision: 6 },
144
+ displayOptions: show(['search'], { searchBy: ['coordinates'] }),
145
+ routing: { request: { body: { longitude: '={{ $value }}' } } },
146
+ description: 'Center longitude for the radius search',
147
+ },
148
+ {
149
+ displayName: 'Radius (Miles)',
150
+ name: 'radius_miles',
151
+ type: 'number',
152
+ required: true,
153
+ default: 5,
154
+ typeOptions: { minValue: 0.1, maxValue: 50, numberPrecision: 1 },
155
+ displayOptions: show(['search'], { searchBy: ['coordinates'] }),
156
+ routing: { request: { body: { radius_miles: '={{ $value }}' } } },
157
+ description: 'Radius around the point, 0.1 to 50 miles',
158
+ },
159
+ {
160
+ displayName: 'Agent ID',
161
+ name: 'agent_id',
162
+ type: 'string',
163
+ required: true,
164
+ default: '',
165
+ placeholder: '642581',
166
+ displayOptions: show(['search'], { searchBy: ['agent'] }),
167
+ routing: { request: { body: { agent_id: '={{ $value }}' } } },
168
+ description: "Only this agent's listings. Numeric agent_id from a search row (agent.agent_id) or Search Agents.",
169
+ },
170
+ // ── Get Property ──
171
+ {
172
+ displayName: 'Look Up By',
173
+ name: 'lookupBy',
174
+ type: 'options',
175
+ noDataExpression: true,
176
+ default: 'id',
177
+ displayOptions: show(['property']),
178
+ options: [
179
+ { name: 'Property ID', value: 'id' },
180
+ { name: 'Realtor.com URL', value: 'url' },
181
+ ],
182
+ description: 'Whether to identify the property by its numeric ID or by its realtor.com page URL',
183
+ },
184
+ {
185
+ displayName: 'Property ID',
186
+ name: 'property_id',
187
+ type: 'string',
188
+ required: true,
189
+ default: '',
190
+ placeholder: '9564057635',
191
+ displayOptions: show(['property'], { lookupBy: ['id'] }),
192
+ routing: { request: { body: { property_id: '={{ $value }}' } } },
193
+ description: 'Numeric property_id from Search Listings, or from an address in Get Location Suggestions. An unknown ID answers 404 and is billed like a normal call.',
194
+ },
195
+ {
196
+ displayName: 'Realtor.com URL',
197
+ name: 'url',
198
+ type: 'string',
199
+ required: true,
200
+ default: '',
201
+ placeholder: 'https://www.realtor.com/realestateandhomes-detail/7202-Eagle-Rose-Rd_Austin_TX_78744_M95640-57635',
202
+ displayOptions: show(['property'], { lookupBy: ['url'] }),
203
+ routing: { request: { body: { url: '={{ $value }}' } } },
204
+ description: 'A realtor.com property or rental page URL',
205
+ },
206
+ // ── Get Location Suggestions ──
207
+ {
208
+ displayName: 'Query',
209
+ name: 'query',
210
+ type: 'string',
211
+ required: true,
212
+ default: '',
213
+ placeholder: 'Austin',
214
+ displayOptions: show(['locations']),
215
+ routing: { request: { body: { query: '={{ $value }}' } } },
216
+ description: 'A partial city, county, ZIP code, neighborhood, school or street address',
217
+ },
218
+ // ── Get Market Stats ──
219
+ {
220
+ displayName: 'Location',
221
+ name: 'location',
222
+ type: 'string',
223
+ required: true,
224
+ default: '',
225
+ placeholder: 'Austin_TX',
226
+ displayOptions: show(['market']),
227
+ routing: { request: { body: { location: '={{ $value }}' } } },
228
+ description: 'A slug_id from Get Location Suggestions (Austin_TX, Travis-County_TX) or "City, ST"',
229
+ },
230
+ // ── Search Agents ──
231
+ {
232
+ displayName: 'Search By',
233
+ name: 'searchBy',
234
+ type: 'options',
235
+ noDataExpression: true,
236
+ default: 'location',
237
+ displayOptions: show(['agents']),
238
+ options: [
239
+ { name: 'City', value: 'location' },
240
+ { name: 'ZIP Code', value: 'postalCode' },
241
+ { name: 'Agent Name', value: 'name' },
242
+ ],
243
+ description: 'Whether to find agents by city, ZIP code or name (exactly one)',
244
+ },
245
+ {
246
+ displayName: 'City',
247
+ name: 'location',
248
+ type: 'string',
249
+ required: true,
250
+ default: '',
251
+ placeholder: 'Austin, TX',
252
+ displayOptions: show(['agents'], { searchBy: ['location'] }),
253
+ routing: { request: { body: { location: '={{ $value }}' } } },
254
+ description: 'A city as "City, ST"',
255
+ },
256
+ {
257
+ displayName: 'ZIP Code',
258
+ name: 'postal_code',
259
+ type: 'string',
260
+ required: true,
261
+ default: '',
262
+ placeholder: '85016',
263
+ displayOptions: show(['agents'], { searchBy: ['postalCode'] }),
264
+ routing: { request: { body: { postal_code: '={{ String($value).trim() }}' } } },
265
+ description: 'A 5-digit US ZIP code',
266
+ },
267
+ {
268
+ displayName: 'Agent Name',
269
+ name: 'name',
270
+ type: 'string',
271
+ required: true,
272
+ default: '',
273
+ placeholder: 'Kim Panozzo',
274
+ displayOptions: show(['agents'], { searchBy: ['name'] }),
275
+ routing: { request: { body: { name: '={{ $value }}' } } },
276
+ description: 'Full or partial agent name, at least 2 characters',
277
+ },
278
+ // ── Get Agent Profile ──
279
+ {
280
+ displayName: 'Agent ID',
281
+ name: 'agent_id',
282
+ type: 'string',
283
+ required: true,
284
+ default: '',
285
+ placeholder: '1918615',
286
+ displayOptions: show(['agent']),
287
+ routing: { request: { body: { agent_id: '={{ $value }}' } } },
288
+ description: 'Numeric agent_id from Search Agents, or agent.agent_id on a Search Listings row. An unknown ID answers 404 and is billed like a normal call.',
289
+ },
290
+ // ── Additional Options ──
291
+ additionalOptions(['search'], [
292
+ numberOption('baths_max', 'Max Baths', 'Maximum bathrooms'),
293
+ numberOption('beds_max', 'Max Beds', 'Maximum bedrooms'),
294
+ numberOption('max_hoa', 'Max HOA Fee', 'Maximum monthly HOA fee in USD. Listings without an HOA fee are kept.'),
295
+ numberOption('lot_sqft_max', 'Max Lot Size (Sq Ft)', 'Maximum lot size in square feet'),
296
+ numberOption('max_price', 'Max Price', 'Maximum price in USD: list price, sold price on Sold, monthly rent on For Rent'),
297
+ numberOption('sqft_max', 'Max Square Feet', 'Maximum interior square feet'),
298
+ numberOption('year_built_max', 'Built In or Before', 'Built in or before this year', {
299
+ minValue: 1700,
300
+ maxValue: 2100,
301
+ }),
302
+ numberOption('baths_min', 'Min Baths', 'Minimum bathrooms'),
303
+ numberOption('beds_min', 'Min Beds', 'Minimum bedrooms'),
304
+ numberOption('garage_min', 'Min Garage Spaces', 'Minimum garage spaces'),
305
+ numberOption('lot_sqft_min', 'Min Lot Size (Sq Ft)', 'Minimum lot size in square feet (1 acre = 43,560)'),
306
+ numberOption('min_price', 'Min Price', 'Minimum price in USD: list price, sold price on Sold, monthly rent on For Rent'),
307
+ numberOption('sqft_min', 'Min Square Feet', 'Minimum interior square feet'),
308
+ numberOption('year_built_min', 'Built In or After', 'Built in or after this year', {
309
+ minValue: 1700,
310
+ maxValue: 2100,
311
+ }),
312
+ booleanOption('exclude_pending', 'Exclude Pending', 'Whether to leave out pending and contingent listings. For Sale only.'),
313
+ booleanOption('foreclosure', 'Foreclosures Only', 'Whether to keep only foreclosures'),
314
+ booleanOption('has_open_house', 'Open House Only', 'Whether to keep only listings with an open house in the next 7 days'),
315
+ {
316
+ displayName: 'Keywords',
317
+ name: 'keywords',
318
+ type: 'string',
319
+ default: '',
320
+ placeholder: 'workshop, detached garage',
321
+ description: 'Only listings whose listing text matches these keywords. Separate with commas, up to 10, 60 characters each.',
322
+ routing: { send: { type: 'body', property: 'keywords', value: splitList } },
323
+ },
324
+ numberOption('listed_within_days', 'Listed Within (Days)', 'Only listings listed in the last N days, 1-3650', { minValue: 1, maxValue: 3650 }),
325
+ {
326
+ displayName: 'Listing Status',
327
+ name: 'listing_status',
328
+ type: 'options',
329
+ default: 'for_sale',
330
+ options: [
331
+ { name: 'For Rent', value: 'for_rent' },
332
+ { name: 'For Sale', value: 'for_sale' },
333
+ { name: 'Pending / Contingent', value: 'pending' },
334
+ { name: 'Sold', value: 'sold' },
335
+ ],
336
+ description: 'For Sale (default) includes pending and contingent listings, as on the site; Pending keeps only those. On Sold, prices are sold prices and can be null in non-disclosure states.',
337
+ routing: { request: { body: { listing_status: '={{ $value }}' } } },
338
+ },
339
+ booleanOption('new_construction', 'New Construction Only', 'Whether to keep only new construction'),
340
+ {
341
+ displayName: 'Page',
342
+ name: 'page',
343
+ type: 'number',
344
+ default: 1,
345
+ typeOptions: { minValue: 1, maxValue: 10000 },
346
+ description: 'Results page, 1-based. Page x Page Size may not exceed 10,000: a search reaches its first 10,000 results.',
347
+ routing: { request: { body: { page: '={{ $value }}' } } },
348
+ },
349
+ {
350
+ displayName: 'Page Size',
351
+ name: 'page_size',
352
+ type: 'number',
353
+ default: 50,
354
+ typeOptions: { minValue: 1, maxValue: 200 },
355
+ description: 'Listings per call, 1-200. Defaults to 50. Every page costs 1 credit.',
356
+ routing: { request: { body: { page_size: '={{ $value }}' } } },
357
+ },
358
+ numberOption('price_reduced_within_days', 'Price Cut Within (Days)', 'Only listings with a price cut in the last N days, 1-3650', { minValue: 1, maxValue: 3650 }),
359
+ {
360
+ displayName: 'Property Types',
361
+ name: 'property_types',
362
+ type: 'multiOptions',
363
+ default: [],
364
+ options: [
365
+ { name: 'Condo', value: 'condos' },
366
+ { name: 'Farm', value: 'farm' },
367
+ { name: 'Land', value: 'land' },
368
+ { name: 'Mobile', value: 'mobile' },
369
+ { name: 'Multi-Family', value: 'multi_family' },
370
+ { name: 'Single Family', value: 'single_family' },
371
+ { name: 'Townhome', value: 'townhomes' },
372
+ ],
373
+ description: 'Only these property types',
374
+ routing: {
375
+ request: { body: { property_types: '={{ $value.length ? $value : undefined }}' } },
376
+ },
377
+ },
378
+ {
379
+ displayName: 'Sort',
380
+ name: 'sort',
381
+ type: 'options',
382
+ default: 'relevance',
383
+ options: [
384
+ { name: 'Largest', value: 'sqft_high' },
385
+ { name: 'Largest Lot', value: 'lot_size_high' },
386
+ { name: 'Newest Built', value: 'year_built_new' },
387
+ { name: 'Newest Listed', value: 'newest' },
388
+ { name: 'Price: High to Low', value: 'price_high' },
389
+ { name: 'Price: Low to High', value: 'price_low' },
390
+ { name: 'Recently Reduced', value: 'recently_reduced' },
391
+ { name: 'Recently Sold (Sold Only)', value: 'sold_newest' },
392
+ { name: 'Recently Updated', value: 'recently_updated' },
393
+ { name: 'Relevance', value: 'relevance' },
394
+ ],
395
+ description: 'Listing order. Defaults to Relevance. Price sorts use the sold price on Sold.',
396
+ routing: { request: { body: { sort: '={{ $value }}' } } },
397
+ },
398
+ numberOption('sold_within_days', 'Sold Within (Days)', 'Sold only: only sales in the last N days, 1-3650 (730 = the last two years)', { minValue: 1, maxValue: 3650 }),
399
+ ]),
400
+ additionalOptions(['agents'], [
401
+ {
402
+ displayName: 'Page',
403
+ name: 'page',
404
+ type: 'number',
405
+ default: 1,
406
+ typeOptions: { minValue: 1, maxValue: 1000 },
407
+ description: 'Results page, 1-based',
408
+ routing: { request: { body: { page: '={{ $value }}' } } },
409
+ },
410
+ {
411
+ displayName: 'Page Size',
412
+ name: 'page_size',
413
+ type: 'number',
414
+ default: 20,
415
+ typeOptions: { minValue: 1, maxValue: 50 },
416
+ description: 'Agents per page, 1-50. Defaults to 20.',
417
+ routing: { request: { body: { page_size: '={{ $value }}' } } },
418
+ },
419
+ ]),
420
+ ];
421
+ //# sourceMappingURL=RealtorDescription.js.map