@getzep/zep-cloud 3.16.0 → 3.17.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.
Files changed (329) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/errors/ForbiddenError.d.ts +9 -0
  3. package/dist/cjs/api/errors/ForbiddenError.js +52 -0
  4. package/dist/cjs/api/errors/index.d.ts +1 -0
  5. package/dist/cjs/api/errors/index.js +1 -0
  6. package/dist/cjs/api/index.d.ts +1 -1
  7. package/dist/cjs/api/index.js +1 -1
  8. package/dist/cjs/api/resources/graph/client/Client.d.ts +21 -2
  9. package/dist/cjs/api/resources/graph/client/Client.js +117 -3
  10. package/dist/cjs/api/resources/graph/client/requests/AddTripleRequest.d.ts +4 -0
  11. package/dist/cjs/api/resources/graph/client/requests/CreateGraphRequest.d.ts +0 -2
  12. package/dist/cjs/api/resources/graph/client/requests/DetectPatternsRequest.d.ts +37 -0
  13. package/dist/cjs/api/resources/graph/client/requests/GraphListAllRequest.d.ts +11 -1
  14. package/dist/cjs/api/resources/graph/client/requests/GraphSearchQuery.d.ts +0 -4
  15. package/dist/cjs/api/resources/graph/client/requests/UpdateGraphRequest.d.ts +0 -2
  16. package/dist/cjs/api/resources/graph/client/requests/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/graph/resources/edge/client/Client.d.ts +17 -0
  18. package/dist/cjs/api/resources/graph/resources/edge/client/Client.js +106 -0
  19. package/dist/cjs/api/resources/graph/resources/edge/client/index.d.ts +1 -0
  20. package/dist/cjs/api/resources/graph/resources/edge/client/index.js +15 -0
  21. package/dist/cjs/api/resources/graph/resources/edge/client/requests/UpdateEdgeRequest.d.ts +21 -0
  22. package/dist/cjs/api/resources/graph/resources/edge/client/requests/index.d.ts +1 -0
  23. package/dist/cjs/api/resources/graph/resources/edge/client/requests/index.js +2 -0
  24. package/dist/cjs/api/resources/graph/resources/index.d.ts +2 -0
  25. package/dist/cjs/api/resources/graph/resources/index.js +2 -0
  26. package/dist/cjs/api/resources/graph/resources/node/client/Client.d.ts +17 -0
  27. package/dist/cjs/api/resources/graph/resources/node/client/Client.js +106 -0
  28. package/dist/cjs/api/resources/graph/resources/node/client/index.d.ts +1 -0
  29. package/dist/cjs/api/resources/graph/resources/node/client/index.js +15 -0
  30. package/dist/cjs/api/resources/graph/resources/node/client/requests/UpdateNodeRequest.d.ts +17 -0
  31. package/dist/cjs/api/resources/graph/resources/node/client/requests/index.d.ts +1 -0
  32. package/dist/cjs/api/resources/graph/resources/node/client/requests/index.js +2 -0
  33. package/dist/cjs/api/resources/index.d.ts +1 -2
  34. package/dist/cjs/api/resources/index.js +2 -3
  35. package/dist/cjs/api/resources/thread/client/Client.d.ts +1 -3
  36. package/dist/cjs/api/resources/thread/client/Client.js +2 -13
  37. package/dist/cjs/api/resources/thread/client/requests/ThreadGetUserContextRequest.d.ts +1 -12
  38. package/dist/cjs/api/resources/thread/index.d.ts +0 -1
  39. package/dist/cjs/api/resources/thread/index.js +0 -1
  40. package/dist/cjs/api/resources/user/client/Client.d.ts +4 -1
  41. package/dist/cjs/api/resources/user/client/Client.js +14 -2
  42. package/dist/cjs/api/resources/user/client/requests/CreateUserRequest.d.ts +0 -3
  43. package/dist/cjs/api/resources/user/client/requests/UpdateUserRequest.d.ts +0 -3
  44. package/dist/cjs/api/resources/user/client/requests/UserListOrderedRequest.d.ts +16 -1
  45. package/dist/cjs/api/types/ClusterDetectConfig.d.ts +4 -0
  46. package/dist/cjs/api/types/CoOccurrenceDetectConfig.d.ts +7 -0
  47. package/dist/cjs/api/types/CoOccurrenceDetectConfig.js +5 -0
  48. package/dist/cjs/api/types/DetectConfig.d.ts +16 -0
  49. package/dist/cjs/api/types/DetectConfig.js +5 -0
  50. package/dist/cjs/api/types/DetectPatternsResponse.d.ts +10 -0
  51. package/dist/cjs/api/types/DetectPatternsResponse.js +5 -0
  52. package/dist/cjs/api/types/Graph.d.ts +0 -2
  53. package/dist/cjs/api/types/HubDetectConfig.d.ts +7 -0
  54. package/dist/cjs/api/types/HubDetectConfig.js +5 -0
  55. package/dist/cjs/api/types/MessageListResponse.d.ts +2 -0
  56. package/dist/cjs/api/types/PathDetectConfig.d.ts +7 -0
  57. package/dist/cjs/api/types/PathDetectConfig.js +5 -0
  58. package/dist/cjs/api/types/PatternExample.d.ts +9 -0
  59. package/dist/cjs/api/types/PatternExample.js +5 -0
  60. package/dist/cjs/api/types/PatternMetadata.d.ts +11 -0
  61. package/dist/cjs/api/types/PatternMetadata.js +5 -0
  62. package/dist/cjs/api/types/PatternResult.d.ts +20 -0
  63. package/dist/cjs/api/types/PatternResult.js +5 -0
  64. package/dist/cjs/api/types/PatternSeeds.d.ts +11 -0
  65. package/dist/cjs/api/types/PatternSeeds.js +5 -0
  66. package/dist/cjs/api/types/RecencyWeight.d.ts +10 -0
  67. package/dist/cjs/api/types/RecencyWeight.js +12 -0
  68. package/dist/cjs/api/types/RelationshipDetectConfig.d.ts +4 -0
  69. package/dist/cjs/api/types/RelationshipDetectConfig.js +5 -0
  70. package/dist/cjs/api/types/User.d.ts +0 -2
  71. package/dist/cjs/api/types/index.d.ts +12 -4
  72. package/dist/cjs/api/types/index.js +12 -4
  73. package/dist/cjs/serialization/index.d.ts +1 -1
  74. package/dist/cjs/serialization/index.js +1 -1
  75. package/dist/cjs/serialization/resources/graph/client/requests/AddTripleRequest.d.ts +2 -0
  76. package/dist/cjs/serialization/resources/graph/client/requests/AddTripleRequest.js +2 -0
  77. package/dist/cjs/serialization/resources/graph/client/requests/CreateGraphRequest.d.ts +0 -2
  78. package/dist/cjs/serialization/resources/graph/client/requests/CreateGraphRequest.js +0 -2
  79. package/dist/cjs/serialization/resources/graph/client/requests/DetectPatternsRequest.d.ts +24 -0
  80. package/dist/cjs/serialization/resources/graph/client/requests/DetectPatternsRequest.js +55 -0
  81. package/dist/cjs/serialization/resources/graph/client/requests/GraphSearchQuery.d.ts +0 -2
  82. package/dist/cjs/serialization/resources/graph/client/requests/GraphSearchQuery.js +0 -2
  83. package/dist/cjs/serialization/resources/graph/client/requests/UpdateGraphRequest.d.ts +0 -2
  84. package/dist/cjs/serialization/resources/graph/client/requests/UpdateGraphRequest.js +0 -2
  85. package/dist/cjs/serialization/resources/graph/client/requests/index.d.ts +1 -0
  86. package/dist/cjs/serialization/resources/graph/client/requests/index.js +3 -1
  87. package/dist/cjs/serialization/resources/graph/resources/edge/client/index.d.ts +1 -0
  88. package/dist/cjs/serialization/resources/graph/resources/edge/client/index.js +4 -0
  89. package/dist/cjs/serialization/resources/graph/resources/edge/client/requests/UpdateEdgeRequest.d.ts +17 -0
  90. package/dist/cjs/serialization/resources/graph/resources/edge/client/requests/UpdateEdgeRequest.js +48 -0
  91. package/dist/cjs/serialization/resources/graph/resources/edge/client/requests/index.d.ts +1 -0
  92. package/dist/cjs/serialization/resources/graph/resources/edge/client/requests/index.js +5 -0
  93. package/dist/cjs/serialization/resources/graph/resources/index.d.ts +2 -0
  94. package/dist/cjs/serialization/resources/graph/resources/index.js +5 -0
  95. package/dist/cjs/serialization/resources/graph/resources/node/client/index.d.ts +1 -0
  96. package/dist/cjs/serialization/resources/graph/resources/node/client/index.js +4 -0
  97. package/dist/cjs/serialization/resources/graph/resources/node/client/requests/UpdateNodeRequest.d.ts +15 -0
  98. package/dist/cjs/serialization/resources/graph/resources/node/client/requests/UpdateNodeRequest.js +46 -0
  99. package/dist/cjs/serialization/resources/graph/resources/node/client/requests/index.d.ts +1 -0
  100. package/dist/cjs/serialization/resources/graph/resources/node/client/requests/index.js +5 -0
  101. package/dist/cjs/serialization/resources/index.d.ts +1 -2
  102. package/dist/cjs/serialization/resources/index.js +2 -3
  103. package/dist/cjs/serialization/resources/thread/index.d.ts +0 -1
  104. package/dist/cjs/serialization/resources/thread/index.js +0 -1
  105. package/dist/cjs/serialization/resources/user/client/requests/CreateUserRequest.d.ts +0 -2
  106. package/dist/cjs/serialization/resources/user/client/requests/CreateUserRequest.js +0 -2
  107. package/dist/cjs/serialization/resources/user/client/requests/UpdateUserRequest.d.ts +0 -2
  108. package/dist/cjs/serialization/resources/user/client/requests/UpdateUserRequest.js +0 -2
  109. package/dist/cjs/serialization/types/ClusterDetectConfig.d.ts +10 -0
  110. package/dist/cjs/serialization/types/ClusterDetectConfig.js +41 -0
  111. package/dist/cjs/serialization/types/CoOccurrenceDetectConfig.d.ts +12 -0
  112. package/dist/cjs/serialization/types/{FactRatingExamples.js → CoOccurrenceDetectConfig.js} +3 -5
  113. package/dist/cjs/serialization/types/DetectConfig.d.ts +21 -0
  114. package/dist/cjs/serialization/types/DetectConfig.js +52 -0
  115. package/dist/cjs/serialization/types/DetectPatternsResponse.d.ts +15 -0
  116. package/dist/cjs/serialization/types/DetectPatternsResponse.js +46 -0
  117. package/dist/cjs/serialization/types/Graph.d.ts +0 -2
  118. package/dist/cjs/serialization/types/Graph.js +0 -2
  119. package/dist/cjs/serialization/types/HubDetectConfig.d.ts +12 -0
  120. package/dist/cjs/serialization/types/{ModelsFactRatingExamples.js → HubDetectConfig.js} +3 -5
  121. package/dist/cjs/serialization/types/MessageListResponse.d.ts +1 -0
  122. package/dist/cjs/serialization/types/MessageListResponse.js +1 -0
  123. package/dist/cjs/serialization/types/PathDetectConfig.d.ts +12 -0
  124. package/dist/cjs/serialization/types/{FactRatingInstruction.js → PathDetectConfig.js} +3 -5
  125. package/dist/cjs/serialization/types/PatternExample.d.ts +13 -0
  126. package/dist/cjs/serialization/types/{ModelsFactRatingInstruction.js → PatternExample.js} +4 -5
  127. package/dist/cjs/serialization/types/PatternMetadata.d.ts +14 -0
  128. package/dist/cjs/serialization/types/PatternMetadata.js +45 -0
  129. package/dist/cjs/serialization/types/PatternResult.d.ts +19 -0
  130. package/dist/cjs/serialization/types/PatternResult.js +50 -0
  131. package/dist/cjs/serialization/types/PatternSeeds.d.ts +14 -0
  132. package/dist/cjs/serialization/types/PatternSeeds.js +45 -0
  133. package/dist/cjs/serialization/types/RecencyWeight.d.ts +10 -0
  134. package/dist/cjs/serialization/{resources/thread/types/ThreadGetUserContextRequestMode.js → types/RecencyWeight.js} +3 -3
  135. package/dist/cjs/serialization/types/RelationshipDetectConfig.d.ts +10 -0
  136. package/dist/cjs/serialization/types/RelationshipDetectConfig.js +41 -0
  137. package/dist/cjs/serialization/types/User.d.ts +0 -2
  138. package/dist/cjs/serialization/types/User.js +0 -2
  139. package/dist/cjs/serialization/types/index.d.ts +12 -4
  140. package/dist/cjs/serialization/types/index.js +12 -4
  141. package/dist/cjs/version.d.ts +1 -1
  142. package/dist/cjs/version.js +1 -1
  143. package/dist/esm/Client.mjs +2 -2
  144. package/dist/esm/api/errors/ForbiddenError.d.mts +9 -0
  145. package/dist/esm/api/errors/ForbiddenError.mjs +15 -0
  146. package/dist/esm/api/errors/index.d.mts +1 -0
  147. package/dist/esm/api/errors/index.mjs +1 -0
  148. package/dist/esm/api/index.d.mts +1 -1
  149. package/dist/esm/api/index.mjs +1 -1
  150. package/dist/esm/api/resources/graph/client/Client.d.mts +21 -2
  151. package/dist/esm/api/resources/graph/client/Client.mjs +117 -3
  152. package/dist/esm/api/resources/graph/client/requests/AddTripleRequest.d.mts +4 -0
  153. package/dist/esm/api/resources/graph/client/requests/CreateGraphRequest.d.mts +0 -2
  154. package/dist/esm/api/resources/graph/client/requests/DetectPatternsRequest.d.mts +37 -0
  155. package/dist/esm/api/resources/graph/client/requests/GraphListAllRequest.d.mts +11 -1
  156. package/dist/esm/api/resources/graph/client/requests/GraphSearchQuery.d.mts +0 -4
  157. package/dist/esm/api/resources/graph/client/requests/UpdateGraphRequest.d.mts +0 -2
  158. package/dist/esm/api/resources/graph/client/requests/index.d.mts +1 -0
  159. package/dist/esm/api/resources/graph/resources/edge/client/Client.d.mts +17 -0
  160. package/dist/esm/api/resources/graph/resources/edge/client/Client.mjs +106 -0
  161. package/dist/esm/api/resources/graph/resources/edge/client/index.d.mts +1 -0
  162. package/dist/esm/api/resources/graph/resources/edge/client/index.mjs +1 -1
  163. package/dist/esm/api/resources/graph/resources/edge/client/requests/UpdateEdgeRequest.d.mts +21 -0
  164. package/dist/esm/api/resources/graph/resources/edge/client/requests/index.d.mts +1 -0
  165. package/dist/esm/api/resources/graph/resources/edge/client/requests/index.mjs +1 -0
  166. package/dist/esm/api/resources/graph/resources/index.d.mts +2 -0
  167. package/dist/esm/api/resources/graph/resources/index.mjs +2 -0
  168. package/dist/esm/api/resources/graph/resources/node/client/Client.d.mts +17 -0
  169. package/dist/esm/api/resources/graph/resources/node/client/Client.mjs +106 -0
  170. package/dist/esm/api/resources/graph/resources/node/client/index.d.mts +1 -0
  171. package/dist/esm/api/resources/graph/resources/node/client/index.mjs +1 -1
  172. package/dist/esm/api/resources/graph/resources/node/client/requests/UpdateNodeRequest.d.mts +17 -0
  173. package/dist/esm/api/resources/graph/resources/node/client/requests/index.d.mts +1 -0
  174. package/dist/esm/api/resources/graph/resources/node/client/requests/index.mjs +1 -0
  175. package/dist/esm/api/resources/index.d.mts +1 -2
  176. package/dist/esm/api/resources/index.mjs +1 -2
  177. package/dist/esm/api/resources/thread/client/Client.d.mts +1 -3
  178. package/dist/esm/api/resources/thread/client/Client.mjs +2 -13
  179. package/dist/esm/api/resources/thread/client/requests/ThreadGetUserContextRequest.d.mts +1 -12
  180. package/dist/esm/api/resources/thread/index.d.mts +0 -1
  181. package/dist/esm/api/resources/thread/index.mjs +0 -1
  182. package/dist/esm/api/resources/user/client/Client.d.mts +4 -1
  183. package/dist/esm/api/resources/user/client/Client.mjs +14 -2
  184. package/dist/esm/api/resources/user/client/requests/CreateUserRequest.d.mts +0 -3
  185. package/dist/esm/api/resources/user/client/requests/UpdateUserRequest.d.mts +0 -3
  186. package/dist/esm/api/resources/user/client/requests/UserListOrderedRequest.d.mts +16 -1
  187. package/dist/esm/api/types/ClusterDetectConfig.d.mts +4 -0
  188. package/dist/esm/api/types/CoOccurrenceDetectConfig.d.mts +7 -0
  189. package/dist/esm/api/types/CoOccurrenceDetectConfig.mjs +4 -0
  190. package/dist/esm/api/types/DetectConfig.d.mts +16 -0
  191. package/dist/esm/api/types/DetectConfig.mjs +4 -0
  192. package/dist/esm/api/types/DetectPatternsResponse.d.mts +10 -0
  193. package/dist/esm/api/types/DetectPatternsResponse.mjs +4 -0
  194. package/dist/esm/api/types/Graph.d.mts +0 -2
  195. package/dist/esm/api/types/HubDetectConfig.d.mts +7 -0
  196. package/dist/esm/api/types/HubDetectConfig.mjs +4 -0
  197. package/dist/esm/api/types/MessageListResponse.d.mts +2 -0
  198. package/dist/esm/api/types/PathDetectConfig.d.mts +7 -0
  199. package/dist/esm/api/types/PathDetectConfig.mjs +4 -0
  200. package/dist/esm/api/types/PatternExample.d.mts +9 -0
  201. package/dist/esm/api/types/PatternExample.mjs +4 -0
  202. package/dist/esm/api/types/PatternMetadata.d.mts +11 -0
  203. package/dist/esm/api/types/PatternMetadata.mjs +4 -0
  204. package/dist/esm/api/types/PatternResult.d.mts +20 -0
  205. package/dist/esm/api/types/PatternResult.mjs +4 -0
  206. package/dist/esm/api/types/PatternSeeds.d.mts +11 -0
  207. package/dist/esm/api/types/PatternSeeds.mjs +4 -0
  208. package/dist/esm/api/types/RecencyWeight.d.mts +10 -0
  209. package/dist/esm/api/types/RecencyWeight.mjs +9 -0
  210. package/dist/esm/api/types/RelationshipDetectConfig.d.mts +4 -0
  211. package/dist/esm/api/types/RelationshipDetectConfig.mjs +4 -0
  212. package/dist/esm/api/types/User.d.mts +0 -2
  213. package/dist/esm/api/types/index.d.mts +12 -4
  214. package/dist/esm/api/types/index.mjs +12 -4
  215. package/dist/esm/serialization/index.d.mts +1 -1
  216. package/dist/esm/serialization/index.mjs +1 -1
  217. package/dist/esm/serialization/resources/graph/client/requests/AddTripleRequest.d.mts +2 -0
  218. package/dist/esm/serialization/resources/graph/client/requests/AddTripleRequest.mjs +2 -0
  219. package/dist/esm/serialization/resources/graph/client/requests/CreateGraphRequest.d.mts +0 -2
  220. package/dist/esm/serialization/resources/graph/client/requests/CreateGraphRequest.mjs +0 -2
  221. package/dist/esm/serialization/resources/graph/client/requests/DetectPatternsRequest.d.mts +24 -0
  222. package/dist/esm/serialization/resources/graph/client/requests/DetectPatternsRequest.mjs +19 -0
  223. package/dist/esm/serialization/resources/graph/client/requests/GraphSearchQuery.d.mts +0 -2
  224. package/dist/esm/serialization/resources/graph/client/requests/GraphSearchQuery.mjs +0 -2
  225. package/dist/esm/serialization/resources/graph/client/requests/UpdateGraphRequest.d.mts +0 -2
  226. package/dist/esm/serialization/resources/graph/client/requests/UpdateGraphRequest.mjs +0 -2
  227. package/dist/esm/serialization/resources/graph/client/requests/index.d.mts +1 -0
  228. package/dist/esm/serialization/resources/graph/client/requests/index.mjs +1 -0
  229. package/dist/esm/serialization/resources/graph/resources/edge/client/index.d.mts +1 -0
  230. package/dist/esm/serialization/resources/graph/resources/edge/client/index.mjs +1 -0
  231. package/dist/esm/serialization/resources/graph/resources/edge/client/requests/UpdateEdgeRequest.d.mts +17 -0
  232. package/dist/esm/serialization/resources/graph/resources/edge/client/requests/UpdateEdgeRequest.mjs +12 -0
  233. package/dist/esm/serialization/resources/graph/resources/edge/client/requests/index.d.mts +1 -0
  234. package/dist/esm/serialization/resources/graph/resources/edge/client/requests/index.mjs +1 -0
  235. package/dist/esm/serialization/resources/graph/resources/index.d.mts +2 -0
  236. package/dist/esm/serialization/resources/graph/resources/index.mjs +2 -0
  237. package/dist/esm/serialization/resources/graph/resources/node/client/index.d.mts +1 -0
  238. package/dist/esm/serialization/resources/graph/resources/node/client/index.mjs +1 -0
  239. package/dist/esm/serialization/resources/graph/resources/node/client/requests/UpdateNodeRequest.d.mts +15 -0
  240. package/dist/esm/serialization/resources/graph/resources/node/client/requests/UpdateNodeRequest.mjs +10 -0
  241. package/dist/esm/serialization/resources/graph/resources/node/client/requests/index.d.mts +1 -0
  242. package/dist/esm/serialization/resources/graph/resources/node/client/requests/index.mjs +1 -0
  243. package/dist/esm/serialization/resources/index.d.mts +1 -2
  244. package/dist/esm/serialization/resources/index.mjs +1 -2
  245. package/dist/esm/serialization/resources/thread/index.d.mts +0 -1
  246. package/dist/esm/serialization/resources/thread/index.mjs +0 -1
  247. package/dist/esm/serialization/resources/user/client/requests/CreateUserRequest.d.mts +0 -2
  248. package/dist/esm/serialization/resources/user/client/requests/CreateUserRequest.mjs +0 -2
  249. package/dist/esm/serialization/resources/user/client/requests/UpdateUserRequest.d.mts +0 -2
  250. package/dist/esm/serialization/resources/user/client/requests/UpdateUserRequest.mjs +0 -2
  251. package/dist/esm/serialization/types/ClusterDetectConfig.d.mts +10 -0
  252. package/dist/esm/serialization/types/ClusterDetectConfig.mjs +5 -0
  253. package/dist/esm/serialization/types/CoOccurrenceDetectConfig.d.mts +12 -0
  254. package/dist/esm/serialization/types/CoOccurrenceDetectConfig.mjs +7 -0
  255. package/dist/esm/serialization/types/DetectConfig.d.mts +21 -0
  256. package/dist/esm/serialization/types/DetectConfig.mjs +16 -0
  257. package/dist/esm/serialization/types/DetectPatternsResponse.d.mts +15 -0
  258. package/dist/esm/serialization/types/DetectPatternsResponse.mjs +10 -0
  259. package/dist/esm/serialization/types/Graph.d.mts +0 -2
  260. package/dist/esm/serialization/types/Graph.mjs +0 -2
  261. package/dist/esm/serialization/types/HubDetectConfig.d.mts +12 -0
  262. package/dist/esm/serialization/types/HubDetectConfig.mjs +7 -0
  263. package/dist/esm/serialization/types/MessageListResponse.d.mts +1 -0
  264. package/dist/esm/serialization/types/MessageListResponse.mjs +1 -0
  265. package/dist/esm/serialization/types/PathDetectConfig.d.mts +12 -0
  266. package/dist/esm/serialization/types/PathDetectConfig.mjs +7 -0
  267. package/dist/esm/serialization/types/PatternExample.d.mts +13 -0
  268. package/dist/esm/serialization/types/PatternExample.mjs +8 -0
  269. package/dist/esm/serialization/types/PatternMetadata.d.mts +14 -0
  270. package/dist/esm/serialization/types/PatternMetadata.mjs +9 -0
  271. package/dist/esm/serialization/types/PatternResult.d.mts +19 -0
  272. package/dist/esm/serialization/types/PatternResult.mjs +14 -0
  273. package/dist/esm/serialization/types/PatternSeeds.d.mts +14 -0
  274. package/dist/esm/serialization/types/PatternSeeds.mjs +9 -0
  275. package/dist/esm/serialization/types/RecencyWeight.d.mts +10 -0
  276. package/dist/esm/serialization/types/RecencyWeight.mjs +5 -0
  277. package/dist/esm/serialization/types/RelationshipDetectConfig.d.mts +10 -0
  278. package/dist/esm/serialization/types/RelationshipDetectConfig.mjs +5 -0
  279. package/dist/esm/serialization/types/User.d.mts +0 -2
  280. package/dist/esm/serialization/types/User.mjs +0 -2
  281. package/dist/esm/serialization/types/index.d.mts +12 -4
  282. package/dist/esm/serialization/types/index.mjs +12 -4
  283. package/dist/esm/version.d.mts +1 -1
  284. package/dist/esm/version.mjs +1 -1
  285. package/package.json +2 -2
  286. package/reference.md +212 -3
  287. package/dist/cjs/api/resources/thread/types/ThreadGetUserContextRequestMode.d.ts +0 -8
  288. package/dist/cjs/api/resources/thread/types/ThreadGetUserContextRequestMode.js +0 -10
  289. package/dist/cjs/api/resources/thread/types/index.d.ts +0 -1
  290. package/dist/cjs/api/resources/thread/types/index.js +0 -17
  291. package/dist/cjs/api/types/FactRatingExamples.d.ts +0 -8
  292. package/dist/cjs/api/types/FactRatingInstruction.d.ts +0 -21
  293. package/dist/cjs/api/types/ModelsFactRatingExamples.d.ts +0 -8
  294. package/dist/cjs/api/types/ModelsFactRatingInstruction.d.ts +0 -21
  295. package/dist/cjs/serialization/resources/thread/types/ThreadGetUserContextRequestMode.d.ts +0 -10
  296. package/dist/cjs/serialization/resources/thread/types/index.d.ts +0 -1
  297. package/dist/cjs/serialization/resources/thread/types/index.js +0 -17
  298. package/dist/cjs/serialization/types/FactRatingExamples.d.ts +0 -14
  299. package/dist/cjs/serialization/types/FactRatingInstruction.d.ts +0 -14
  300. package/dist/cjs/serialization/types/ModelsFactRatingExamples.d.ts +0 -14
  301. package/dist/cjs/serialization/types/ModelsFactRatingInstruction.d.ts +0 -14
  302. package/dist/esm/api/resources/thread/types/ThreadGetUserContextRequestMode.d.mts +0 -8
  303. package/dist/esm/api/resources/thread/types/ThreadGetUserContextRequestMode.mjs +0 -7
  304. package/dist/esm/api/resources/thread/types/index.d.mts +0 -1
  305. package/dist/esm/api/resources/thread/types/index.mjs +0 -1
  306. package/dist/esm/api/types/FactRatingExamples.d.mts +0 -8
  307. package/dist/esm/api/types/FactRatingInstruction.d.mts +0 -21
  308. package/dist/esm/api/types/ModelsFactRatingExamples.d.mts +0 -8
  309. package/dist/esm/api/types/ModelsFactRatingInstruction.d.mts +0 -21
  310. package/dist/esm/serialization/resources/thread/types/ThreadGetUserContextRequestMode.d.mts +0 -10
  311. package/dist/esm/serialization/resources/thread/types/ThreadGetUserContextRequestMode.mjs +0 -5
  312. package/dist/esm/serialization/resources/thread/types/index.d.mts +0 -1
  313. package/dist/esm/serialization/resources/thread/types/index.mjs +0 -1
  314. package/dist/esm/serialization/types/FactRatingExamples.d.mts +0 -14
  315. package/dist/esm/serialization/types/FactRatingExamples.mjs +0 -9
  316. package/dist/esm/serialization/types/FactRatingInstruction.d.mts +0 -14
  317. package/dist/esm/serialization/types/FactRatingInstruction.mjs +0 -9
  318. package/dist/esm/serialization/types/ModelsFactRatingExamples.d.mts +0 -14
  319. package/dist/esm/serialization/types/ModelsFactRatingExamples.mjs +0 -9
  320. package/dist/esm/serialization/types/ModelsFactRatingInstruction.d.mts +0 -14
  321. package/dist/esm/serialization/types/ModelsFactRatingInstruction.mjs +0 -9
  322. /package/dist/cjs/api/{types/FactRatingExamples.js → resources/graph/client/requests/DetectPatternsRequest.js} +0 -0
  323. /package/dist/cjs/api/{types/FactRatingInstruction.js → resources/graph/resources/edge/client/requests/UpdateEdgeRequest.js} +0 -0
  324. /package/dist/cjs/api/{types/ModelsFactRatingExamples.js → resources/graph/resources/node/client/requests/UpdateNodeRequest.js} +0 -0
  325. /package/dist/cjs/api/types/{ModelsFactRatingInstruction.js → ClusterDetectConfig.js} +0 -0
  326. /package/dist/esm/api/{types/FactRatingExamples.mjs → resources/graph/client/requests/DetectPatternsRequest.mjs} +0 -0
  327. /package/dist/esm/api/{types/FactRatingInstruction.mjs → resources/graph/resources/edge/client/requests/UpdateEdgeRequest.mjs} +0 -0
  328. /package/dist/esm/api/{types/ModelsFactRatingExamples.mjs → resources/graph/resources/node/client/requests/UpdateNodeRequest.mjs} +0 -0
  329. /package/dist/esm/api/types/{ModelsFactRatingInstruction.mjs → ClusterDetectConfig.mjs} +0 -0
@@ -108,6 +108,7 @@ export declare class Node {
108
108
  * @param {Node.RequestOptions} requestOptions - Request-specific configuration.
109
109
  *
110
110
  * @throws {@link Zep.BadRequestError}
111
+ * @throws {@link Zep.NotFoundError}
111
112
  * @throws {@link Zep.InternalServerError}
112
113
  *
113
114
  * @example
@@ -115,6 +116,22 @@ export declare class Node {
115
116
  */
116
117
  delete(uuid: string, requestOptions?: Node.RequestOptions): core.HttpResponsePromise<Zep.SuccessResponse>;
117
118
  private __delete;
119
+ /**
120
+ * Updates an entity node by UUID.
121
+ *
122
+ * @param {string} uuid - Node UUID
123
+ * @param {Zep.graph.UpdateNodeRequest} request
124
+ * @param {Node.RequestOptions} requestOptions - Request-specific configuration.
125
+ *
126
+ * @throws {@link Zep.BadRequestError}
127
+ * @throws {@link Zep.NotFoundError}
128
+ * @throws {@link Zep.InternalServerError}
129
+ *
130
+ * @example
131
+ * await client.graph.node.update("uuid")
132
+ */
133
+ update(uuid: string, request?: Zep.graph.UpdateNodeRequest, requestOptions?: Node.RequestOptions): core.HttpResponsePromise<Zep.EntityNode>;
134
+ private __update;
118
135
  protected _getCustomAuthorizationHeaders(): Promise<{
119
136
  Authorization: string;
120
137
  }>;
@@ -491,6 +491,7 @@ class Node {
491
491
  * @param {Node.RequestOptions} requestOptions - Request-specific configuration.
492
492
  *
493
493
  * @throws {@link Zep.BadRequestError}
494
+ * @throws {@link Zep.NotFoundError}
494
495
  * @throws {@link Zep.InternalServerError}
495
496
  *
496
497
  * @example
@@ -532,6 +533,14 @@ class Node {
532
533
  skipValidation: true,
533
534
  breadcrumbsPrefix: ["response"],
534
535
  }), _response.rawResponse);
536
+ case 404:
537
+ throw new Zep.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
538
+ unrecognizedObjectKeys: "passthrough",
539
+ allowUnrecognizedUnionMembers: true,
540
+ allowUnrecognizedEnumValues: true,
541
+ skipValidation: true,
542
+ breadcrumbsPrefix: ["response"],
543
+ }), _response.rawResponse);
535
544
  case 500:
536
545
  throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
537
546
  unrecognizedObjectKeys: "passthrough",
@@ -565,6 +574,103 @@ class Node {
565
574
  }
566
575
  });
567
576
  }
577
+ /**
578
+ * Updates an entity node by UUID.
579
+ *
580
+ * @param {string} uuid - Node UUID
581
+ * @param {Zep.graph.UpdateNodeRequest} request
582
+ * @param {Node.RequestOptions} requestOptions - Request-specific configuration.
583
+ *
584
+ * @throws {@link Zep.BadRequestError}
585
+ * @throws {@link Zep.NotFoundError}
586
+ * @throws {@link Zep.InternalServerError}
587
+ *
588
+ * @example
589
+ * await client.graph.node.update("uuid")
590
+ */
591
+ update(uuid, request = {}, requestOptions) {
592
+ return core.HttpResponsePromise.fromPromise(this.__update(uuid, request, requestOptions));
593
+ }
594
+ __update(uuid_1) {
595
+ return __awaiter(this, arguments, void 0, function* (uuid, request = {}, requestOptions) {
596
+ var _a, _b, _c, _d;
597
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
598
+ 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/node/${encodeURIComponent(uuid)}`),
599
+ method: "PATCH",
600
+ 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),
601
+ contentType: "application/json",
602
+ requestType: "json",
603
+ body: serializers.graph.UpdateNodeRequest.jsonOrThrow(request, {
604
+ unrecognizedObjectKeys: "strip",
605
+ omitUndefined: true,
606
+ }),
607
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
608
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
609
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
610
+ });
611
+ if (_response.ok) {
612
+ return {
613
+ data: serializers.EntityNode.parseOrThrow(_response.body, {
614
+ unrecognizedObjectKeys: "passthrough",
615
+ allowUnrecognizedUnionMembers: true,
616
+ allowUnrecognizedEnumValues: true,
617
+ skipValidation: true,
618
+ breadcrumbsPrefix: ["response"],
619
+ }),
620
+ rawResponse: _response.rawResponse,
621
+ };
622
+ }
623
+ if (_response.error.reason === "status-code") {
624
+ switch (_response.error.statusCode) {
625
+ case 400:
626
+ throw new Zep.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
627
+ unrecognizedObjectKeys: "passthrough",
628
+ allowUnrecognizedUnionMembers: true,
629
+ allowUnrecognizedEnumValues: true,
630
+ skipValidation: true,
631
+ breadcrumbsPrefix: ["response"],
632
+ }), _response.rawResponse);
633
+ case 404:
634
+ throw new Zep.NotFoundError(serializers.ApiError.parseOrThrow(_response.error.body, {
635
+ unrecognizedObjectKeys: "passthrough",
636
+ allowUnrecognizedUnionMembers: true,
637
+ allowUnrecognizedEnumValues: true,
638
+ skipValidation: true,
639
+ breadcrumbsPrefix: ["response"],
640
+ }), _response.rawResponse);
641
+ case 500:
642
+ throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
643
+ unrecognizedObjectKeys: "passthrough",
644
+ allowUnrecognizedUnionMembers: true,
645
+ allowUnrecognizedEnumValues: true,
646
+ skipValidation: true,
647
+ breadcrumbsPrefix: ["response"],
648
+ }), _response.rawResponse);
649
+ default:
650
+ throw new errors.ZepError({
651
+ statusCode: _response.error.statusCode,
652
+ body: _response.error.body,
653
+ rawResponse: _response.rawResponse,
654
+ });
655
+ }
656
+ }
657
+ switch (_response.error.reason) {
658
+ case "non-json":
659
+ throw new errors.ZepError({
660
+ statusCode: _response.error.statusCode,
661
+ body: _response.error.rawBody,
662
+ rawResponse: _response.rawResponse,
663
+ });
664
+ case "timeout":
665
+ throw new errors.ZepTimeoutError("Timeout exceeded when calling PATCH /graph/node/{uuid}.");
666
+ case "unknown":
667
+ throw new errors.ZepError({
668
+ message: _response.error.errorMessage,
669
+ rawResponse: _response.rawResponse,
670
+ });
671
+ }
672
+ });
673
+ }
568
674
  _getCustomAuthorizationHeaders() {
569
675
  return __awaiter(this, void 0, void 0, function* () {
570
676
  var _a;
@@ -1 +1,2 @@
1
1
  export {};
2
+ export * from "./requests/index.js";
@@ -1,2 +1,17 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface UpdateNodeRequest {
9
+ /** Updated attributes. Merged with existing attributes. Set a key to null to delete it. */
10
+ attributes?: Record<string, unknown>;
11
+ /** Updated labels for the node */
12
+ labels?: string[];
13
+ /** Updated name for the node */
14
+ name?: string;
15
+ /** Updated summary for the node */
16
+ summary?: string;
17
+ }
@@ -0,0 +1 @@
1
+ export { type UpdateNodeRequest } from "./UpdateNodeRequest.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +1,8 @@
1
- export * as thread from "./thread/index.js";
2
- export * from "./thread/types/index.js";
3
1
  export * as context from "./context/index.js";
4
2
  export * as graph from "./graph/index.js";
5
3
  export * as project from "./project/index.js";
6
4
  export * as task from "./task/index.js";
5
+ export * as thread from "./thread/index.js";
7
6
  export * as user from "./user/index.js";
8
7
  export * from "./context/client/requests/index.js";
9
8
  export * from "./graph/client/requests/index.js";
@@ -36,13 +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.user = exports.task = exports.project = exports.graph = exports.context = exports.thread = void 0;
40
- exports.thread = __importStar(require("./thread/index.js"));
41
- __exportStar(require("./thread/types/index.js"), exports);
39
+ exports.user = exports.thread = exports.task = exports.project = exports.graph = exports.context = void 0;
42
40
  exports.context = __importStar(require("./context/index.js"));
43
41
  exports.graph = __importStar(require("./graph/index.js"));
44
42
  exports.project = __importStar(require("./project/index.js"));
45
43
  exports.task = __importStar(require("./task/index.js"));
44
+ exports.thread = __importStar(require("./thread/index.js"));
46
45
  exports.user = __importStar(require("./user/index.js"));
47
46
  __exportStar(require("./context/client/requests/index.js"), exports);
48
47
  __exportStar(require("./graph/client/requests/index.js"), exports);
@@ -93,9 +93,7 @@ export declare class Thread {
93
93
  *
94
94
  * @example
95
95
  * await client.thread.getUserContext("threadId", {
96
- * minRating: 1.1,
97
- * templateId: "template_id",
98
- * mode: "basic"
96
+ * templateId: "template_id"
99
97
  * })
100
98
  */
101
99
  getUserContext(threadId: string, request?: Zep.ThreadGetUserContextRequest, requestOptions?: Thread.RequestOptions): core.HttpResponsePromise<Zep.ThreadContextResponse>;
@@ -345,9 +345,7 @@ class Thread {
345
345
  *
346
346
  * @example
347
347
  * await client.thread.getUserContext("threadId", {
348
- * minRating: 1.1,
349
- * templateId: "template_id",
350
- * mode: "basic"
348
+ * templateId: "template_id"
351
349
  * })
352
350
  */
353
351
  getUserContext(threadId, request = {}, requestOptions) {
@@ -356,20 +354,11 @@ class Thread {
356
354
  __getUserContext(threadId_1) {
357
355
  return __awaiter(this, arguments, void 0, function* (threadId, request = {}, requestOptions) {
358
356
  var _a, _b, _c, _d;
359
- const { minRating, templateId, mode } = request;
357
+ const { templateId } = request;
360
358
  const _queryParams = {};
361
- if (minRating != null) {
362
- _queryParams["minRating"] = minRating.toString();
363
- }
364
359
  if (templateId != null) {
365
360
  _queryParams["template_id"] = templateId;
366
361
  }
367
- if (mode != null) {
368
- _queryParams["mode"] = serializers.ThreadGetUserContextRequestMode.jsonOrThrow(mode, {
369
- unrecognizedObjectKeys: "strip",
370
- omitUndefined: true,
371
- });
372
- }
373
362
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
374
363
  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, `threads/${encodeURIComponent(threadId)}/context`),
375
364
  method: "GET",
@@ -1,26 +1,15 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Zep from "../../../../index.js";
5
4
  /**
6
5
  * @example
7
6
  * {
8
- * minRating: 1.1,
9
- * templateId: "template_id",
10
- * mode: "basic"
7
+ * templateId: "template_id"
11
8
  * }
12
9
  */
13
10
  export interface ThreadGetUserContextRequest {
14
- /**
15
- * Deprecated, this field will be removed in a future release. The minimum rating by which to filter relevant facts.
16
- */
17
- minRating?: number;
18
11
  /**
19
12
  * Optional template ID to use for custom context rendering.
20
13
  */
21
14
  templateId?: string;
22
- /**
23
- * Deprecated, this field will be removed in a future release. Defaults to summary mode. Use basic for lower latency
24
- */
25
- mode?: Zep.ThreadGetUserContextRequestMode;
26
15
  }
@@ -1,3 +1,2 @@
1
- export * from "./types/index.js";
2
1
  export * from "./client/index.js";
3
2
  export * from "./resources/index.js";
@@ -14,6 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./types/index.js"), exports);
18
17
  __exportStar(require("./client/index.js"), exports);
19
18
  __exportStar(require("./resources/index.js"), exports);
@@ -105,7 +105,10 @@ export declare class User {
105
105
  * @example
106
106
  * await client.user.listOrdered({
107
107
  * pageNumber: 1,
108
- * pageSize: 1
108
+ * pageSize: 1,
109
+ * search: "search",
110
+ * orderBy: "order_by",
111
+ * asc: true
109
112
  * })
110
113
  */
111
114
  listOrdered(request?: Zep.UserListOrderedRequest, requestOptions?: User.RequestOptions): core.HttpResponsePromise<Zep.UserListResponse>;
@@ -425,7 +425,10 @@ class User {
425
425
  * @example
426
426
  * await client.user.listOrdered({
427
427
  * pageNumber: 1,
428
- * pageSize: 1
428
+ * pageSize: 1,
429
+ * search: "search",
430
+ * orderBy: "order_by",
431
+ * asc: true
429
432
  * })
430
433
  */
431
434
  listOrdered(request = {}, requestOptions) {
@@ -434,7 +437,7 @@ class User {
434
437
  __listOrdered() {
435
438
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
436
439
  var _a, _b, _c, _d;
437
- const { pageNumber, pageSize } = request;
440
+ const { pageNumber, pageSize, search, orderBy, asc } = request;
438
441
  const _queryParams = {};
439
442
  if (pageNumber != null) {
440
443
  _queryParams["pageNumber"] = pageNumber.toString();
@@ -442,6 +445,15 @@ class User {
442
445
  if (pageSize != null) {
443
446
  _queryParams["pageSize"] = pageSize.toString();
444
447
  }
448
+ if (search != null) {
449
+ _queryParams["search"] = search;
450
+ }
451
+ if (orderBy != null) {
452
+ _queryParams["order_by"] = orderBy;
453
+ }
454
+ if (asc != null) {
455
+ _queryParams["asc"] = asc.toString();
456
+ }
445
457
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
446
458
  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, "users-ordered"),
447
459
  method: "GET",
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Zep from "../../../../index.js";
5
4
  /**
6
5
  * @example
7
6
  * {
@@ -13,8 +12,6 @@ export interface CreateUserRequest {
13
12
  disableDefaultOntology?: boolean;
14
13
  /** The email address of the user. */
15
14
  email?: string;
16
- /** Deprecated: this field will be removed in a future release. Optional instruction to use for fact rating. */
17
- factRatingInstruction?: Zep.FactRatingInstruction;
18
15
  /** The first name of the user. */
19
16
  firstName?: string;
20
17
  /** The last name of the user. */
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Zep from "../../../../index.js";
5
4
  /**
6
5
  * @example
7
6
  * {}
@@ -11,8 +10,6 @@ export interface UpdateUserRequest {
11
10
  disableDefaultOntology?: boolean;
12
11
  /** The email address of the user. */
13
12
  email?: string;
14
- /** Deprecated: this field will be removed in a future release. Optional instruction to use for fact rating. */
15
- factRatingInstruction?: Zep.FactRatingInstruction;
16
13
  /** The first name of the user. */
17
14
  firstName?: string;
18
15
  /** The last name of the user. */
@@ -5,7 +5,10 @@
5
5
  * @example
6
6
  * {
7
7
  * pageNumber: 1,
8
- * pageSize: 1
8
+ * pageSize: 1,
9
+ * search: "search",
10
+ * orderBy: "order_by",
11
+ * asc: true
9
12
  * }
10
13
  */
11
14
  export interface UserListOrderedRequest {
@@ -17,4 +20,16 @@ export interface UserListOrderedRequest {
17
20
  * Number of users to retrieve per page
18
21
  */
19
22
  pageSize?: number;
23
+ /**
24
+ * Search term for filtering users by user_id, name, or email
25
+ */
26
+ search?: string;
27
+ /**
28
+ * Column to sort by (created_at, user_id, email)
29
+ */
30
+ orderBy?: string;
31
+ /**
32
+ * Sort in ascending order
33
+ */
34
+ asc?: boolean;
20
35
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ClusterDetectConfig = Record<string, unknown>;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface CoOccurrenceDetectConfig {
5
+ /** Max hops within which to detect co-occurring node types. Default: 3, Max: 5 */
6
+ maxHops?: number;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Zep from "../index.js";
5
+ export interface DetectConfig {
6
+ /** Detect tightly interconnected groups (triangle topology) */
7
+ clusters?: Zep.ClusterDetectConfig;
8
+ /** Detect node types that co-occur within k hops */
9
+ coOccurrences?: Zep.CoOccurrenceDetectConfig;
10
+ /** Detect highly connected hub nodes (star topology) */
11
+ hubs?: Zep.HubDetectConfig;
12
+ /** Detect frequent multi-hop connection paths */
13
+ paths?: Zep.PathDetectConfig;
14
+ /** Detect common (source_label, edge_type, target_label) relationship triples */
15
+ relationships?: Zep.RelationshipDetectConfig;
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Zep from "../index.js";
5
+ export interface DetectPatternsResponse {
6
+ /** Statistics about the detection run */
7
+ metadata?: Zep.PatternMetadata;
8
+ /** Detected patterns, sorted by weighted_score descending */
9
+ patterns?: Zep.PatternResult[];
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Zep from "../index.js";
5
4
  export interface Graph {
6
5
  createdAt?: string;
7
6
  description?: string;
8
- factRatingInstruction?: Zep.FactRatingInstruction;
9
7
  graphId?: string;
10
8
  id?: number;
11
9
  name?: string;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface HubDetectConfig {
5
+ /** Minimum number of connections for a node to be considered a hub. Default: 3, Min: 2 */
6
+ minDegree?: number;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,6 +7,8 @@ export interface MessageListResponse {
7
7
  messages?: Zep.Message[];
8
8
  /** The number of messages returned. */
9
9
  rowCount?: number;
10
+ /** The thread creation timestamp. */
11
+ threadCreatedAt?: string;
10
12
  /** The total number of messages. */
11
13
  totalCount?: number;
12
14
  /** The user ID associated with this thread. */
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface PathDetectConfig {
5
+ /** Max hops from seed nodes for path detection. Default: 3, Max: 5 */
6
+ maxHops?: number;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface PatternExample {
5
+ /** Edge UUIDs involved in this instance */
6
+ edgeUuids?: string[];
7
+ /** Node UUIDs involved in this instance */
8
+ nodeUuids?: string[];
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface PatternMetadata {
5
+ /** Number of edges analyzed */
6
+ edgesAnalyzed?: number;
7
+ /** Elapsed time in milliseconds */
8
+ elapsedMs?: number;
9
+ /** Number of unique nodes analyzed */
10
+ nodesAnalyzed?: number;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Zep from "../index.js";
5
+ export interface PatternResult {
6
+ /** Human-readable description of the pattern */
7
+ description?: string;
8
+ /** Edge types in the pattern structure */
9
+ edgeTypes?: string[];
10
+ /** Example instances (only populated when include_examples is true) */
11
+ examples?: Zep.PatternExample[];
12
+ /** Node labels in the pattern structure */
13
+ nodeLabels?: string[];
14
+ /** Raw occurrence count (always unweighted) */
15
+ occurrences?: number;
16
+ /** Pattern type: relationship, path, co_occurrence, hub, cluster */
17
+ type?: string;
18
+ /** Weighted sum — equals occurrences when recency_weight is "none" */
19
+ weightedScore?: number;
20
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface PatternSeeds {
5
+ /** All endpoints of these edge types become seeds */
6
+ edgeTypes?: string[];
7
+ /** All nodes with these labels become seeds */
8
+ nodeLabels?: string[];
9
+ /** Specific node UUIDs to analyze around */
10
+ nodeUuids?: string[];
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });