@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
|
@@ -11,7 +11,9 @@ export const EntityEdge = core.serialization.object({
|
|
|
11
11
|
invalidAt: core.serialization.property("invalid_at", core.serialization.string().optional()),
|
|
12
12
|
name: core.serialization.string(),
|
|
13
13
|
relevance: core.serialization.number().optional(),
|
|
14
|
+
scope: core.serialization.string().optional(),
|
|
14
15
|
score: core.serialization.number().optional(),
|
|
16
|
+
selectionRank: core.serialization.property("selection_rank", core.serialization.number().optional()),
|
|
15
17
|
sourceNodeUuid: core.serialization.property("source_node_uuid", core.serialization.string()),
|
|
16
18
|
targetNodeUuid: core.serialization.property("target_node_uuid", core.serialization.string()),
|
|
17
19
|
uuid: core.serialization.string(),
|
|
@@ -9,6 +9,7 @@ export const EntityNode = core.serialization.object({
|
|
|
9
9
|
name: core.serialization.string(),
|
|
10
10
|
relevance: core.serialization.number().optional(),
|
|
11
11
|
score: core.serialization.number().optional(),
|
|
12
|
+
selectionRank: core.serialization.property("selection_rank", core.serialization.number().optional()),
|
|
12
13
|
summary: core.serialization.string(),
|
|
13
14
|
uuid: core.serialization.string(),
|
|
14
15
|
});
|
|
@@ -13,6 +13,7 @@ export const Episode = core.serialization.object({
|
|
|
13
13
|
role: core.serialization.string().optional(),
|
|
14
14
|
roleType: core.serialization.property("role_type", RoleType.optional()),
|
|
15
15
|
score: core.serialization.number().optional(),
|
|
16
|
+
selectionRank: core.serialization.property("selection_rank", core.serialization.number().optional()),
|
|
16
17
|
source: GraphDataType.optional(),
|
|
17
18
|
sourceDescription: core.serialization.property("source_description", core.serialization.string().optional()),
|
|
18
19
|
taskId: core.serialization.property("task_id", core.serialization.string().optional()),
|
|
@@ -6,6 +6,7 @@ import { GraphDataType } from "./GraphDataType.mjs";
|
|
|
6
6
|
export const EpisodeData = core.serialization.object({
|
|
7
7
|
createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
|
|
8
8
|
data: core.serialization.string(),
|
|
9
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
9
10
|
sourceDescription: core.serialization.property("source_description", core.serialization.string().optional()),
|
|
10
11
|
type: GraphDataType,
|
|
11
12
|
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { ComparisonOperator } from "./ComparisonOperator.mjs";
|
|
8
|
+
export declare const EpisodeMetadataFilter: core.serialization.ObjectSchema<serializers.EpisodeMetadataFilter.Raw, Zep.EpisodeMetadataFilter>;
|
|
9
|
+
export declare namespace EpisodeMetadataFilter {
|
|
10
|
+
interface Raw {
|
|
11
|
+
comparison_operator: ComparisonOperator.Raw;
|
|
12
|
+
property_name: string;
|
|
13
|
+
property_value?: unknown | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
import { ComparisonOperator } from "./ComparisonOperator.mjs";
|
|
6
|
+
export const EpisodeMetadataFilter = core.serialization.object({
|
|
7
|
+
comparisonOperator: core.serialization.property("comparison_operator", ComparisonOperator),
|
|
8
|
+
propertyName: core.serialization.property("property_name", core.serialization.string()),
|
|
9
|
+
propertyValue: core.serialization.property("property_value", core.serialization.unknown().optional()),
|
|
10
|
+
});
|
|
@@ -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 GraphDataType: core.serialization.Schema<serializers.GraphDataType.Raw, Zep.GraphDataType>;
|
|
8
8
|
export declare namespace GraphDataType {
|
|
9
|
-
type Raw = "text" | "json" | "message";
|
|
9
|
+
type Raw = "text" | "json" | "message" | "fact_triple";
|
|
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 GraphDataType = core.serialization.enum_(["text", "json", "message"]);
|
|
5
|
+
export const GraphDataType = core.serialization.enum_(["text", "json", "message", "fact_triple"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
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 GraphObservationsRequest: core.serialization.ObjectSchema<serializers.GraphObservationsRequest.Raw, Zep.GraphObservationsRequest>;
|
|
8
|
+
export declare namespace GraphObservationsRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
limit?: number | null;
|
|
11
|
+
uuid_cursor?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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 GraphObservationsRequest = core.serialization.object({
|
|
6
|
+
limit: core.serialization.number().optional(),
|
|
7
|
+
uuidCursor: core.serialization.property("uuid_cursor", core.serialization.string().optional()),
|
|
8
|
+
});
|
|
@@ -7,11 +7,16 @@ import * as core from "../../core/index.mjs";
|
|
|
7
7
|
import { EntityEdge } from "./EntityEdge.mjs";
|
|
8
8
|
import { Episode } from "./Episode.mjs";
|
|
9
9
|
import { EntityNode } from "./EntityNode.mjs";
|
|
10
|
+
import { DerivedNode } from "./DerivedNode.mjs";
|
|
11
|
+
import { GraphitiSagaNode } from "./GraphitiSagaNode.mjs";
|
|
10
12
|
export declare const GraphSearchResults: core.serialization.ObjectSchema<serializers.GraphSearchResults.Raw, Zep.GraphSearchResults>;
|
|
11
13
|
export declare namespace GraphSearchResults {
|
|
12
14
|
interface Raw {
|
|
15
|
+
context?: string | null;
|
|
13
16
|
edges?: EntityEdge.Raw[] | null;
|
|
14
17
|
episodes?: Episode.Raw[] | null;
|
|
15
18
|
nodes?: EntityNode.Raw[] | null;
|
|
19
|
+
observations?: DerivedNode.Raw[] | null;
|
|
20
|
+
thread_summaries?: GraphitiSagaNode.Raw[] | null;
|
|
16
21
|
}
|
|
17
22
|
}
|
|
@@ -5,8 +5,13 @@ import * as core from "../../core/index.mjs";
|
|
|
5
5
|
import { EntityEdge } from "./EntityEdge.mjs";
|
|
6
6
|
import { Episode } from "./Episode.mjs";
|
|
7
7
|
import { EntityNode } from "./EntityNode.mjs";
|
|
8
|
+
import { DerivedNode } from "./DerivedNode.mjs";
|
|
9
|
+
import { GraphitiSagaNode } from "./GraphitiSagaNode.mjs";
|
|
8
10
|
export const GraphSearchResults = core.serialization.object({
|
|
11
|
+
context: core.serialization.string().optional(),
|
|
9
12
|
edges: core.serialization.list(EntityEdge).optional(),
|
|
10
13
|
episodes: core.serialization.list(Episode).optional(),
|
|
11
14
|
nodes: core.serialization.list(EntityNode).optional(),
|
|
15
|
+
observations: core.serialization.list(DerivedNode).optional(),
|
|
16
|
+
threadSummaries: core.serialization.property("thread_summaries", core.serialization.list(GraphitiSagaNode).optional()),
|
|
12
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 GraphSearchScope: core.serialization.Schema<serializers.GraphSearchScope.Raw, Zep.GraphSearchScope>;
|
|
8
8
|
export declare namespace GraphSearchScope {
|
|
9
|
-
type Raw = "edges" | "nodes" | "episodes";
|
|
9
|
+
type Raw = "edges" | "nodes" | "episodes" | "thread_summaries" | "observations" | "auto";
|
|
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 GraphSearchScope = core.serialization.enum_(["edges", "nodes", "episodes"]);
|
|
5
|
+
export const GraphSearchScope = core.serialization.enum_(["edges", "nodes", "episodes", "thread_summaries", "observations", "auto"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
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 GraphThreadSummariesRequest: core.serialization.ObjectSchema<serializers.GraphThreadSummariesRequest.Raw, Zep.GraphThreadSummariesRequest>;
|
|
8
|
+
export declare namespace GraphThreadSummariesRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
limit?: number | null;
|
|
11
|
+
uuid_cursor?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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 GraphThreadSummariesRequest = core.serialization.object({
|
|
6
|
+
limit: core.serialization.number().optional(),
|
|
7
|
+
uuidCursor: core.serialization.property("uuid_cursor", core.serialization.string().optional()),
|
|
8
|
+
});
|
|
@@ -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 GraphitiMetadataFilterGroupType: core.serialization.Schema<serializers.GraphitiMetadataFilterGroupType.Raw, Zep.GraphitiMetadataFilterGroupType>;
|
|
8
|
+
export declare namespace GraphitiMetadataFilterGroupType {
|
|
9
|
+
type Raw = "and" | "or";
|
|
10
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 GraphitiSagaNode: core.serialization.ObjectSchema<serializers.GraphitiSagaNode.Raw, Zep.GraphitiSagaNode>;
|
|
8
|
+
export declare namespace GraphitiSagaNode {
|
|
9
|
+
interface Raw {
|
|
10
|
+
created_at: string;
|
|
11
|
+
labels?: string[] | null;
|
|
12
|
+
last_summarized_at?: string | null;
|
|
13
|
+
name: string;
|
|
14
|
+
relevance?: number | null;
|
|
15
|
+
score?: number | null;
|
|
16
|
+
selection_rank?: number | null;
|
|
17
|
+
summary?: string | null;
|
|
18
|
+
uuid: string;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 GraphitiSagaNode = core.serialization.object({
|
|
6
|
+
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
7
|
+
labels: core.serialization.list(core.serialization.string()).optional(),
|
|
8
|
+
lastSummarizedAt: core.serialization.property("last_summarized_at", core.serialization.string().optional()),
|
|
9
|
+
name: core.serialization.string(),
|
|
10
|
+
relevance: core.serialization.number().optional(),
|
|
11
|
+
score: core.serialization.number().optional(),
|
|
12
|
+
selectionRank: core.serialization.property("selection_rank", core.serialization.number().optional()),
|
|
13
|
+
summary: core.serialization.string().optional(),
|
|
14
|
+
uuid: core.serialization.string(),
|
|
15
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { EpisodeMetadataFilter } from "./EpisodeMetadataFilter.mjs";
|
|
8
|
+
import { GraphitiMetadataFilterGroupType } from "./GraphitiMetadataFilterGroupType.mjs";
|
|
9
|
+
export declare const MetadataFilterGroup: core.serialization.ObjectSchema<serializers.MetadataFilterGroup.Raw, Zep.MetadataFilterGroup>;
|
|
10
|
+
export declare namespace MetadataFilterGroup {
|
|
11
|
+
interface Raw {
|
|
12
|
+
filters?: EpisodeMetadataFilter.Raw[] | null;
|
|
13
|
+
groups?: serializers.MetadataFilterGroup.Raw[] | null;
|
|
14
|
+
type: GraphitiMetadataFilterGroupType.Raw;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -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 core from "../../core/index.mjs";
|
|
6
|
+
import { EpisodeMetadataFilter } from "./EpisodeMetadataFilter.mjs";
|
|
7
|
+
import { GraphitiMetadataFilterGroupType } from "./GraphitiMetadataFilterGroupType.mjs";
|
|
8
|
+
export const MetadataFilterGroup = core.serialization.object({
|
|
9
|
+
filters: core.serialization.list(EpisodeMetadataFilter).optional(),
|
|
10
|
+
groups: core.serialization.list(core.serialization.lazyObject(() => serializers.MetadataFilterGroup)).optional(),
|
|
11
|
+
type: GraphitiMetadataFilterGroupType,
|
|
12
|
+
});
|
|
@@ -4,15 +4,16 @@
|
|
|
4
4
|
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
|
-
import {
|
|
7
|
+
import { EntityEdge } from "./EntityEdge.mjs";
|
|
8
8
|
export declare const PatternResult: core.serialization.ObjectSchema<serializers.PatternResult.Raw, Zep.PatternResult>;
|
|
9
9
|
export declare namespace PatternResult {
|
|
10
10
|
interface Raw {
|
|
11
11
|
description?: string | null;
|
|
12
12
|
edge_types?: string[] | null;
|
|
13
|
-
|
|
13
|
+
edges?: EntityEdge.Raw[] | null;
|
|
14
14
|
node_labels?: string[] | null;
|
|
15
15
|
occurrences?: number | null;
|
|
16
|
+
summary?: string | null;
|
|
16
17
|
type?: string | null;
|
|
17
18
|
weighted_score?: number | null;
|
|
18
19
|
}
|
|
@@ -2,13 +2,14 @@
|
|
|
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
|
-
import {
|
|
5
|
+
import { EntityEdge } from "./EntityEdge.mjs";
|
|
6
6
|
export const PatternResult = core.serialization.object({
|
|
7
7
|
description: core.serialization.string().optional(),
|
|
8
8
|
edgeTypes: core.serialization.property("edge_types", core.serialization.list(core.serialization.string()).optional()),
|
|
9
|
-
|
|
9
|
+
edges: core.serialization.list(EntityEdge).optional(),
|
|
10
10
|
nodeLabels: core.serialization.property("node_labels", core.serialization.list(core.serialization.string()).optional()),
|
|
11
11
|
occurrences: core.serialization.number().optional(),
|
|
12
|
+
summary: core.serialization.string().optional(),
|
|
12
13
|
type: core.serialization.string().optional(),
|
|
13
14
|
weightedScore: core.serialization.property("weighted_score", core.serialization.number().optional()),
|
|
14
15
|
});
|
|
@@ -12,6 +12,7 @@ export declare namespace SearchFilters {
|
|
|
12
12
|
created_at?: DateFilter.Raw[][] | null;
|
|
13
13
|
edge_types?: string[] | null;
|
|
14
14
|
edge_uuids?: string[] | null;
|
|
15
|
+
episode_metadata_filters?: serializers.MetadataFilterGroup.Raw | null;
|
|
15
16
|
exclude_edge_types?: string[] | null;
|
|
16
17
|
exclude_node_labels?: string[] | null;
|
|
17
18
|
expired_at?: DateFilter.Raw[][] | null;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
4
5
|
import * as core from "../../core/index.mjs";
|
|
5
6
|
import { DateFilter } from "./DateFilter.mjs";
|
|
6
7
|
import { PropertyFilter } from "./PropertyFilter.mjs";
|
|
@@ -8,6 +9,7 @@ export const SearchFilters = core.serialization.object({
|
|
|
8
9
|
createdAt: core.serialization.property("created_at", core.serialization.list(core.serialization.list(DateFilter)).optional()),
|
|
9
10
|
edgeTypes: core.serialization.property("edge_types", core.serialization.list(core.serialization.string()).optional()),
|
|
10
11
|
edgeUuids: core.serialization.property("edge_uuids", core.serialization.list(core.serialization.string()).optional()),
|
|
12
|
+
episodeMetadataFilters: core.serialization.property("episode_metadata_filters", core.serialization.lazyObject(() => serializers.MetadataFilterGroup).optional()),
|
|
11
13
|
excludeEdgeTypes: core.serialization.property("exclude_edge_types", core.serialization.list(core.serialization.string()).optional()),
|
|
12
14
|
excludeNodeLabels: core.serialization.property("exclude_node_labels", core.serialization.list(core.serialization.string()).optional()),
|
|
13
15
|
expiredAt: core.serialization.property("expired_at", core.serialization.list(core.serialization.list(DateFilter)).optional()),
|
|
@@ -0,0 +1,16 @@
|
|
|
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 ThreadSummary: core.serialization.ObjectSchema<serializers.ThreadSummary.Raw, Zep.ThreadSummary>;
|
|
8
|
+
export declare namespace ThreadSummary {
|
|
9
|
+
interface Raw {
|
|
10
|
+
created_at?: string | null;
|
|
11
|
+
last_summarized_at?: string | null;
|
|
12
|
+
summary?: string | null;
|
|
13
|
+
thread_id?: string | null;
|
|
14
|
+
uuid?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
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 ThreadSummary = core.serialization.object({
|
|
6
|
+
createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
|
|
7
|
+
lastSummarizedAt: core.serialization.property("last_summarized_at", core.serialization.string().optional()),
|
|
8
|
+
summary: core.serialization.string().optional(),
|
|
9
|
+
threadId: core.serialization.property("thread_id", core.serialization.string().optional()),
|
|
10
|
+
uuid: core.serialization.string().optional(),
|
|
11
|
+
});
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
export * from "./ApiError.mjs";
|
|
2
2
|
export * from "./AddThreadMessagesRequest.mjs";
|
|
3
3
|
export * from "./AddThreadMessagesResponse.mjs";
|
|
4
|
+
export * from "./ApidataBatchAddItemRole.mjs";
|
|
5
|
+
export * from "./ApidataBatchAddItemType.mjs";
|
|
6
|
+
export * from "./BatchAddItem.mjs";
|
|
7
|
+
export * from "./BatchItemDetail.mjs";
|
|
8
|
+
export * from "./BatchItemListResponse.mjs";
|
|
9
|
+
export * from "./BatchListResponse.mjs";
|
|
10
|
+
export * from "./BatchProgress.mjs";
|
|
11
|
+
export * from "./BatchSummary.mjs";
|
|
4
12
|
export * from "./CloneGraphResponse.mjs";
|
|
5
13
|
export * from "./ClusterDetectConfig.mjs";
|
|
6
14
|
export * from "./CoOccurrenceDetectConfig.mjs";
|
|
@@ -22,13 +30,14 @@ export * from "./Episode.mjs";
|
|
|
22
30
|
export * from "./EpisodeResponse.mjs";
|
|
23
31
|
export * from "./GraphListResponse.mjs";
|
|
24
32
|
export * from "./GraphNodesRequest.mjs";
|
|
33
|
+
export * from "./GraphObservationsRequest.mjs";
|
|
25
34
|
export * from "./GraphSearchResults.mjs";
|
|
35
|
+
export * from "./GraphThreadSummariesRequest.mjs";
|
|
26
36
|
export * from "./HubDetectConfig.mjs";
|
|
27
37
|
export * from "./ListContextTemplatesResponse.mjs";
|
|
28
38
|
export * from "./ListCustomInstructionsResponse.mjs";
|
|
29
39
|
export * from "./ListUserInstructionsResponse.mjs";
|
|
30
40
|
export * from "./PathDetectConfig.mjs";
|
|
31
|
-
export * from "./PatternExample.mjs";
|
|
32
41
|
export * from "./PatternMetadata.mjs";
|
|
33
42
|
export * from "./PatternResult.mjs";
|
|
34
43
|
export * from "./PatternSeeds.mjs";
|
|
@@ -45,6 +54,7 @@ export * from "./ThreadContextResponse.mjs";
|
|
|
45
54
|
export * from "./ThreadListResponse.mjs";
|
|
46
55
|
export * from "./Message.mjs";
|
|
47
56
|
export * from "./MessageListResponse.mjs";
|
|
57
|
+
export * from "./ThreadSummary.mjs";
|
|
48
58
|
export * from "./User.mjs";
|
|
49
59
|
export * from "./UserInstruction.mjs";
|
|
50
60
|
export * from "./UserListResponse.mjs";
|
|
@@ -52,11 +62,19 @@ export * from "./UserNodeResponse.mjs";
|
|
|
52
62
|
export * from "./AddTripleResponse.mjs";
|
|
53
63
|
export * from "./ComparisonOperator.mjs";
|
|
54
64
|
export * from "./DateFilter.mjs";
|
|
65
|
+
export * from "./DerivedNode.mjs";
|
|
55
66
|
export * from "./EntityEdge.mjs";
|
|
56
67
|
export * from "./EntityNode.mjs";
|
|
68
|
+
export * from "./EpisodeMetadataFilter.mjs";
|
|
57
69
|
export * from "./GraphSearchScope.mjs";
|
|
70
|
+
export * from "./GraphitiMetadataFilterGroupType.mjs";
|
|
71
|
+
export * from "./MetadataFilterGroup.mjs";
|
|
58
72
|
export * from "./PropertyFilter.mjs";
|
|
59
73
|
export * from "./Reranker.mjs";
|
|
74
|
+
export * from "./GraphitiSagaNode.mjs";
|
|
60
75
|
export * from "./SearchFilters.mjs";
|
|
76
|
+
export * from "./BatchItemKind.mjs";
|
|
77
|
+
export * from "./BatchItemStatus.mjs";
|
|
78
|
+
export * from "./BatchStatus.mjs";
|
|
61
79
|
export * from "./EntityPropertyType.mjs";
|
|
62
80
|
export * from "./GraphDataType.mjs";
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
export * from "./ApiError.mjs";
|
|
2
2
|
export * from "./AddThreadMessagesRequest.mjs";
|
|
3
3
|
export * from "./AddThreadMessagesResponse.mjs";
|
|
4
|
+
export * from "./ApidataBatchAddItemRole.mjs";
|
|
5
|
+
export * from "./ApidataBatchAddItemType.mjs";
|
|
6
|
+
export * from "./BatchAddItem.mjs";
|
|
7
|
+
export * from "./BatchItemDetail.mjs";
|
|
8
|
+
export * from "./BatchItemListResponse.mjs";
|
|
9
|
+
export * from "./BatchListResponse.mjs";
|
|
10
|
+
export * from "./BatchProgress.mjs";
|
|
11
|
+
export * from "./BatchSummary.mjs";
|
|
4
12
|
export * from "./CloneGraphResponse.mjs";
|
|
5
13
|
export * from "./ClusterDetectConfig.mjs";
|
|
6
14
|
export * from "./CoOccurrenceDetectConfig.mjs";
|
|
@@ -22,13 +30,14 @@ export * from "./Episode.mjs";
|
|
|
22
30
|
export * from "./EpisodeResponse.mjs";
|
|
23
31
|
export * from "./GraphListResponse.mjs";
|
|
24
32
|
export * from "./GraphNodesRequest.mjs";
|
|
33
|
+
export * from "./GraphObservationsRequest.mjs";
|
|
25
34
|
export * from "./GraphSearchResults.mjs";
|
|
35
|
+
export * from "./GraphThreadSummariesRequest.mjs";
|
|
26
36
|
export * from "./HubDetectConfig.mjs";
|
|
27
37
|
export * from "./ListContextTemplatesResponse.mjs";
|
|
28
38
|
export * from "./ListCustomInstructionsResponse.mjs";
|
|
29
39
|
export * from "./ListUserInstructionsResponse.mjs";
|
|
30
40
|
export * from "./PathDetectConfig.mjs";
|
|
31
|
-
export * from "./PatternExample.mjs";
|
|
32
41
|
export * from "./PatternMetadata.mjs";
|
|
33
42
|
export * from "./PatternResult.mjs";
|
|
34
43
|
export * from "./PatternSeeds.mjs";
|
|
@@ -45,6 +54,7 @@ export * from "./ThreadContextResponse.mjs";
|
|
|
45
54
|
export * from "./ThreadListResponse.mjs";
|
|
46
55
|
export * from "./Message.mjs";
|
|
47
56
|
export * from "./MessageListResponse.mjs";
|
|
57
|
+
export * from "./ThreadSummary.mjs";
|
|
48
58
|
export * from "./User.mjs";
|
|
49
59
|
export * from "./UserInstruction.mjs";
|
|
50
60
|
export * from "./UserListResponse.mjs";
|
|
@@ -52,11 +62,19 @@ export * from "./UserNodeResponse.mjs";
|
|
|
52
62
|
export * from "./AddTripleResponse.mjs";
|
|
53
63
|
export * from "./ComparisonOperator.mjs";
|
|
54
64
|
export * from "./DateFilter.mjs";
|
|
65
|
+
export * from "./DerivedNode.mjs";
|
|
55
66
|
export * from "./EntityEdge.mjs";
|
|
56
67
|
export * from "./EntityNode.mjs";
|
|
68
|
+
export * from "./EpisodeMetadataFilter.mjs";
|
|
57
69
|
export * from "./GraphSearchScope.mjs";
|
|
70
|
+
export * from "./GraphitiMetadataFilterGroupType.mjs";
|
|
71
|
+
export * from "./MetadataFilterGroup.mjs";
|
|
58
72
|
export * from "./PropertyFilter.mjs";
|
|
59
73
|
export * from "./Reranker.mjs";
|
|
74
|
+
export * from "./GraphitiSagaNode.mjs";
|
|
60
75
|
export * from "./SearchFilters.mjs";
|
|
76
|
+
export * from "./BatchItemKind.mjs";
|
|
77
|
+
export * from "./BatchItemStatus.mjs";
|
|
78
|
+
export * from "./BatchStatus.mjs";
|
|
61
79
|
export * from "./EntityPropertyType.mjs";
|
|
62
80
|
export * from "./GraphDataType.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.
|
|
1
|
+
export declare const SDK_VERSION = "3.22.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "3.
|
|
1
|
+
export const SDK_VERSION = "3.22.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getzep/zep-cloud",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": "https://github.com/getzep/zep-js",
|
|
6
6
|
"description": "Zep: Fast, scalable building blocks for production LLM apps",
|
|
@@ -56,20 +56,20 @@
|
|
|
56
56
|
"zod": "^3.23.8"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"
|
|
60
|
-
"ts-loader": "^9.5.1",
|
|
61
|
-
"jest": "^29.7.0",
|
|
59
|
+
"@faker-js/faker": "^8.4.1",
|
|
62
60
|
"@jest/globals": "^29.7.0",
|
|
63
61
|
"@types/jest": "^29.5.14",
|
|
64
|
-
"
|
|
62
|
+
"@types/node": "^18.19.70",
|
|
63
|
+
"@types/uuid": "^10.0.0",
|
|
64
|
+
"jest": "^29.7.0",
|
|
65
65
|
"jest-environment-jsdom": "^29.7.0",
|
|
66
66
|
"msw": "^2.8.4",
|
|
67
|
-
"@types/node": "^18.19.70",
|
|
68
67
|
"prettier": "^3.4.2",
|
|
68
|
+
"ts-jest": "^29.3.4",
|
|
69
|
+
"ts-loader": "^9.5.1",
|
|
69
70
|
"typescript": "~5.7.2",
|
|
70
71
|
"uuid": "^10.0.0",
|
|
71
|
-
"
|
|
72
|
-
"@faker-js/faker": "^8.4.1"
|
|
72
|
+
"webpack": "^5.104.1"
|
|
73
73
|
},
|
|
74
74
|
"browser": {
|
|
75
75
|
"fs": false,
|
|
@@ -81,5 +81,12 @@
|
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": ">=18.0.0"
|
|
83
83
|
},
|
|
84
|
-
"sideEffects": false
|
|
84
|
+
"sideEffects": false,
|
|
85
|
+
"resolutions": {
|
|
86
|
+
"**/glob/minimatch": "3.1.5",
|
|
87
|
+
"**/jake/minimatch": "3.1.5",
|
|
88
|
+
"**/test-exclude/minimatch": "3.1.5",
|
|
89
|
+
"**/filelist/minimatch": "5.1.9",
|
|
90
|
+
"**/serialize-javascript": "7.0.5"
|
|
91
|
+
}
|
|
85
92
|
}
|