mcpscraper-sdk 0.53.1 → 0.54.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 +6 -7
- package/dist/index.cjs +2 -17
- package/dist/index.d.cts +2 -252
- package/dist/index.d.ts +2 -252
- package/dist/index.js +3 -18
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ Google Search light mode returns organic positions, URLs, titles, and descriptio
|
|
|
45
45
|
|
|
46
46
|
## API surface
|
|
47
47
|
|
|
48
|
-
`client.tools` is the generated, typed
|
|
48
|
+
`client.tools` is the generated, typed manifest-backed MCP surface from `contracts/mcp.tools.json`, including provider-neutral X-Ray surveys, attribution-impact reporting, and truthful evidence-status operations.
|
|
49
49
|
|
|
50
50
|
For multimodal results such as `meta_ad_creative_media`, call `client.tools.callToolResult(...)` to preserve native MCP image/audio/resource blocks. `callTool(...)` remains backward-compatible and returns the parsed structured or text value.
|
|
51
51
|
|
|
@@ -62,8 +62,7 @@ await client.tools.connections.exportConnectedServiceData({
|
|
|
62
62
|
dataset: 'resend_data',
|
|
63
63
|
lastDays: 7,
|
|
64
64
|
})
|
|
65
|
-
const
|
|
66
|
-
const templates = await client.tools.schedule.listArtifactTemplates({ status: 'active' })
|
|
65
|
+
const templates = await client.tools.artifacts.listArtifactTemplates({ status: 'active' })
|
|
67
66
|
```
|
|
68
67
|
|
|
69
68
|
Lead enrichment is available through the same generated surface. Supply mapped rows directly, or call `client.tools.leads.import(...)` first for CSV/TSV/XLSX input:
|
|
@@ -81,11 +80,11 @@ const job = await client.tools.leads.enrich({
|
|
|
81
80
|
})
|
|
82
81
|
```
|
|
83
82
|
|
|
84
|
-
The connected-data export performs bounded Gmail, Calendar, Google Search Console, Zoom, Meta Marketing, or Resend pagination server-side and returns small results inline or a private seven-day JSONL artifact. Use `exportConnectedServiceData({ dataset: 'search_console_performance' })` for a fresh Search Console API extract.
|
|
83
|
+
The connected-data export performs bounded Gmail, Calendar, Google Search Console, Zoom, Meta Marketing, or Resend pagination server-side and returns small results inline or a private seven-day JSONL artifact. Use `exportConnectedServiceData({ dataset: 'search_console_performance' })` for a fresh Search Console API extract. Existing persisted Search Console data is exposed as `listServiceConnections().tableName`; use `exportSearchConsoleTableData` for a server-filtered download from that table. Use `meta_ads_insights` for daily account, campaign, ad-set, and ad reporting across connected Meta ad accounts. Resend can aggregate sent/received mail, logs, contacts, broadcasts, and templates with `resend_data`. Resume partial exports with the returned `continuation` object; renew an expired signed URL with `client.tools.connections.renewConnectedDataDownload({ artifactId })`. Use `listServiceConnections` for verified grants and per-tool permission blockers, then `describeServiceConnectionTool` for the exact provider-native schema before calling through the generic connection bridges.
|
|
85
84
|
|
|
86
|
-
Search Console also provides six API-only batches through those connection bridges: reads `inspect-urls` and `query-search-analytics-batch`, and gated actions `add-sites-batch`, `submit-sitemaps-batch`, `delete-sites-batch`, and `delete-sitemaps-batch`. They require no database
|
|
85
|
+
Search Console also provides six API-only batches through those connection bridges: reads `inspect-urls` and `query-search-analytics-batch`, and gated actions `add-sites-batch`, `submit-sitemaps-batch`, `delete-sites-batch`, and `delete-sitemaps-batch`. They require no database and return per-item receipts. Delete batches default to dry-run and require the live schema's exact confirmation token for execution; all actions require the connection's action switch.
|
|
87
86
|
|
|
88
|
-
Integrations are included with an active Starter plan or higher: OAuth connect/reconnect and direct connected-service reads, approved actions, exports, and snapshots do not currently have an extra connection-operation debit.
|
|
87
|
+
Integrations are included with an active Starter plan or higher: OAuth connect/reconnect and direct connected-service reads, approved actions, exports, and snapshots do not currently have an extra connection-operation debit.
|
|
89
88
|
|
|
90
89
|
Core operations are flat on the client: `startHarvest`, `searchSerp`, `harvestPaa`, `extractUrl`, `mapSiteUrls`, `extractSite`, `auditSite`, `getExtractSiteStatus`, `archiveRead`, `listJobs`, `getJob`, `getHistory`, `getLedger`.
|
|
91
90
|
|
|
@@ -170,7 +169,7 @@ console.log(page.memory) // { deposited: true, vault: 'competitors', noteId: '..
|
|
|
170
169
|
|
|
171
170
|
## Memory tools, using only this API key
|
|
172
171
|
|
|
173
|
-
`client.memoryTools` exposes every tool from [`mcpscraper-memory-sdk`](../memory) — access/keys, channels, memory search/CRUD, tables, vaults, facts,
|
|
172
|
+
`client.memoryTools` exposes every tool from [`mcpscraper-memory-sdk`](../memory) — access/keys, channels, memory search/CRUD, tables, vaults, facts, artifacts, webhooks, video — dispatched through `POST /memory/mcp-call` with your mcpscraper.dev API key. No separate memory key needed; a memory identity is auto-provisioned for your account on first use:
|
|
174
173
|
|
|
175
174
|
```ts
|
|
176
175
|
const hits = await client.memoryTools.memory.search({ query: 'competitor pricing pages' })
|
package/dist/index.cjs
CHANGED
|
@@ -538,21 +538,6 @@ var WorkflowsNamespace = class {
|
|
|
538
538
|
`/workflows/runs/${encodeURIComponent(id)}/artifacts/${encodeURIComponent(artifactId)}`
|
|
539
539
|
);
|
|
540
540
|
}
|
|
541
|
-
createSchedule(params) {
|
|
542
|
-
return this.r.call("POST", "/workflows/schedules", params);
|
|
543
|
-
}
|
|
544
|
-
listSchedules() {
|
|
545
|
-
return this.r.call("GET", "/workflows/schedules");
|
|
546
|
-
}
|
|
547
|
-
patchSchedule(id, params) {
|
|
548
|
-
return this.r.call("PATCH", `/workflows/schedules/${encodeURIComponent(id)}`, params);
|
|
549
|
-
}
|
|
550
|
-
deleteSchedule(id) {
|
|
551
|
-
return this.r.call("DELETE", `/workflows/schedules/${encodeURIComponent(id)}`);
|
|
552
|
-
}
|
|
553
|
-
runScheduleNow(id) {
|
|
554
|
-
return this.r.call("POST", `/workflows/schedules/${encodeURIComponent(id)}/run`);
|
|
555
|
-
}
|
|
556
541
|
};
|
|
557
542
|
var GmailNamespace = class {
|
|
558
543
|
constructor(r) {
|
|
@@ -600,7 +585,7 @@ var MemoryTools = class {
|
|
|
600
585
|
library;
|
|
601
586
|
memory;
|
|
602
587
|
recall;
|
|
603
|
-
|
|
588
|
+
artifacts;
|
|
604
589
|
storage;
|
|
605
590
|
tables;
|
|
606
591
|
tags;
|
|
@@ -617,7 +602,7 @@ var MemoryTools = class {
|
|
|
617
602
|
this.library = new import_mcpscraper_memory_sdk.LibraryNamespace(callTool);
|
|
618
603
|
this.memory = new import_mcpscraper_memory_sdk.MemoryNamespace(callTool);
|
|
619
604
|
this.recall = new import_mcpscraper_memory_sdk.RecallNamespace(callTool);
|
|
620
|
-
this.
|
|
605
|
+
this.artifacts = new import_mcpscraper_memory_sdk.ArtifactsNamespace(callTool);
|
|
621
606
|
this.storage = new import_mcpscraper_memory_sdk.StorageNamespace(callTool);
|
|
622
607
|
this.tables = new import_mcpscraper_memory_sdk.TablesNamespace(callTool);
|
|
623
608
|
this.tags = new import_mcpscraper_memory_sdk.TagsNamespace(callTool);
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClientMetadataOptions, AccessNamespace, CaptureNamespace, ChannelsNamespace, FactsNamespace, FilesNamespace, GraphNamespace, LibraryNamespace, MemoryNamespace, RecallNamespace,
|
|
1
|
+
import { ClientMetadataOptions, AccessNamespace, CaptureNamespace, ChannelsNamespace, FactsNamespace, FilesNamespace, GraphNamespace, LibraryNamespace, MemoryNamespace, RecallNamespace, ArtifactsNamespace, StorageNamespace, TablesNamespace, TagsNamespace, VaultsNamespace, VideoNamespace as VideoNamespace$1, WebhooksNamespace, CallToolFn, McpToolsClient } from 'mcpscraper-memory-sdk';
|
|
2
2
|
export { ArtifactDelivery, ClientAttribution, ClientMetadataOptions, DeliveredNamespace, GeneratedMcpToolsClient, MCP_TOOL_BINDINGS, MCP_TOOL_COUNT, McpContentBlock, McpToolCallResult, McpToolDescriptor, McpToolError, McpToolErrorDetails, McpToolsClient, McpToolsClientOptions, ResponseMetadata } from 'mcpscraper-memory-sdk';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -929,59 +929,6 @@ interface paths {
|
|
|
929
929
|
patch?: never;
|
|
930
930
|
trace?: never;
|
|
931
931
|
};
|
|
932
|
-
"/workflows/schedules": {
|
|
933
|
-
parameters: {
|
|
934
|
-
query?: never;
|
|
935
|
-
header?: never;
|
|
936
|
-
path?: never;
|
|
937
|
-
cookie?: never;
|
|
938
|
-
};
|
|
939
|
-
/** List your workflow schedules */
|
|
940
|
-
get: operations["listWorkflowSchedules"];
|
|
941
|
-
put?: never;
|
|
942
|
-
/** Create a recurring schedule for a workflow */
|
|
943
|
-
post: operations["createWorkflowSchedule"];
|
|
944
|
-
delete?: never;
|
|
945
|
-
options?: never;
|
|
946
|
-
head?: never;
|
|
947
|
-
patch?: never;
|
|
948
|
-
trace?: never;
|
|
949
|
-
};
|
|
950
|
-
"/workflows/schedules/{id}": {
|
|
951
|
-
parameters: {
|
|
952
|
-
query?: never;
|
|
953
|
-
header?: never;
|
|
954
|
-
path?: never;
|
|
955
|
-
cookie?: never;
|
|
956
|
-
};
|
|
957
|
-
get?: never;
|
|
958
|
-
put?: never;
|
|
959
|
-
post?: never;
|
|
960
|
-
/** Delete a workflow schedule */
|
|
961
|
-
delete: operations["deleteWorkflowSchedule"];
|
|
962
|
-
options?: never;
|
|
963
|
-
head?: never;
|
|
964
|
-
/** Update a workflow schedule */
|
|
965
|
-
patch: operations["patchWorkflowSchedule"];
|
|
966
|
-
trace?: never;
|
|
967
|
-
};
|
|
968
|
-
"/workflows/schedules/{id}/run": {
|
|
969
|
-
parameters: {
|
|
970
|
-
query?: never;
|
|
971
|
-
header?: never;
|
|
972
|
-
path?: never;
|
|
973
|
-
cookie?: never;
|
|
974
|
-
};
|
|
975
|
-
get?: never;
|
|
976
|
-
put?: never;
|
|
977
|
-
/** Trigger a workflow schedule immediately, out of cadence */
|
|
978
|
-
post: operations["runWorkflowScheduleNow"];
|
|
979
|
-
delete?: never;
|
|
980
|
-
options?: never;
|
|
981
|
-
head?: never;
|
|
982
|
-
patch?: never;
|
|
983
|
-
trace?: never;
|
|
984
|
-
};
|
|
985
932
|
"/api/gmail/messages/search": {
|
|
986
933
|
parameters: {
|
|
987
934
|
query?: never;
|
|
@@ -2312,21 +2259,6 @@ interface components {
|
|
|
2312
2259
|
} | null;
|
|
2313
2260
|
done?: boolean;
|
|
2314
2261
|
};
|
|
2315
|
-
WorkflowSchedule: {
|
|
2316
|
-
id?: string;
|
|
2317
|
-
workflow_id?: string;
|
|
2318
|
-
name?: string;
|
|
2319
|
-
/** @enum {string} */
|
|
2320
|
-
status?: "active" | "paused";
|
|
2321
|
-
input?: {
|
|
2322
|
-
[key: string]: unknown;
|
|
2323
|
-
};
|
|
2324
|
-
/** @enum {string} */
|
|
2325
|
-
cadence?: "daily" | "weekly" | "monthly";
|
|
2326
|
-
timezone?: string;
|
|
2327
|
-
webhook_url?: string | null;
|
|
2328
|
-
next_run_at?: string | null;
|
|
2329
|
-
};
|
|
2330
2262
|
CallMemoryToolRequest: {
|
|
2331
2263
|
/** @description A tool name from contracts/memory.tools.json, e.g. "memory-search". */
|
|
2332
2264
|
toolName: string;
|
|
@@ -4487,172 +4419,6 @@ interface operations {
|
|
|
4487
4419
|
};
|
|
4488
4420
|
};
|
|
4489
4421
|
};
|
|
4490
|
-
listWorkflowSchedules: {
|
|
4491
|
-
parameters: {
|
|
4492
|
-
query?: never;
|
|
4493
|
-
header?: never;
|
|
4494
|
-
path?: never;
|
|
4495
|
-
cookie?: never;
|
|
4496
|
-
};
|
|
4497
|
-
requestBody?: never;
|
|
4498
|
-
responses: {
|
|
4499
|
-
/** @description Schedule list. */
|
|
4500
|
-
200: {
|
|
4501
|
-
headers: {
|
|
4502
|
-
[name: string]: unknown;
|
|
4503
|
-
};
|
|
4504
|
-
content: {
|
|
4505
|
-
"application/json": {
|
|
4506
|
-
schedules?: components["schemas"]["WorkflowSchedule"][];
|
|
4507
|
-
};
|
|
4508
|
-
};
|
|
4509
|
-
};
|
|
4510
|
-
401: components["responses"]["Unauthorized"];
|
|
4511
|
-
};
|
|
4512
|
-
};
|
|
4513
|
-
createWorkflowSchedule: {
|
|
4514
|
-
parameters: {
|
|
4515
|
-
query?: never;
|
|
4516
|
-
header?: never;
|
|
4517
|
-
path?: never;
|
|
4518
|
-
cookie?: never;
|
|
4519
|
-
};
|
|
4520
|
-
requestBody: {
|
|
4521
|
-
content: {
|
|
4522
|
-
"application/json": {
|
|
4523
|
-
workflowId: string;
|
|
4524
|
-
name?: string;
|
|
4525
|
-
input?: {
|
|
4526
|
-
[key: string]: unknown;
|
|
4527
|
-
};
|
|
4528
|
-
/**
|
|
4529
|
-
* @default weekly
|
|
4530
|
-
* @enum {string}
|
|
4531
|
-
*/
|
|
4532
|
-
cadence?: "daily" | "weekly" | "monthly";
|
|
4533
|
-
/** @default UTC */
|
|
4534
|
-
timezone?: string;
|
|
4535
|
-
/** Format: uri */
|
|
4536
|
-
webhookUrl?: string;
|
|
4537
|
-
/** Format: date-time */
|
|
4538
|
-
nextRunAt?: string;
|
|
4539
|
-
};
|
|
4540
|
-
};
|
|
4541
|
-
};
|
|
4542
|
-
responses: {
|
|
4543
|
-
/** @description Schedule created. */
|
|
4544
|
-
201: {
|
|
4545
|
-
headers: {
|
|
4546
|
-
[name: string]: unknown;
|
|
4547
|
-
};
|
|
4548
|
-
content: {
|
|
4549
|
-
"application/json": {
|
|
4550
|
-
schedule?: components["schemas"]["WorkflowSchedule"];
|
|
4551
|
-
};
|
|
4552
|
-
};
|
|
4553
|
-
};
|
|
4554
|
-
400: components["responses"]["BadRequest"];
|
|
4555
|
-
};
|
|
4556
|
-
};
|
|
4557
|
-
deleteWorkflowSchedule: {
|
|
4558
|
-
parameters: {
|
|
4559
|
-
query?: never;
|
|
4560
|
-
header?: never;
|
|
4561
|
-
path: {
|
|
4562
|
-
id: string;
|
|
4563
|
-
};
|
|
4564
|
-
cookie?: never;
|
|
4565
|
-
};
|
|
4566
|
-
requestBody?: never;
|
|
4567
|
-
responses: {
|
|
4568
|
-
/** @description Deleted. */
|
|
4569
|
-
200: {
|
|
4570
|
-
headers: {
|
|
4571
|
-
[name: string]: unknown;
|
|
4572
|
-
};
|
|
4573
|
-
content: {
|
|
4574
|
-
"application/json": {
|
|
4575
|
-
ok?: boolean;
|
|
4576
|
-
};
|
|
4577
|
-
};
|
|
4578
|
-
};
|
|
4579
|
-
404: components["responses"]["NotFound"];
|
|
4580
|
-
};
|
|
4581
|
-
};
|
|
4582
|
-
patchWorkflowSchedule: {
|
|
4583
|
-
parameters: {
|
|
4584
|
-
query?: never;
|
|
4585
|
-
header?: never;
|
|
4586
|
-
path: {
|
|
4587
|
-
id: string;
|
|
4588
|
-
};
|
|
4589
|
-
cookie?: never;
|
|
4590
|
-
};
|
|
4591
|
-
requestBody?: {
|
|
4592
|
-
content: {
|
|
4593
|
-
"application/json": {
|
|
4594
|
-
name?: string;
|
|
4595
|
-
/** @enum {string} */
|
|
4596
|
-
status?: "active" | "paused";
|
|
4597
|
-
input?: {
|
|
4598
|
-
[key: string]: unknown;
|
|
4599
|
-
};
|
|
4600
|
-
/** @enum {string} */
|
|
4601
|
-
cadence?: "daily" | "weekly" | "monthly";
|
|
4602
|
-
timezone?: string;
|
|
4603
|
-
/** Format: uri */
|
|
4604
|
-
webhookUrl?: string | null;
|
|
4605
|
-
/** Format: date-time */
|
|
4606
|
-
nextRunAt?: string | null;
|
|
4607
|
-
};
|
|
4608
|
-
};
|
|
4609
|
-
};
|
|
4610
|
-
responses: {
|
|
4611
|
-
/** @description Updated schedule. */
|
|
4612
|
-
200: {
|
|
4613
|
-
headers: {
|
|
4614
|
-
[name: string]: unknown;
|
|
4615
|
-
};
|
|
4616
|
-
content: {
|
|
4617
|
-
"application/json": {
|
|
4618
|
-
schedule?: components["schemas"]["WorkflowSchedule"];
|
|
4619
|
-
};
|
|
4620
|
-
};
|
|
4621
|
-
};
|
|
4622
|
-
400: components["responses"]["BadRequest"];
|
|
4623
|
-
404: components["responses"]["NotFound"];
|
|
4624
|
-
};
|
|
4625
|
-
};
|
|
4626
|
-
runWorkflowScheduleNow: {
|
|
4627
|
-
parameters: {
|
|
4628
|
-
query?: never;
|
|
4629
|
-
header?: never;
|
|
4630
|
-
path: {
|
|
4631
|
-
id: string;
|
|
4632
|
-
};
|
|
4633
|
-
cookie?: never;
|
|
4634
|
-
};
|
|
4635
|
-
requestBody?: never;
|
|
4636
|
-
responses: {
|
|
4637
|
-
/** @description Run started. */
|
|
4638
|
-
200: {
|
|
4639
|
-
headers: {
|
|
4640
|
-
[name: string]: unknown;
|
|
4641
|
-
};
|
|
4642
|
-
content: {
|
|
4643
|
-
"application/json": {
|
|
4644
|
-
run?: components["schemas"]["WorkflowRun"];
|
|
4645
|
-
summary?: {
|
|
4646
|
-
[key: string]: unknown;
|
|
4647
|
-
};
|
|
4648
|
-
};
|
|
4649
|
-
};
|
|
4650
|
-
};
|
|
4651
|
-
404: components["responses"]["NotFound"];
|
|
4652
|
-
429: components["responses"]["ConcurrencyLimitExceeded"];
|
|
4653
|
-
500: components["responses"]["ServerError"];
|
|
4654
|
-
};
|
|
4655
|
-
};
|
|
4656
4422
|
gmailSearchMessages: {
|
|
4657
4423
|
parameters: {
|
|
4658
4424
|
query?: never;
|
|
@@ -5546,22 +5312,6 @@ declare class WorkflowsNamespace {
|
|
|
5546
5312
|
run?: components["schemas"]["WorkflowRun"];
|
|
5547
5313
|
}>;
|
|
5548
5314
|
getRunArtifact(id: string, artifactId: string): Promise<ArrayBuffer>;
|
|
5549
|
-
createSchedule(params: RequestBodyOf<'createWorkflowSchedule'>): Promise<unknown>;
|
|
5550
|
-
listSchedules(): Promise<{
|
|
5551
|
-
schedules?: components["schemas"]["WorkflowSchedule"][];
|
|
5552
|
-
}>;
|
|
5553
|
-
patchSchedule(id: string, params: RequestBodyOf<'patchWorkflowSchedule'>): Promise<{
|
|
5554
|
-
schedule?: components["schemas"]["WorkflowSchedule"];
|
|
5555
|
-
}>;
|
|
5556
|
-
deleteSchedule(id: string): Promise<{
|
|
5557
|
-
ok?: boolean;
|
|
5558
|
-
}>;
|
|
5559
|
-
runScheduleNow(id: string): Promise<{
|
|
5560
|
-
run?: components["schemas"]["WorkflowRun"];
|
|
5561
|
-
summary?: {
|
|
5562
|
-
[key: string]: unknown;
|
|
5563
|
-
};
|
|
5564
|
-
}>;
|
|
5565
5315
|
}
|
|
5566
5316
|
declare class GmailNamespace {
|
|
5567
5317
|
private readonly r;
|
|
@@ -5637,7 +5387,7 @@ declare class MemoryTools {
|
|
|
5637
5387
|
readonly library: LibraryNamespace;
|
|
5638
5388
|
readonly memory: MemoryNamespace;
|
|
5639
5389
|
readonly recall: RecallNamespace;
|
|
5640
|
-
readonly
|
|
5390
|
+
readonly artifacts: ArtifactsNamespace;
|
|
5641
5391
|
readonly storage: StorageNamespace;
|
|
5642
5392
|
readonly tables: TablesNamespace;
|
|
5643
5393
|
readonly tags: TagsNamespace;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClientMetadataOptions, AccessNamespace, CaptureNamespace, ChannelsNamespace, FactsNamespace, FilesNamespace, GraphNamespace, LibraryNamespace, MemoryNamespace, RecallNamespace,
|
|
1
|
+
import { ClientMetadataOptions, AccessNamespace, CaptureNamespace, ChannelsNamespace, FactsNamespace, FilesNamespace, GraphNamespace, LibraryNamespace, MemoryNamespace, RecallNamespace, ArtifactsNamespace, StorageNamespace, TablesNamespace, TagsNamespace, VaultsNamespace, VideoNamespace as VideoNamespace$1, WebhooksNamespace, CallToolFn, McpToolsClient } from 'mcpscraper-memory-sdk';
|
|
2
2
|
export { ArtifactDelivery, ClientAttribution, ClientMetadataOptions, DeliveredNamespace, GeneratedMcpToolsClient, MCP_TOOL_BINDINGS, MCP_TOOL_COUNT, McpContentBlock, McpToolCallResult, McpToolDescriptor, McpToolError, McpToolErrorDetails, McpToolsClient, McpToolsClientOptions, ResponseMetadata } from 'mcpscraper-memory-sdk';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -929,59 +929,6 @@ interface paths {
|
|
|
929
929
|
patch?: never;
|
|
930
930
|
trace?: never;
|
|
931
931
|
};
|
|
932
|
-
"/workflows/schedules": {
|
|
933
|
-
parameters: {
|
|
934
|
-
query?: never;
|
|
935
|
-
header?: never;
|
|
936
|
-
path?: never;
|
|
937
|
-
cookie?: never;
|
|
938
|
-
};
|
|
939
|
-
/** List your workflow schedules */
|
|
940
|
-
get: operations["listWorkflowSchedules"];
|
|
941
|
-
put?: never;
|
|
942
|
-
/** Create a recurring schedule for a workflow */
|
|
943
|
-
post: operations["createWorkflowSchedule"];
|
|
944
|
-
delete?: never;
|
|
945
|
-
options?: never;
|
|
946
|
-
head?: never;
|
|
947
|
-
patch?: never;
|
|
948
|
-
trace?: never;
|
|
949
|
-
};
|
|
950
|
-
"/workflows/schedules/{id}": {
|
|
951
|
-
parameters: {
|
|
952
|
-
query?: never;
|
|
953
|
-
header?: never;
|
|
954
|
-
path?: never;
|
|
955
|
-
cookie?: never;
|
|
956
|
-
};
|
|
957
|
-
get?: never;
|
|
958
|
-
put?: never;
|
|
959
|
-
post?: never;
|
|
960
|
-
/** Delete a workflow schedule */
|
|
961
|
-
delete: operations["deleteWorkflowSchedule"];
|
|
962
|
-
options?: never;
|
|
963
|
-
head?: never;
|
|
964
|
-
/** Update a workflow schedule */
|
|
965
|
-
patch: operations["patchWorkflowSchedule"];
|
|
966
|
-
trace?: never;
|
|
967
|
-
};
|
|
968
|
-
"/workflows/schedules/{id}/run": {
|
|
969
|
-
parameters: {
|
|
970
|
-
query?: never;
|
|
971
|
-
header?: never;
|
|
972
|
-
path?: never;
|
|
973
|
-
cookie?: never;
|
|
974
|
-
};
|
|
975
|
-
get?: never;
|
|
976
|
-
put?: never;
|
|
977
|
-
/** Trigger a workflow schedule immediately, out of cadence */
|
|
978
|
-
post: operations["runWorkflowScheduleNow"];
|
|
979
|
-
delete?: never;
|
|
980
|
-
options?: never;
|
|
981
|
-
head?: never;
|
|
982
|
-
patch?: never;
|
|
983
|
-
trace?: never;
|
|
984
|
-
};
|
|
985
932
|
"/api/gmail/messages/search": {
|
|
986
933
|
parameters: {
|
|
987
934
|
query?: never;
|
|
@@ -2312,21 +2259,6 @@ interface components {
|
|
|
2312
2259
|
} | null;
|
|
2313
2260
|
done?: boolean;
|
|
2314
2261
|
};
|
|
2315
|
-
WorkflowSchedule: {
|
|
2316
|
-
id?: string;
|
|
2317
|
-
workflow_id?: string;
|
|
2318
|
-
name?: string;
|
|
2319
|
-
/** @enum {string} */
|
|
2320
|
-
status?: "active" | "paused";
|
|
2321
|
-
input?: {
|
|
2322
|
-
[key: string]: unknown;
|
|
2323
|
-
};
|
|
2324
|
-
/** @enum {string} */
|
|
2325
|
-
cadence?: "daily" | "weekly" | "monthly";
|
|
2326
|
-
timezone?: string;
|
|
2327
|
-
webhook_url?: string | null;
|
|
2328
|
-
next_run_at?: string | null;
|
|
2329
|
-
};
|
|
2330
2262
|
CallMemoryToolRequest: {
|
|
2331
2263
|
/** @description A tool name from contracts/memory.tools.json, e.g. "memory-search". */
|
|
2332
2264
|
toolName: string;
|
|
@@ -4487,172 +4419,6 @@ interface operations {
|
|
|
4487
4419
|
};
|
|
4488
4420
|
};
|
|
4489
4421
|
};
|
|
4490
|
-
listWorkflowSchedules: {
|
|
4491
|
-
parameters: {
|
|
4492
|
-
query?: never;
|
|
4493
|
-
header?: never;
|
|
4494
|
-
path?: never;
|
|
4495
|
-
cookie?: never;
|
|
4496
|
-
};
|
|
4497
|
-
requestBody?: never;
|
|
4498
|
-
responses: {
|
|
4499
|
-
/** @description Schedule list. */
|
|
4500
|
-
200: {
|
|
4501
|
-
headers: {
|
|
4502
|
-
[name: string]: unknown;
|
|
4503
|
-
};
|
|
4504
|
-
content: {
|
|
4505
|
-
"application/json": {
|
|
4506
|
-
schedules?: components["schemas"]["WorkflowSchedule"][];
|
|
4507
|
-
};
|
|
4508
|
-
};
|
|
4509
|
-
};
|
|
4510
|
-
401: components["responses"]["Unauthorized"];
|
|
4511
|
-
};
|
|
4512
|
-
};
|
|
4513
|
-
createWorkflowSchedule: {
|
|
4514
|
-
parameters: {
|
|
4515
|
-
query?: never;
|
|
4516
|
-
header?: never;
|
|
4517
|
-
path?: never;
|
|
4518
|
-
cookie?: never;
|
|
4519
|
-
};
|
|
4520
|
-
requestBody: {
|
|
4521
|
-
content: {
|
|
4522
|
-
"application/json": {
|
|
4523
|
-
workflowId: string;
|
|
4524
|
-
name?: string;
|
|
4525
|
-
input?: {
|
|
4526
|
-
[key: string]: unknown;
|
|
4527
|
-
};
|
|
4528
|
-
/**
|
|
4529
|
-
* @default weekly
|
|
4530
|
-
* @enum {string}
|
|
4531
|
-
*/
|
|
4532
|
-
cadence?: "daily" | "weekly" | "monthly";
|
|
4533
|
-
/** @default UTC */
|
|
4534
|
-
timezone?: string;
|
|
4535
|
-
/** Format: uri */
|
|
4536
|
-
webhookUrl?: string;
|
|
4537
|
-
/** Format: date-time */
|
|
4538
|
-
nextRunAt?: string;
|
|
4539
|
-
};
|
|
4540
|
-
};
|
|
4541
|
-
};
|
|
4542
|
-
responses: {
|
|
4543
|
-
/** @description Schedule created. */
|
|
4544
|
-
201: {
|
|
4545
|
-
headers: {
|
|
4546
|
-
[name: string]: unknown;
|
|
4547
|
-
};
|
|
4548
|
-
content: {
|
|
4549
|
-
"application/json": {
|
|
4550
|
-
schedule?: components["schemas"]["WorkflowSchedule"];
|
|
4551
|
-
};
|
|
4552
|
-
};
|
|
4553
|
-
};
|
|
4554
|
-
400: components["responses"]["BadRequest"];
|
|
4555
|
-
};
|
|
4556
|
-
};
|
|
4557
|
-
deleteWorkflowSchedule: {
|
|
4558
|
-
parameters: {
|
|
4559
|
-
query?: never;
|
|
4560
|
-
header?: never;
|
|
4561
|
-
path: {
|
|
4562
|
-
id: string;
|
|
4563
|
-
};
|
|
4564
|
-
cookie?: never;
|
|
4565
|
-
};
|
|
4566
|
-
requestBody?: never;
|
|
4567
|
-
responses: {
|
|
4568
|
-
/** @description Deleted. */
|
|
4569
|
-
200: {
|
|
4570
|
-
headers: {
|
|
4571
|
-
[name: string]: unknown;
|
|
4572
|
-
};
|
|
4573
|
-
content: {
|
|
4574
|
-
"application/json": {
|
|
4575
|
-
ok?: boolean;
|
|
4576
|
-
};
|
|
4577
|
-
};
|
|
4578
|
-
};
|
|
4579
|
-
404: components["responses"]["NotFound"];
|
|
4580
|
-
};
|
|
4581
|
-
};
|
|
4582
|
-
patchWorkflowSchedule: {
|
|
4583
|
-
parameters: {
|
|
4584
|
-
query?: never;
|
|
4585
|
-
header?: never;
|
|
4586
|
-
path: {
|
|
4587
|
-
id: string;
|
|
4588
|
-
};
|
|
4589
|
-
cookie?: never;
|
|
4590
|
-
};
|
|
4591
|
-
requestBody?: {
|
|
4592
|
-
content: {
|
|
4593
|
-
"application/json": {
|
|
4594
|
-
name?: string;
|
|
4595
|
-
/** @enum {string} */
|
|
4596
|
-
status?: "active" | "paused";
|
|
4597
|
-
input?: {
|
|
4598
|
-
[key: string]: unknown;
|
|
4599
|
-
};
|
|
4600
|
-
/** @enum {string} */
|
|
4601
|
-
cadence?: "daily" | "weekly" | "monthly";
|
|
4602
|
-
timezone?: string;
|
|
4603
|
-
/** Format: uri */
|
|
4604
|
-
webhookUrl?: string | null;
|
|
4605
|
-
/** Format: date-time */
|
|
4606
|
-
nextRunAt?: string | null;
|
|
4607
|
-
};
|
|
4608
|
-
};
|
|
4609
|
-
};
|
|
4610
|
-
responses: {
|
|
4611
|
-
/** @description Updated schedule. */
|
|
4612
|
-
200: {
|
|
4613
|
-
headers: {
|
|
4614
|
-
[name: string]: unknown;
|
|
4615
|
-
};
|
|
4616
|
-
content: {
|
|
4617
|
-
"application/json": {
|
|
4618
|
-
schedule?: components["schemas"]["WorkflowSchedule"];
|
|
4619
|
-
};
|
|
4620
|
-
};
|
|
4621
|
-
};
|
|
4622
|
-
400: components["responses"]["BadRequest"];
|
|
4623
|
-
404: components["responses"]["NotFound"];
|
|
4624
|
-
};
|
|
4625
|
-
};
|
|
4626
|
-
runWorkflowScheduleNow: {
|
|
4627
|
-
parameters: {
|
|
4628
|
-
query?: never;
|
|
4629
|
-
header?: never;
|
|
4630
|
-
path: {
|
|
4631
|
-
id: string;
|
|
4632
|
-
};
|
|
4633
|
-
cookie?: never;
|
|
4634
|
-
};
|
|
4635
|
-
requestBody?: never;
|
|
4636
|
-
responses: {
|
|
4637
|
-
/** @description Run started. */
|
|
4638
|
-
200: {
|
|
4639
|
-
headers: {
|
|
4640
|
-
[name: string]: unknown;
|
|
4641
|
-
};
|
|
4642
|
-
content: {
|
|
4643
|
-
"application/json": {
|
|
4644
|
-
run?: components["schemas"]["WorkflowRun"];
|
|
4645
|
-
summary?: {
|
|
4646
|
-
[key: string]: unknown;
|
|
4647
|
-
};
|
|
4648
|
-
};
|
|
4649
|
-
};
|
|
4650
|
-
};
|
|
4651
|
-
404: components["responses"]["NotFound"];
|
|
4652
|
-
429: components["responses"]["ConcurrencyLimitExceeded"];
|
|
4653
|
-
500: components["responses"]["ServerError"];
|
|
4654
|
-
};
|
|
4655
|
-
};
|
|
4656
4422
|
gmailSearchMessages: {
|
|
4657
4423
|
parameters: {
|
|
4658
4424
|
query?: never;
|
|
@@ -5546,22 +5312,6 @@ declare class WorkflowsNamespace {
|
|
|
5546
5312
|
run?: components["schemas"]["WorkflowRun"];
|
|
5547
5313
|
}>;
|
|
5548
5314
|
getRunArtifact(id: string, artifactId: string): Promise<ArrayBuffer>;
|
|
5549
|
-
createSchedule(params: RequestBodyOf<'createWorkflowSchedule'>): Promise<unknown>;
|
|
5550
|
-
listSchedules(): Promise<{
|
|
5551
|
-
schedules?: components["schemas"]["WorkflowSchedule"][];
|
|
5552
|
-
}>;
|
|
5553
|
-
patchSchedule(id: string, params: RequestBodyOf<'patchWorkflowSchedule'>): Promise<{
|
|
5554
|
-
schedule?: components["schemas"]["WorkflowSchedule"];
|
|
5555
|
-
}>;
|
|
5556
|
-
deleteSchedule(id: string): Promise<{
|
|
5557
|
-
ok?: boolean;
|
|
5558
|
-
}>;
|
|
5559
|
-
runScheduleNow(id: string): Promise<{
|
|
5560
|
-
run?: components["schemas"]["WorkflowRun"];
|
|
5561
|
-
summary?: {
|
|
5562
|
-
[key: string]: unknown;
|
|
5563
|
-
};
|
|
5564
|
-
}>;
|
|
5565
5315
|
}
|
|
5566
5316
|
declare class GmailNamespace {
|
|
5567
5317
|
private readonly r;
|
|
@@ -5637,7 +5387,7 @@ declare class MemoryTools {
|
|
|
5637
5387
|
readonly library: LibraryNamespace;
|
|
5638
5388
|
readonly memory: MemoryNamespace;
|
|
5639
5389
|
readonly recall: RecallNamespace;
|
|
5640
|
-
readonly
|
|
5390
|
+
readonly artifacts: ArtifactsNamespace;
|
|
5641
5391
|
readonly storage: StorageNamespace;
|
|
5642
5392
|
readonly tables: TablesNamespace;
|
|
5643
5393
|
readonly tags: TagsNamespace;
|
package/dist/index.js
CHANGED
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
LibraryNamespace,
|
|
213
213
|
MemoryNamespace as MemoryToolNamespace,
|
|
214
214
|
RecallNamespace,
|
|
215
|
-
|
|
215
|
+
ArtifactsNamespace,
|
|
216
216
|
StorageNamespace,
|
|
217
217
|
TablesNamespace,
|
|
218
218
|
TagsNamespace,
|
|
@@ -527,21 +527,6 @@ var WorkflowsNamespace = class {
|
|
|
527
527
|
`/workflows/runs/${encodeURIComponent(id)}/artifacts/${encodeURIComponent(artifactId)}`
|
|
528
528
|
);
|
|
529
529
|
}
|
|
530
|
-
createSchedule(params) {
|
|
531
|
-
return this.r.call("POST", "/workflows/schedules", params);
|
|
532
|
-
}
|
|
533
|
-
listSchedules() {
|
|
534
|
-
return this.r.call("GET", "/workflows/schedules");
|
|
535
|
-
}
|
|
536
|
-
patchSchedule(id, params) {
|
|
537
|
-
return this.r.call("PATCH", `/workflows/schedules/${encodeURIComponent(id)}`, params);
|
|
538
|
-
}
|
|
539
|
-
deleteSchedule(id) {
|
|
540
|
-
return this.r.call("DELETE", `/workflows/schedules/${encodeURIComponent(id)}`);
|
|
541
|
-
}
|
|
542
|
-
runScheduleNow(id) {
|
|
543
|
-
return this.r.call("POST", `/workflows/schedules/${encodeURIComponent(id)}/run`);
|
|
544
|
-
}
|
|
545
530
|
};
|
|
546
531
|
var GmailNamespace = class {
|
|
547
532
|
constructor(r) {
|
|
@@ -589,7 +574,7 @@ var MemoryTools = class {
|
|
|
589
574
|
library;
|
|
590
575
|
memory;
|
|
591
576
|
recall;
|
|
592
|
-
|
|
577
|
+
artifacts;
|
|
593
578
|
storage;
|
|
594
579
|
tables;
|
|
595
580
|
tags;
|
|
@@ -606,7 +591,7 @@ var MemoryTools = class {
|
|
|
606
591
|
this.library = new LibraryNamespace(callTool);
|
|
607
592
|
this.memory = new MemoryToolNamespace(callTool);
|
|
608
593
|
this.recall = new RecallNamespace(callTool);
|
|
609
|
-
this.
|
|
594
|
+
this.artifacts = new ArtifactsNamespace(callTool);
|
|
610
595
|
this.storage = new StorageNamespace(callTool);
|
|
611
596
|
this.tables = new TablesNamespace(callTool);
|
|
612
597
|
this.tags = new TagsNamespace(callTool);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcpscraper-sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Official Node.js client for all
|
|
3
|
+
"version": "0.54.0",
|
|
4
|
+
"description": "Official Node.js client for all 347 mcpscraper.dev MCP tools and the REST API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.cjs",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"seo-api"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"mcpscraper-memory-sdk": "^0.
|
|
35
|
+
"mcpscraper-memory-sdk": "^0.53.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"openapi-typescript": "^7.13.0"
|