@aventurevc/api-schemas 0.8.70 → 0.8.72

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.
Files changed (48) hide show
  1. package/dist/agent/help.d.ts +30 -0
  2. package/dist/entity/filter.d.ts +2 -0
  3. package/dist/entity/filter.js +2 -0
  4. package/dist/federated/natural-search.d.ts +180 -0
  5. package/dist/federated/natural-search.js +24 -0
  6. package/dist/federated/search-provenance.d.ts +9 -0
  7. package/dist/federated/search-provenance.js +3 -0
  8. package/dist/federated/search-rejection.d.ts +26 -0
  9. package/dist/federated/search-rejection.js +23 -0
  10. package/dist/federated/search.d.ts +43 -6
  11. package/dist/federated/search.js +3 -0
  12. package/dist/harness/task-input-type.d.ts +17 -0
  13. package/dist/harness/task-input-type.js +14 -0
  14. package/dist/harness/task-plan-step.d.ts +29 -0
  15. package/dist/harness/task-plan-step.js +23 -0
  16. package/dist/harness/task-plan.d.ts +43 -0
  17. package/dist/harness/task-plan.js +25 -0
  18. package/dist/harness/task-step.d.ts +21 -0
  19. package/dist/harness/task-step.js +22 -0
  20. package/dist/harness/task.d.ts +24 -0
  21. package/dist/harness/task.js +23 -0
  22. package/dist/help/resolution.d.ts +30 -0
  23. package/dist/help/resolution.js +4 -1
  24. package/dist/http/problem-detail.d.ts +1 -0
  25. package/dist/http/problem-detail.js +2 -0
  26. package/dist/link/search.d.ts +44 -6
  27. package/dist/natural/search-result.d.ts +6 -6
  28. package/dist/natural/search.d.ts +0 -1
  29. package/dist/natural/search.js +0 -1
  30. package/dist/news/entity-mention.d.ts +41 -0
  31. package/dist/news/entity-mention.js +22 -0
  32. package/dist/news/match-status.d.ts +3 -0
  33. package/dist/news/match-status.js +3 -0
  34. package/dist/news/resolved-entity-link.d.ts +4 -0
  35. package/dist/news/resolved-entity-link.js +4 -0
  36. package/dist/openapi-component-manifest.js +20 -0
  37. package/dist/search/answer-citation.d.ts +1 -5
  38. package/dist/search/answer-paragraph.d.ts +2 -2
  39. package/dist/search/answer.d.ts +4 -4
  40. package/dist/search/answer.js +1 -1
  41. package/dist/search/evidence-source.d.ts +8 -5
  42. package/dist/search/evidence-source.js +5 -5
  43. package/dist/search/layer.d.ts +2 -1
  44. package/dist/search/layer.js +2 -1
  45. package/dist/search/mode.d.ts +1 -0
  46. package/dist/search/mode.js +1 -0
  47. package/dist/search/passage.d.ts +1 -5
  48. package/package.json +1 -1
@@ -19,6 +19,7 @@ type SearchModeDefinition = z.infer<typeof SearchModeSchemaDefinition>;
19
19
  * @endpoint POST /v1/search
20
20
  * @endpoint POST /v1/search/natural/entities
21
21
  * @endpoint POST /v1/search/natural/people
22
+ * @usedBySchema FederatedNaturalSearchSchema
22
23
  * @usedBySchema NaturalSearchSchema
23
24
  * @usedBySchema SearchModeExecutionSchema
24
25
  * @contractShape search.mode
@@ -15,6 +15,7 @@ const SearchModeSchemaDefinition = z.union([
15
15
  * @endpoint POST /v1/search
16
16
  * @endpoint POST /v1/search/natural/entities
17
17
  * @endpoint POST /v1/search/natural/people
18
+ * @usedBySchema FederatedNaturalSearchSchema
18
19
  * @usedBySchema NaturalSearchSchema
19
20
  * @usedBySchema SearchModeExecutionSchema
20
21
  * @contractShape search.mode
@@ -4,11 +4,7 @@ declare const SearchPassageSchemaDefinition: z.ZodObject<{
4
4
  label: z.ZodString;
5
5
  publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6
6
  score: z.ZodNumber;
7
- source: z.ZodEnum<{
8
- entityRecord: "entityRecord";
9
- newsArticle: "newsArticle";
10
- researchSnippet: "researchSnippet";
11
- }>;
7
+ source: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
12
8
  sourceId: z.ZodString;
13
9
  text: z.ZodString;
14
10
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.70",
3
+ "version": "0.8.72",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",