@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
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* {
|
|
7
7
|
* pageNumber: 1,
|
|
8
8
|
* pageSize: 1,
|
|
9
|
+
* search: "search",
|
|
9
10
|
* orderBy: "order_by",
|
|
10
11
|
* asc: true
|
|
11
12
|
* }
|
|
@@ -19,6 +20,10 @@ export interface GraphListAllRequest {
|
|
|
19
20
|
* Number of graphs to retrieve per page.
|
|
20
21
|
*/
|
|
21
22
|
pageSize?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Search term for filtering graphs by graph_id.
|
|
25
|
+
*/
|
|
26
|
+
search?: string;
|
|
22
27
|
/**
|
|
23
28
|
* Column to sort by (created_at, group_id, name).
|
|
24
29
|
*/
|
|
@@ -17,13 +17,25 @@ export interface GraphSearchQuery {
|
|
|
17
17
|
graphId?: string;
|
|
18
18
|
/** The maximum number of facts to retrieve. Defaults to 10. Limited to 50. */
|
|
19
19
|
limit?: number;
|
|
20
|
+
/** Maximum total characters across all selected results when scope=auto. Defaults to 2500. Limited to 50000. */
|
|
21
|
+
maxCharacters?: number;
|
|
20
22
|
/** weighting for maximal marginal relevance */
|
|
21
23
|
mmrLambda?: number;
|
|
22
24
|
/** The string to search for (required) */
|
|
23
25
|
query: string;
|
|
24
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Defaults to RRF. When scope=auto, this only affects graph-service retrieval
|
|
28
|
+
* shape for graph facts, observations, and thread summaries; source-episode
|
|
29
|
+
* retrieval uses RRF, and auto search applies its own internal rerank after retrieval.
|
|
30
|
+
*/
|
|
25
31
|
reranker?: Zep.Reranker;
|
|
26
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* When scope=auto, include the selected raw graph results alongside the materialized context block.
|
|
34
|
+
* For graph-service-backed auto mode, selected raw results may include episodes,
|
|
35
|
+
* edges, nodes, observations, and thread_summaries.
|
|
36
|
+
*/
|
|
37
|
+
returnRawResults?: boolean;
|
|
38
|
+
/** Defaults to Edges. */
|
|
27
39
|
scope?: Zep.GraphSearchScope;
|
|
28
40
|
/** Search filters to apply to the search */
|
|
29
41
|
searchFilters?: Zep.SearchFilters;
|
|
@@ -104,13 +104,7 @@ class Edge {
|
|
|
104
104
|
if (_response.error.reason === "status-code") {
|
|
105
105
|
switch (_response.error.statusCode) {
|
|
106
106
|
case 400:
|
|
107
|
-
throw new Zep.BadRequestError(
|
|
108
|
-
unrecognizedObjectKeys: "passthrough",
|
|
109
|
-
allowUnrecognizedUnionMembers: true,
|
|
110
|
-
allowUnrecognizedEnumValues: true,
|
|
111
|
-
skipValidation: true,
|
|
112
|
-
breadcrumbsPrefix: ["response"],
|
|
113
|
-
}), _response.rawResponse);
|
|
107
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
114
108
|
case 500:
|
|
115
109
|
throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
116
110
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -192,13 +186,7 @@ class Edge {
|
|
|
192
186
|
if (_response.error.reason === "status-code") {
|
|
193
187
|
switch (_response.error.statusCode) {
|
|
194
188
|
case 400:
|
|
195
|
-
throw new Zep.BadRequestError(
|
|
196
|
-
unrecognizedObjectKeys: "passthrough",
|
|
197
|
-
allowUnrecognizedUnionMembers: true,
|
|
198
|
-
allowUnrecognizedEnumValues: true,
|
|
199
|
-
skipValidation: true,
|
|
200
|
-
breadcrumbsPrefix: ["response"],
|
|
201
|
-
}), _response.rawResponse);
|
|
189
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
202
190
|
case 500:
|
|
203
191
|
throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
204
192
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -274,13 +262,7 @@ class Edge {
|
|
|
274
262
|
if (_response.error.reason === "status-code") {
|
|
275
263
|
switch (_response.error.statusCode) {
|
|
276
264
|
case 400:
|
|
277
|
-
throw new Zep.BadRequestError(
|
|
278
|
-
unrecognizedObjectKeys: "passthrough",
|
|
279
|
-
allowUnrecognizedUnionMembers: true,
|
|
280
|
-
allowUnrecognizedEnumValues: true,
|
|
281
|
-
skipValidation: true,
|
|
282
|
-
breadcrumbsPrefix: ["response"],
|
|
283
|
-
}), _response.rawResponse);
|
|
265
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
284
266
|
case 404:
|
|
285
267
|
throw new Zep.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
286
268
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -364,13 +346,7 @@ class Edge {
|
|
|
364
346
|
if (_response.error.reason === "status-code") {
|
|
365
347
|
switch (_response.error.statusCode) {
|
|
366
348
|
case 400:
|
|
367
|
-
throw new Zep.BadRequestError(
|
|
368
|
-
unrecognizedObjectKeys: "passthrough",
|
|
369
|
-
allowUnrecognizedUnionMembers: true,
|
|
370
|
-
allowUnrecognizedEnumValues: true,
|
|
371
|
-
skipValidation: true,
|
|
372
|
-
breadcrumbsPrefix: ["response"],
|
|
373
|
-
}), _response.rawResponse);
|
|
349
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
374
350
|
case 404:
|
|
375
351
|
throw new Zep.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
376
352
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -461,13 +437,7 @@ class Edge {
|
|
|
461
437
|
if (_response.error.reason === "status-code") {
|
|
462
438
|
switch (_response.error.statusCode) {
|
|
463
439
|
case 400:
|
|
464
|
-
throw new Zep.BadRequestError(
|
|
465
|
-
unrecognizedObjectKeys: "passthrough",
|
|
466
|
-
allowUnrecognizedUnionMembers: true,
|
|
467
|
-
allowUnrecognizedEnumValues: true,
|
|
468
|
-
skipValidation: true,
|
|
469
|
-
breadcrumbsPrefix: ["response"],
|
|
470
|
-
}), _response.rawResponse);
|
|
440
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
471
441
|
case 404:
|
|
472
442
|
throw new Zep.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
473
443
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -91,6 +91,27 @@ export declare class Episode {
|
|
|
91
91
|
*/
|
|
92
92
|
delete(uuid: string, requestOptions?: Episode.RequestOptions): core.HttpResponsePromise<Zep.SuccessResponse>;
|
|
93
93
|
private __delete;
|
|
94
|
+
/**
|
|
95
|
+
* Update episode metadata with merge semantics. Supplied keys overwrite or add to existing metadata; keys set to null are removed.
|
|
96
|
+
*
|
|
97
|
+
* @param {string} uuid - Episode UUID
|
|
98
|
+
* @param {Zep.graph.UpdateEpisodeRequest} request
|
|
99
|
+
* @param {Episode.RequestOptions} requestOptions - Request-specific configuration.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link Zep.BadRequestError}
|
|
102
|
+
* @throws {@link Zep.ForbiddenError}
|
|
103
|
+
* @throws {@link Zep.NotFoundError}
|
|
104
|
+
* @throws {@link Zep.InternalServerError}
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* await client.graph.episode.update("uuid", {
|
|
108
|
+
* metadata: {
|
|
109
|
+
* "key": "value"
|
|
110
|
+
* }
|
|
111
|
+
* })
|
|
112
|
+
*/
|
|
113
|
+
update(uuid: string, request: Zep.graph.UpdateEpisodeRequest, requestOptions?: Episode.RequestOptions): core.HttpResponsePromise<Zep.Episode>;
|
|
114
|
+
private __update;
|
|
94
115
|
/**
|
|
95
116
|
* Returns nodes and edges mentioned in an episode
|
|
96
117
|
*
|
|
@@ -106,13 +106,7 @@ class Episode {
|
|
|
106
106
|
if (_response.error.reason === "status-code") {
|
|
107
107
|
switch (_response.error.statusCode) {
|
|
108
108
|
case 400:
|
|
109
|
-
throw new Zep.BadRequestError(
|
|
110
|
-
unrecognizedObjectKeys: "passthrough",
|
|
111
|
-
allowUnrecognizedUnionMembers: true,
|
|
112
|
-
allowUnrecognizedEnumValues: true,
|
|
113
|
-
skipValidation: true,
|
|
114
|
-
breadcrumbsPrefix: ["response"],
|
|
115
|
-
}), _response.rawResponse);
|
|
109
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
116
110
|
case 500:
|
|
117
111
|
throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
118
112
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -196,13 +190,7 @@ class Episode {
|
|
|
196
190
|
if (_response.error.reason === "status-code") {
|
|
197
191
|
switch (_response.error.statusCode) {
|
|
198
192
|
case 400:
|
|
199
|
-
throw new Zep.BadRequestError(
|
|
200
|
-
unrecognizedObjectKeys: "passthrough",
|
|
201
|
-
allowUnrecognizedUnionMembers: true,
|
|
202
|
-
allowUnrecognizedEnumValues: true,
|
|
203
|
-
skipValidation: true,
|
|
204
|
-
breadcrumbsPrefix: ["response"],
|
|
205
|
-
}), _response.rawResponse);
|
|
193
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
206
194
|
case 500:
|
|
207
195
|
throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
208
196
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -277,13 +265,7 @@ class Episode {
|
|
|
277
265
|
if (_response.error.reason === "status-code") {
|
|
278
266
|
switch (_response.error.statusCode) {
|
|
279
267
|
case 400:
|
|
280
|
-
throw new Zep.BadRequestError(
|
|
281
|
-
unrecognizedObjectKeys: "passthrough",
|
|
282
|
-
allowUnrecognizedUnionMembers: true,
|
|
283
|
-
allowUnrecognizedEnumValues: true,
|
|
284
|
-
skipValidation: true,
|
|
285
|
-
breadcrumbsPrefix: ["response"],
|
|
286
|
-
}), _response.rawResponse);
|
|
268
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
287
269
|
case 500:
|
|
288
270
|
throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
289
271
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -359,7 +341,105 @@ class Episode {
|
|
|
359
341
|
if (_response.error.reason === "status-code") {
|
|
360
342
|
switch (_response.error.statusCode) {
|
|
361
343
|
case 400:
|
|
362
|
-
throw new Zep.BadRequestError(
|
|
344
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
345
|
+
case 404:
|
|
346
|
+
throw new Zep.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
347
|
+
unrecognizedObjectKeys: "passthrough",
|
|
348
|
+
allowUnrecognizedUnionMembers: true,
|
|
349
|
+
allowUnrecognizedEnumValues: true,
|
|
350
|
+
skipValidation: true,
|
|
351
|
+
breadcrumbsPrefix: ["response"],
|
|
352
|
+
}), _response.rawResponse);
|
|
353
|
+
case 500:
|
|
354
|
+
throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
355
|
+
unrecognizedObjectKeys: "passthrough",
|
|
356
|
+
allowUnrecognizedUnionMembers: true,
|
|
357
|
+
allowUnrecognizedEnumValues: true,
|
|
358
|
+
skipValidation: true,
|
|
359
|
+
breadcrumbsPrefix: ["response"],
|
|
360
|
+
}), _response.rawResponse);
|
|
361
|
+
default:
|
|
362
|
+
throw new errors.ZepError({
|
|
363
|
+
statusCode: _response.error.statusCode,
|
|
364
|
+
body: _response.error.body,
|
|
365
|
+
rawResponse: _response.rawResponse,
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
switch (_response.error.reason) {
|
|
370
|
+
case "non-json":
|
|
371
|
+
throw new errors.ZepError({
|
|
372
|
+
statusCode: _response.error.statusCode,
|
|
373
|
+
body: _response.error.rawBody,
|
|
374
|
+
rawResponse: _response.rawResponse,
|
|
375
|
+
});
|
|
376
|
+
case "timeout":
|
|
377
|
+
throw new errors.ZepTimeoutError("Timeout exceeded when calling DELETE /graph/episodes/{uuid}.");
|
|
378
|
+
case "unknown":
|
|
379
|
+
throw new errors.ZepError({
|
|
380
|
+
message: _response.error.errorMessage,
|
|
381
|
+
rawResponse: _response.rawResponse,
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* Update episode metadata with merge semantics. Supplied keys overwrite or add to existing metadata; keys set to null are removed.
|
|
388
|
+
*
|
|
389
|
+
* @param {string} uuid - Episode UUID
|
|
390
|
+
* @param {Zep.graph.UpdateEpisodeRequest} request
|
|
391
|
+
* @param {Episode.RequestOptions} requestOptions - Request-specific configuration.
|
|
392
|
+
*
|
|
393
|
+
* @throws {@link Zep.BadRequestError}
|
|
394
|
+
* @throws {@link Zep.ForbiddenError}
|
|
395
|
+
* @throws {@link Zep.NotFoundError}
|
|
396
|
+
* @throws {@link Zep.InternalServerError}
|
|
397
|
+
*
|
|
398
|
+
* @example
|
|
399
|
+
* await client.graph.episode.update("uuid", {
|
|
400
|
+
* metadata: {
|
|
401
|
+
* "key": "value"
|
|
402
|
+
* }
|
|
403
|
+
* })
|
|
404
|
+
*/
|
|
405
|
+
update(uuid, request, requestOptions) {
|
|
406
|
+
return core.HttpResponsePromise.fromPromise(this.__update(uuid, request, requestOptions));
|
|
407
|
+
}
|
|
408
|
+
__update(uuid, request, requestOptions) {
|
|
409
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
410
|
+
var _a, _b, _c, _d;
|
|
411
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
412
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ZepEnvironment.Default, `graph/episodes/${encodeURIComponent(uuid)}`),
|
|
413
|
+
method: "PATCH",
|
|
414
|
+
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
415
|
+
contentType: "application/json",
|
|
416
|
+
requestType: "json",
|
|
417
|
+
body: serializers.graph.UpdateEpisodeRequest.jsonOrThrow(request, {
|
|
418
|
+
unrecognizedObjectKeys: "strip",
|
|
419
|
+
omitUndefined: true,
|
|
420
|
+
}),
|
|
421
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
422
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
423
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
424
|
+
});
|
|
425
|
+
if (_response.ok) {
|
|
426
|
+
return {
|
|
427
|
+
data: serializers.Episode.parseOrThrow(_response.body, {
|
|
428
|
+
unrecognizedObjectKeys: "passthrough",
|
|
429
|
+
allowUnrecognizedUnionMembers: true,
|
|
430
|
+
allowUnrecognizedEnumValues: true,
|
|
431
|
+
skipValidation: true,
|
|
432
|
+
breadcrumbsPrefix: ["response"],
|
|
433
|
+
}),
|
|
434
|
+
rawResponse: _response.rawResponse,
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
if (_response.error.reason === "status-code") {
|
|
438
|
+
switch (_response.error.statusCode) {
|
|
439
|
+
case 400:
|
|
440
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
441
|
+
case 403:
|
|
442
|
+
throw new Zep.ForbiddenError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
363
443
|
unrecognizedObjectKeys: "passthrough",
|
|
364
444
|
allowUnrecognizedUnionMembers: true,
|
|
365
445
|
allowUnrecognizedEnumValues: true,
|
|
@@ -398,7 +478,7 @@ class Episode {
|
|
|
398
478
|
rawResponse: _response.rawResponse,
|
|
399
479
|
});
|
|
400
480
|
case "timeout":
|
|
401
|
-
throw new errors.ZepTimeoutError("Timeout exceeded when calling
|
|
481
|
+
throw new errors.ZepTimeoutError("Timeout exceeded when calling PATCH /graph/episodes/{uuid}.");
|
|
402
482
|
case "unknown":
|
|
403
483
|
throw new errors.ZepError({
|
|
404
484
|
message: _response.error.errorMessage,
|
|
@@ -448,13 +528,7 @@ class Episode {
|
|
|
448
528
|
if (_response.error.reason === "status-code") {
|
|
449
529
|
switch (_response.error.statusCode) {
|
|
450
530
|
case 400:
|
|
451
|
-
throw new Zep.BadRequestError(
|
|
452
|
-
unrecognizedObjectKeys: "passthrough",
|
|
453
|
-
allowUnrecognizedUnionMembers: true,
|
|
454
|
-
allowUnrecognizedEnumValues: true,
|
|
455
|
-
skipValidation: true,
|
|
456
|
-
breadcrumbsPrefix: ["response"],
|
|
457
|
-
}), _response.rawResponse);
|
|
531
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
458
532
|
case 500:
|
|
459
533
|
throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
460
534
|
unrecognizedObjectKeys: "passthrough",
|
package/dist/cjs/api/resources/graph/resources/episode/client/requests/UpdateEpisodeRequest.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* metadata: {
|
|
8
|
+
* "key": "value"
|
|
9
|
+
* }
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateEpisodeRequest {
|
|
13
|
+
/** Updated metadata. Merged with existing metadata: supplied keys overwrite/add, keys set to null are removed. Maximum 10 keys. Values must be scalars (string, number, boolean, null) or arrays of scalars. */
|
|
14
|
+
metadata: Record<string, unknown>;
|
|
15
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * as edge from "./edge/index.js";
|
|
2
2
|
export * as episode from "./episode/index.js";
|
|
3
3
|
export * as node from "./node/index.js";
|
|
4
|
+
export * as observation from "./observation/index.js";
|
|
5
|
+
export * as threadSummary from "./threadSummary/index.js";
|
|
4
6
|
export * from "./edge/client/requests/index.js";
|
|
5
7
|
export * from "./episode/client/requests/index.js";
|
|
6
8
|
export * from "./node/client/requests/index.js";
|
|
@@ -36,10 +36,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.node = exports.episode = exports.edge = void 0;
|
|
39
|
+
exports.threadSummary = exports.observation = exports.node = exports.episode = exports.edge = void 0;
|
|
40
40
|
exports.edge = __importStar(require("./edge/index.js"));
|
|
41
41
|
exports.episode = __importStar(require("./episode/index.js"));
|
|
42
42
|
exports.node = __importStar(require("./node/index.js"));
|
|
43
|
+
exports.observation = __importStar(require("./observation/index.js"));
|
|
44
|
+
exports.threadSummary = __importStar(require("./threadSummary/index.js"));
|
|
43
45
|
__exportStar(require("./edge/client/requests/index.js"), exports);
|
|
44
46
|
__exportStar(require("./episode/client/requests/index.js"), exports);
|
|
45
47
|
__exportStar(require("./node/client/requests/index.js"), exports);
|
|
@@ -104,13 +104,7 @@ class Node {
|
|
|
104
104
|
if (_response.error.reason === "status-code") {
|
|
105
105
|
switch (_response.error.statusCode) {
|
|
106
106
|
case 400:
|
|
107
|
-
throw new Zep.BadRequestError(
|
|
108
|
-
unrecognizedObjectKeys: "passthrough",
|
|
109
|
-
allowUnrecognizedUnionMembers: true,
|
|
110
|
-
allowUnrecognizedEnumValues: true,
|
|
111
|
-
skipValidation: true,
|
|
112
|
-
breadcrumbsPrefix: ["response"],
|
|
113
|
-
}), _response.rawResponse);
|
|
107
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
114
108
|
case 500:
|
|
115
109
|
throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
116
110
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -192,13 +186,7 @@ class Node {
|
|
|
192
186
|
if (_response.error.reason === "status-code") {
|
|
193
187
|
switch (_response.error.statusCode) {
|
|
194
188
|
case 400:
|
|
195
|
-
throw new Zep.BadRequestError(
|
|
196
|
-
unrecognizedObjectKeys: "passthrough",
|
|
197
|
-
allowUnrecognizedUnionMembers: true,
|
|
198
|
-
allowUnrecognizedEnumValues: true,
|
|
199
|
-
skipValidation: true,
|
|
200
|
-
breadcrumbsPrefix: ["response"],
|
|
201
|
-
}), _response.rawResponse);
|
|
189
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
202
190
|
case 500:
|
|
203
191
|
throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
204
192
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -273,13 +261,7 @@ class Node {
|
|
|
273
261
|
if (_response.error.reason === "status-code") {
|
|
274
262
|
switch (_response.error.statusCode) {
|
|
275
263
|
case 400:
|
|
276
|
-
throw new Zep.BadRequestError(
|
|
277
|
-
unrecognizedObjectKeys: "passthrough",
|
|
278
|
-
allowUnrecognizedUnionMembers: true,
|
|
279
|
-
allowUnrecognizedEnumValues: true,
|
|
280
|
-
skipValidation: true,
|
|
281
|
-
breadcrumbsPrefix: ["response"],
|
|
282
|
-
}), _response.rawResponse);
|
|
264
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
283
265
|
case 500:
|
|
284
266
|
throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
285
267
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -354,13 +336,7 @@ class Node {
|
|
|
354
336
|
if (_response.error.reason === "status-code") {
|
|
355
337
|
switch (_response.error.statusCode) {
|
|
356
338
|
case 400:
|
|
357
|
-
throw new Zep.BadRequestError(
|
|
358
|
-
unrecognizedObjectKeys: "passthrough",
|
|
359
|
-
allowUnrecognizedUnionMembers: true,
|
|
360
|
-
allowUnrecognizedEnumValues: true,
|
|
361
|
-
skipValidation: true,
|
|
362
|
-
breadcrumbsPrefix: ["response"],
|
|
363
|
-
}), _response.rawResponse);
|
|
339
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
364
340
|
case 500:
|
|
365
341
|
throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
366
342
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -436,13 +412,7 @@ class Node {
|
|
|
436
412
|
if (_response.error.reason === "status-code") {
|
|
437
413
|
switch (_response.error.statusCode) {
|
|
438
414
|
case 400:
|
|
439
|
-
throw new Zep.BadRequestError(
|
|
440
|
-
unrecognizedObjectKeys: "passthrough",
|
|
441
|
-
allowUnrecognizedUnionMembers: true,
|
|
442
|
-
allowUnrecognizedEnumValues: true,
|
|
443
|
-
skipValidation: true,
|
|
444
|
-
breadcrumbsPrefix: ["response"],
|
|
445
|
-
}), _response.rawResponse);
|
|
415
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
446
416
|
case 404:
|
|
447
417
|
throw new Zep.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
448
418
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -526,13 +496,7 @@ class Node {
|
|
|
526
496
|
if (_response.error.reason === "status-code") {
|
|
527
497
|
switch (_response.error.statusCode) {
|
|
528
498
|
case 400:
|
|
529
|
-
throw new Zep.BadRequestError(
|
|
530
|
-
unrecognizedObjectKeys: "passthrough",
|
|
531
|
-
allowUnrecognizedUnionMembers: true,
|
|
532
|
-
allowUnrecognizedEnumValues: true,
|
|
533
|
-
skipValidation: true,
|
|
534
|
-
breadcrumbsPrefix: ["response"],
|
|
535
|
-
}), _response.rawResponse);
|
|
499
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
536
500
|
case 404:
|
|
537
501
|
throw new Zep.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
538
502
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -623,13 +587,7 @@ class Node {
|
|
|
623
587
|
if (_response.error.reason === "status-code") {
|
|
624
588
|
switch (_response.error.statusCode) {
|
|
625
589
|
case 400:
|
|
626
|
-
throw new Zep.BadRequestError(
|
|
627
|
-
unrecognizedObjectKeys: "passthrough",
|
|
628
|
-
allowUnrecognizedUnionMembers: true,
|
|
629
|
-
allowUnrecognizedEnumValues: true,
|
|
630
|
-
skipValidation: true,
|
|
631
|
-
breadcrumbsPrefix: ["response"],
|
|
632
|
-
}), _response.rawResponse);
|
|
590
|
+
throw new Zep.BadRequestError(_response.error.body, _response.rawResponse);
|
|
633
591
|
case 404:
|
|
634
592
|
throw new Zep.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
635
593
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments.js";
|
|
5
|
+
import * as core from "../../../../../../core/index.js";
|
|
6
|
+
import * as Zep from "../../../../../index.js";
|
|
7
|
+
export declare namespace Observation {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.ZepEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
13
|
+
/** Additional headers to include in requests. */
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
15
|
+
fetcher?: core.FetchFunction;
|
|
16
|
+
}
|
|
17
|
+
interface RequestOptions {
|
|
18
|
+
/** The maximum time to wait for a response in seconds. */
|
|
19
|
+
timeoutInSeconds?: number;
|
|
20
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
21
|
+
maxRetries?: number;
|
|
22
|
+
/** A hook to abort the request. */
|
|
23
|
+
abortSignal?: AbortSignal;
|
|
24
|
+
/** Additional headers to include in the request. */
|
|
25
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export declare class Observation {
|
|
29
|
+
protected readonly _options: Observation.Options;
|
|
30
|
+
constructor(_options?: Observation.Options);
|
|
31
|
+
/**
|
|
32
|
+
* Returns read-only observation nodes for a graph.
|
|
33
|
+
*
|
|
34
|
+
* @param {string} graphId - Graph ID
|
|
35
|
+
* @param {Zep.GraphObservationsRequest} request
|
|
36
|
+
* @param {Observation.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link Zep.BadRequestError}
|
|
39
|
+
* @throws {@link Zep.NotFoundError}
|
|
40
|
+
* @throws {@link Zep.InternalServerError}
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* await client.graph.observation.getByGraphId("graph_id", {})
|
|
44
|
+
*/
|
|
45
|
+
getByGraphId(graphId: string, request: Zep.GraphObservationsRequest, requestOptions?: Observation.RequestOptions): core.HttpResponsePromise<Zep.DerivedNode[]>;
|
|
46
|
+
private __getByGraphId;
|
|
47
|
+
/**
|
|
48
|
+
* Returns read-only observation nodes for a user's graph.
|
|
49
|
+
*
|
|
50
|
+
* @param {string} userId - User ID
|
|
51
|
+
* @param {Zep.GraphObservationsRequest} request
|
|
52
|
+
* @param {Observation.RequestOptions} requestOptions - Request-specific configuration.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link Zep.BadRequestError}
|
|
55
|
+
* @throws {@link Zep.NotFoundError}
|
|
56
|
+
* @throws {@link Zep.InternalServerError}
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* await client.graph.observation.getByUserId("user_id", {})
|
|
60
|
+
*/
|
|
61
|
+
getByUserId(userId: string, request: Zep.GraphObservationsRequest, requestOptions?: Observation.RequestOptions): core.HttpResponsePromise<Zep.DerivedNode[]>;
|
|
62
|
+
private __getByUserId;
|
|
63
|
+
/**
|
|
64
|
+
* Returns a specific observation node by UUID. Observation nodes are read-only.
|
|
65
|
+
*
|
|
66
|
+
* @param {string} uuid - Observation UUID
|
|
67
|
+
* @param {Observation.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link Zep.BadRequestError}
|
|
70
|
+
* @throws {@link Zep.NotFoundError}
|
|
71
|
+
* @throws {@link Zep.InternalServerError}
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* await client.graph.observation.get("uuid")
|
|
75
|
+
*/
|
|
76
|
+
get(uuid: string, requestOptions?: Observation.RequestOptions): core.HttpResponsePromise<Zep.DerivedNode>;
|
|
77
|
+
private __get;
|
|
78
|
+
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
79
|
+
Authorization: string;
|
|
80
|
+
}>;
|
|
81
|
+
}
|