mcpscraper-sdk 0.18.0 → 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/dist/index.d.cts +0 -36
- package/dist/index.d.ts +0 -36
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -820,9 +820,6 @@ interface components {
|
|
|
820
820
|
error_type: string;
|
|
821
821
|
message: string;
|
|
822
822
|
retryable: boolean;
|
|
823
|
-
attempts?: {
|
|
824
|
-
[key: string]: unknown;
|
|
825
|
-
}[];
|
|
826
823
|
};
|
|
827
824
|
InsufficientBalanceError: {
|
|
828
825
|
/** @enum {string} */
|
|
@@ -909,9 +906,6 @@ interface components {
|
|
|
909
906
|
result?: {
|
|
910
907
|
[key: string]: unknown;
|
|
911
908
|
};
|
|
912
|
-
attempts?: {
|
|
913
|
-
[key: string]: unknown;
|
|
914
|
-
}[];
|
|
915
909
|
error?: string;
|
|
916
910
|
};
|
|
917
911
|
JobRecord: {
|
|
@@ -921,9 +915,6 @@ interface components {
|
|
|
921
915
|
result?: {
|
|
922
916
|
[key: string]: unknown;
|
|
923
917
|
} | null;
|
|
924
|
-
attempts?: {
|
|
925
|
-
[key: string]: unknown;
|
|
926
|
-
}[];
|
|
927
918
|
created_at?: string;
|
|
928
919
|
};
|
|
929
920
|
ExtractUrlRequest: {
|
|
@@ -1397,20 +1388,8 @@ interface components {
|
|
|
1397
1388
|
message?: string;
|
|
1398
1389
|
} | null;
|
|
1399
1390
|
};
|
|
1400
|
-
SerpIntelligenceCaptureAttempt: {
|
|
1401
|
-
attemptNumber?: number;
|
|
1402
|
-
outcome?: string;
|
|
1403
|
-
startedAt?: string;
|
|
1404
|
-
completedAt?: string;
|
|
1405
|
-
durationMs?: number;
|
|
1406
|
-
problemCode?: string;
|
|
1407
|
-
message?: string;
|
|
1408
|
-
browserSessionId?: string | null;
|
|
1409
|
-
cleanupSucceeded?: boolean | null;
|
|
1410
|
-
};
|
|
1411
1391
|
SerpIntelligenceCaptureResponse: {
|
|
1412
1392
|
harvestResult?: components["schemas"]["SerpIntelligenceHarvestResult"];
|
|
1413
|
-
attempts?: components["schemas"]["SerpIntelligenceCaptureAttempt"][];
|
|
1414
1393
|
locationEvidence?: {
|
|
1415
1394
|
[key: string]: unknown;
|
|
1416
1395
|
} | null;
|
|
@@ -1421,7 +1400,6 @@ interface components {
|
|
|
1421
1400
|
};
|
|
1422
1401
|
SerpIntelligencePageSnapshotsResponse: {
|
|
1423
1402
|
pageSnapshotArtifacts?: components["schemas"]["SerpPageSnapshotCapture"][];
|
|
1424
|
-
attempts?: components["schemas"]["SerpIntelligenceCaptureAttempt"][];
|
|
1425
1403
|
};
|
|
1426
1404
|
WorkflowRun: {
|
|
1427
1405
|
id?: string;
|
|
@@ -3380,7 +3358,6 @@ declare class SerpIntelligenceNamespace {
|
|
|
3380
3358
|
constructor(r: Requester);
|
|
3381
3359
|
capture(params: SerpIntelligenceCaptureParams, options?: SerpIntelligenceCaptureOptions): Promise<{
|
|
3382
3360
|
harvestResult?: components["schemas"]["SerpIntelligenceHarvestResult"];
|
|
3383
|
-
attempts?: components["schemas"]["SerpIntelligenceCaptureAttempt"][];
|
|
3384
3361
|
locationEvidence?: {
|
|
3385
3362
|
[key: string]: unknown;
|
|
3386
3363
|
} | null;
|
|
@@ -3392,7 +3369,6 @@ declare class SerpIntelligenceNamespace {
|
|
|
3392
3369
|
captureWithReceipt(params: SerpIntelligenceCaptureParams, options?: SerpIntelligenceCaptureOptions): Promise<SerpIntelligenceCaptureReceipt>;
|
|
3393
3370
|
pageSnapshots(params: RequestBodyOf<'serpIntelligencePageSnapshots'>): Promise<{
|
|
3394
3371
|
pageSnapshotArtifacts?: components["schemas"]["SerpPageSnapshotCapture"][];
|
|
3395
|
-
attempts?: components["schemas"]["SerpIntelligenceCaptureAttempt"][];
|
|
3396
3372
|
}>;
|
|
3397
3373
|
}
|
|
3398
3374
|
declare class WorkflowsNamespace {
|
|
@@ -3512,9 +3488,6 @@ declare class ScraperClient {
|
|
|
3512
3488
|
result?: {
|
|
3513
3489
|
[key: string]: unknown;
|
|
3514
3490
|
};
|
|
3515
|
-
attempts?: {
|
|
3516
|
-
[key: string]: unknown;
|
|
3517
|
-
}[];
|
|
3518
3491
|
error?: string;
|
|
3519
3492
|
}>;
|
|
3520
3493
|
harvestPaa(params: RequestBodyOf<'harvestSync'>): Promise<{
|
|
@@ -3523,9 +3496,6 @@ declare class ScraperClient {
|
|
|
3523
3496
|
result?: {
|
|
3524
3497
|
[key: string]: unknown;
|
|
3525
3498
|
};
|
|
3526
|
-
attempts?: {
|
|
3527
|
-
[key: string]: unknown;
|
|
3528
|
-
}[];
|
|
3529
3499
|
error?: string;
|
|
3530
3500
|
}>;
|
|
3531
3501
|
extractUrl(params: RequestBodyOf<'extractUrl'>): Promise<{
|
|
@@ -3752,9 +3722,6 @@ declare class ScraperClient {
|
|
|
3752
3722
|
result?: {
|
|
3753
3723
|
[key: string]: unknown;
|
|
3754
3724
|
} | null;
|
|
3755
|
-
attempts?: {
|
|
3756
|
-
[key: string]: unknown;
|
|
3757
|
-
}[];
|
|
3758
3725
|
created_at?: string;
|
|
3759
3726
|
}[]>;
|
|
3760
3727
|
getJob(id: string): Promise<{
|
|
@@ -3764,9 +3731,6 @@ declare class ScraperClient {
|
|
|
3764
3731
|
result?: {
|
|
3765
3732
|
[key: string]: unknown;
|
|
3766
3733
|
} | null;
|
|
3767
|
-
attempts?: {
|
|
3768
|
-
[key: string]: unknown;
|
|
3769
|
-
}[];
|
|
3770
3734
|
created_at?: string;
|
|
3771
3735
|
}>;
|
|
3772
3736
|
getHistory(): Promise<{
|
package/dist/index.d.ts
CHANGED
|
@@ -820,9 +820,6 @@ interface components {
|
|
|
820
820
|
error_type: string;
|
|
821
821
|
message: string;
|
|
822
822
|
retryable: boolean;
|
|
823
|
-
attempts?: {
|
|
824
|
-
[key: string]: unknown;
|
|
825
|
-
}[];
|
|
826
823
|
};
|
|
827
824
|
InsufficientBalanceError: {
|
|
828
825
|
/** @enum {string} */
|
|
@@ -909,9 +906,6 @@ interface components {
|
|
|
909
906
|
result?: {
|
|
910
907
|
[key: string]: unknown;
|
|
911
908
|
};
|
|
912
|
-
attempts?: {
|
|
913
|
-
[key: string]: unknown;
|
|
914
|
-
}[];
|
|
915
909
|
error?: string;
|
|
916
910
|
};
|
|
917
911
|
JobRecord: {
|
|
@@ -921,9 +915,6 @@ interface components {
|
|
|
921
915
|
result?: {
|
|
922
916
|
[key: string]: unknown;
|
|
923
917
|
} | null;
|
|
924
|
-
attempts?: {
|
|
925
|
-
[key: string]: unknown;
|
|
926
|
-
}[];
|
|
927
918
|
created_at?: string;
|
|
928
919
|
};
|
|
929
920
|
ExtractUrlRequest: {
|
|
@@ -1397,20 +1388,8 @@ interface components {
|
|
|
1397
1388
|
message?: string;
|
|
1398
1389
|
} | null;
|
|
1399
1390
|
};
|
|
1400
|
-
SerpIntelligenceCaptureAttempt: {
|
|
1401
|
-
attemptNumber?: number;
|
|
1402
|
-
outcome?: string;
|
|
1403
|
-
startedAt?: string;
|
|
1404
|
-
completedAt?: string;
|
|
1405
|
-
durationMs?: number;
|
|
1406
|
-
problemCode?: string;
|
|
1407
|
-
message?: string;
|
|
1408
|
-
browserSessionId?: string | null;
|
|
1409
|
-
cleanupSucceeded?: boolean | null;
|
|
1410
|
-
};
|
|
1411
1391
|
SerpIntelligenceCaptureResponse: {
|
|
1412
1392
|
harvestResult?: components["schemas"]["SerpIntelligenceHarvestResult"];
|
|
1413
|
-
attempts?: components["schemas"]["SerpIntelligenceCaptureAttempt"][];
|
|
1414
1393
|
locationEvidence?: {
|
|
1415
1394
|
[key: string]: unknown;
|
|
1416
1395
|
} | null;
|
|
@@ -1421,7 +1400,6 @@ interface components {
|
|
|
1421
1400
|
};
|
|
1422
1401
|
SerpIntelligencePageSnapshotsResponse: {
|
|
1423
1402
|
pageSnapshotArtifacts?: components["schemas"]["SerpPageSnapshotCapture"][];
|
|
1424
|
-
attempts?: components["schemas"]["SerpIntelligenceCaptureAttempt"][];
|
|
1425
1403
|
};
|
|
1426
1404
|
WorkflowRun: {
|
|
1427
1405
|
id?: string;
|
|
@@ -3380,7 +3358,6 @@ declare class SerpIntelligenceNamespace {
|
|
|
3380
3358
|
constructor(r: Requester);
|
|
3381
3359
|
capture(params: SerpIntelligenceCaptureParams, options?: SerpIntelligenceCaptureOptions): Promise<{
|
|
3382
3360
|
harvestResult?: components["schemas"]["SerpIntelligenceHarvestResult"];
|
|
3383
|
-
attempts?: components["schemas"]["SerpIntelligenceCaptureAttempt"][];
|
|
3384
3361
|
locationEvidence?: {
|
|
3385
3362
|
[key: string]: unknown;
|
|
3386
3363
|
} | null;
|
|
@@ -3392,7 +3369,6 @@ declare class SerpIntelligenceNamespace {
|
|
|
3392
3369
|
captureWithReceipt(params: SerpIntelligenceCaptureParams, options?: SerpIntelligenceCaptureOptions): Promise<SerpIntelligenceCaptureReceipt>;
|
|
3393
3370
|
pageSnapshots(params: RequestBodyOf<'serpIntelligencePageSnapshots'>): Promise<{
|
|
3394
3371
|
pageSnapshotArtifacts?: components["schemas"]["SerpPageSnapshotCapture"][];
|
|
3395
|
-
attempts?: components["schemas"]["SerpIntelligenceCaptureAttempt"][];
|
|
3396
3372
|
}>;
|
|
3397
3373
|
}
|
|
3398
3374
|
declare class WorkflowsNamespace {
|
|
@@ -3512,9 +3488,6 @@ declare class ScraperClient {
|
|
|
3512
3488
|
result?: {
|
|
3513
3489
|
[key: string]: unknown;
|
|
3514
3490
|
};
|
|
3515
|
-
attempts?: {
|
|
3516
|
-
[key: string]: unknown;
|
|
3517
|
-
}[];
|
|
3518
3491
|
error?: string;
|
|
3519
3492
|
}>;
|
|
3520
3493
|
harvestPaa(params: RequestBodyOf<'harvestSync'>): Promise<{
|
|
@@ -3523,9 +3496,6 @@ declare class ScraperClient {
|
|
|
3523
3496
|
result?: {
|
|
3524
3497
|
[key: string]: unknown;
|
|
3525
3498
|
};
|
|
3526
|
-
attempts?: {
|
|
3527
|
-
[key: string]: unknown;
|
|
3528
|
-
}[];
|
|
3529
3499
|
error?: string;
|
|
3530
3500
|
}>;
|
|
3531
3501
|
extractUrl(params: RequestBodyOf<'extractUrl'>): Promise<{
|
|
@@ -3752,9 +3722,6 @@ declare class ScraperClient {
|
|
|
3752
3722
|
result?: {
|
|
3753
3723
|
[key: string]: unknown;
|
|
3754
3724
|
} | null;
|
|
3755
|
-
attempts?: {
|
|
3756
|
-
[key: string]: unknown;
|
|
3757
|
-
}[];
|
|
3758
3725
|
created_at?: string;
|
|
3759
3726
|
}[]>;
|
|
3760
3727
|
getJob(id: string): Promise<{
|
|
@@ -3764,9 +3731,6 @@ declare class ScraperClient {
|
|
|
3764
3731
|
result?: {
|
|
3765
3732
|
[key: string]: unknown;
|
|
3766
3733
|
} | null;
|
|
3767
|
-
attempts?: {
|
|
3768
|
-
[key: string]: unknown;
|
|
3769
|
-
}[];
|
|
3770
3734
|
created_at?: string;
|
|
3771
3735
|
}>;
|
|
3772
3736
|
getHistory(): Promise<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcpscraper-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Official Node.js client for all 165 mcpscraper.dev MCP tools and the REST API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"seo-api"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"mcpscraper-memory-sdk": "^0.
|
|
35
|
+
"mcpscraper-memory-sdk": "^0.19.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"openapi-typescript": "^7.13.0"
|