@getzep/zep-cloud 3.17.0 → 3.22.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/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +19 -14
- package/dist/cjs/api/errors/BadRequestError.d.ts +1 -2
- package/dist/cjs/api/errors/ConflictError.d.ts +9 -0
- package/dist/cjs/api/errors/ConflictError.js +52 -0
- package/dist/cjs/api/errors/index.d.ts +2 -1
- package/dist/cjs/api/errors/index.js +2 -1
- package/dist/cjs/api/resources/batch/client/Client.d.ts +161 -0
- package/dist/cjs/api/resources/batch/client/Client.js +777 -0
- package/dist/cjs/api/resources/batch/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/batch/client/index.js +17 -0
- package/dist/cjs/api/resources/batch/client/requests/ApidataAddBatchItemsRequest.d.ts +15 -0
- package/dist/cjs/api/resources/batch/client/requests/ApidataCreateBatchRequest.d.ts +10 -0
- package/dist/cjs/api/resources/batch/client/requests/ApidataCreateBatchRequest.js +5 -0
- package/dist/cjs/api/resources/batch/client/requests/BatchListItemsRequest.d.ts +25 -0
- package/dist/cjs/api/resources/batch/client/requests/BatchListItemsRequest.js +5 -0
- package/dist/cjs/api/resources/batch/client/requests/BatchListRequest.d.ts +25 -0
- package/dist/cjs/api/resources/batch/client/requests/BatchListRequest.js +5 -0
- package/dist/cjs/api/resources/batch/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/batch/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/batch/index.d.ts +1 -0
- package/dist/cjs/api/resources/batch/index.js +17 -0
- package/dist/cjs/api/resources/context/client/Client.js +5 -35
- package/dist/cjs/api/resources/graph/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/graph/client/Client.js +44 -82
- package/dist/cjs/api/resources/graph/client/requests/AddDataRequest.d.ts +2 -0
- package/dist/cjs/api/resources/graph/client/requests/AddTripleRequest.d.ts +5 -0
- package/dist/cjs/api/resources/graph/client/requests/DetectPatternsRequest.d.ts +12 -4
- package/dist/cjs/api/resources/graph/client/requests/GraphListAllRequest.d.ts +5 -0
- package/dist/cjs/api/resources/graph/client/requests/GraphSearchQuery.d.ts +14 -2
- package/dist/cjs/api/resources/graph/resources/edge/client/Client.js +5 -35
- package/dist/cjs/api/resources/graph/resources/episode/client/Client.d.ts +21 -0
- package/dist/cjs/api/resources/graph/resources/episode/client/Client.js +104 -30
- package/dist/cjs/api/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.d.ts +15 -0
- package/dist/cjs/api/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.js +5 -0
- package/dist/cjs/api/resources/graph/resources/episode/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/graph/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/graph/resources/index.js +3 -1
- package/dist/cjs/api/resources/graph/resources/node/client/Client.js +7 -49
- package/dist/cjs/api/resources/graph/resources/observation/client/Client.d.ts +81 -0
- package/dist/cjs/api/resources/graph/resources/observation/client/Client.js +333 -0
- package/dist/cjs/api/resources/graph/resources/observation/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/graph/resources/observation/client/index.js +2 -0
- package/dist/cjs/api/resources/graph/resources/observation/index.d.ts +1 -0
- package/dist/cjs/api/resources/graph/resources/observation/index.js +17 -0
- package/dist/cjs/api/resources/graph/resources/threadSummary/client/Client.d.ts +66 -0
- package/dist/cjs/api/resources/graph/resources/threadSummary/client/Client.js +249 -0
- package/dist/cjs/api/resources/graph/resources/threadSummary/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/graph/resources/threadSummary/client/index.js +2 -0
- package/dist/cjs/api/resources/graph/resources/threadSummary/index.d.ts +1 -0
- package/dist/cjs/api/resources/graph/resources/threadSummary/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.js +3 -1
- package/dist/cjs/api/resources/project/client/Client.js +1 -7
- package/dist/cjs/api/resources/thread/client/Client.d.ts +15 -0
- package/dist/cjs/api/resources/thread/client/Client.js +92 -14
- package/dist/cjs/api/resources/user/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/user/client/Client.js +15 -24
- package/dist/cjs/api/types/ApidataBatchAddItemRole.d.ts +12 -0
- package/dist/cjs/api/types/ApidataBatchAddItemRole.js +14 -0
- package/dist/cjs/api/types/ApidataBatchAddItemType.d.ts +8 -0
- package/dist/cjs/api/types/ApidataBatchAddItemType.js +10 -0
- package/dist/cjs/api/types/BatchAddItem.d.ts +18 -0
- package/dist/cjs/api/types/BatchAddItem.js +5 -0
- package/dist/cjs/api/types/BatchItemDetail.d.ts +18 -0
- package/dist/cjs/api/types/BatchItemDetail.js +5 -0
- package/dist/cjs/api/types/BatchItemKind.d.ts +8 -0
- package/dist/cjs/api/types/BatchItemKind.js +10 -0
- package/dist/cjs/api/types/BatchItemListResponse.d.ts +8 -0
- package/dist/cjs/api/types/BatchItemListResponse.js +5 -0
- package/dist/cjs/api/types/BatchItemStatus.d.ts +12 -0
- package/dist/cjs/api/types/BatchItemStatus.js +14 -0
- package/dist/cjs/api/types/BatchListResponse.d.ts +8 -0
- package/dist/cjs/api/types/BatchListResponse.js +5 -0
- package/dist/cjs/api/types/BatchProgress.d.ts +12 -0
- package/dist/cjs/api/types/BatchProgress.js +5 -0
- package/dist/cjs/api/types/BatchStatus.d.ts +13 -0
- package/dist/cjs/api/types/BatchStatus.js +15 -0
- package/dist/cjs/api/types/BatchSummary.d.ts +15 -0
- package/dist/cjs/api/types/BatchSummary.js +5 -0
- package/dist/cjs/api/types/ComparisonOperator.d.ts +2 -1
- package/dist/cjs/api/types/ComparisonOperator.js +1 -0
- package/dist/cjs/api/types/DateFilter.d.ts +1 -1
- package/dist/cjs/api/types/DerivedNode.d.ts +28 -0
- package/dist/cjs/api/types/DerivedNode.js +5 -0
- package/dist/cjs/api/types/DetectPatternsResponse.d.ts +2 -0
- package/dist/cjs/api/types/EntityEdge.d.ts +4 -0
- package/dist/cjs/api/types/EntityNode.d.ts +2 -0
- package/dist/cjs/api/types/Episode.d.ts +2 -0
- package/dist/cjs/api/types/EpisodeData.d.ts +2 -0
- package/dist/cjs/api/types/EpisodeMetadataFilter.d.ts +12 -0
- package/dist/cjs/api/types/EpisodeMetadataFilter.js +5 -0
- package/dist/cjs/api/types/GraphDataType.d.ts +2 -1
- package/dist/cjs/api/types/GraphDataType.js +1 -0
- package/dist/cjs/api/types/GraphObservationsRequest.d.ts +9 -0
- package/dist/cjs/api/types/GraphObservationsRequest.js +5 -0
- package/dist/cjs/api/types/GraphSearchResults.d.ts +3 -0
- package/dist/cjs/api/types/GraphSearchScope.d.ts +4 -1
- package/dist/cjs/api/types/GraphSearchScope.js +3 -0
- package/dist/cjs/api/types/GraphThreadSummariesRequest.d.ts +9 -0
- package/dist/cjs/api/types/GraphThreadSummariesRequest.js +5 -0
- package/dist/cjs/api/types/GraphitiMetadataFilterGroupType.d.ts +11 -0
- package/dist/cjs/api/types/GraphitiMetadataFilterGroupType.js +10 -0
- package/dist/cjs/api/types/GraphitiSagaNode.d.ts +26 -0
- package/dist/cjs/api/types/GraphitiSagaNode.js +5 -0
- package/dist/cjs/api/types/MetadataFilterGroup.d.ts +12 -0
- package/dist/cjs/api/types/MetadataFilterGroup.js +5 -0
- package/dist/cjs/api/types/PatternResult.d.ts +22 -5
- package/dist/cjs/api/types/PatternSeeds.d.ts +1 -1
- package/dist/cjs/api/types/PropertyFilter.d.ts +1 -1
- package/dist/cjs/api/types/SearchFilters.d.ts +14 -9
- package/dist/cjs/api/types/ThreadSummary.d.ts +20 -0
- package/dist/cjs/api/types/ThreadSummary.js +5 -0
- package/dist/cjs/api/types/index.d.ts +19 -1
- package/dist/cjs/api/types/index.js +19 -1
- package/dist/cjs/serialization/resources/batch/client/add.d.ts +11 -0
- package/dist/cjs/serialization/resources/batch/client/add.js +42 -0
- package/dist/cjs/serialization/resources/batch/client/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/batch/client/index.js +41 -0
- package/dist/cjs/serialization/resources/batch/client/requests/ApidataAddBatchItemsRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/batch/client/requests/ApidataAddBatchItemsRequest.js +44 -0
- package/dist/cjs/serialization/resources/batch/client/requests/ApidataCreateBatchRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/batch/client/requests/ApidataCreateBatchRequest.js +43 -0
- package/dist/cjs/serialization/resources/batch/client/requests/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/batch/client/requests/index.js +7 -0
- package/dist/cjs/serialization/resources/batch/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/batch/index.js +17 -0
- package/dist/cjs/serialization/resources/graph/client/requests/AddDataRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/graph/client/requests/AddDataRequest.js +1 -0
- package/dist/cjs/serialization/resources/graph/client/requests/AddTripleRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/graph/client/requests/AddTripleRequest.js +1 -0
- package/dist/cjs/serialization/resources/graph/client/requests/DetectPatternsRequest.d.ts +3 -1
- package/dist/cjs/serialization/resources/graph/client/requests/DetectPatternsRequest.js +3 -1
- package/dist/cjs/serialization/resources/graph/client/requests/GraphSearchQuery.d.ts +2 -0
- package/dist/cjs/serialization/resources/graph/client/requests/GraphSearchQuery.js +2 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/client/index.js +17 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.js +43 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/graph/resources/episode/index.js +17 -0
- package/dist/cjs/serialization/resources/graph/resources/index.d.ts +4 -0
- package/dist/cjs/serialization/resources/graph/resources/index.js +5 -1
- package/dist/cjs/serialization/resources/graph/resources/observation/client/getByGraphId.d.ts +11 -0
- package/dist/cjs/serialization/resources/graph/resources/observation/client/getByGraphId.js +42 -0
- package/dist/cjs/serialization/resources/graph/resources/observation/client/getByUserId.d.ts +11 -0
- package/dist/cjs/serialization/resources/graph/resources/observation/client/getByUserId.js +42 -0
- package/dist/cjs/serialization/resources/graph/resources/observation/client/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/graph/resources/observation/client/index.js +38 -0
- package/dist/cjs/serialization/resources/graph/resources/observation/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/graph/resources/observation/index.js +17 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/client/getByGraphId.d.ts +11 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/client/getByGraphId.js +42 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/client/getByUserId.d.ts +11 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/client/getByUserId.js +42 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/client/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/client/index.js +38 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/graph/resources/threadSummary/index.js +17 -0
- package/dist/cjs/serialization/resources/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/index.js +3 -1
- package/dist/cjs/serialization/types/ApidataBatchAddItemRole.d.ts +10 -0
- package/dist/cjs/serialization/types/ApidataBatchAddItemRole.js +41 -0
- package/dist/cjs/serialization/types/ApidataBatchAddItemType.d.ts +10 -0
- package/dist/cjs/serialization/types/ApidataBatchAddItemType.js +41 -0
- package/dist/cjs/serialization/types/BatchAddItem.d.ts +26 -0
- package/dist/cjs/serialization/types/BatchAddItem.js +57 -0
- package/dist/cjs/serialization/types/BatchItemDetail.d.ts +25 -0
- package/dist/cjs/serialization/types/BatchItemDetail.js +56 -0
- package/dist/cjs/serialization/types/BatchItemKind.d.ts +10 -0
- package/dist/cjs/serialization/types/BatchItemKind.js +41 -0
- package/dist/cjs/serialization/types/BatchItemListResponse.d.ts +14 -0
- package/dist/cjs/serialization/types/BatchItemListResponse.js +45 -0
- package/dist/cjs/serialization/types/BatchItemStatus.d.ts +10 -0
- package/dist/cjs/serialization/types/BatchItemStatus.js +41 -0
- package/dist/cjs/serialization/types/BatchListResponse.d.ts +14 -0
- package/dist/cjs/serialization/types/{PatternExample.js → BatchListResponse.js} +5 -4
- package/dist/cjs/serialization/types/BatchProgress.d.ts +18 -0
- package/dist/cjs/serialization/types/BatchProgress.js +49 -0
- package/dist/cjs/serialization/types/BatchStatus.d.ts +10 -0
- package/dist/cjs/serialization/types/BatchStatus.js +41 -0
- package/dist/cjs/serialization/types/BatchSummary.d.ts +22 -0
- package/dist/cjs/serialization/types/BatchSummary.js +53 -0
- package/dist/cjs/serialization/types/ComparisonOperator.d.ts +1 -1
- package/dist/cjs/serialization/types/ComparisonOperator.js +1 -1
- package/dist/cjs/serialization/types/DerivedNode.d.ts +21 -0
- package/dist/cjs/serialization/types/DerivedNode.js +52 -0
- package/dist/cjs/serialization/types/DetectPatternsResponse.d.ts +2 -0
- package/dist/cjs/serialization/types/DetectPatternsResponse.js +2 -0
- package/dist/cjs/serialization/types/EntityEdge.d.ts +2 -0
- package/dist/cjs/serialization/types/EntityEdge.js +2 -0
- package/dist/cjs/serialization/types/EntityNode.d.ts +1 -0
- package/dist/cjs/serialization/types/EntityNode.js +1 -0
- package/dist/cjs/serialization/types/Episode.d.ts +1 -0
- package/dist/cjs/serialization/types/Episode.js +1 -0
- package/dist/cjs/serialization/types/EpisodeData.d.ts +1 -0
- package/dist/cjs/serialization/types/EpisodeData.js +1 -0
- package/dist/cjs/serialization/types/EpisodeMetadataFilter.d.ts +15 -0
- package/dist/cjs/serialization/types/EpisodeMetadataFilter.js +46 -0
- package/dist/cjs/serialization/types/GraphDataType.d.ts +1 -1
- package/dist/cjs/serialization/types/GraphDataType.js +1 -1
- package/dist/cjs/serialization/types/GraphObservationsRequest.d.ts +13 -0
- package/dist/cjs/serialization/types/GraphObservationsRequest.js +44 -0
- package/dist/cjs/serialization/types/GraphSearchResults.d.ts +5 -0
- package/dist/cjs/serialization/types/GraphSearchResults.js +5 -0
- package/dist/cjs/serialization/types/GraphSearchScope.d.ts +1 -1
- package/dist/cjs/serialization/types/GraphSearchScope.js +1 -1
- package/dist/cjs/serialization/types/GraphThreadSummariesRequest.d.ts +13 -0
- package/dist/cjs/serialization/types/GraphThreadSummariesRequest.js +44 -0
- package/dist/cjs/serialization/types/GraphitiMetadataFilterGroupType.d.ts +10 -0
- package/dist/cjs/serialization/types/GraphitiMetadataFilterGroupType.js +41 -0
- package/dist/cjs/serialization/types/GraphitiSagaNode.d.ts +20 -0
- package/dist/cjs/serialization/types/GraphitiSagaNode.js +51 -0
- package/dist/cjs/serialization/types/MetadataFilterGroup.d.ts +16 -0
- package/dist/cjs/serialization/types/MetadataFilterGroup.js +48 -0
- package/dist/cjs/serialization/types/PatternResult.d.ts +3 -2
- package/dist/cjs/serialization/types/PatternResult.js +3 -2
- package/dist/cjs/serialization/types/SearchFilters.d.ts +1 -0
- package/dist/cjs/serialization/types/SearchFilters.js +2 -0
- package/dist/cjs/serialization/types/ThreadSummary.d.ts +16 -0
- package/dist/cjs/serialization/types/ThreadSummary.js +47 -0
- package/dist/cjs/serialization/types/index.d.ts +19 -1
- package/dist/cjs/serialization/types/index.js +19 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +7 -2
- package/dist/esm/api/errors/BadRequestError.d.mts +1 -2
- package/dist/esm/api/errors/ConflictError.d.mts +9 -0
- package/dist/esm/api/errors/ConflictError.mjs +15 -0
- package/dist/esm/api/errors/index.d.mts +2 -1
- package/dist/esm/api/errors/index.mjs +2 -1
- package/dist/esm/api/resources/batch/client/Client.d.mts +161 -0
- package/dist/esm/api/resources/batch/client/Client.mjs +740 -0
- package/dist/esm/api/resources/batch/client/index.d.mts +2 -0
- package/dist/esm/api/resources/batch/client/index.mjs +1 -0
- package/dist/esm/api/resources/batch/client/requests/ApidataAddBatchItemsRequest.d.mts +15 -0
- package/dist/esm/api/resources/batch/client/requests/ApidataCreateBatchRequest.d.mts +10 -0
- package/dist/esm/api/resources/batch/client/requests/ApidataCreateBatchRequest.mjs +4 -0
- package/dist/esm/api/resources/batch/client/requests/BatchListItemsRequest.d.mts +25 -0
- package/dist/esm/api/resources/batch/client/requests/BatchListItemsRequest.mjs +4 -0
- package/dist/esm/api/resources/batch/client/requests/BatchListRequest.d.mts +25 -0
- package/dist/esm/api/resources/batch/client/requests/BatchListRequest.mjs +4 -0
- package/dist/esm/api/resources/batch/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/batch/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/batch/index.d.mts +1 -0
- package/dist/esm/api/resources/batch/index.mjs +1 -0
- package/dist/esm/api/resources/context/client/Client.mjs +5 -35
- package/dist/esm/api/resources/graph/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/graph/client/Client.mjs +44 -82
- package/dist/esm/api/resources/graph/client/requests/AddDataRequest.d.mts +2 -0
- package/dist/esm/api/resources/graph/client/requests/AddTripleRequest.d.mts +5 -0
- package/dist/esm/api/resources/graph/client/requests/DetectPatternsRequest.d.mts +12 -4
- package/dist/esm/api/resources/graph/client/requests/GraphListAllRequest.d.mts +5 -0
- package/dist/esm/api/resources/graph/client/requests/GraphSearchQuery.d.mts +14 -2
- package/dist/esm/api/resources/graph/resources/edge/client/Client.mjs +5 -35
- package/dist/esm/api/resources/graph/resources/episode/client/Client.d.mts +21 -0
- package/dist/esm/api/resources/graph/resources/episode/client/Client.mjs +104 -30
- package/dist/esm/api/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.d.mts +15 -0
- package/dist/esm/api/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.mjs +4 -0
- package/dist/esm/api/resources/graph/resources/episode/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/graph/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/graph/resources/index.mjs +2 -0
- package/dist/esm/api/resources/graph/resources/node/client/Client.mjs +7 -49
- package/dist/esm/api/resources/graph/resources/observation/client/Client.d.mts +81 -0
- package/dist/esm/api/resources/graph/resources/observation/client/Client.mjs +296 -0
- package/dist/esm/api/resources/graph/resources/observation/client/index.d.mts +1 -0
- package/dist/esm/api/resources/graph/resources/observation/client/index.mjs +1 -0
- package/dist/esm/api/resources/graph/resources/observation/index.d.mts +1 -0
- package/dist/esm/api/resources/graph/resources/observation/index.mjs +1 -0
- package/dist/esm/api/resources/graph/resources/threadSummary/client/Client.d.mts +66 -0
- package/dist/esm/api/resources/graph/resources/threadSummary/client/Client.mjs +212 -0
- package/dist/esm/api/resources/graph/resources/threadSummary/client/index.d.mts +1 -0
- package/dist/esm/api/resources/graph/resources/threadSummary/client/index.mjs +1 -0
- package/dist/esm/api/resources/graph/resources/threadSummary/index.d.mts +1 -0
- package/dist/esm/api/resources/graph/resources/threadSummary/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/index.mjs +2 -0
- package/dist/esm/api/resources/project/client/Client.mjs +1 -7
- package/dist/esm/api/resources/thread/client/Client.d.mts +15 -0
- package/dist/esm/api/resources/thread/client/Client.mjs +92 -14
- package/dist/esm/api/resources/user/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/user/client/Client.mjs +15 -24
- package/dist/esm/api/types/ApidataBatchAddItemRole.d.mts +12 -0
- package/dist/esm/api/types/ApidataBatchAddItemRole.mjs +11 -0
- package/dist/esm/api/types/ApidataBatchAddItemType.d.mts +8 -0
- package/dist/esm/api/types/ApidataBatchAddItemType.mjs +7 -0
- package/dist/esm/api/types/BatchAddItem.d.mts +18 -0
- package/dist/esm/api/types/BatchAddItem.mjs +4 -0
- package/dist/esm/api/types/BatchItemDetail.d.mts +18 -0
- package/dist/esm/api/types/BatchItemDetail.mjs +4 -0
- package/dist/esm/api/types/BatchItemKind.d.mts +8 -0
- package/dist/esm/api/types/BatchItemKind.mjs +7 -0
- package/dist/esm/api/types/BatchItemListResponse.d.mts +8 -0
- package/dist/esm/api/types/BatchItemListResponse.mjs +4 -0
- package/dist/esm/api/types/BatchItemStatus.d.mts +12 -0
- package/dist/esm/api/types/BatchItemStatus.mjs +11 -0
- package/dist/esm/api/types/BatchListResponse.d.mts +8 -0
- package/dist/esm/api/types/BatchListResponse.mjs +4 -0
- package/dist/esm/api/types/BatchProgress.d.mts +12 -0
- package/dist/esm/api/types/BatchProgress.mjs +4 -0
- package/dist/esm/api/types/BatchStatus.d.mts +13 -0
- package/dist/esm/api/types/BatchStatus.mjs +12 -0
- package/dist/esm/api/types/BatchSummary.d.mts +15 -0
- package/dist/esm/api/types/BatchSummary.mjs +4 -0
- package/dist/esm/api/types/ComparisonOperator.d.mts +2 -1
- package/dist/esm/api/types/ComparisonOperator.mjs +1 -0
- package/dist/esm/api/types/DateFilter.d.mts +1 -1
- package/dist/esm/api/types/DerivedNode.d.mts +28 -0
- package/dist/esm/api/types/DerivedNode.mjs +4 -0
- package/dist/esm/api/types/DetectPatternsResponse.d.mts +2 -0
- package/dist/esm/api/types/EntityEdge.d.mts +4 -0
- package/dist/esm/api/types/EntityNode.d.mts +2 -0
- package/dist/esm/api/types/Episode.d.mts +2 -0
- package/dist/esm/api/types/EpisodeData.d.mts +2 -0
- package/dist/esm/api/types/EpisodeMetadataFilter.d.mts +12 -0
- package/dist/esm/api/types/EpisodeMetadataFilter.mjs +4 -0
- package/dist/esm/api/types/GraphDataType.d.mts +2 -1
- package/dist/esm/api/types/GraphDataType.mjs +1 -0
- package/dist/esm/api/types/GraphObservationsRequest.d.mts +9 -0
- package/dist/esm/api/types/GraphObservationsRequest.mjs +4 -0
- package/dist/esm/api/types/GraphSearchResults.d.mts +3 -0
- package/dist/esm/api/types/GraphSearchScope.d.mts +4 -1
- package/dist/esm/api/types/GraphSearchScope.mjs +3 -0
- package/dist/esm/api/types/GraphThreadSummariesRequest.d.mts +9 -0
- package/dist/esm/api/types/GraphThreadSummariesRequest.mjs +4 -0
- package/dist/esm/api/types/GraphitiMetadataFilterGroupType.d.mts +11 -0
- package/dist/esm/api/types/GraphitiMetadataFilterGroupType.mjs +7 -0
- package/dist/esm/api/types/GraphitiSagaNode.d.mts +26 -0
- package/dist/esm/api/types/GraphitiSagaNode.mjs +4 -0
- package/dist/esm/api/types/MetadataFilterGroup.d.mts +12 -0
- package/dist/esm/api/types/MetadataFilterGroup.mjs +4 -0
- package/dist/esm/api/types/PatternResult.d.mts +22 -5
- package/dist/esm/api/types/PatternSeeds.d.mts +1 -1
- package/dist/esm/api/types/PropertyFilter.d.mts +1 -1
- package/dist/esm/api/types/SearchFilters.d.mts +14 -9
- package/dist/esm/api/types/ThreadSummary.d.mts +20 -0
- package/dist/esm/api/types/ThreadSummary.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +19 -1
- package/dist/esm/api/types/index.mjs +19 -1
- package/dist/esm/serialization/resources/batch/client/add.d.mts +11 -0
- package/dist/esm/serialization/resources/batch/client/add.mjs +6 -0
- package/dist/esm/serialization/resources/batch/client/index.d.mts +2 -0
- package/dist/esm/serialization/resources/batch/client/index.mjs +2 -0
- package/dist/esm/serialization/resources/batch/client/requests/ApidataAddBatchItemsRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/batch/client/requests/ApidataAddBatchItemsRequest.mjs +8 -0
- package/dist/esm/serialization/resources/batch/client/requests/ApidataCreateBatchRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/batch/client/requests/ApidataCreateBatchRequest.mjs +7 -0
- package/dist/esm/serialization/resources/batch/client/requests/index.d.mts +2 -0
- package/dist/esm/serialization/resources/batch/client/requests/index.mjs +2 -0
- package/dist/esm/serialization/resources/batch/index.d.mts +1 -0
- package/dist/esm/serialization/resources/batch/index.mjs +1 -0
- package/dist/esm/serialization/resources/graph/client/requests/AddDataRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/graph/client/requests/AddDataRequest.mjs +1 -0
- package/dist/esm/serialization/resources/graph/client/requests/AddTripleRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/graph/client/requests/AddTripleRequest.mjs +1 -0
- package/dist/esm/serialization/resources/graph/client/requests/DetectPatternsRequest.d.mts +3 -1
- package/dist/esm/serialization/resources/graph/client/requests/DetectPatternsRequest.mjs +3 -1
- package/dist/esm/serialization/resources/graph/client/requests/GraphSearchQuery.d.mts +2 -0
- package/dist/esm/serialization/resources/graph/client/requests/GraphSearchQuery.mjs +2 -0
- package/dist/esm/serialization/resources/graph/resources/episode/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/graph/resources/episode/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.mjs +7 -0
- package/dist/esm/serialization/resources/graph/resources/episode/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/graph/resources/episode/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/graph/resources/episode/index.d.mts +1 -0
- package/dist/esm/serialization/resources/graph/resources/episode/index.mjs +1 -0
- package/dist/esm/serialization/resources/graph/resources/index.d.mts +4 -0
- package/dist/esm/serialization/resources/graph/resources/index.mjs +4 -0
- package/dist/esm/serialization/resources/graph/resources/observation/client/getByGraphId.d.mts +11 -0
- package/dist/esm/serialization/resources/graph/resources/observation/client/getByGraphId.mjs +6 -0
- package/dist/esm/serialization/resources/graph/resources/observation/client/getByUserId.d.mts +11 -0
- package/dist/esm/serialization/resources/graph/resources/observation/client/getByUserId.mjs +6 -0
- package/dist/esm/serialization/resources/graph/resources/observation/client/index.d.mts +2 -0
- package/dist/esm/serialization/resources/graph/resources/observation/client/index.mjs +2 -0
- package/dist/esm/serialization/resources/graph/resources/observation/index.d.mts +1 -0
- package/dist/esm/serialization/resources/graph/resources/observation/index.mjs +1 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/client/getByGraphId.d.mts +11 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/client/getByGraphId.mjs +6 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/client/getByUserId.d.mts +11 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/client/getByUserId.mjs +6 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/client/index.d.mts +2 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/client/index.mjs +2 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/index.d.mts +1 -0
- package/dist/esm/serialization/resources/graph/resources/threadSummary/index.mjs +1 -0
- package/dist/esm/serialization/resources/index.d.mts +2 -0
- package/dist/esm/serialization/resources/index.mjs +2 -0
- package/dist/esm/serialization/types/ApidataBatchAddItemRole.d.mts +10 -0
- package/dist/esm/serialization/types/ApidataBatchAddItemRole.mjs +5 -0
- package/dist/esm/serialization/types/ApidataBatchAddItemType.d.mts +10 -0
- package/dist/esm/serialization/types/ApidataBatchAddItemType.mjs +5 -0
- package/dist/esm/serialization/types/BatchAddItem.d.mts +26 -0
- package/dist/esm/serialization/types/BatchAddItem.mjs +21 -0
- package/dist/esm/serialization/types/BatchItemDetail.d.mts +25 -0
- package/dist/esm/serialization/types/BatchItemDetail.mjs +20 -0
- package/dist/esm/serialization/types/BatchItemKind.d.mts +10 -0
- package/dist/esm/serialization/types/BatchItemKind.mjs +5 -0
- package/dist/esm/serialization/types/BatchItemListResponse.d.mts +14 -0
- package/dist/esm/serialization/types/BatchItemListResponse.mjs +9 -0
- package/dist/esm/serialization/types/BatchItemStatus.d.mts +10 -0
- package/dist/esm/serialization/types/BatchItemStatus.mjs +5 -0
- package/dist/esm/serialization/types/BatchListResponse.d.mts +14 -0
- package/dist/esm/serialization/types/BatchListResponse.mjs +9 -0
- package/dist/esm/serialization/types/BatchProgress.d.mts +18 -0
- package/dist/esm/serialization/types/BatchProgress.mjs +13 -0
- package/dist/esm/serialization/types/BatchStatus.d.mts +10 -0
- package/dist/esm/serialization/types/BatchStatus.mjs +5 -0
- package/dist/esm/serialization/types/BatchSummary.d.mts +22 -0
- package/dist/esm/serialization/types/BatchSummary.mjs +17 -0
- package/dist/esm/serialization/types/ComparisonOperator.d.mts +1 -1
- package/dist/esm/serialization/types/ComparisonOperator.mjs +1 -1
- package/dist/esm/serialization/types/DerivedNode.d.mts +21 -0
- package/dist/esm/serialization/types/DerivedNode.mjs +16 -0
- package/dist/esm/serialization/types/DetectPatternsResponse.d.mts +2 -0
- package/dist/esm/serialization/types/DetectPatternsResponse.mjs +2 -0
- package/dist/esm/serialization/types/EntityEdge.d.mts +2 -0
- package/dist/esm/serialization/types/EntityEdge.mjs +2 -0
- package/dist/esm/serialization/types/EntityNode.d.mts +1 -0
- package/dist/esm/serialization/types/EntityNode.mjs +1 -0
- package/dist/esm/serialization/types/Episode.d.mts +1 -0
- package/dist/esm/serialization/types/Episode.mjs +1 -0
- package/dist/esm/serialization/types/EpisodeData.d.mts +1 -0
- package/dist/esm/serialization/types/EpisodeData.mjs +1 -0
- package/dist/esm/serialization/types/EpisodeMetadataFilter.d.mts +15 -0
- package/dist/esm/serialization/types/EpisodeMetadataFilter.mjs +10 -0
- package/dist/esm/serialization/types/GraphDataType.d.mts +1 -1
- package/dist/esm/serialization/types/GraphDataType.mjs +1 -1
- package/dist/esm/serialization/types/GraphObservationsRequest.d.mts +13 -0
- package/dist/esm/serialization/types/GraphObservationsRequest.mjs +8 -0
- package/dist/esm/serialization/types/GraphSearchResults.d.mts +5 -0
- package/dist/esm/serialization/types/GraphSearchResults.mjs +5 -0
- package/dist/esm/serialization/types/GraphSearchScope.d.mts +1 -1
- package/dist/esm/serialization/types/GraphSearchScope.mjs +1 -1
- package/dist/esm/serialization/types/GraphThreadSummariesRequest.d.mts +13 -0
- package/dist/esm/serialization/types/GraphThreadSummariesRequest.mjs +8 -0
- package/dist/esm/serialization/types/GraphitiMetadataFilterGroupType.d.mts +10 -0
- package/dist/esm/serialization/types/GraphitiMetadataFilterGroupType.mjs +5 -0
- package/dist/esm/serialization/types/GraphitiSagaNode.d.mts +20 -0
- package/dist/esm/serialization/types/GraphitiSagaNode.mjs +15 -0
- package/dist/esm/serialization/types/MetadataFilterGroup.d.mts +16 -0
- package/dist/esm/serialization/types/MetadataFilterGroup.mjs +12 -0
- package/dist/esm/serialization/types/PatternResult.d.mts +3 -2
- package/dist/esm/serialization/types/PatternResult.mjs +3 -2
- package/dist/esm/serialization/types/SearchFilters.d.mts +1 -0
- package/dist/esm/serialization/types/SearchFilters.mjs +2 -0
- package/dist/esm/serialization/types/ThreadSummary.d.mts +16 -0
- package/dist/esm/serialization/types/ThreadSummary.mjs +11 -0
- package/dist/esm/serialization/types/index.d.mts +19 -1
- package/dist/esm/serialization/types/index.mjs +19 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +16 -9
- package/reference.md +1414 -449
- package/dist/cjs/api/types/PatternExample.d.ts +0 -9
- package/dist/cjs/serialization/types/PatternExample.d.ts +0 -13
- package/dist/esm/api/types/PatternExample.d.mts +0 -9
- package/dist/esm/serialization/types/PatternExample.d.mts +0 -13
- package/dist/esm/serialization/types/PatternExample.mjs +0 -8
- /package/dist/cjs/api/{types/PatternExample.js → resources/batch/client/requests/ApidataAddBatchItemsRequest.js} +0 -0
- /package/dist/esm/api/{types/PatternExample.mjs → resources/batch/client/requests/ApidataAddBatchItemsRequest.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../index.mjs";
|
|
5
|
+
import * as Zep from "../../../../../../../api/index.mjs";
|
|
6
|
+
import * as core from "../../../../../../../core/index.mjs";
|
|
7
|
+
export declare const UpdateEpisodeRequest: core.serialization.Schema<serializers.graph.UpdateEpisodeRequest.Raw, Zep.graph.UpdateEpisodeRequest>;
|
|
8
|
+
export declare namespace UpdateEpisodeRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
metadata: Record<string, unknown>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../../../../../../core/index.mjs";
|
|
5
|
+
export const UpdateEpisodeRequest = core.serialization.object({
|
|
6
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
7
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UpdateEpisodeRequest } from "./UpdateEpisodeRequest.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UpdateEpisodeRequest } from "./UpdateEpisodeRequest.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export * as edge from "./edge/index.mjs";
|
|
2
2
|
export * as node from "./node/index.mjs";
|
|
3
|
+
export * as observation from "./observation/index.mjs";
|
|
4
|
+
export * as threadSummary from "./threadSummary/index.mjs";
|
|
3
5
|
export * from "./edge/client/requests/index.mjs";
|
|
6
|
+
export * as episode from "./episode/index.mjs";
|
|
7
|
+
export * from "./episode/client/requests/index.mjs";
|
|
4
8
|
export * from "./node/client/requests/index.mjs";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export * as edge from "./edge/index.mjs";
|
|
2
2
|
export * as node from "./node/index.mjs";
|
|
3
|
+
export * as observation from "./observation/index.mjs";
|
|
4
|
+
export * as threadSummary from "./threadSummary/index.mjs";
|
|
3
5
|
export * from "./edge/client/requests/index.mjs";
|
|
6
|
+
export * as episode from "./episode/index.mjs";
|
|
7
|
+
export * from "./episode/client/requests/index.mjs";
|
|
4
8
|
export * from "./node/client/requests/index.mjs";
|
package/dist/esm/serialization/resources/graph/resources/observation/client/getByGraphId.d.mts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index.mjs";
|
|
5
|
+
import * as Zep from "../../../../../../api/index.mjs";
|
|
6
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
7
|
+
import { DerivedNode } from "../../../../../types/DerivedNode.mjs";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.graph.observation.getByGraphId.Response.Raw, Zep.DerivedNode[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = DerivedNode.Raw[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index.mjs";
|
|
5
|
+
import * as Zep from "../../../../../../api/index.mjs";
|
|
6
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
7
|
+
import { DerivedNode } from "../../../../../types/DerivedNode.mjs";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.graph.observation.getByUserId.Response.Raw, Zep.DerivedNode[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = DerivedNode.Raw[];
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
package/dist/esm/serialization/resources/graph/resources/threadSummary/client/getByGraphId.d.mts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index.mjs";
|
|
5
|
+
import * as Zep from "../../../../../../api/index.mjs";
|
|
6
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
7
|
+
import { ThreadSummary } from "../../../../../types/ThreadSummary.mjs";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.graph.threadSummary.getByGraphId.Response.Raw, Zep.ThreadSummary[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = ThreadSummary.Raw[];
|
|
11
|
+
}
|
package/dist/esm/serialization/resources/graph/resources/threadSummary/client/getByGraphId.mjs
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
5
|
+
import { ThreadSummary } from "../../../../../types/ThreadSummary.mjs";
|
|
6
|
+
export const Response = core.serialization.list(ThreadSummary);
|
package/dist/esm/serialization/resources/graph/resources/threadSummary/client/getByUserId.d.mts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index.mjs";
|
|
5
|
+
import * as Zep from "../../../../../../api/index.mjs";
|
|
6
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
7
|
+
import { ThreadSummary } from "../../../../../types/ThreadSummary.mjs";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.graph.threadSummary.getByUserId.Response.Raw, Zep.ThreadSummary[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = ThreadSummary.Raw[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
5
|
+
import { ThreadSummary } from "../../../../../types/ThreadSummary.mjs";
|
|
6
|
+
export const Response = core.serialization.list(ThreadSummary);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
export * as batch from "./batch/index.mjs";
|
|
1
2
|
export * as graph from "./graph/index.mjs";
|
|
2
3
|
export * as user from "./user/index.mjs";
|
|
4
|
+
export * from "./batch/client/requests/index.mjs";
|
|
3
5
|
export * as context from "./context/index.mjs";
|
|
4
6
|
export * from "./context/client/requests/index.mjs";
|
|
5
7
|
export * from "./graph/client/requests/index.mjs";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
export * as batch from "./batch/index.mjs";
|
|
1
2
|
export * as graph from "./graph/index.mjs";
|
|
2
3
|
export * as user from "./user/index.mjs";
|
|
4
|
+
export * from "./batch/client/requests/index.mjs";
|
|
3
5
|
export * as context from "./context/index.mjs";
|
|
4
6
|
export * from "./context/client/requests/index.mjs";
|
|
5
7
|
export * from "./graph/client/requests/index.mjs";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
export declare const ApidataBatchAddItemRole: core.serialization.Schema<serializers.ApidataBatchAddItemRole.Raw, Zep.ApidataBatchAddItemRole>;
|
|
8
|
+
export declare namespace ApidataBatchAddItemRole {
|
|
9
|
+
type Raw = "norole" | "system" | "assistant" | "user" | "function" | "tool";
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
export declare const ApidataBatchAddItemType: core.serialization.Schema<serializers.ApidataBatchAddItemType.Raw, Zep.ApidataBatchAddItemType>;
|
|
8
|
+
export declare namespace ApidataBatchAddItemType {
|
|
9
|
+
type Raw = "graph_episode" | "thread_message";
|
|
10
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
import { GraphDataType } from "./GraphDataType.mjs";
|
|
8
|
+
import { ApidataBatchAddItemRole } from "./ApidataBatchAddItemRole.mjs";
|
|
9
|
+
import { ApidataBatchAddItemType } from "./ApidataBatchAddItemType.mjs";
|
|
10
|
+
export declare const BatchAddItem: core.serialization.ObjectSchema<serializers.BatchAddItem.Raw, Zep.BatchAddItem>;
|
|
11
|
+
export declare namespace BatchAddItem {
|
|
12
|
+
interface Raw {
|
|
13
|
+
content?: string | null;
|
|
14
|
+
created_at?: string | null;
|
|
15
|
+
data?: string | null;
|
|
16
|
+
data_type?: GraphDataType.Raw | null;
|
|
17
|
+
graph_id?: string | null;
|
|
18
|
+
metadata?: Record<string, unknown> | null;
|
|
19
|
+
name?: string | null;
|
|
20
|
+
role?: ApidataBatchAddItemRole.Raw | null;
|
|
21
|
+
source_description?: string | null;
|
|
22
|
+
thread_id?: string | null;
|
|
23
|
+
type: ApidataBatchAddItemType.Raw;
|
|
24
|
+
user_id?: string | null;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
import { GraphDataType } from "./GraphDataType.mjs";
|
|
6
|
+
import { ApidataBatchAddItemRole } from "./ApidataBatchAddItemRole.mjs";
|
|
7
|
+
import { ApidataBatchAddItemType } from "./ApidataBatchAddItemType.mjs";
|
|
8
|
+
export const BatchAddItem = core.serialization.object({
|
|
9
|
+
content: core.serialization.string().optional(),
|
|
10
|
+
createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
|
|
11
|
+
data: core.serialization.string().optional(),
|
|
12
|
+
dataType: core.serialization.property("data_type", GraphDataType.optional()),
|
|
13
|
+
graphId: core.serialization.property("graph_id", core.serialization.string().optional()),
|
|
14
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
15
|
+
name: core.serialization.string().optional(),
|
|
16
|
+
role: ApidataBatchAddItemRole.optional(),
|
|
17
|
+
sourceDescription: core.serialization.property("source_description", core.serialization.string().optional()),
|
|
18
|
+
threadId: core.serialization.property("thread_id", core.serialization.string().optional()),
|
|
19
|
+
type: ApidataBatchAddItemType,
|
|
20
|
+
userId: core.serialization.property("user_id", core.serialization.string().optional()),
|
|
21
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
import { BatchItemKind } from "./BatchItemKind.mjs";
|
|
8
|
+
import { BatchItemStatus } from "./BatchItemStatus.mjs";
|
|
9
|
+
export declare const BatchItemDetail: core.serialization.ObjectSchema<serializers.BatchItemDetail.Raw, Zep.BatchItemDetail>;
|
|
10
|
+
export declare namespace BatchItemDetail {
|
|
11
|
+
interface Raw {
|
|
12
|
+
created_at?: string | null;
|
|
13
|
+
episode_uuid?: string | null;
|
|
14
|
+
error?: Record<string, unknown> | null;
|
|
15
|
+
graph_id?: string | null;
|
|
16
|
+
item_id?: string | null;
|
|
17
|
+
kind?: BatchItemKind.Raw | null;
|
|
18
|
+
sequence_index?: number | null;
|
|
19
|
+
source_uuid?: string | null;
|
|
20
|
+
status?: BatchItemStatus.Raw | null;
|
|
21
|
+
thread_id?: string | null;
|
|
22
|
+
updated_at?: string | null;
|
|
23
|
+
user_id?: string | null;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
import { BatchItemKind } from "./BatchItemKind.mjs";
|
|
6
|
+
import { BatchItemStatus } from "./BatchItemStatus.mjs";
|
|
7
|
+
export const BatchItemDetail = core.serialization.object({
|
|
8
|
+
createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
|
|
9
|
+
episodeUuid: core.serialization.property("episode_uuid", core.serialization.string().optional()),
|
|
10
|
+
error: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
11
|
+
graphId: core.serialization.property("graph_id", core.serialization.string().optional()),
|
|
12
|
+
itemId: core.serialization.property("item_id", core.serialization.string().optional()),
|
|
13
|
+
kind: BatchItemKind.optional(),
|
|
14
|
+
sequenceIndex: core.serialization.property("sequence_index", core.serialization.number().optional()),
|
|
15
|
+
sourceUuid: core.serialization.property("source_uuid", core.serialization.string().optional()),
|
|
16
|
+
status: BatchItemStatus.optional(),
|
|
17
|
+
threadId: core.serialization.property("thread_id", core.serialization.string().optional()),
|
|
18
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.string().optional()),
|
|
19
|
+
userId: core.serialization.property("user_id", core.serialization.string().optional()),
|
|
20
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
export declare const BatchItemKind: core.serialization.Schema<serializers.BatchItemKind.Raw, Zep.BatchItemKind>;
|
|
8
|
+
export declare namespace BatchItemKind {
|
|
9
|
+
type Raw = "graph_episode" | "thread_message";
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
import { BatchItemDetail } from "./BatchItemDetail.mjs";
|
|
8
|
+
export declare const BatchItemListResponse: core.serialization.ObjectSchema<serializers.BatchItemListResponse.Raw, Zep.BatchItemListResponse>;
|
|
9
|
+
export declare namespace BatchItemListResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
items?: BatchItemDetail.Raw[] | null;
|
|
12
|
+
next_cursor?: number | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
import { BatchItemDetail } from "./BatchItemDetail.mjs";
|
|
6
|
+
export const BatchItemListResponse = core.serialization.object({
|
|
7
|
+
items: core.serialization.list(BatchItemDetail).optional(),
|
|
8
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.number().optional()),
|
|
9
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
export declare const BatchItemStatus: core.serialization.Schema<serializers.BatchItemStatus.Raw, Zep.BatchItemStatus>;
|
|
8
|
+
export declare namespace BatchItemStatus {
|
|
9
|
+
type Raw = "pending" | "queued" | "processing" | "succeeded" | "failed" | "skipped";
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
import { BatchSummary } from "./BatchSummary.mjs";
|
|
8
|
+
export declare const BatchListResponse: core.serialization.ObjectSchema<serializers.BatchListResponse.Raw, Zep.BatchListResponse>;
|
|
9
|
+
export declare namespace BatchListResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
batches?: BatchSummary.Raw[] | null;
|
|
12
|
+
next_cursor?: number | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
import { BatchSummary } from "./BatchSummary.mjs";
|
|
6
|
+
export const BatchListResponse = core.serialization.object({
|
|
7
|
+
batches: core.serialization.list(BatchSummary).optional(),
|
|
8
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.number().optional()),
|
|
9
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
export declare const BatchProgress: core.serialization.ObjectSchema<serializers.BatchProgress.Raw, Zep.BatchProgress>;
|
|
8
|
+
export declare namespace BatchProgress {
|
|
9
|
+
interface Raw {
|
|
10
|
+
failed_items?: number | null;
|
|
11
|
+
percent_complete?: number | null;
|
|
12
|
+
processing_items?: number | null;
|
|
13
|
+
queued_items?: number | null;
|
|
14
|
+
skipped_items?: number | null;
|
|
15
|
+
succeeded_items?: number | null;
|
|
16
|
+
total_items?: number | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
export const BatchProgress = core.serialization.object({
|
|
6
|
+
failedItems: core.serialization.property("failed_items", core.serialization.number().optional()),
|
|
7
|
+
percentComplete: core.serialization.property("percent_complete", core.serialization.number().optional()),
|
|
8
|
+
processingItems: core.serialization.property("processing_items", core.serialization.number().optional()),
|
|
9
|
+
queuedItems: core.serialization.property("queued_items", core.serialization.number().optional()),
|
|
10
|
+
skippedItems: core.serialization.property("skipped_items", core.serialization.number().optional()),
|
|
11
|
+
succeededItems: core.serialization.property("succeeded_items", core.serialization.number().optional()),
|
|
12
|
+
totalItems: core.serialization.property("total_items", core.serialization.number().optional()),
|
|
13
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
export declare const BatchStatus: core.serialization.Schema<serializers.BatchStatus.Raw, Zep.BatchStatus>;
|
|
8
|
+
export declare namespace BatchStatus {
|
|
9
|
+
type Raw = "draft" | "invalid" | "queued" | "processing" | "succeeded" | "partial" | "failed";
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
import { BatchProgress } from "./BatchProgress.mjs";
|
|
8
|
+
import { BatchStatus } from "./BatchStatus.mjs";
|
|
9
|
+
export declare const BatchSummary: core.serialization.ObjectSchema<serializers.BatchSummary.Raw, Zep.BatchSummary>;
|
|
10
|
+
export declare namespace BatchSummary {
|
|
11
|
+
interface Raw {
|
|
12
|
+
batch_id?: string | null;
|
|
13
|
+
completed_at?: string | null;
|
|
14
|
+
created_at?: string | null;
|
|
15
|
+
item_count?: number | null;
|
|
16
|
+
metadata?: Record<string, unknown> | null;
|
|
17
|
+
processed_at?: string | null;
|
|
18
|
+
progress?: BatchProgress.Raw | null;
|
|
19
|
+
status?: BatchStatus.Raw | null;
|
|
20
|
+
updated_at?: string | null;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
import { BatchProgress } from "./BatchProgress.mjs";
|
|
6
|
+
import { BatchStatus } from "./BatchStatus.mjs";
|
|
7
|
+
export const BatchSummary = core.serialization.object({
|
|
8
|
+
batchId: core.serialization.property("batch_id", core.serialization.string().optional()),
|
|
9
|
+
completedAt: core.serialization.property("completed_at", core.serialization.string().optional()),
|
|
10
|
+
createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
|
|
11
|
+
itemCount: core.serialization.property("item_count", core.serialization.number().optional()),
|
|
12
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
13
|
+
processedAt: core.serialization.property("processed_at", core.serialization.string().optional()),
|
|
14
|
+
progress: BatchProgress.optional(),
|
|
15
|
+
status: BatchStatus.optional(),
|
|
16
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.string().optional()),
|
|
17
|
+
});
|
|
@@ -6,5 +6,5 @@ import * as Zep from "../../api/index.mjs";
|
|
|
6
6
|
import * as core from "../../core/index.mjs";
|
|
7
7
|
export declare const ComparisonOperator: core.serialization.Schema<serializers.ComparisonOperator.Raw, Zep.ComparisonOperator>;
|
|
8
8
|
export declare namespace ComparisonOperator {
|
|
9
|
-
type Raw = "=" | "<>" | ">" | "<" | ">=" | "<=" | "IS NULL" | "IS NOT NULL";
|
|
9
|
+
type Raw = "=" | "<>" | ">" | "<" | ">=" | "<=" | "IS NULL" | "IS NOT NULL" | "CONTAINS";
|
|
10
10
|
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "../../core/index.mjs";
|
|
5
|
-
export const ComparisonOperator = core.serialization.enum_(["=", "<>", ">", "<", ">=", "<=", "IS NULL", "IS NOT NULL"]);
|
|
5
|
+
export const ComparisonOperator = core.serialization.enum_(["=", "<>", ">", "<", ">=", "<=", "IS NULL", "IS NOT NULL", "CONTAINS"]);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
export declare const DerivedNode: core.serialization.ObjectSchema<serializers.DerivedNode.Raw, Zep.DerivedNode>;
|
|
8
|
+
export declare namespace DerivedNode {
|
|
9
|
+
interface Raw {
|
|
10
|
+
attributes?: Record<string, unknown> | null;
|
|
11
|
+
created_at: string;
|
|
12
|
+
episode_ids?: string[] | null;
|
|
13
|
+
labels?: string[] | null;
|
|
14
|
+
name: string;
|
|
15
|
+
relevance?: number | null;
|
|
16
|
+
score?: number | null;
|
|
17
|
+
selection_rank?: number | null;
|
|
18
|
+
summary?: string | null;
|
|
19
|
+
uuid: string;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
export const DerivedNode = core.serialization.object({
|
|
6
|
+
attributes: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
7
|
+
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
8
|
+
episodeIds: core.serialization.property("episode_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
9
|
+
labels: core.serialization.list(core.serialization.string()).optional(),
|
|
10
|
+
name: core.serialization.string(),
|
|
11
|
+
relevance: core.serialization.number().optional(),
|
|
12
|
+
score: core.serialization.number().optional(),
|
|
13
|
+
selectionRank: core.serialization.property("selection_rank", core.serialization.number().optional()),
|
|
14
|
+
summary: core.serialization.string().optional(),
|
|
15
|
+
uuid: core.serialization.string(),
|
|
16
|
+
});
|
|
@@ -5,11 +5,13 @@ import * as serializers from "../index.mjs";
|
|
|
5
5
|
import * as Zep from "../../api/index.mjs";
|
|
6
6
|
import * as core from "../../core/index.mjs";
|
|
7
7
|
import { PatternMetadata } from "./PatternMetadata.mjs";
|
|
8
|
+
import { EntityNode } from "./EntityNode.mjs";
|
|
8
9
|
import { PatternResult } from "./PatternResult.mjs";
|
|
9
10
|
export declare const DetectPatternsResponse: core.serialization.ObjectSchema<serializers.DetectPatternsResponse.Raw, Zep.DetectPatternsResponse>;
|
|
10
11
|
export declare namespace DetectPatternsResponse {
|
|
11
12
|
interface Raw {
|
|
12
13
|
metadata?: PatternMetadata.Raw | null;
|
|
14
|
+
nodes?: EntityNode.Raw[] | null;
|
|
13
15
|
patterns?: PatternResult.Raw[] | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "../../core/index.mjs";
|
|
5
5
|
import { PatternMetadata } from "./PatternMetadata.mjs";
|
|
6
|
+
import { EntityNode } from "./EntityNode.mjs";
|
|
6
7
|
import { PatternResult } from "./PatternResult.mjs";
|
|
7
8
|
export const DetectPatternsResponse = core.serialization.object({
|
|
8
9
|
metadata: PatternMetadata.optional(),
|
|
10
|
+
nodes: core.serialization.list(EntityNode).optional(),
|
|
9
11
|
patterns: core.serialization.list(PatternResult).optional(),
|
|
10
12
|
});
|
|
@@ -15,7 +15,9 @@ export declare namespace EntityEdge {
|
|
|
15
15
|
invalid_at?: string | null;
|
|
16
16
|
name: string;
|
|
17
17
|
relevance?: number | null;
|
|
18
|
+
scope?: string | null;
|
|
18
19
|
score?: number | null;
|
|
20
|
+
selection_rank?: number | null;
|
|
19
21
|
source_node_uuid: string;
|
|
20
22
|
target_node_uuid: string;
|
|
21
23
|
uuid: string;
|