parallel-web 0.5.0 → 1.0.1
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/CHANGELOG.md +36 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/streaming.d.mts.map +1 -1
- package/core/streaming.d.ts.map +1 -1
- package/core/streaming.mjs.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/decoders/line.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +3 -2
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +3 -2
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/beta/beta.d.mts +2 -262
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +2 -262
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js +0 -41
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs +0 -41
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/findall.d.mts +76 -155
- package/resources/beta/findall.d.mts.map +1 -1
- package/resources/beta/findall.d.ts +76 -155
- package/resources/beta/findall.d.ts.map +1 -1
- package/resources/beta/findall.js +27 -33
- package/resources/beta/findall.js.map +1 -1
- package/resources/beta/findall.mjs +26 -31
- package/resources/beta/findall.mjs.map +1 -1
- package/resources/beta/index.d.mts +1 -3
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +1 -3
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/index.js +1 -6
- package/resources/beta/index.js.map +1 -1
- package/resources/beta/index.mjs +1 -3
- package/resources/beta/index.mjs.map +1 -1
- package/resources/beta.d.mts.map +1 -1
- package/resources/beta.d.ts.map +1 -1
- package/resources/beta.mjs.map +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/monitor.d.mts.map +1 -1
- package/resources/monitor.d.ts.map +1 -1
- package/resources/monitor.mjs.map +1 -1
- package/resources/task-group.d.mts +2 -2
- package/resources/task-group.d.mts.map +1 -1
- package/resources/task-group.d.ts +2 -2
- package/resources/task-group.d.ts.map +1 -1
- package/resources/task-group.mjs.map +1 -1
- package/resources/task-run.d.mts +3 -26
- package/resources/task-run.d.mts.map +1 -1
- package/resources/task-run.d.ts +3 -26
- package/resources/task-run.d.ts.map +1 -1
- package/resources/task-run.mjs.map +1 -1
- package/resources/top-level.d.mts +1 -7
- package/resources/top-level.d.mts.map +1 -1
- package/resources/top-level.d.ts +1 -7
- package/resources/top-level.d.ts.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/internal/utils/log.ts +2 -1
- package/src/resources/beta/api.md +4 -58
- package/src/resources/beta/beta.ts +8 -404
- package/src/resources/beta/findall.ts +102 -201
- package/src/resources/beta/index.ts +4 -50
- package/src/resources/task-group.ts +2 -2
- package/src/resources/task-run.ts +3 -30
- package/src/resources/top-level.ts +1 -10
- package/src/version.ts +1 -1
- package/streaming.d.mts +1 -0
- package/streaming.d.mts.map +1 -1
- package/streaming.d.ts +1 -0
- package/streaming.d.ts.map +1 -1
- package/streaming.mjs +1 -0
- package/streaming.mjs.map +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/beta/task-group.d.mts +0 -122
- package/resources/beta/task-group.d.mts.map +0 -1
- package/resources/beta/task-group.d.ts +0 -122
- package/resources/beta/task-group.d.ts.map +0 -1
- package/resources/beta/task-group.js +0 -100
- package/resources/beta/task-group.js.map +0 -1
- package/resources/beta/task-group.mjs +0 -96
- package/resources/beta/task-group.mjs.map +0 -1
- package/resources/beta/task-run.d.mts +0 -191
- package/resources/beta/task-run.d.mts.map +0 -1
- package/resources/beta/task-run.d.ts +0 -191
- package/resources/beta/task-run.d.ts.map +0 -1
- package/resources/beta/task-run.js +0 -81
- package/resources/beta/task-run.js.map +0 -1
- package/resources/beta/task-run.mjs +0 -77
- package/resources/beta/task-run.mjs.map +0 -1
- package/src/resources/beta/task-group.ts +0 -223
- package/src/resources/beta/task-run.ts +0 -276
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import * as TaskRunAPI from '../task-run';
|
|
5
|
-
import * as BetaTaskRunAPI from './task-run';
|
|
6
5
|
import { APIPromise } from '../../core/api-promise';
|
|
7
6
|
import { Stream } from '../../core/streaming';
|
|
8
7
|
import { buildHeaders } from '../../internal/headers';
|
|
@@ -104,30 +103,6 @@ export class FindAll extends APIResource {
|
|
|
104
103
|
});
|
|
105
104
|
}
|
|
106
105
|
|
|
107
|
-
/**
|
|
108
|
-
* Return ranked entity candidates matching a natural language objective.
|
|
109
|
-
*
|
|
110
|
-
* This endpoint performs a best-effort search optimised for low latency. For
|
|
111
|
-
* comprehensive match evaluation and enrichment, use the
|
|
112
|
-
* [FindAll API](https://docs.parallel.ai/findall-api/findall-quickstart).
|
|
113
|
-
*
|
|
114
|
-
* @example
|
|
115
|
-
* ```ts
|
|
116
|
-
* const findallCandidatesResponse =
|
|
117
|
-
* await client.beta.findall.candidates({
|
|
118
|
-
* entity_type: 'company',
|
|
119
|
-
* objective: 'objective',
|
|
120
|
-
* });
|
|
121
|
-
* ```
|
|
122
|
-
*/
|
|
123
|
-
candidates(body: FindAllCandidatesParams, options?: RequestOptions): APIPromise<FindAllCandidatesResponse> {
|
|
124
|
-
return this._client.post('/v1beta/findall/candidates', {
|
|
125
|
-
body,
|
|
126
|
-
...options,
|
|
127
|
-
headers: buildHeaders([{ 'parallel-beta': 'findall-2025-09-15' }, options?.headers]),
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
|
|
131
106
|
/**
|
|
132
107
|
* Add an enrichment to a FindAll run.
|
|
133
108
|
*
|
|
@@ -164,6 +139,36 @@ export class FindAll extends APIResource {
|
|
|
164
139
|
});
|
|
165
140
|
}
|
|
166
141
|
|
|
142
|
+
/**
|
|
143
|
+
* Return ranked entities matching a natural language objective.
|
|
144
|
+
*
|
|
145
|
+
* This endpoint performs a best-effort search optimized for low latency. To keep
|
|
146
|
+
* responses fast, it returns a fixed set of attributes and supports queries of
|
|
147
|
+
* limited complexity.
|
|
148
|
+
*
|
|
149
|
+
* For comprehensive match evaluation and enrichment, use the
|
|
150
|
+
* [FindAll API](https://docs.parallel.ai/findall-api/findall-quickstart).
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* ```ts
|
|
154
|
+
* const findallEntitySearchResponse =
|
|
155
|
+
* await client.beta.findall.entitySearch({
|
|
156
|
+
* entity_type: 'people',
|
|
157
|
+
* objective: 'objective',
|
|
158
|
+
* });
|
|
159
|
+
* ```
|
|
160
|
+
*/
|
|
161
|
+
entitySearch(
|
|
162
|
+
body: FindAllEntitySearchParams,
|
|
163
|
+
options?: RequestOptions,
|
|
164
|
+
): APIPromise<FindAllEntitySearchResponse> {
|
|
165
|
+
return this._client.post('/v1beta/findall/entity-search', {
|
|
166
|
+
body,
|
|
167
|
+
...options,
|
|
168
|
+
headers: buildHeaders([{ 'parallel-beta': 'findall-2025-09-15' }, options?.headers]),
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
|
|
167
172
|
/**
|
|
168
173
|
* Stream events from a FindAll run.
|
|
169
174
|
*
|
|
@@ -395,11 +400,31 @@ export interface FindAllCandidateMetrics {
|
|
|
395
400
|
matched_candidates_count?: number;
|
|
396
401
|
}
|
|
397
402
|
|
|
398
|
-
|
|
403
|
+
/**
|
|
404
|
+
* Input model for FindAll enrich.
|
|
405
|
+
*/
|
|
406
|
+
export interface FindAllEnrichInput {
|
|
407
|
+
/**
|
|
408
|
+
* JSON schema for the enrichment output schema for the FindAll run.
|
|
409
|
+
*/
|
|
410
|
+
output_schema: TaskRunAPI.JsonSchema;
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* List of MCP servers to use for the task.
|
|
414
|
+
*/
|
|
415
|
+
mcp_servers?: Array<TaskRunAPI.McpServer> | null;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Processor to use for the task.
|
|
419
|
+
*/
|
|
420
|
+
processor?: string;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
export interface FindAllEntitySearchRequest {
|
|
399
424
|
/**
|
|
400
425
|
* Type of entity to search for.
|
|
401
426
|
*/
|
|
402
|
-
entity_type: '
|
|
427
|
+
entity_type: 'people' | 'companies';
|
|
403
428
|
|
|
404
429
|
/**
|
|
405
430
|
* Natural language description of target entities.
|
|
@@ -407,27 +432,26 @@ export interface FindAllCandidatesRequest {
|
|
|
407
432
|
objective: string;
|
|
408
433
|
|
|
409
434
|
/**
|
|
410
|
-
* Maximum number of
|
|
435
|
+
* Maximum number of entities to return. Must be between 5 and 1000 (inclusive).
|
|
411
436
|
* May return fewer results. Defaults to 100.
|
|
412
437
|
*/
|
|
413
438
|
match_limit?: number;
|
|
414
439
|
}
|
|
415
440
|
|
|
416
|
-
export interface
|
|
441
|
+
export interface FindAllEntitySearchResponse {
|
|
417
442
|
/**
|
|
418
|
-
*
|
|
419
|
-
* `candidate_set_cad0a6d2dec046bd95ae900527d880e7`
|
|
443
|
+
* Ranked list of entities.
|
|
420
444
|
*/
|
|
421
|
-
|
|
445
|
+
entities: Array<FindAllEntitySearchResponse.Entity>;
|
|
422
446
|
|
|
423
447
|
/**
|
|
424
|
-
*
|
|
448
|
+
* Entity set request ID. Example: `entity_set_cad0a6d2dec046bd95ae900527d880e7`
|
|
425
449
|
*/
|
|
426
|
-
|
|
450
|
+
entity_set_id: string;
|
|
427
451
|
}
|
|
428
452
|
|
|
429
|
-
export namespace
|
|
430
|
-
export interface
|
|
453
|
+
export namespace FindAllEntitySearchResponse {
|
|
454
|
+
export interface Entity {
|
|
431
455
|
/**
|
|
432
456
|
* Descriptive text about the entity.
|
|
433
457
|
*/
|
|
@@ -445,26 +469,6 @@ export namespace FindAllCandidatesResponse {
|
|
|
445
469
|
}
|
|
446
470
|
}
|
|
447
471
|
|
|
448
|
-
/**
|
|
449
|
-
* Input model for FindAll enrich.
|
|
450
|
-
*/
|
|
451
|
-
export interface FindAllEnrichInput {
|
|
452
|
-
/**
|
|
453
|
-
* JSON schema for the enrichment output schema for the FindAll run.
|
|
454
|
-
*/
|
|
455
|
-
output_schema: TaskRunAPI.JsonSchema;
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* List of MCP servers to use for the task.
|
|
459
|
-
*/
|
|
460
|
-
mcp_servers?: Array<TaskRunAPI.McpServer> | null;
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* Processor to use for the task.
|
|
464
|
-
*/
|
|
465
|
-
processor?: string;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
472
|
/**
|
|
469
473
|
* Input model for FindAll extend.
|
|
470
474
|
*/
|
|
@@ -746,6 +750,18 @@ export interface MatchCondition {
|
|
|
746
750
|
name: string;
|
|
747
751
|
}
|
|
748
752
|
|
|
753
|
+
/**
|
|
754
|
+
* Model for the parallel-beta header.
|
|
755
|
+
*/
|
|
756
|
+
export type ParallelBeta =
|
|
757
|
+
| 'mcp-server-2025-07-17'
|
|
758
|
+
| 'events-sse-2025-07-24'
|
|
759
|
+
| 'webhook-2025-08-12'
|
|
760
|
+
| 'findall-2025-09-15'
|
|
761
|
+
| 'search-extract-2025-10-10'
|
|
762
|
+
| 'field-basis-2025-11-25'
|
|
763
|
+
| (string & {});
|
|
764
|
+
|
|
749
765
|
/**
|
|
750
766
|
* Event containing full snapshot of FindAll run state.
|
|
751
767
|
*/
|
|
@@ -800,7 +816,7 @@ export interface FindAllCreateParams {
|
|
|
800
816
|
/**
|
|
801
817
|
* Header param: Optional header to specify the beta version(s) to enable.
|
|
802
818
|
*/
|
|
803
|
-
betas?: Array<
|
|
819
|
+
betas?: Array<ParallelBeta>;
|
|
804
820
|
}
|
|
805
821
|
|
|
806
822
|
export namespace FindAllCreateParams {
|
|
@@ -824,54 +840,54 @@ export interface FindAllRetrieveParams {
|
|
|
824
840
|
/**
|
|
825
841
|
* Optional header to specify the beta version(s) to enable.
|
|
826
842
|
*/
|
|
827
|
-
betas?: Array<
|
|
843
|
+
betas?: Array<ParallelBeta>;
|
|
828
844
|
}
|
|
829
845
|
|
|
830
846
|
export interface FindAllCancelParams {
|
|
831
847
|
/**
|
|
832
848
|
* Optional header to specify the beta version(s) to enable.
|
|
833
849
|
*/
|
|
834
|
-
betas?: Array<
|
|
850
|
+
betas?: Array<ParallelBeta>;
|
|
835
851
|
}
|
|
836
852
|
|
|
837
|
-
export interface
|
|
853
|
+
export interface FindAllEnrichParams {
|
|
838
854
|
/**
|
|
839
|
-
*
|
|
855
|
+
* Body param: JSON schema for the enrichment output schema for the FindAll run.
|
|
840
856
|
*/
|
|
841
|
-
|
|
857
|
+
output_schema: TaskRunAPI.JsonSchema;
|
|
842
858
|
|
|
843
859
|
/**
|
|
844
|
-
*
|
|
860
|
+
* Body param: List of MCP servers to use for the task.
|
|
845
861
|
*/
|
|
846
|
-
|
|
862
|
+
mcp_servers?: Array<TaskRunAPI.McpServer> | null;
|
|
847
863
|
|
|
848
864
|
/**
|
|
849
|
-
*
|
|
850
|
-
* May return fewer results. Defaults to 100.
|
|
865
|
+
* Body param: Processor to use for the task.
|
|
851
866
|
*/
|
|
852
|
-
|
|
853
|
-
}
|
|
867
|
+
processor?: string;
|
|
854
868
|
|
|
855
|
-
export interface FindAllEnrichParams {
|
|
856
869
|
/**
|
|
857
|
-
*
|
|
870
|
+
* Header param: Optional header to specify the beta version(s) to enable.
|
|
858
871
|
*/
|
|
859
|
-
|
|
872
|
+
betas?: Array<ParallelBeta>;
|
|
873
|
+
}
|
|
860
874
|
|
|
875
|
+
export interface FindAllEntitySearchParams {
|
|
861
876
|
/**
|
|
862
|
-
*
|
|
877
|
+
* Type of entity to search for.
|
|
863
878
|
*/
|
|
864
|
-
|
|
879
|
+
entity_type: 'people' | 'companies';
|
|
865
880
|
|
|
866
881
|
/**
|
|
867
|
-
*
|
|
882
|
+
* Natural language description of target entities.
|
|
868
883
|
*/
|
|
869
|
-
|
|
884
|
+
objective: string;
|
|
870
885
|
|
|
871
886
|
/**
|
|
872
|
-
*
|
|
887
|
+
* Maximum number of entities to return. Must be between 5 and 1000 (inclusive).
|
|
888
|
+
* May return fewer results. Defaults to 100.
|
|
873
889
|
*/
|
|
874
|
-
|
|
890
|
+
match_limit?: number;
|
|
875
891
|
}
|
|
876
892
|
|
|
877
893
|
export interface FindAllEventsParams {
|
|
@@ -888,7 +904,7 @@ export interface FindAllEventsParams {
|
|
|
888
904
|
/**
|
|
889
905
|
* Header param: Optional header to specify the beta version(s) to enable.
|
|
890
906
|
*/
|
|
891
|
-
betas?: Array<
|
|
907
|
+
betas?: Array<ParallelBeta>;
|
|
892
908
|
}
|
|
893
909
|
|
|
894
910
|
export interface FindAllExtendParams {
|
|
@@ -902,7 +918,7 @@ export interface FindAllExtendParams {
|
|
|
902
918
|
/**
|
|
903
919
|
* Header param: Optional header to specify the beta version(s) to enable.
|
|
904
920
|
*/
|
|
905
|
-
betas?: Array<
|
|
921
|
+
betas?: Array<ParallelBeta>;
|
|
906
922
|
}
|
|
907
923
|
|
|
908
924
|
export interface FindAllIngestParams {
|
|
@@ -914,21 +930,21 @@ export interface FindAllIngestParams {
|
|
|
914
930
|
/**
|
|
915
931
|
* Header param: Optional header to specify the beta version(s) to enable.
|
|
916
932
|
*/
|
|
917
|
-
betas?: Array<
|
|
933
|
+
betas?: Array<ParallelBeta>;
|
|
918
934
|
}
|
|
919
935
|
|
|
920
936
|
export interface FindAllResultParams {
|
|
921
937
|
/**
|
|
922
938
|
* Optional header to specify the beta version(s) to enable.
|
|
923
939
|
*/
|
|
924
|
-
betas?: Array<
|
|
940
|
+
betas?: Array<ParallelBeta>;
|
|
925
941
|
}
|
|
926
942
|
|
|
927
943
|
export interface FindAllSchemaParams {
|
|
928
944
|
/**
|
|
929
945
|
* Optional header to specify the beta version(s) to enable.
|
|
930
946
|
*/
|
|
931
|
-
betas?: Array<
|
|
947
|
+
betas?: Array<ParallelBeta>;
|
|
932
948
|
}
|
|
933
949
|
|
|
934
950
|
export declare namespace FindAll {
|
|
@@ -936,9 +952,9 @@ export declare namespace FindAll {
|
|
|
936
952
|
type FindAllCandidate as FindAllCandidate,
|
|
937
953
|
type FindAllCandidateMatchStatusEvent as FindAllCandidateMatchStatusEvent,
|
|
938
954
|
type FindAllCandidateMetrics as FindAllCandidateMetrics,
|
|
939
|
-
type FindAllCandidatesRequest as FindAllCandidatesRequest,
|
|
940
|
-
type FindAllCandidatesResponse as FindAllCandidatesResponse,
|
|
941
955
|
type FindAllEnrichInput as FindAllEnrichInput,
|
|
956
|
+
type FindAllEntitySearchRequest as FindAllEntitySearchRequest,
|
|
957
|
+
type FindAllEntitySearchResponse as FindAllEntitySearchResponse,
|
|
942
958
|
type FindAllExtendInput as FindAllExtendInput,
|
|
943
959
|
type FindAllRun as FindAllRun,
|
|
944
960
|
type FindAllRunInput as FindAllRunInput,
|
|
@@ -949,12 +965,13 @@ export declare namespace FindAll {
|
|
|
949
965
|
type FindAllSchemaUpdatedEvent as FindAllSchemaUpdatedEvent,
|
|
950
966
|
type IngestInput as IngestInput,
|
|
951
967
|
type MatchCondition as MatchCondition,
|
|
968
|
+
type ParallelBeta as ParallelBeta,
|
|
952
969
|
type FindAllEventsResponse as FindAllEventsResponse,
|
|
953
970
|
type FindAllCreateParams as FindAllCreateParams,
|
|
954
971
|
type FindAllRetrieveParams as FindAllRetrieveParams,
|
|
955
972
|
type FindAllCancelParams as FindAllCancelParams,
|
|
956
|
-
type FindAllCandidatesParams as FindAllCandidatesParams,
|
|
957
973
|
type FindAllEnrichParams as FindAllEnrichParams,
|
|
974
|
+
type FindAllEntitySearchParams as FindAllEntitySearchParams,
|
|
958
975
|
type FindAllEventsParams as FindAllEventsParams,
|
|
959
976
|
type FindAllExtendParams as FindAllExtendParams,
|
|
960
977
|
type FindAllIngestParams as FindAllIngestParams,
|
|
@@ -962,119 +979,3 @@ export declare namespace FindAll {
|
|
|
962
979
|
type FindAllSchemaParams as FindAllSchemaParams,
|
|
963
980
|
};
|
|
964
981
|
}
|
|
965
|
-
|
|
966
|
-
/**
|
|
967
|
-
* Backwards-compatible aliases (deprecated).
|
|
968
|
-
*
|
|
969
|
-
* Historically these types/resources were exported as `Findall*` (lowercase "a").
|
|
970
|
-
* The canonical names are now `FindAll*`.
|
|
971
|
-
*/
|
|
972
|
-
export class Findall extends FindAll {}
|
|
973
|
-
|
|
974
|
-
/** @deprecated Use `FindAllCandidateMatchStatusEvent` instead. */
|
|
975
|
-
export type FindallCandidateMatchStatusEvent = FindAllCandidateMatchStatusEvent;
|
|
976
|
-
/** @deprecated Use `FindAllEnrichInput` instead. */
|
|
977
|
-
export type FindallEnrichInput = FindAllEnrichInput;
|
|
978
|
-
/** @deprecated Use `FindAllExtendInput` instead. */
|
|
979
|
-
export type FindallExtendInput = FindAllExtendInput;
|
|
980
|
-
/** @deprecated Use `FindAllRun` instead. */
|
|
981
|
-
export type FindallRun = FindAllRun;
|
|
982
|
-
/** @deprecated Use `FindAllRunInput` instead. */
|
|
983
|
-
export type FindallRunInput = FindAllRunInput;
|
|
984
|
-
/** @deprecated Use `FindAllRunResult` instead. */
|
|
985
|
-
export type FindallRunResult = FindAllRunResult;
|
|
986
|
-
/** @deprecated Use `FindAllRunStatusEvent` instead. */
|
|
987
|
-
export type FindallRunStatusEvent = FindAllRunStatusEvent;
|
|
988
|
-
/** @deprecated Use `FindAllSchema` instead. */
|
|
989
|
-
export type FindallSchema = FindAllSchema;
|
|
990
|
-
/** @deprecated Use `FindAllSchemaUpdatedEvent` instead. */
|
|
991
|
-
export type FindallSchemaUpdatedEvent = FindAllSchemaUpdatedEvent;
|
|
992
|
-
/** @deprecated Use `IngestInput` instead. */
|
|
993
|
-
export type FindallIngestInput = IngestInput;
|
|
994
|
-
/** @deprecated Use `FindAllEventsResponse` instead. */
|
|
995
|
-
export type FindallEventsResponse = FindAllEventsResponse;
|
|
996
|
-
/** @deprecated Use `FindAllCreateParams` instead. */
|
|
997
|
-
export type FindallCreateParams = FindAllCreateParams;
|
|
998
|
-
/** @deprecated Use `FindAllRetrieveParams` instead. */
|
|
999
|
-
export type FindallRetrieveParams = FindAllRetrieveParams;
|
|
1000
|
-
/** @deprecated Use `FindAllCancelParams` instead. */
|
|
1001
|
-
export type FindallCancelParams = FindAllCancelParams;
|
|
1002
|
-
/** @deprecated Use `FindAllEnrichParams` instead. */
|
|
1003
|
-
export type FindallEnrichParams = FindAllEnrichParams;
|
|
1004
|
-
/** @deprecated Use `FindAllEventsParams` instead. */
|
|
1005
|
-
export type FindallEventsParams = FindAllEventsParams;
|
|
1006
|
-
/** @deprecated Use `FindAllExtendParams` instead. */
|
|
1007
|
-
export type FindallExtendParams = FindAllExtendParams;
|
|
1008
|
-
/** @deprecated Use `FindAllIngestParams` instead. */
|
|
1009
|
-
export type FindallIngestParams = FindAllIngestParams;
|
|
1010
|
-
/** @deprecated Use `FindAllResultParams` instead. */
|
|
1011
|
-
export type FindallResultParams = FindAllResultParams;
|
|
1012
|
-
/** @deprecated Use `FindAllSchemaParams` instead. */
|
|
1013
|
-
export type FindallSchemaParams = FindAllSchemaParams;
|
|
1014
|
-
|
|
1015
|
-
export declare namespace Findall {
|
|
1016
|
-
export {
|
|
1017
|
-
type FindallCandidateMatchStatusEvent as FindallCandidateMatchStatusEvent,
|
|
1018
|
-
type FindallEnrichInput as FindallEnrichInput,
|
|
1019
|
-
type FindallExtendInput as FindallExtendInput,
|
|
1020
|
-
type FindallRun as FindallRun,
|
|
1021
|
-
type FindallRunInput as FindallRunInput,
|
|
1022
|
-
type FindallRunResult as FindallRunResult,
|
|
1023
|
-
type FindallRunStatusEvent as FindallRunStatusEvent,
|
|
1024
|
-
type FindallSchema as FindallSchema,
|
|
1025
|
-
type FindallSchemaUpdatedEvent as FindallSchemaUpdatedEvent,
|
|
1026
|
-
type FindallIngestInput as FindallIngestInput,
|
|
1027
|
-
type FindallEventsResponse as FindallEventsResponse,
|
|
1028
|
-
type FindallCreateParams as FindallCreateParams,
|
|
1029
|
-
type FindallRetrieveParams as FindallRetrieveParams,
|
|
1030
|
-
type FindallCancelParams as FindallCancelParams,
|
|
1031
|
-
type FindallEnrichParams as FindallEnrichParams,
|
|
1032
|
-
type FindallEventsParams as FindallEventsParams,
|
|
1033
|
-
type FindallExtendParams as FindallExtendParams,
|
|
1034
|
-
type FindallIngestParams as FindallIngestParams,
|
|
1035
|
-
type FindallResultParams as FindallResultParams,
|
|
1036
|
-
type FindallSchemaParams as FindallSchemaParams,
|
|
1037
|
-
};
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
// Backwards-compat namespace members (deprecated). Previously these types
|
|
1041
|
-
// existed as nested interfaces under their parent's namespace; they've since
|
|
1042
|
-
// moved to top-level model types. Declaration merging here preserves the old
|
|
1043
|
-
// `Parent.Member` import paths.
|
|
1044
|
-
type _FindAllCandidate = FindAllCandidate;
|
|
1045
|
-
type _FindAllRunStatus = FindAllRunStatus;
|
|
1046
|
-
type _FindAllCandidateMetrics = FindAllCandidateMetrics;
|
|
1047
|
-
type _MatchCondition = MatchCondition;
|
|
1048
|
-
export namespace FindAllCandidateMatchStatusEvent {
|
|
1049
|
-
/** @deprecated Use the top-level `FindAllCandidate` instead. */
|
|
1050
|
-
export type Data = _FindAllCandidate;
|
|
1051
|
-
}
|
|
1052
|
-
export namespace FindAllCreateParams {
|
|
1053
|
-
/** @deprecated Use the top-level `MatchCondition` instead. */
|
|
1054
|
-
export type MatchCondition = _MatchCondition;
|
|
1055
|
-
}
|
|
1056
|
-
// FindAllRunInput and FindAllSchema already declare `export namespace`s above;
|
|
1057
|
-
// these additional `export namespace` blocks merge with them via TS declaration
|
|
1058
|
-
// merging, augmenting the existing namespaces with the deprecated `MatchCondition`
|
|
1059
|
-
// member. (`declare module` would not work here — it's for ambient module
|
|
1060
|
-
// augmentation, not same-file declaration merging.)
|
|
1061
|
-
export namespace FindAllRunInput {
|
|
1062
|
-
/** @deprecated Use the top-level `MatchCondition` instead. */
|
|
1063
|
-
export type MatchCondition = _MatchCondition;
|
|
1064
|
-
}
|
|
1065
|
-
export namespace FindAllSchema {
|
|
1066
|
-
/** @deprecated Use the top-level `MatchCondition` instead. */
|
|
1067
|
-
export type MatchCondition = _MatchCondition;
|
|
1068
|
-
}
|
|
1069
|
-
export namespace FindAllRun {
|
|
1070
|
-
/** @deprecated Use the top-level `FindAllRunStatus` instead. */
|
|
1071
|
-
export type Status = _FindAllRunStatus;
|
|
1072
|
-
export namespace Status {
|
|
1073
|
-
/** @deprecated Use the top-level `FindAllCandidateMetrics` instead. */
|
|
1074
|
-
export type Metrics = _FindAllCandidateMetrics;
|
|
1075
|
-
}
|
|
1076
|
-
}
|
|
1077
|
-
export namespace FindAllRunResult {
|
|
1078
|
-
/** @deprecated Use the top-level `FindAllCandidate` instead. */
|
|
1079
|
-
export type Candidate = _FindAllCandidate;
|
|
1080
|
-
}
|
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
export { Beta } from './beta';
|
|
4
4
|
export {
|
|
5
5
|
FindAll,
|
|
6
|
-
Findall,
|
|
7
6
|
type FindAllCandidate,
|
|
8
7
|
type FindAllCandidateMatchStatusEvent,
|
|
9
8
|
type FindAllCandidateMetrics,
|
|
10
|
-
type FindAllCandidatesRequest,
|
|
11
|
-
type FindAllCandidatesResponse,
|
|
12
9
|
type FindAllEnrichInput,
|
|
10
|
+
type FindAllEntitySearchRequest,
|
|
11
|
+
type FindAllEntitySearchResponse,
|
|
13
12
|
type FindAllExtendInput,
|
|
14
13
|
type FindAllRun,
|
|
15
14
|
type FindAllRunInput,
|
|
@@ -20,61 +19,16 @@ export {
|
|
|
20
19
|
type FindAllSchemaUpdatedEvent,
|
|
21
20
|
type IngestInput,
|
|
22
21
|
type MatchCondition,
|
|
22
|
+
type ParallelBeta,
|
|
23
23
|
type FindAllEventsResponse,
|
|
24
24
|
type FindAllCreateParams,
|
|
25
25
|
type FindAllRetrieveParams,
|
|
26
26
|
type FindAllCancelParams,
|
|
27
|
-
type FindAllCandidatesParams,
|
|
28
27
|
type FindAllEnrichParams,
|
|
28
|
+
type FindAllEntitySearchParams,
|
|
29
29
|
type FindAllEventsParams,
|
|
30
30
|
type FindAllExtendParams,
|
|
31
31
|
type FindAllIngestParams,
|
|
32
32
|
type FindAllResultParams,
|
|
33
33
|
type FindAllSchemaParams,
|
|
34
|
-
type FindallCandidateMatchStatusEvent,
|
|
35
|
-
type FindallEnrichInput,
|
|
36
|
-
type FindallExtendInput,
|
|
37
|
-
type FindallRun,
|
|
38
|
-
type FindallRunInput,
|
|
39
|
-
type FindallRunResult,
|
|
40
|
-
type FindallRunStatusEvent,
|
|
41
|
-
type FindallSchema,
|
|
42
|
-
type FindallSchemaUpdatedEvent,
|
|
43
|
-
type FindallIngestInput,
|
|
44
|
-
type FindallEventsResponse,
|
|
45
|
-
type FindallCreateParams,
|
|
46
|
-
type FindallRetrieveParams,
|
|
47
|
-
type FindallCancelParams,
|
|
48
|
-
type FindallEnrichParams,
|
|
49
|
-
type FindallEventsParams,
|
|
50
|
-
type FindallExtendParams,
|
|
51
|
-
type FindallIngestParams,
|
|
52
|
-
type FindallResultParams,
|
|
53
|
-
type FindallSchemaParams,
|
|
54
34
|
} from './findall';
|
|
55
|
-
export {
|
|
56
|
-
TaskGroup,
|
|
57
|
-
type TaskGroupEventsResponse,
|
|
58
|
-
type TaskGroupGetRunsResponse,
|
|
59
|
-
type TaskGroupStatus,
|
|
60
|
-
type TaskGroupStatusEvent,
|
|
61
|
-
type TaskGroupRunResponse,
|
|
62
|
-
type TaskGroupCreateParams,
|
|
63
|
-
type TaskGroupAddRunsParams,
|
|
64
|
-
type TaskGroupEventsParams,
|
|
65
|
-
type TaskGroupGetRunsParams,
|
|
66
|
-
} from './task-group';
|
|
67
|
-
export {
|
|
68
|
-
TaskRun,
|
|
69
|
-
type ParallelBeta,
|
|
70
|
-
type TaskRunEventsResponse,
|
|
71
|
-
type BetaRunInput,
|
|
72
|
-
type BetaTaskRunResult,
|
|
73
|
-
type Webhook,
|
|
74
|
-
type McpServer,
|
|
75
|
-
type McpToolCall,
|
|
76
|
-
type TaskRunEvent,
|
|
77
|
-
type ErrorEvent,
|
|
78
|
-
type TaskRunCreateParams,
|
|
79
|
-
type TaskRunResultParams,
|
|
80
|
-
} from './task-run';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
4
|
import * as TaskRunAPI from './task-run';
|
|
5
|
-
import * as
|
|
5
|
+
import * as FindAllAPI from './beta/findall';
|
|
6
6
|
import { APIPromise } from '../core/api-promise';
|
|
7
7
|
import { Stream } from '../core/streaming';
|
|
8
8
|
import { buildHeaders } from '../internal/headers';
|
|
@@ -267,7 +267,7 @@ export interface TaskGroupAddRunsParams {
|
|
|
267
267
|
/**
|
|
268
268
|
* Header param: Optional header to specify the beta version(s) to enable.
|
|
269
269
|
*/
|
|
270
|
-
betas?: Array<
|
|
270
|
+
betas?: Array<FindAllAPI.ParallelBeta>;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
export interface TaskGroupEventsParams {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
4
|
import * as Shared from './shared';
|
|
5
|
-
import * as
|
|
5
|
+
import * as FindAllAPI from './beta/findall';
|
|
6
6
|
import { APIPromise } from '../core/api-promise';
|
|
7
7
|
import { Stream } from '../core/streaming';
|
|
8
8
|
import { buildHeaders } from '../internal/headers';
|
|
@@ -731,7 +731,7 @@ export interface TaskRunCreateParams {
|
|
|
731
731
|
/**
|
|
732
732
|
* Header param: Optional header to specify the beta version(s) to enable.
|
|
733
733
|
*/
|
|
734
|
-
betas?: Array<
|
|
734
|
+
betas?: Array<FindAllAPI.ParallelBeta>;
|
|
735
735
|
}
|
|
736
736
|
|
|
737
737
|
export interface TaskRunResultParams {
|
|
@@ -743,7 +743,7 @@ export interface TaskRunResultParams {
|
|
|
743
743
|
/**
|
|
744
744
|
* Header param: Optional header to specify the beta version(s) to enable.
|
|
745
745
|
*/
|
|
746
|
-
betas?: Array<
|
|
746
|
+
betas?: Array<FindAllAPI.ParallelBeta>;
|
|
747
747
|
}
|
|
748
748
|
|
|
749
749
|
export declare namespace TaskRun {
|
|
@@ -773,30 +773,3 @@ export declare namespace TaskRun {
|
|
|
773
773
|
type TaskRunResultParams as TaskRunResultParams,
|
|
774
774
|
};
|
|
775
775
|
}
|
|
776
|
-
|
|
777
|
-
// Backwards-compat namespace members (deprecated). Previously these types
|
|
778
|
-
// existed as nested interfaces under the parent type's namespace; they've
|
|
779
|
-
// since moved to top-level model types. Declaration merging here preserves
|
|
780
|
-
// the old `Parent.Member` import paths.
|
|
781
|
-
type _TaskAdvancedSettings = TaskAdvancedSettings;
|
|
782
|
-
type _TaskRunProgressMessageEvent = TaskRunProgressMessageEvent;
|
|
783
|
-
type _TaskRunProgressStatsEvent = TaskRunProgressStatsEvent;
|
|
784
|
-
type _TaskRunSourceStats = TaskRunSourceStats;
|
|
785
|
-
export namespace RunInput {
|
|
786
|
-
/** @deprecated Use the top-level `TaskAdvancedSettings` instead. */
|
|
787
|
-
export type AdvancedSettings = _TaskAdvancedSettings;
|
|
788
|
-
}
|
|
789
|
-
export namespace TaskRunCreateParams {
|
|
790
|
-
/** @deprecated Use the top-level `TaskAdvancedSettings` instead. */
|
|
791
|
-
export type AdvancedSettings = _TaskAdvancedSettings;
|
|
792
|
-
}
|
|
793
|
-
export namespace TaskRunEventsResponse {
|
|
794
|
-
/** @deprecated Use the top-level `TaskRunProgressMessageEvent` instead. */
|
|
795
|
-
export type TaskRunProgressMessageEvent = _TaskRunProgressMessageEvent;
|
|
796
|
-
/** @deprecated Use the top-level `TaskRunProgressStatsEvent` instead. */
|
|
797
|
-
export type TaskRunProgressStatsEvent = _TaskRunProgressStatsEvent;
|
|
798
|
-
export namespace TaskRunProgressStatsEvent {
|
|
799
|
-
/** @deprecated Use the top-level `TaskRunSourceStats` instead. */
|
|
800
|
-
export type SourceStats = _TaskRunSourceStats;
|
|
801
|
-
}
|
|
802
|
-
}
|
|
@@ -68,7 +68,7 @@ export interface ExcerptSettings {
|
|
|
68
68
|
/**
|
|
69
69
|
* Optional upper bound on the total number of characters to include per url.
|
|
70
70
|
* Excerpts may contain fewer characters than this limit to maximize relevance and
|
|
71
|
-
* token efficiency.
|
|
71
|
+
* token efficiency.
|
|
72
72
|
*/
|
|
73
73
|
max_chars_per_result?: number | null;
|
|
74
74
|
}
|
|
@@ -382,12 +382,3 @@ export declare namespace TopLevel {
|
|
|
382
382
|
type SearchParams as SearchParams,
|
|
383
383
|
};
|
|
384
384
|
}
|
|
385
|
-
|
|
386
|
-
// Backwards-compat namespace member (deprecated). `AdvancedExtractSettings.FullContentSettings`
|
|
387
|
-
// was previously a nested interface; the shape now lives as the top-level
|
|
388
|
-
// `FullContentSettings` model. Declaration merging here preserves the old path.
|
|
389
|
-
export namespace AdvancedExtractSettings {
|
|
390
|
-
/** @deprecated Use the top-level `FullContentSettings` instead. */
|
|
391
|
-
export type FullContentSettings = TopLevelFullContentSettings;
|
|
392
|
-
}
|
|
393
|
-
type TopLevelFullContentSettings = FullContentSettings;
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '1.0.1'; // x-release-please-version
|
package/streaming.d.mts
CHANGED
package/streaming.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streaming.d.mts","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"streaming.d.mts","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,qCAAiC"}
|
package/streaming.d.ts
CHANGED
package/streaming.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streaming.d.ts","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"streaming.d.ts","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,oCAAiC"}
|
package/streaming.mjs
CHANGED
package/streaming.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streaming.mjs","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"streaming.mjs","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,qCAAiC"}
|
package/uploads.d.mts
CHANGED
package/uploads.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
|