@mendable/n8n-nodes-firecrawl 2.1.3 → 2.2.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/dist/credentials/FirecrawlApi.credentials.d.ts +1 -0
- package/dist/credentials/FirecrawlApi.credentials.js +1 -0
- package/dist/credentials/FirecrawlApi.credentials.js.map +1 -1
- package/dist/credentials/firecrawl-logo.svg +33 -0
- package/dist/nodes/Firecrawl/Firecrawl.node.js +2 -1
- package/dist/nodes/Firecrawl/Firecrawl.node.js.map +1 -1
- package/dist/nodes/Firecrawl/api/agent/index.js +7 -6
- package/dist/nodes/Firecrawl/api/agent/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/agentAsync/index.js +8 -6
- package/dist/nodes/Firecrawl/api/agentAsync/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/batchScrape/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/batchScrape/index.js +5 -4
- package/dist/nodes/Firecrawl/api/batchScrape/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/batchScrapeErrors/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/batchScrapeErrors/index.js +7 -4
- package/dist/nodes/Firecrawl/api/batchScrapeErrors/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/batchScrapeStatus/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/batchScrapeStatus/index.js +7 -4
- package/dist/nodes/Firecrawl/api/batchScrapeStatus/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/browserContext/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/browserContext/index.js +5 -3
- package/dist/nodes/Firecrawl/api/browserContext/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/browserCreate/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/browserCreate/index.js +7 -9
- package/dist/nodes/Firecrawl/api/browserCreate/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/browserDelete/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/browserDelete/index.js +8 -9
- package/dist/nodes/Firecrawl/api/browserDelete/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/browserExecute/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/browserExecute/index.js +7 -6
- package/dist/nodes/Firecrawl/api/browserExecute/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/browserList/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/browserList/index.js +6 -7
- package/dist/nodes/Firecrawl/api/browserList/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/cancelBatchScrape/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/cancelBatchScrape/index.js +7 -4
- package/dist/nodes/Firecrawl/api/cancelBatchScrape/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/cancelCrawl/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/cancelCrawl/index.js +7 -4
- package/dist/nodes/Firecrawl/api/cancelCrawl/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/common.d.ts +5 -3
- package/dist/nodes/Firecrawl/api/common.js +225 -211
- package/dist/nodes/Firecrawl/api/common.js.map +1 -1
- package/dist/nodes/Firecrawl/api/crawl/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/crawl/index.js +84 -21
- package/dist/nodes/Firecrawl/api/crawl/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/crawlActive/index.d.ts +4 -3
- package/dist/nodes/Firecrawl/api/crawlActive/index.js +5 -6
- package/dist/nodes/Firecrawl/api/crawlActive/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/crawlParamsPreview/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/crawlParamsPreview/index.js +7 -4
- package/dist/nodes/Firecrawl/api/crawlParamsPreview/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/creditUsageHistorical/index.d.ts +4 -3
- package/dist/nodes/Firecrawl/api/creditUsageHistorical/index.js +5 -6
- package/dist/nodes/Firecrawl/api/creditUsageHistorical/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/extract/index.js +10 -4
- package/dist/nodes/Firecrawl/api/extract/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/getAgentStatus/index.js +5 -3
- package/dist/nodes/Firecrawl/api/getAgentStatus/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/getCrawlErrors/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/getCrawlErrors/index.js +7 -4
- package/dist/nodes/Firecrawl/api/getCrawlErrors/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/getCrawlStatus/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/getCrawlStatus/index.js +6 -5
- package/dist/nodes/Firecrawl/api/getCrawlStatus/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/getExtractStatus/index.js +5 -3
- package/dist/nodes/Firecrawl/api/getExtractStatus/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/interact/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/interact/index.js +7 -6
- package/dist/nodes/Firecrawl/api/interact/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/interactContext/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/interactContext/index.js +5 -3
- package/dist/nodes/Firecrawl/api/interactContext/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/interactStop/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/interactStop/index.js +7 -8
- package/dist/nodes/Firecrawl/api/interactStop/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/map/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/map/index.js +6 -5
- package/dist/nodes/Firecrawl/api/map/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/scrape/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/scrape/index.js +6 -4
- package/dist/nodes/Firecrawl/api/scrape/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/search/index.d.ts +3 -1
- package/dist/nodes/Firecrawl/api/search/index.js +8 -6
- package/dist/nodes/Firecrawl/api/search/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/teamCreditUsage/index.d.ts +4 -3
- package/dist/nodes/Firecrawl/api/teamCreditUsage/index.js +5 -6
- package/dist/nodes/Firecrawl/api/teamCreditUsage/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/teamQueueStatus/index.d.ts +4 -3
- package/dist/nodes/Firecrawl/api/teamQueueStatus/index.js +5 -6
- package/dist/nodes/Firecrawl/api/teamQueueStatus/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/teamTokenUsage/index.d.ts +4 -3
- package/dist/nodes/Firecrawl/api/teamTokenUsage/index.js +5 -6
- package/dist/nodes/Firecrawl/api/teamTokenUsage/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/teamTokenUsageHistorical/index.d.ts +4 -3
- package/dist/nodes/Firecrawl/api/teamTokenUsageHistorical/index.js +5 -6
- package/dist/nodes/Firecrawl/api/teamTokenUsageHistorical/index.js.map +1 -1
- package/dist/package.json +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.properties = exports.options = exports.resourceName = exports.displayName = exports.name = void 0;
|
|
3
|
+
exports.properties = exports.options = exports.resourceName = exports.description = exports.action = exports.displayName = exports.name = void 0;
|
|
4
4
|
const common_1 = require("../common");
|
|
5
5
|
exports.name = 'getCrawlErrors';
|
|
6
|
-
exports.displayName = 'Get
|
|
6
|
+
exports.displayName = 'Get Crawl Errors';
|
|
7
|
+
exports.action = 'Get crawl errors';
|
|
8
|
+
exports.description = 'Get crawl errors and URLs blocked by robots.txt';
|
|
7
9
|
exports.resourceName = 'Crawling';
|
|
8
10
|
function createCrawlIdProperty() {
|
|
9
11
|
return {
|
|
@@ -12,6 +14,7 @@ function createCrawlIdProperty() {
|
|
|
12
14
|
type: 'string',
|
|
13
15
|
required: true,
|
|
14
16
|
default: '',
|
|
17
|
+
placeholder: 'e.g. 550e8400-e29b-41d4-a716-446655440000',
|
|
15
18
|
description: 'ID of the crawl job',
|
|
16
19
|
routing: {
|
|
17
20
|
request: {
|
|
@@ -27,9 +30,9 @@ function createCrawlIdProperty() {
|
|
|
27
30
|
};
|
|
28
31
|
}
|
|
29
32
|
function createProperties() {
|
|
30
|
-
return [
|
|
33
|
+
return [createCrawlIdProperty()];
|
|
31
34
|
}
|
|
32
|
-
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, createProperties());
|
|
35
|
+
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, exports.action, exports.description, createProperties());
|
|
33
36
|
exports.options = options;
|
|
34
37
|
exports.properties = properties;
|
|
35
38
|
options.routing = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/getCrawlErrors/index.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/getCrawlErrors/index.ts"],"names":[],"mappings":";;;AACA,sCAA+C;AAElC,QAAA,IAAI,GAAG,gBAAgB,CAAC;AACxB,QAAA,WAAW,GAAG,kBAAkB,CAAC;AACjC,QAAA,MAAM,GAAG,kBAAkB,CAAC;AAC5B,QAAA,WAAW,GAAG,iDAAiD,CAAC;AAChE,QAAA,YAAY,GAAG,UAAU,CAAC;AAEvC,SAAS,qBAAqB;IAC7B,OAAO;QACN,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,2CAA2C;QACxD,WAAW,EAAE,qBAAqB;QAClC,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,GAAG,EAAE,2BAA2B;aAChC;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,oBAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,YAAI,CAAC;aACjB;SACD;KACD,CAAC;AACH,CAAC;AAED,SAAS,gBAAgB;IACxB,OAAO,CAAC,qBAAqB,EAAE,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAA,2BAAkB,EACjD,YAAI,EACJ,mBAAW,EACX,cAAM,EACN,mBAAW,EACX,gBAAgB,EAAE,CAClB,CAAC;AAQO,0BAAO;AAAE,gCAAU;AAN5B,OAAO,CAAC,OAAO,GAAG;IACjB,OAAO,EAAE;QACR,MAAM,EAAE,KAAK;KACb;CACD,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const name = "getCrawlStatus";
|
|
3
|
-
export declare const displayName = "Get
|
|
3
|
+
export declare const displayName = "Get Crawl Status";
|
|
4
|
+
export declare const action = "Get crawl status";
|
|
5
|
+
export declare const description = "Get the status and scraped pages of a crawl job";
|
|
4
6
|
export declare const operationName = "getCrawlStatus";
|
|
5
7
|
export declare const resourceName = "Crawling";
|
|
6
8
|
declare const options: import("n8n-workflow").INodePropertyOptions, properties: INodeProperties[];
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.displayName = exports.name = void 0;
|
|
3
|
+
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.description = exports.action = exports.displayName = exports.name = void 0;
|
|
4
4
|
const common_1 = require("../common");
|
|
5
5
|
exports.name = 'getCrawlStatus';
|
|
6
|
-
exports.displayName = 'Get
|
|
6
|
+
exports.displayName = 'Get Crawl Status';
|
|
7
|
+
exports.action = 'Get crawl status';
|
|
8
|
+
exports.description = 'Get the status and scraped pages of a crawl job';
|
|
7
9
|
exports.operationName = 'getCrawlStatus';
|
|
8
10
|
exports.resourceName = 'Crawling';
|
|
9
11
|
function createCrawlIdProperty() {
|
|
@@ -14,7 +16,7 @@ function createCrawlIdProperty() {
|
|
|
14
16
|
required: true,
|
|
15
17
|
default: '',
|
|
16
18
|
description: 'ID of the crawl job to get status for',
|
|
17
|
-
placeholder: '
|
|
19
|
+
placeholder: 'e.g. 550e8400-e29b-41d4-a716-446655440000',
|
|
18
20
|
routing: {
|
|
19
21
|
request: {
|
|
20
22
|
url: '=/crawl/{{$value}}',
|
|
@@ -30,11 +32,10 @@ function createCrawlIdProperty() {
|
|
|
30
32
|
}
|
|
31
33
|
function createGetCrawlStatusProperties() {
|
|
32
34
|
return [
|
|
33
|
-
(0, common_1.createOperationNotice)(exports.resourceName, exports.name, 'GET'),
|
|
34
35
|
createCrawlIdProperty(),
|
|
35
36
|
];
|
|
36
37
|
}
|
|
37
|
-
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, createGetCrawlStatusProperties());
|
|
38
|
+
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, exports.action, exports.description, createGetCrawlStatusProperties());
|
|
38
39
|
exports.options = options;
|
|
39
40
|
exports.properties = properties;
|
|
40
41
|
options.routing = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/getCrawlStatus/index.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/getCrawlStatus/index.ts"],"names":[],"mappings":";;;AACA,sCAAuE;AAG1D,QAAA,IAAI,GAAG,gBAAgB,CAAC;AACxB,QAAA,WAAW,GAAG,kBAAkB,CAAC;AACjC,QAAA,MAAM,GAAG,kBAAkB,CAAC;AAC5B,QAAA,WAAW,GAAG,iDAAiD,CAAC;AAChE,QAAA,aAAa,GAAG,gBAAgB,CAAC;AACjC,QAAA,YAAY,GAAG,UAAU,CAAC;AAMvC,SAAS,qBAAqB;IAC7B,OAAO;QACN,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,uCAAuC;QACpD,WAAW,EAAE,2CAA2C;QACxD,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,GAAG,EAAE,oBAAoB;aACzB;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,oBAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,qBAAa,CAAC;aAC1B;SACD;KACD,CAAC;AACH,CAAC;AAKD,SAAS,8BAA8B;IACtC,OAAO;QAEN,qBAAqB,EAAE;KACvB,CAAC;AACH,CAAC;AAGD,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAA,2BAAkB,EACjD,YAAI,EACJ,mBAAW,EACX,cAAM,EACN,mBAAW,EACX,8BAA8B,EAAE,CAChC,CAAC;AAmBO,0BAAO;AAAE,gCAAU;AAhB5B,OAAO,CAAC,OAAO,GAAG;IACjB,OAAO,EAAE;QACR,MAAM,EAAE,KAAK;KACb;IACD,MAAM,EAAE;QACP,WAAW,EAAE;YACZ;gBACC,IAAI,EAAE,aAAa;gBACnB,UAAU,EAAE;oBACX,IAAI,EAAE,qBAAqB;iBAC3B;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -4,6 +4,8 @@ exports.properties = exports.options = exports.resourceName = exports.operationN
|
|
|
4
4
|
const common_1 = require("../common");
|
|
5
5
|
const name = 'getExtractStatus';
|
|
6
6
|
const displayName = 'Get Extract Status';
|
|
7
|
+
const action = 'Get extract status';
|
|
8
|
+
const description = 'Get the status and results of an extract job';
|
|
7
9
|
exports.operationName = 'getExtractStatus';
|
|
8
10
|
exports.resourceName = 'Extract';
|
|
9
11
|
function createExtractIdProperty() {
|
|
@@ -14,7 +16,7 @@ function createExtractIdProperty() {
|
|
|
14
16
|
required: true,
|
|
15
17
|
default: '',
|
|
16
18
|
description: 'ID of the extract job to get status for',
|
|
17
|
-
placeholder: '
|
|
19
|
+
placeholder: 'e.g. 550e8400-e29b-41d4-a716-446655440000',
|
|
18
20
|
routing: {
|
|
19
21
|
request: {
|
|
20
22
|
url: '=/extract/{{$value}}',
|
|
@@ -29,9 +31,9 @@ function createExtractIdProperty() {
|
|
|
29
31
|
};
|
|
30
32
|
}
|
|
31
33
|
function createGetExtractStatusProperties() {
|
|
32
|
-
return [
|
|
34
|
+
return [createExtractIdProperty()];
|
|
33
35
|
}
|
|
34
|
-
const { options, properties } = (0, common_1.buildApiProperties)(name, displayName, createGetExtractStatusProperties());
|
|
36
|
+
const { options, properties } = (0, common_1.buildApiProperties)(name, displayName, action, description, createGetExtractStatusProperties());
|
|
35
37
|
exports.options = options;
|
|
36
38
|
exports.properties = properties;
|
|
37
39
|
options.routing = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/getExtractStatus/index.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/getExtractStatus/index.ts"],"names":[],"mappings":";;;AACA,sCAA+C;AAE/C,MAAM,IAAI,GAAG,kBAAkB,CAAC;AAChC,MAAM,WAAW,GAAG,oBAAoB,CAAC;AACzC,MAAM,MAAM,GAAG,oBAAoB,CAAC;AACpC,MAAM,WAAW,GAAG,8CAA8C,CAAC;AACtD,QAAA,aAAa,GAAG,kBAAkB,CAAC;AACnC,QAAA,YAAY,GAAG,SAAS,CAAC;AAMtC,SAAS,uBAAuB;IAC/B,OAAO;QACN,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,yCAAyC;QACtD,WAAW,EAAE,2CAA2C;QACxD,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,GAAG,EAAE,sBAAsB;aAC3B;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,oBAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,qBAAa,CAAC;aAC1B;SACD;KACD,CAAC;AACH,CAAC;AAMD,SAAS,gCAAgC;IACxC,OAAO,CAAC,uBAAuB,EAAE,CAAC,CAAC;AACpC,CAAC;AAGD,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAA,2BAAkB,EACjD,IAAI,EACJ,WAAW,EACX,MAAM,EACN,WAAW,EACX,gCAAgC,EAAE,CAClC,CAAC;AAmBO,0BAAO;AAAE,gCAAU;AAhB5B,OAAO,CAAC,OAAO,GAAG;IACjB,OAAO,EAAE;QACR,MAAM,EAAE,KAAK;KACb;IACD,MAAM,EAAE;QACP,WAAW,EAAE;YACZ;gBACC,IAAI,EAAE,aAAa;gBACnB,UAAU,EAAE;oBACX,IAAI,EAAE,qBAAqB;iBAC3B;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const name = "interact";
|
|
3
|
-
export declare const displayName = "Execute
|
|
3
|
+
export declare const displayName = "Execute Interaction";
|
|
4
|
+
export declare const action = "Execute interaction on scraped page";
|
|
5
|
+
export declare const description = "Continue interacting with the page from a previous scrape using a prompt or code";
|
|
4
6
|
export declare const operationName = "interact";
|
|
5
7
|
export declare const resourceName = "Interact";
|
|
6
8
|
declare const options: import("n8n-workflow").INodePropertyOptions, properties: INodeProperties[];
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.displayName = exports.name = void 0;
|
|
3
|
+
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.description = exports.action = exports.displayName = exports.name = void 0;
|
|
4
4
|
const common_1 = require("../common");
|
|
5
5
|
exports.name = 'interact';
|
|
6
|
-
exports.displayName = 'Execute
|
|
6
|
+
exports.displayName = 'Execute Interaction';
|
|
7
|
+
exports.action = 'Execute interaction on scraped page';
|
|
8
|
+
exports.description = 'Continue interacting with the page from a previous scrape using a prompt or code';
|
|
7
9
|
exports.operationName = 'interact';
|
|
8
10
|
exports.resourceName = 'Interact';
|
|
9
11
|
function createScrapeIdProperty() {
|
|
@@ -14,7 +16,7 @@ function createScrapeIdProperty() {
|
|
|
14
16
|
required: true,
|
|
15
17
|
default: '',
|
|
16
18
|
description: 'The scrape job ID from a previous Scrape operation. Found in the response at data.metadata.scrapeId. The interact session resumes the browser at the exact page state from the scrape.',
|
|
17
|
-
placeholder: '550e8400-e29b-41d4-a716-446655440000',
|
|
19
|
+
placeholder: 'e.g. 550e8400-e29b-41d4-a716-446655440000',
|
|
18
20
|
routing: {
|
|
19
21
|
request: {
|
|
20
22
|
url: '=/scrape/{{$value}}/interact',
|
|
@@ -69,7 +71,7 @@ function createPromptProperty() {
|
|
|
69
71
|
required: true,
|
|
70
72
|
default: '',
|
|
71
73
|
description: 'Natural language instruction for the AI agent (max 10,000 characters). Describe a single, focused task. The agent handles clicking, typing, scrolling, and data extraction automatically. Examples: "Click the Sign In button", "Type test@example.com into the email field", "What are the prices listed on this page?".',
|
|
72
|
-
placeholder: 'Click the Sign In button and wait for the login form to appear',
|
|
74
|
+
placeholder: 'e.g. Click the Sign In button and wait for the login form to appear',
|
|
73
75
|
routing: {
|
|
74
76
|
request: {
|
|
75
77
|
body: {
|
|
@@ -194,7 +196,6 @@ function createTimeoutProperty() {
|
|
|
194
196
|
}
|
|
195
197
|
function createInteractProperties() {
|
|
196
198
|
return [
|
|
197
|
-
(0, common_1.createOperationNotice)(exports.resourceName, exports.name, 'POST'),
|
|
198
199
|
createScrapeIdProperty(),
|
|
199
200
|
createModeProperty(),
|
|
200
201
|
createPromptProperty(),
|
|
@@ -203,7 +204,7 @@ function createInteractProperties() {
|
|
|
203
204
|
createTimeoutProperty(),
|
|
204
205
|
];
|
|
205
206
|
}
|
|
206
|
-
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, createInteractProperties());
|
|
207
|
+
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, exports.action, exports.description, createInteractProperties());
|
|
207
208
|
exports.options = options;
|
|
208
209
|
exports.properties = properties;
|
|
209
210
|
options.routing = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/interact/index.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/interact/index.ts"],"names":[],"mappings":";;;AACA,sCAA+C;AAElC,QAAA,IAAI,GAAG,UAAU,CAAC;AAClB,QAAA,WAAW,GAAG,qBAAqB,CAAC;AACpC,QAAA,MAAM,GAAG,qCAAqC,CAAC;AAC/C,QAAA,WAAW,GAAG,kFAAkF,CAAC;AACjG,QAAA,aAAa,GAAG,UAAU,CAAC;AAC3B,QAAA,YAAY,GAAG,UAAU,CAAC;AAEvC,SAAS,sBAAsB;IAC9B,OAAO;QACN,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EACV,wLAAwL;QACzL,WAAW,EAAE,2CAA2C;QACxD,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,GAAG,EAAE,8BAA8B;aACnC;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,oBAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,qBAAa,CAAC;aAC1B;SACD;KACD,CAAC;AACH,CAAC;AAED,SAAS,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;KACD,CAAC;AACH,CAAC;AAED,SAAS,qBAAqB;IAC7B,OAAO;QACN,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,GAAG;SACb;QACD,WAAW,EACV,iQAAiQ;QAClQ,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,IAAI,EAAE;oBACL,OAAO,EAAE,eAAe;iBACxB;aACD;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,oBAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,qBAAa,CAAC;aAC1B;YACD,IAAI,EAAE;gBACL,aAAa,EAAE,CAAC,IAAI,CAAC;aACrB;SACD;KACD,CAAC;AACH,CAAC;AAED,SAAS,wBAAwB;IAChC,OAAO;QACN,sBAAsB,EAAE;QACxB,kBAAkB,EAAE;QACpB,oBAAoB,EAAE;QACtB,kBAAkB,EAAE;QACpB,sBAAsB,EAAE;QACxB,qBAAqB,EAAE;KACvB,CAAC;AACH,CAAC;AAED,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAA,2BAAkB,EACjD,YAAI,EACJ,mBAAW,EACX,cAAM,EACN,mBAAW,EACX,wBAAwB,EAAE,CAC1B,CAAC;AAQO,0BAAO;AAAE,gCAAU;AAN5B,OAAO,CAAC,OAAO,GAAG;IACjB,OAAO,EAAE;QACR,MAAM,EAAE,MAAM;KACd;CACD,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const name = "interactContext";
|
|
3
|
-
export declare const displayName = "Interact
|
|
3
|
+
export declare const displayName = "Get Interact Context";
|
|
4
|
+
export declare const action = "Get interact context";
|
|
5
|
+
export declare const description = "Get usage instructions for the Interact tools plus a list of active sessions, for AI agents";
|
|
4
6
|
export declare const operationName = "interactContext";
|
|
5
7
|
export declare const resourceName = "Interact";
|
|
6
8
|
declare const options: import("n8n-workflow").INodePropertyOptions, properties: INodeProperties[];
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.displayName = exports.name = void 0;
|
|
3
|
+
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.description = exports.action = exports.displayName = exports.name = void 0;
|
|
4
4
|
const common_1 = require("../common");
|
|
5
5
|
exports.name = 'interactContext';
|
|
6
|
-
exports.displayName = 'Interact
|
|
6
|
+
exports.displayName = 'Get Interact Context';
|
|
7
|
+
exports.action = 'Get interact context';
|
|
8
|
+
exports.description = 'Get usage instructions for the Interact tools plus a list of active sessions, for AI agents';
|
|
7
9
|
exports.operationName = 'interactContext';
|
|
8
10
|
exports.resourceName = 'Interact';
|
|
9
11
|
const INTERACT_CONTEXT = `# Firecrawl Interact
|
|
@@ -159,7 +161,7 @@ function createContextProperty() {
|
|
|
159
161
|
function createInteractContextProperties() {
|
|
160
162
|
return [createContextProperty()];
|
|
161
163
|
}
|
|
162
|
-
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, createInteractContextProperties());
|
|
164
|
+
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, exports.action, exports.description, createInteractContextProperties());
|
|
163
165
|
exports.options = options;
|
|
164
166
|
exports.properties = properties;
|
|
165
167
|
options.routing = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/interactContext/index.ts"],"names":[],"mappings":";;;AAOA,sCAA+C;AAElC,QAAA,IAAI,GAAG,iBAAiB,CAAC;AACzB,QAAA,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/interactContext/index.ts"],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,KAA2B,EAC3B,QAA8B;gBAE9B,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,qBAAqB,EAAE,gBAAgB,CAAW,CAAC;gBAC7F,MAAM,YAAY,GAAG,QAAQ,CAAC,IAAmB,CAAC;gBAClD,MAAM,QAAQ,GAAI,YAAY,CAAC,QAA0B,IAAI,EAAE,CAAC;gBAChE,MAAM,cAAc,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC;gBAErE,OAAO;oBACN;wBACC,IAAI,EAAE;4BACL,OAAO,EAAE,WAAW;4BACpB,cAAc,EAAE,cAAc,CAAC,MAAM;4BACrC,QAAQ,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;gCACpC,EAAE,EAAE,CAAC,CAAC,EAAE;gCACR,MAAM,EAAE,CAAC,CAAC,MAAM;gCAChB,SAAS,EAAE,CAAC,CAAC,SAAS;gCACtB,YAAY,EAAE,CAAC,CAAC,YAAY;6BAC5B,CAAC,CAAC;yBACH;qBACD;iBACD,CAAC;YACH,CAAC;SACD;KACD;CACD,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const name = "interactStop";
|
|
3
|
-
export declare const displayName = "Stop
|
|
3
|
+
export declare const displayName = "Stop Interaction";
|
|
4
|
+
export declare const action = "Stop interaction";
|
|
5
|
+
export declare const description = "Stop the browser session of a previous scrape and release its resources";
|
|
4
6
|
export declare const operationName = "interactStop";
|
|
5
7
|
export declare const resourceName = "Interact";
|
|
6
8
|
declare const options: import("n8n-workflow").INodePropertyOptions, properties: INodeProperties[];
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.displayName = exports.name = void 0;
|
|
3
|
+
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.description = exports.action = exports.displayName = exports.name = void 0;
|
|
4
4
|
const common_1 = require("../common");
|
|
5
5
|
exports.name = 'interactStop';
|
|
6
|
-
exports.displayName = 'Stop
|
|
6
|
+
exports.displayName = 'Stop Interaction';
|
|
7
|
+
exports.action = 'Stop interaction';
|
|
8
|
+
exports.description = 'Stop the browser session of a previous scrape and release its resources';
|
|
7
9
|
exports.operationName = 'interactStop';
|
|
8
10
|
exports.resourceName = 'Interact';
|
|
9
11
|
function createScrapeIdProperty() {
|
|
@@ -14,7 +16,7 @@ function createScrapeIdProperty() {
|
|
|
14
16
|
required: true,
|
|
15
17
|
default: '',
|
|
16
18
|
description: 'The scrape job ID of the interactive session to stop. This immediately destroys the browser session, releases all resources, and stops billing. If using a profile with saveChanges=true, browser state (cookies, localStorage) is saved before closing.',
|
|
17
|
-
placeholder: '550e8400-e29b-41d4-a716-446655440000',
|
|
19
|
+
placeholder: 'e.g. 550e8400-e29b-41d4-a716-446655440000',
|
|
18
20
|
routing: {
|
|
19
21
|
request: {
|
|
20
22
|
url: '=/scrape/{{$value}}/interact',
|
|
@@ -29,12 +31,9 @@ function createScrapeIdProperty() {
|
|
|
29
31
|
};
|
|
30
32
|
}
|
|
31
33
|
function createInteractStopProperties() {
|
|
32
|
-
return [
|
|
33
|
-
(0, common_1.createOperationNotice)(exports.resourceName, exports.name, 'DELETE'),
|
|
34
|
-
createScrapeIdProperty(),
|
|
35
|
-
];
|
|
34
|
+
return [createScrapeIdProperty()];
|
|
36
35
|
}
|
|
37
|
-
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, createInteractStopProperties());
|
|
36
|
+
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, exports.action, exports.description, createInteractStopProperties());
|
|
38
37
|
exports.options = options;
|
|
39
38
|
exports.properties = properties;
|
|
40
39
|
options.routing = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/interactStop/index.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/interactStop/index.ts"],"names":[],"mappings":";;;AACA,sCAA+C;AAElC,QAAA,IAAI,GAAG,cAAc,CAAC;AACtB,QAAA,WAAW,GAAG,kBAAkB,CAAC;AACjC,QAAA,MAAM,GAAG,kBAAkB,CAAC;AAC5B,QAAA,WAAW,GAAG,yEAAyE,CAAC;AACxF,QAAA,aAAa,GAAG,cAAc,CAAC;AAC/B,QAAA,YAAY,GAAG,UAAU,CAAC;AAEvC,SAAS,sBAAsB;IAC9B,OAAO;QACN,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EACV,0PAA0P;QAC3P,WAAW,EAAE,2CAA2C;QACxD,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,GAAG,EAAE,8BAA8B;aACnC;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,oBAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,qBAAa,CAAC;aAC1B;SACD;KACD,CAAC;AACH,CAAC;AAED,SAAS,4BAA4B;IACpC,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAAC;AACnC,CAAC;AAED,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAA,2BAAkB,EACjD,YAAI,EACJ,mBAAW,EACX,cAAM,EACN,mBAAW,EACX,4BAA4B,EAAE,CAC9B,CAAC;AAQO,0BAAO;AAAE,gCAAU;AAN5B,OAAO,CAAC,OAAO,GAAG;IACjB,OAAO,EAAE;QACR,MAAM,EAAE,QAAQ;KAChB;CACD,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const name = "map";
|
|
3
|
-
export declare const displayName = "
|
|
3
|
+
export declare const displayName = "Map Website";
|
|
4
|
+
export declare const action = "Map website";
|
|
5
|
+
export declare const description = "Discover and list the URLs of a website";
|
|
4
6
|
export declare const operationName = "map";
|
|
5
7
|
export declare const resourceName = "MapSearch";
|
|
6
8
|
declare const options: import("n8n-workflow").INodePropertyOptions, properties: INodeProperties[];
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.displayName = exports.name = void 0;
|
|
3
|
+
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.description = exports.action = exports.displayName = exports.name = void 0;
|
|
4
4
|
const common_1 = require("../common");
|
|
5
5
|
exports.name = 'map';
|
|
6
|
-
exports.displayName = '
|
|
6
|
+
exports.displayName = 'Map Website';
|
|
7
|
+
exports.action = 'Map website';
|
|
8
|
+
exports.description = 'Discover and list the URLs of a website';
|
|
7
9
|
exports.operationName = 'map';
|
|
8
10
|
exports.resourceName = 'MapSearch';
|
|
9
11
|
function createSitemapProperty() {
|
|
@@ -82,7 +84,7 @@ function createLimitProperty() {
|
|
|
82
84
|
minValue: 1,
|
|
83
85
|
maxValue: 5000,
|
|
84
86
|
},
|
|
85
|
-
default:
|
|
87
|
+
default: 50,
|
|
86
88
|
description: 'Max number of results to return',
|
|
87
89
|
routing: {
|
|
88
90
|
request: {
|
|
@@ -184,7 +186,6 @@ function createAdditionalFieldsProperty(operation) {
|
|
|
184
186
|
}
|
|
185
187
|
function createMapProperties() {
|
|
186
188
|
return [
|
|
187
|
-
(0, common_1.createOperationNotice)(exports.resourceName, exports.name),
|
|
188
189
|
(0, common_1.createUrlProperty)(exports.name, undefined, exports.resourceName),
|
|
189
190
|
createSitemapProperty(),
|
|
190
191
|
createIncludeSubdomainsProperty(),
|
|
@@ -192,7 +193,7 @@ function createMapProperties() {
|
|
|
192
193
|
createTimeoutProperty(),
|
|
193
194
|
];
|
|
194
195
|
}
|
|
195
|
-
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, createMapProperties());
|
|
196
|
+
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, exports.action, exports.description, createMapProperties());
|
|
196
197
|
exports.options = options;
|
|
197
198
|
exports.properties = properties;
|
|
198
199
|
properties.push(createAdditionalFieldsProperty(exports.name));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/map/index.ts"],"names":[],"mappings":";;;AAMA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/map/index.ts"],"names":[],"mappings":";;;AAMA,sCAAkE;AAGrD,QAAA,IAAI,GAAG,KAAK,CAAC;AACb,QAAA,WAAW,GAAG,aAAa,CAAC;AAC5B,QAAA,MAAM,GAAG,aAAa,CAAC;AACvB,QAAA,WAAW,GAAG,yCAAyC,CAAC;AACxD,QAAA,aAAa,GAAG,KAAK,CAAC;AACtB,QAAA,YAAY,GAAG,WAAW,CAAC;AAExC,SAAS,qBAAqB;IAC7B,OAAO;QACN,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,SAAS;gBAChB,WAAW,EAAE,+DAA+D;aAC5E;YACD;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,iEAAiE;aAC9E;YACD;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,mDAAmD;aAChE;SACD;QACD,OAAO,EAAE,SAAS;QAClB,WAAW,EACV,qLAAqL;QACtL,OAAO,EAAE;YACR,OAAO,EAAE;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AI,gBAAgB,CAAC,gBAAgB,EAAE;gCACtC,IAAI;oCACH,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,gBAA0B,CAAC,CAAC;oCAC5E,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,IAAmB,EAAE,WAAW,CAAC,CAAC;iCAC/D;gCAAC,OAAO,KAAK,EAAE;iCAEf;6BACD;4BAGD,OAAO,IAAI,CAAC,gBAAgB,CAAC;yBAC7B;wBAED,OAAO,cAAc,CAAC;oBACvB,CAAC;iBACD;aACD;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,SAAS,CAAC;gBACtB,aAAa,EAAE,CAAC,IAAI,CAAC;aACrB;SACD;KACD,CAAC;AACH,CAAC;AAKD,SAAS,mBAAmB;IAC3B,OAAO;QACN,IAAA,0BAAiB,EAAC,YAAI,EAAE,SAAS,EAAE,oBAAY,CAAC;QAEhD,qBAAqB,EAAE;QAEvB,+BAA+B,EAAE;QAEjC,mBAAmB,EAAE;QAErB,qBAAqB,EAAE;KACvB,CAAC;AACH,CAAC;AAGD,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAA,2BAAkB,EACjD,YAAI,EACJ,mBAAW,EACX,cAAM,EACN,mBAAW,EACX,mBAAmB,EAAE,CACrB,CAAC;AAKO,0BAAO;AAAE,gCAAU;AAF5B,UAAU,CAAC,IAAI,CAAC,8BAA8B,CAAC,YAAI,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const name = "scrape";
|
|
3
|
-
export declare const displayName = "
|
|
3
|
+
export declare const displayName = "Scrape URL";
|
|
4
|
+
export declare const action = "Scrape URL";
|
|
5
|
+
export declare const description = "Scrape a single URL and optionally extract information using AI";
|
|
4
6
|
export declare const operationName = "scrape";
|
|
5
7
|
export declare const resourceName = "Scraping";
|
|
6
8
|
declare const options: import("n8n-workflow").INodePropertyOptions, properties: INodeProperties[];
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.displayName = exports.name = void 0;
|
|
3
|
+
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.description = exports.action = exports.displayName = exports.name = void 0;
|
|
4
4
|
const common_1 = require("../common");
|
|
5
5
|
exports.name = 'scrape';
|
|
6
|
-
exports.displayName = '
|
|
6
|
+
exports.displayName = 'Scrape URL';
|
|
7
|
+
exports.action = 'Scrape URL';
|
|
8
|
+
exports.description = 'Scrape a single URL and optionally extract information using AI';
|
|
7
9
|
exports.operationName = 'scrape';
|
|
8
10
|
exports.resourceName = 'Scraping';
|
|
9
11
|
function createParsersProperty(operationName) {
|
|
@@ -158,6 +160,7 @@ function createProfileProperty() {
|
|
|
158
160
|
type: 'string',
|
|
159
161
|
required: true,
|
|
160
162
|
default: '',
|
|
163
|
+
placeholder: 'e.g. my-login-session',
|
|
161
164
|
description: 'A unique name for the profile (1-128 characters). Scrapes with the same name share browser state. Use descriptive names like "gmail-account" or "dashboard-session".',
|
|
162
165
|
},
|
|
163
166
|
{
|
|
@@ -190,14 +193,13 @@ function createProfileProperty() {
|
|
|
190
193
|
}
|
|
191
194
|
function createScrapeProperties() {
|
|
192
195
|
return [
|
|
193
|
-
(0, common_1.createOperationNotice)(exports.resourceName, exports.name),
|
|
194
196
|
(0, common_1.createUrlProperty)(exports.name, 'https://firecrawl.dev', exports.resourceName),
|
|
195
197
|
createParsersProperty(exports.operationName),
|
|
196
198
|
(0, common_1.createScrapeOptionsProperty)(exports.operationName, false, false, exports.resourceName),
|
|
197
199
|
createProfileProperty(),
|
|
198
200
|
];
|
|
199
201
|
}
|
|
200
|
-
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, createScrapeProperties());
|
|
202
|
+
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, exports.action, exports.description, createScrapeProperties());
|
|
201
203
|
exports.options = options;
|
|
202
204
|
exports.properties = properties;
|
|
203
205
|
properties.push(createAdditionalFieldsProperty(exports.name));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/scrape/index.ts"],"names":[],"mappings":";;;AAMA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/scrape/index.ts"],"names":[],"mappings":";;;AAMA,sCAA+F;AAGlF,QAAA,IAAI,GAAG,QAAQ,CAAC;AAChB,QAAA,WAAW,GAAG,YAAY,CAAC;AAC3B,QAAA,MAAM,GAAG,YAAY,CAAC;AACtB,QAAA,WAAW,GAAG,iEAAiE,CAAC;AAChF,QAAA,aAAa,GAAG,QAAQ,CAAC;AACzB,QAAA,YAAY,GAAG,UAAU,CAAC;AAOvC,SAAS,qBAAqB,CAAC,aAAqB;IACnD,OAAO;QACN,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,qDAAqD;aAClE;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EACV,2IAA2I;QAC5I,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,IAAI,EAAE;oBACL,OAAO,EAAE,eAAe;iBACxB;aACD;YACD,IAAI,EAAE;gBACL,OAAO,EAAE;oBACR,KAAK,WAEJ,cAAmC;wBAEnC,IAAI,OAAO,cAAc,CAAC,IAAI,KAAK,QAAQ,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE;4BACpE,OAAO,cAAc,CAAC;yBACtB;wBAED,MAAM,IAAI,GAAG,cAAc,CAAC,IAAmB,CAAC;wBAGhD,IAAI,IAAI,CAAC,OAAO,KAAK,SA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b,WAAW,EACV,gPAAgP;qBACjP;iBACD;aACD;SACD;QACD,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,IAAI,EAAE;oBACL,OAAO,EACN,6GAA6G;iBAC9G;aACD;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,oBAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,qBAAa,CAAC;aAC1B;YACD,IAAI,EAAE;gBACL,aAAa,EAAE,CAAC,IAAI,CAAC;aACrB;SACD;KACD,CAAC;AACH,CAAC;AAKD,SAAS,sBAAsB;IAC9B,OAAO;QAEN,IAAA,0BAAiB,EAAC,YAAI,EAAE,uBAAuB,EAAE,oBAAY,CAAC;QAG9D,qBAAqB,CAAC,qBAAa,CAAC;QAGpC,IAAA,oCAA2B,EAAC,qBAAa,EAAE,KAAK,EAAE,KAAK,EAAE,oBAAY,CAAC;QAGtE,qBAAqB,EAAE;KACvB,CAAC;AACH,CAAC;AAGD,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAA,2BAAkB,EACjD,YAAI,EACJ,mBAAW,EACX,cAAM,EACN,mBAAW,EACX,sBAAsB,EAAE,CACxB,CAAC;AAKO,0BAAO;AAAE,gCAAU;AAF5B,UAAU,CAAC,IAAI,CAAC,8BAA8B,CAAC,YAAI,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const name = "search";
|
|
3
|
-
export declare const displayName = "
|
|
3
|
+
export declare const displayName = "Search Web";
|
|
4
|
+
export declare const action = "Search web";
|
|
5
|
+
export declare const description = "Search the web and optionally scrape the results";
|
|
4
6
|
export declare const operationName = "search";
|
|
5
7
|
export declare const resourceName = "MapSearch";
|
|
6
8
|
declare const options: import("n8n-workflow").INodePropertyOptions, properties: INodeProperties[];
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.displayName = exports.name = void 0;
|
|
3
|
+
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.description = exports.action = exports.displayName = exports.name = void 0;
|
|
4
4
|
const common_1 = require("../common");
|
|
5
|
-
const common_2 = require("../common");
|
|
6
5
|
exports.name = 'search';
|
|
7
|
-
exports.displayName = '
|
|
6
|
+
exports.displayName = 'Search Web';
|
|
7
|
+
exports.action = 'Search web';
|
|
8
|
+
exports.description = 'Search the web and optionally scrape the results';
|
|
8
9
|
exports.operationName = 'search';
|
|
9
10
|
exports.resourceName = 'MapSearch';
|
|
10
11
|
function createQueryProperty(operationName) {
|
|
@@ -14,6 +15,7 @@ function createQueryProperty(operationName) {
|
|
|
14
15
|
type: 'string',
|
|
15
16
|
default: '',
|
|
16
17
|
required: true,
|
|
18
|
+
placeholder: 'e.g. latest n8n release notes',
|
|
17
19
|
description: 'The search query to find relevant web pages. Use natural language like you would in a search engine. Results are scraped and returned with their content.',
|
|
18
20
|
routing: {
|
|
19
21
|
request: {
|
|
@@ -37,7 +39,7 @@ function createLimitProperty(operationName) {
|
|
|
37
39
|
typeOptions: {
|
|
38
40
|
minValue: 1,
|
|
39
41
|
},
|
|
40
|
-
default:
|
|
42
|
+
default: 50,
|
|
41
43
|
description: 'Max number of results to return',
|
|
42
44
|
routing: {
|
|
43
45
|
request: {
|
|
@@ -120,6 +122,7 @@ function createTimeBasedSearchProperty(operation) {
|
|
|
120
122
|
name: 'tbs',
|
|
121
123
|
type: 'string',
|
|
122
124
|
default: '',
|
|
125
|
+
placeholder: 'e.g. qdr:w',
|
|
123
126
|
description: 'Filter results by time. Use "qdr:h" for past hour, "qdr:d" for past day, "qdr:w" for past week, "qdr:m" for past month, "qdr:y" for past year. Leave empty for all time.',
|
|
124
127
|
routing: {
|
|
125
128
|
request: {
|
|
@@ -220,7 +223,6 @@ function createTimeoutProperty(operationName) {
|
|
|
220
223
|
}
|
|
221
224
|
function createSearchProperties() {
|
|
222
225
|
return [
|
|
223
|
-
(0, common_2.createOperationNotice)(exports.resourceName, exports.name),
|
|
224
226
|
createQueryProperty(exports.name),
|
|
225
227
|
createSourcesProperty(exports.name),
|
|
226
228
|
createTimeoutProperty(exports.name),
|
|
@@ -228,7 +230,7 @@ function createSearchProperties() {
|
|
|
228
230
|
createTimeBasedSearchProperty(exports.name),
|
|
229
231
|
];
|
|
230
232
|
}
|
|
231
|
-
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, createSearchProperties());
|
|
233
|
+
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, exports.action, exports.description, createSearchProperties());
|
|
232
234
|
exports.options = options;
|
|
233
235
|
exports.properties = properties;
|
|
234
236
|
properties.push(createAdditionalFieldsProperty(exports.name));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/search/index.ts"],"names":[],"mappings":";;;AAMA,sCAA+C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/search/index.ts"],"names":[],"mappings":";;;AAMA,sCAA+C;AAGlC,QAAA,IAAI,GAAG,QAAQ,CAAC;AAChB,QAAA,WAAW,GAAG,YAAY,CAAC;AAC3B,QAAA,MAAM,GAAG,YAAY,CAAC;AACtB,QAAA,WAAW,GAAG,kDAAkD,CAAC;AACjE,QAAA,aAAa,GAAG,QAAQ,CAAC;AACzB,QAAA,YAAY,GAAG,WAAW,CAAC;AAKxC,SAAS,mBAAmB,CAAC,aAAqB;IACjD,OAAO;QACN,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,+BAA+B;QAC5C,WAAW,EACV,2JAA2J;QAC5J,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,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H,CAAC;AAED,SAAS,qBAAqB,CAAC,aAAqB;IACnD,OAAO;QACN,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,KAAK;QACd,WAAW,EACV,gKAAgK;QACjK,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,IAAI,EAAE;oBACL,OAAO,EAAE,eAAe;iBACxB;aACD;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,aAAa,EAAE,CAAC,IAAI,CAAC;aACrB;YACD,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,oBAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,aAAa,CAAC;aAC1B;SACD;KACD,CAAC;AACH,CAAC;AAKD,SAAS,sBAAsB;IAC9B,OAAO;QAEN,mBAAmB,CAAC,YAAI,CAAC;QAGzB,qBAAqB,CAAC,YAAI,CAAC;QAG3B,qBAAqB,CAAC,YAAI,CAAC;QAG3B,mBAAmB,CAAC,YAAI,CAAC;QACzB,6BAA6B,CAAC,YAAI,CAAC;KACnC,CAAC;AACH,CAAC;AAGD,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAA,2BAAkB,EACjD,YAAI,EACJ,mBAAW,EACX,cAAM,EACN,mBAAW,EACX,sBAAsB,EAAE,CACxB,CAAC;AAKO,0BAAO;AAAE,gCAAU;AAF5B,UAAU,CAAC,IAAI,CAAC,8BAA8B,CAAC,YAAI,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { INodeProperties } from 'n8n-workflow';
|
|
2
1
|
export declare const name = "teamCreditUsage";
|
|
3
|
-
export declare const displayName = "Get
|
|
2
|
+
export declare const displayName = "Get Team Credit Usage";
|
|
3
|
+
export declare const action = "Get team credit usage";
|
|
4
|
+
export declare const description = "Get the remaining credits for your team";
|
|
4
5
|
export declare const resourceName = "Account";
|
|
5
|
-
declare const options: import("n8n-workflow").INodePropertyOptions, properties: INodeProperties[];
|
|
6
|
+
declare const options: import("n8n-workflow").INodePropertyOptions, properties: import("n8n-workflow").INodeProperties[];
|
|
6
7
|
export { options, properties };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.properties = exports.options = exports.resourceName = exports.displayName = exports.name = void 0;
|
|
3
|
+
exports.properties = exports.options = exports.resourceName = exports.description = exports.action = exports.displayName = exports.name = void 0;
|
|
4
4
|
const common_1 = require("../common");
|
|
5
5
|
exports.name = 'teamCreditUsage';
|
|
6
|
-
exports.displayName = 'Get
|
|
6
|
+
exports.displayName = 'Get Team Credit Usage';
|
|
7
|
+
exports.action = 'Get team credit usage';
|
|
8
|
+
exports.description = 'Get the remaining credits for your team';
|
|
7
9
|
exports.resourceName = 'Account';
|
|
8
|
-
|
|
9
|
-
return [(0, common_1.createOperationNotice)(exports.resourceName, exports.name, 'GET')];
|
|
10
|
-
}
|
|
11
|
-
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, createProperties());
|
|
10
|
+
const { options, properties } = (0, common_1.buildApiProperties)(exports.name, exports.displayName, exports.action, exports.description);
|
|
12
11
|
exports.options = options;
|
|
13
12
|
exports.properties = properties;
|
|
14
13
|
options.routing = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/teamCreditUsage/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/teamCreditUsage/index.ts"],"names":[],"mappings":";;;AAAA,sCAA+C;AAElC,QAAA,IAAI,GAAG,iBAAiB,CAAC;AACzB,QAAA,WAAW,GAAG,uBAAuB,CAAC;AACtC,QAAA,MAAM,GAAG,uBAAuB,CAAC;AACjC,QAAA,WAAW,GAAG,yCAAyC,CAAC;AACxD,QAAA,YAAY,GAAG,SAAS,CAAC;AAEtC,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAA,2BAAkB,EAAC,YAAI,EAAE,mBAAW,EAAE,cAAM,EAAE,mBAAW,CAAC,CAAC;AASlF,0BAAO;AAAE,gCAAU;AAP5B,OAAO,CAAC,OAAO,GAAG;IACjB,OAAO,EAAE;QACR,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,qBAAqB;KAC1B;CACD,CAAC"}
|