newscatcher-catchall-sdk 1.0.0 → 1.1.2
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 +284 -289
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/jobs/client/Client.d.ts +13 -17
- package/dist/cjs/api/resources/jobs/client/Client.js +12 -19
- package/dist/cjs/api/resources/jobs/client/requests/ContinueRequestDto.d.ts +3 -3
- package/dist/cjs/api/resources/jobs/client/requests/GetJobResultsRequest.d.ts +2 -2
- package/dist/cjs/api/resources/jobs/client/requests/GetJobStatusRequest.d.ts +2 -2
- package/dist/cjs/api/resources/jobs/client/requests/InitializeRequestDto.d.ts +2 -1
- package/dist/cjs/api/resources/jobs/client/requests/SubmitRequestDto.d.ts +5 -6
- package/dist/cjs/api/resources/jobs/exports.d.ts +2 -0
- package/dist/cjs/api/resources/jobs/exports.js +21 -0
- package/dist/cjs/api/resources/meta/exports.d.ts +2 -0
- package/dist/cjs/api/resources/meta/exports.js +21 -0
- package/dist/cjs/api/resources/meta/types/GetVersionResponse.d.ts +1 -1
- package/dist/cjs/api/resources/meta/types/HealthCheckResponse.d.ts +1 -1
- package/dist/cjs/api/resources/monitors/client/Client.d.ts +23 -37
- package/dist/cjs/api/resources/monitors/client/Client.js +35 -41
- package/dist/cjs/api/resources/monitors/client/requests/CreateMonitorRequestDto.d.ts +23 -6
- package/dist/cjs/api/resources/monitors/client/requests/EnableMonitorRequestDto.d.ts +17 -0
- package/dist/cjs/api/resources/monitors/client/requests/ListMonitorsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/monitors/client/requests/UpdateMonitorRequestDto.d.ts +2 -0
- package/dist/cjs/api/resources/monitors/client/requests/index.d.ts +2 -1
- package/dist/cjs/api/resources/monitors/exports.d.ts +2 -0
- package/dist/cjs/api/resources/monitors/exports.js +21 -0
- package/dist/cjs/api/types/BaseRecord.d.ts +38 -0
- package/dist/cjs/api/types/BaseRecord.js +16 -0
- package/dist/cjs/api/types/Citation.d.ts +3 -3
- package/dist/cjs/api/types/CompanyEnrichmentOutput.d.ts +29 -0
- package/dist/cjs/api/types/CompanyEnrichmentOutput.js +16 -0
- package/dist/cjs/api/types/ContinueResponseDto.d.ts +2 -2
- package/dist/cjs/api/types/CreateMonitorResponseDto.d.ts +1 -1
- package/dist/cjs/api/types/EndDate.d.ts +4 -2
- package/dist/cjs/api/types/EnrichmentType.d.ts +1 -3
- package/dist/cjs/api/types/EnrichmentType.js +1 -3
- package/dist/cjs/api/types/Error_.d.ts +1 -1
- package/dist/cjs/api/types/InitializeResponseDto.d.ts +8 -9
- package/dist/cjs/api/types/JobStep.d.ts +2 -2
- package/dist/cjs/api/types/Limit.d.ts +1 -1
- package/dist/cjs/api/types/ListMonitorsResponseDto.d.ts +7 -1
- package/dist/cjs/api/types/MonitorCitation.d.ts +3 -8
- package/dist/cjs/api/types/MonitorListItemDto.d.ts +7 -7
- package/dist/cjs/api/types/MonitorRecord.d.ts +4 -14
- package/dist/{esm/api/types/JobStatus.d.mts → cjs/api/types/PublicJobStatus.d.ts} +4 -4
- package/dist/cjs/api/types/{JobStatus.js → PublicJobStatus.js} +4 -4
- package/dist/cjs/api/types/PullJobResponseDto.d.ts +27 -22
- package/dist/cjs/api/types/PullMonitorResponseDto.d.ts +12 -12
- package/dist/cjs/api/types/Query.d.ts +1 -1
- package/dist/cjs/api/types/Record_.d.ts +2 -12
- package/dist/cjs/api/types/ReferenceJob.d.ts +3 -3
- package/dist/cjs/api/types/StartDate.d.ts +4 -2
- package/dist/cjs/api/types/StatusResponseDto.d.ts +2 -2
- package/dist/cjs/api/types/{SubmitResponseBody.d.ts → SubmitResponseDto.d.ts} +1 -1
- package/dist/cjs/api/types/UserJob.d.ts +1 -1
- package/dist/cjs/api/types/ValidationErrorDetail.d.ts +3 -3
- package/dist/cjs/api/types/ValidationErrorResponse.d.ts +1 -1
- package/dist/cjs/api/types/ValidatorSchema.d.ts +3 -3
- package/dist/cjs/api/types/WebhookDto.d.ts +4 -4
- package/dist/cjs/api/types/WebhookPayload.d.ts +9 -9
- package/dist/cjs/api/types/index.d.ts +4 -3
- package/dist/cjs/api/types/index.js +4 -3
- package/dist/cjs/core/fetcher/Fetcher.js +8 -2
- package/dist/cjs/core/fetcher/makeRequest.d.ts +6 -1
- package/dist/cjs/core/fetcher/makeRequest.js +30 -9
- package/dist/cjs/core/runtime/runtime.js +8 -7
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/jobs/client/Client.d.mts +13 -17
- package/dist/esm/api/resources/jobs/client/Client.mjs +12 -19
- package/dist/esm/api/resources/jobs/client/requests/ContinueRequestDto.d.mts +3 -3
- package/dist/esm/api/resources/jobs/client/requests/GetJobResultsRequest.d.mts +2 -2
- package/dist/esm/api/resources/jobs/client/requests/GetJobStatusRequest.d.mts +2 -2
- package/dist/esm/api/resources/jobs/client/requests/InitializeRequestDto.d.mts +2 -1
- package/dist/esm/api/resources/jobs/client/requests/SubmitRequestDto.d.mts +5 -6
- package/dist/esm/api/resources/jobs/exports.d.mts +2 -0
- package/dist/esm/api/resources/jobs/exports.mjs +3 -0
- package/dist/esm/api/resources/meta/exports.d.mts +2 -0
- package/dist/esm/api/resources/meta/exports.mjs +3 -0
- package/dist/esm/api/resources/meta/types/GetVersionResponse.d.mts +1 -1
- package/dist/esm/api/resources/meta/types/HealthCheckResponse.d.mts +1 -1
- package/dist/esm/api/resources/monitors/client/Client.d.mts +23 -37
- package/dist/esm/api/resources/monitors/client/Client.mjs +35 -41
- package/dist/esm/api/resources/monitors/client/requests/CreateMonitorRequestDto.d.mts +23 -6
- package/dist/esm/api/resources/monitors/client/requests/EnableMonitorRequestDto.d.mts +17 -0
- package/dist/esm/api/resources/monitors/client/requests/ListMonitorsRequest.d.mts +10 -0
- package/dist/esm/api/resources/monitors/client/requests/UpdateMonitorRequestDto.d.mts +2 -0
- package/dist/esm/api/resources/monitors/client/requests/index.d.mts +2 -1
- package/dist/esm/api/resources/monitors/exports.d.mts +2 -0
- package/dist/esm/api/resources/monitors/exports.mjs +3 -0
- package/dist/esm/api/types/BaseRecord.d.mts +38 -0
- package/dist/esm/api/types/BaseRecord.mjs +13 -0
- package/dist/esm/api/types/Citation.d.mts +3 -3
- package/dist/esm/api/types/CompanyEnrichmentOutput.d.mts +29 -0
- package/dist/esm/api/types/CompanyEnrichmentOutput.mjs +13 -0
- package/dist/esm/api/types/ContinueResponseDto.d.mts +2 -2
- package/dist/esm/api/types/CreateMonitorResponseDto.d.mts +1 -1
- package/dist/esm/api/types/EndDate.d.mts +4 -2
- package/dist/esm/api/types/EnrichmentType.d.mts +1 -3
- package/dist/esm/api/types/EnrichmentType.mjs +1 -3
- package/dist/esm/api/types/Error_.d.mts +1 -1
- package/dist/esm/api/types/InitializeResponseDto.d.mts +8 -9
- package/dist/esm/api/types/JobStep.d.mts +2 -2
- package/dist/esm/api/types/Limit.d.mts +1 -1
- package/dist/esm/api/types/ListMonitorsResponseDto.d.mts +7 -1
- package/dist/esm/api/types/MonitorCitation.d.mts +3 -8
- package/dist/esm/api/types/MonitorListItemDto.d.mts +7 -7
- package/dist/esm/api/types/MonitorRecord.d.mts +4 -14
- package/dist/{cjs/api/types/JobStatus.d.ts → esm/api/types/PublicJobStatus.d.mts} +4 -4
- package/dist/esm/api/types/{JobStatus.mjs → PublicJobStatus.mjs} +3 -3
- package/dist/esm/api/types/PullJobResponseDto.d.mts +27 -22
- package/dist/esm/api/types/PullMonitorResponseDto.d.mts +12 -12
- package/dist/esm/api/types/Query.d.mts +1 -1
- package/dist/esm/api/types/Record_.d.mts +2 -12
- package/dist/esm/api/types/ReferenceJob.d.mts +3 -3
- package/dist/esm/api/types/StartDate.d.mts +4 -2
- package/dist/esm/api/types/StatusResponseDto.d.mts +2 -2
- package/dist/esm/api/types/{SubmitResponseBody.d.mts → SubmitResponseDto.d.mts} +1 -1
- package/dist/esm/api/types/UserJob.d.mts +1 -1
- package/dist/esm/api/types/ValidationErrorDetail.d.mts +3 -3
- package/dist/esm/api/types/ValidationErrorResponse.d.mts +1 -1
- package/dist/esm/api/types/ValidatorSchema.d.mts +3 -3
- package/dist/esm/api/types/WebhookDto.d.mts +4 -4
- package/dist/esm/api/types/WebhookPayload.d.mts +9 -9
- package/dist/esm/api/types/index.d.mts +4 -3
- package/dist/esm/api/types/index.mjs +4 -3
- package/dist/esm/core/fetcher/Fetcher.mjs +8 -2
- package/dist/esm/core/fetcher/makeRequest.d.mts +6 -1
- package/dist/esm/core/fetcher/makeRequest.mjs +28 -9
- package/dist/esm/core/runtime/runtime.mjs +8 -7
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +37 -4
- package/reference.md +43 -53
- package/dist/cjs/api/resources/monitors/client/requests/EnableMonitorRequest.d.ts +0 -10
- package/dist/cjs/api/types/Schema.d.ts +0 -6
- package/dist/esm/api/resources/monitors/client/requests/EnableMonitorRequest.d.mts +0 -10
- package/dist/esm/api/types/Schema.d.mts +0 -6
- /package/dist/cjs/api/resources/monitors/client/requests/{EnableMonitorRequest.js → EnableMonitorRequestDto.js} +0 -0
- /package/dist/cjs/api/{types/Schema.js → resources/monitors/client/requests/ListMonitorsRequest.js} +0 -0
- /package/dist/cjs/api/types/{SubmitResponseBody.js → SubmitResponseDto.js} +0 -0
- /package/dist/esm/api/resources/monitors/client/requests/{EnableMonitorRequest.mjs → EnableMonitorRequestDto.mjs} +0 -0
- /package/dist/esm/api/{types/Schema.mjs → resources/monitors/client/requests/ListMonitorsRequest.mjs} +0 -0
- /package/dist/esm/api/types/{SubmitResponseBody.mjs → SubmitResponseDto.mjs} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "newscatcher-catchall-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
"types": "./dist/cjs/index.d.ts",
|
|
14
14
|
"exports": {
|
|
15
15
|
".": {
|
|
16
|
-
"types": "./dist/cjs/index.d.ts",
|
|
17
16
|
"import": {
|
|
18
17
|
"types": "./dist/esm/index.d.mts",
|
|
19
18
|
"default": "./dist/esm/index.mjs"
|
|
@@ -24,6 +23,39 @@
|
|
|
24
23
|
},
|
|
25
24
|
"default": "./dist/cjs/index.js"
|
|
26
25
|
},
|
|
26
|
+
"./jobs": {
|
|
27
|
+
"import": {
|
|
28
|
+
"types": "./dist/esm/api/resources/jobs/exports.d.mts",
|
|
29
|
+
"default": "./dist/esm/api/resources/jobs/exports.mjs"
|
|
30
|
+
},
|
|
31
|
+
"require": {
|
|
32
|
+
"types": "./dist/cjs/api/resources/jobs/exports.d.ts",
|
|
33
|
+
"default": "./dist/cjs/api/resources/jobs/exports.js"
|
|
34
|
+
},
|
|
35
|
+
"default": "./dist/cjs/api/resources/jobs/exports.js"
|
|
36
|
+
},
|
|
37
|
+
"./monitors": {
|
|
38
|
+
"import": {
|
|
39
|
+
"types": "./dist/esm/api/resources/monitors/exports.d.mts",
|
|
40
|
+
"default": "./dist/esm/api/resources/monitors/exports.mjs"
|
|
41
|
+
},
|
|
42
|
+
"require": {
|
|
43
|
+
"types": "./dist/cjs/api/resources/monitors/exports.d.ts",
|
|
44
|
+
"default": "./dist/cjs/api/resources/monitors/exports.js"
|
|
45
|
+
},
|
|
46
|
+
"default": "./dist/cjs/api/resources/monitors/exports.js"
|
|
47
|
+
},
|
|
48
|
+
"./meta": {
|
|
49
|
+
"import": {
|
|
50
|
+
"types": "./dist/esm/api/resources/meta/exports.d.mts",
|
|
51
|
+
"default": "./dist/esm/api/resources/meta/exports.mjs"
|
|
52
|
+
},
|
|
53
|
+
"require": {
|
|
54
|
+
"types": "./dist/cjs/api/resources/meta/exports.d.ts",
|
|
55
|
+
"default": "./dist/cjs/api/resources/meta/exports.js"
|
|
56
|
+
},
|
|
57
|
+
"default": "./dist/cjs/api/resources/meta/exports.js"
|
|
58
|
+
},
|
|
27
59
|
"./package.json": "./package.json"
|
|
28
60
|
},
|
|
29
61
|
"files": [
|
|
@@ -54,13 +86,14 @@
|
|
|
54
86
|
"msw": "2.11.2",
|
|
55
87
|
"@types/node": "^18.19.70",
|
|
56
88
|
"typescript": "~5.7.2",
|
|
57
|
-
"@biomejs/biome": "2.3
|
|
89
|
+
"@biomejs/biome": "2.4.3"
|
|
58
90
|
},
|
|
59
91
|
"browser": {
|
|
60
92
|
"fs": false,
|
|
61
93
|
"os": false,
|
|
62
94
|
"path": false,
|
|
63
|
-
"stream": false
|
|
95
|
+
"stream": false,
|
|
96
|
+
"crypto": false
|
|
64
97
|
},
|
|
65
98
|
"packageManager": "pnpm@10.20.0",
|
|
66
99
|
"engines": {
|
package/reference.md
CHANGED
|
@@ -12,9 +12,7 @@
|
|
|
12
12
|
<dl>
|
|
13
13
|
<dd>
|
|
14
14
|
|
|
15
|
-
Get suggested validators, enrichments, and date ranges for a query
|
|
16
|
-
|
|
17
|
-
Returns LLM-generated suggestions based on query analysis and validates against plan limits.
|
|
15
|
+
Get suggested validators, enrichments, and date ranges for a query.
|
|
18
16
|
</dd>
|
|
19
17
|
</dl>
|
|
20
18
|
</dd>
|
|
@@ -30,7 +28,8 @@ Returns LLM-generated suggestions based on query analysis and validates against
|
|
|
30
28
|
|
|
31
29
|
```typescript
|
|
32
30
|
await client.jobs.initialize({
|
|
33
|
-
query: "
|
|
31
|
+
query: "Series B funding rounds for SaaS startups",
|
|
32
|
+
context: "Focus on funding amount and company name"
|
|
34
33
|
});
|
|
35
34
|
|
|
36
35
|
```
|
|
@@ -67,7 +66,7 @@ await client.jobs.initialize({
|
|
|
67
66
|
</dl>
|
|
68
67
|
</details>
|
|
69
68
|
|
|
70
|
-
<details><summary><code>client.jobs.<a href="/src/api/resources/jobs/client/Client.ts">createJob</a>({ ...params }) -> CatchAllApi.
|
|
69
|
+
<details><summary><code>client.jobs.<a href="/src/api/resources/jobs/client/Client.ts">createJob</a>({ ...params }) -> CatchAllApi.SubmitResponseDto</code></summary>
|
|
71
70
|
<dl>
|
|
72
71
|
<dd>
|
|
73
72
|
|
|
@@ -79,10 +78,7 @@ await client.jobs.initialize({
|
|
|
79
78
|
<dl>
|
|
80
79
|
<dd>
|
|
81
80
|
|
|
82
|
-
Submit a
|
|
83
|
-
|
|
84
|
-
Optionally specify context, date ranges, limit, custom validators, and enrichments.
|
|
85
|
-
If dates exceed plan limits, returns 400 error.
|
|
81
|
+
Submit a query to create a new processing job.
|
|
86
82
|
</dd>
|
|
87
83
|
</dl>
|
|
88
84
|
</dd>
|
|
@@ -98,11 +94,11 @@ If dates exceed plan limits, returns 400 error.
|
|
|
98
94
|
|
|
99
95
|
```typescript
|
|
100
96
|
await client.jobs.createJob({
|
|
101
|
-
query: "
|
|
102
|
-
context: "Focus on
|
|
97
|
+
query: "Series B funding rounds for SaaS startups",
|
|
98
|
+
context: "Focus on funding amount and company name",
|
|
103
99
|
limit: 10,
|
|
104
|
-
start_date: "2026-
|
|
105
|
-
end_date: "2026-02-
|
|
100
|
+
start_date: "2026-02-18T00:00:00Z",
|
|
101
|
+
end_date: "2026-02-23T00:00:00Z"
|
|
106
102
|
});
|
|
107
103
|
|
|
108
104
|
```
|
|
@@ -167,7 +163,7 @@ Continue an existing job to process more records beyond the initial limit.
|
|
|
167
163
|
|
|
168
164
|
```typescript
|
|
169
165
|
await client.jobs.continueJob({
|
|
170
|
-
job_id: "
|
|
166
|
+
job_id: "5f0c9087-85cb-4917-b3c7-e5a5eff73a0c",
|
|
171
167
|
new_limit: 100
|
|
172
168
|
});
|
|
173
169
|
|
|
@@ -233,7 +229,7 @@ Retrieve the current processing status of a job.
|
|
|
233
229
|
|
|
234
230
|
```typescript
|
|
235
231
|
await client.jobs.getJobStatus({
|
|
236
|
-
job_id: "
|
|
232
|
+
job_id: "5f0c9087-85cb-4917-b3c7-e5a5eff73a0c"
|
|
237
233
|
});
|
|
238
234
|
|
|
239
235
|
```
|
|
@@ -270,7 +266,7 @@ await client.jobs.getJobStatus({
|
|
|
270
266
|
</dl>
|
|
271
267
|
</details>
|
|
272
268
|
|
|
273
|
-
<details><summary><code>client.jobs.<a href="/src/api/resources/jobs/client/Client.ts">getUserJobs</a>({ ...params }) -> CatchAllApi.ListUserJobsResponseDto
|
|
269
|
+
<details><summary><code>client.jobs.<a href="/src/api/resources/jobs/client/Client.ts">getUserJobs</a>({ ...params }) -> CatchAllApi.ListUserJobsResponseDto</code></summary>
|
|
274
270
|
<dl>
|
|
275
271
|
<dd>
|
|
276
272
|
|
|
@@ -361,7 +357,7 @@ Retrieve the final results for a completed job.
|
|
|
361
357
|
|
|
362
358
|
```typescript
|
|
363
359
|
await client.jobs.getJobResults({
|
|
364
|
-
job_id: "
|
|
360
|
+
job_id: "5f0c9087-85cb-4917-b3c7-e5a5eff73a0c"
|
|
365
361
|
});
|
|
366
362
|
|
|
367
363
|
```
|
|
@@ -411,20 +407,7 @@ await client.jobs.getJobResults({
|
|
|
411
407
|
<dl>
|
|
412
408
|
<dd>
|
|
413
409
|
|
|
414
|
-
Create a monitor
|
|
415
|
-
|
|
416
|
-
**Reference job requirements:**
|
|
417
|
-
- Job's `end_date` must be within the last 7 days
|
|
418
|
-
|
|
419
|
-
**Schedule requirements:**
|
|
420
|
-
- Minimum 24-hour interval between executions
|
|
421
|
-
- Natural language format (e.g., "every day at 12 PM UTC", "every 48 hours")
|
|
422
|
-
|
|
423
|
-
**Validation:**
|
|
424
|
-
- Reference jobs older than 7 days return 400 Bad Request.
|
|
425
|
-
- Schedules below minimum frequency return error with descriptive message.
|
|
426
|
-
- Invalid job IDs return 400 Bad Request.
|
|
427
|
-
- Duplicate monitors (same job already monitored) return error.
|
|
410
|
+
Create a scheduled monitor based on a reference job.
|
|
428
411
|
</dd>
|
|
429
412
|
</dl>
|
|
430
413
|
</dd>
|
|
@@ -440,8 +423,17 @@ Create a monitor that runs jobs based on a reference job with a specified schedu
|
|
|
440
423
|
|
|
441
424
|
```typescript
|
|
442
425
|
await client.monitors.createMonitor({
|
|
443
|
-
reference_job_id: "
|
|
444
|
-
schedule: "every day at 12 PM UTC"
|
|
426
|
+
reference_job_id: "5f0c9087-85cb-4917-b3c7-e5a5eff73a0c",
|
|
427
|
+
schedule: "every day at 12 PM UTC",
|
|
428
|
+
webhook: {
|
|
429
|
+
url: "https://your-endpoint.com/webhook",
|
|
430
|
+
method: "POST",
|
|
431
|
+
headers: {
|
|
432
|
+
"Authorization": "Bearer your_token_here"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
limit: 10,
|
|
436
|
+
backfill: true
|
|
445
437
|
});
|
|
446
438
|
|
|
447
439
|
```
|
|
@@ -490,15 +482,7 @@ await client.monitors.createMonitor({
|
|
|
490
482
|
<dl>
|
|
491
483
|
<dd>
|
|
492
484
|
|
|
493
|
-
Update webhook configuration for an existing monitor
|
|
494
|
-
|
|
495
|
-
**Supported updates:**
|
|
496
|
-
- Webhook URL
|
|
497
|
-
- HTTP method (POST/PUT)
|
|
498
|
-
- Headers and authentication
|
|
499
|
-
- Query parameters
|
|
500
|
-
|
|
501
|
-
**Note:** Schedule and reference job cannot be modified. To change these, create a new monitor.
|
|
485
|
+
Update the webhook configuration for an existing monitor.
|
|
502
486
|
</dd>
|
|
503
487
|
</dl>
|
|
504
488
|
</dd>
|
|
@@ -570,8 +554,7 @@ await client.monitors.updateMonitor({
|
|
|
570
554
|
<dl>
|
|
571
555
|
<dd>
|
|
572
556
|
|
|
573
|
-
|
|
574
|
-
Each job includes job_id, start_date, and end_date.
|
|
557
|
+
Return all jobs executed by a monitor.
|
|
575
558
|
</dd>
|
|
576
559
|
</dl>
|
|
577
560
|
</dd>
|
|
@@ -636,8 +619,7 @@ await client.monitors.listMonitorJobs({
|
|
|
636
619
|
<dl>
|
|
637
620
|
<dd>
|
|
638
621
|
|
|
639
|
-
Retrieve aggregated results from all jobs executed by
|
|
640
|
-
Includes monitor configuration, execution history, and all records collected.
|
|
622
|
+
Retrieve aggregated results from all jobs executed by a monitor.
|
|
641
623
|
</dd>
|
|
642
624
|
</dl>
|
|
643
625
|
</dd>
|
|
@@ -702,8 +684,7 @@ await client.monitors.pullMonitorResults({
|
|
|
702
684
|
<dl>
|
|
703
685
|
<dd>
|
|
704
686
|
|
|
705
|
-
|
|
706
|
-
Validates that the provided API key is associated with the monitor.
|
|
687
|
+
Stop scheduled job execution for a monitor.
|
|
707
688
|
</dd>
|
|
708
689
|
</dl>
|
|
709
690
|
</dd>
|
|
@@ -768,8 +749,7 @@ await client.monitors.disableMonitor({
|
|
|
768
749
|
<dl>
|
|
769
750
|
<dd>
|
|
770
751
|
|
|
771
|
-
|
|
772
|
-
Validates that the provided API key is associated with the monitor.
|
|
752
|
+
Resume scheduled job execution for a monitor.
|
|
773
753
|
</dd>
|
|
774
754
|
</dl>
|
|
775
755
|
</dd>
|
|
@@ -785,7 +765,8 @@ Validates that the provided API key is associated with the monitor.
|
|
|
785
765
|
|
|
786
766
|
```typescript
|
|
787
767
|
await client.monitors.enableMonitor({
|
|
788
|
-
monitor_id: "monitor_id"
|
|
768
|
+
monitor_id: "monitor_id",
|
|
769
|
+
backfill: true
|
|
789
770
|
});
|
|
790
771
|
|
|
791
772
|
```
|
|
@@ -802,7 +783,7 @@ await client.monitors.enableMonitor({
|
|
|
802
783
|
<dl>
|
|
803
784
|
<dd>
|
|
804
785
|
|
|
805
|
-
**request:** `CatchAllApi.
|
|
786
|
+
**request:** `CatchAllApi.EnableMonitorRequestDto`
|
|
806
787
|
|
|
807
788
|
</dd>
|
|
808
789
|
</dl>
|
|
@@ -822,7 +803,7 @@ await client.monitors.enableMonitor({
|
|
|
822
803
|
</dl>
|
|
823
804
|
</details>
|
|
824
805
|
|
|
825
|
-
<details><summary><code>client.monitors.<a href="/src/api/resources/monitors/client/Client.ts">listMonitors</a>() -> CatchAllApi.ListMonitorsResponseDto</code></summary>
|
|
806
|
+
<details><summary><code>client.monitors.<a href="/src/api/resources/monitors/client/Client.ts">listMonitors</a>({ ...params }) -> CatchAllApi.ListMonitorsResponseDto</code></summary>
|
|
826
807
|
<dl>
|
|
827
808
|
<dd>
|
|
828
809
|
|
|
@@ -865,6 +846,14 @@ await client.monitors.listMonitors();
|
|
|
865
846
|
<dl>
|
|
866
847
|
<dd>
|
|
867
848
|
|
|
849
|
+
**request:** `CatchAllApi.ListMonitorsRequest`
|
|
850
|
+
|
|
851
|
+
</dd>
|
|
852
|
+
</dl>
|
|
853
|
+
|
|
854
|
+
<dl>
|
|
855
|
+
<dd>
|
|
856
|
+
|
|
868
857
|
**requestOptions:** `MonitorsClient.RequestOptions`
|
|
869
858
|
|
|
870
859
|
</dd>
|
|
@@ -987,3 +976,4 @@ await client.meta.getVersion();
|
|
|
987
976
|
</dd>
|
|
988
977
|
</dl>
|
|
989
978
|
</details>
|
|
979
|
+
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Template string to guide record summary formatting. Use placeholder syntax with brackets to indicate desired fields: [COMPANY], [REVENUE], [TARGET], [AMOUNT], etc.
|
|
3
|
-
*
|
|
4
|
-
* When provided, the system generates a `schema_based_summary` field for each record following this template.
|
|
5
|
-
*/
|
|
6
|
-
export type Schema = string;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Template string to guide record summary formatting. Use placeholder syntax with brackets to indicate desired fields: [COMPANY], [REVENUE], [TARGET], [AMOUNT], etc.
|
|
3
|
-
*
|
|
4
|
-
* When provided, the system generates a `schema_based_summary` field for each record following this template.
|
|
5
|
-
*/
|
|
6
|
-
export type Schema = string;
|
|
File without changes
|
/package/dist/cjs/api/{types/Schema.js → resources/monitors/client/requests/ListMonitorsRequest.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|