@getzep/zep-cloud 3.9.0 → 3.12.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 (172) hide show
  1. package/dist/cjs/Client.d.ts +3 -0
  2. package/dist/cjs/Client.js +15 -10
  3. package/dist/cjs/api/errors/index.d.ts +1 -1
  4. package/dist/cjs/api/errors/index.js +1 -1
  5. package/dist/cjs/api/resources/context/client/Client.d.ts +112 -0
  6. package/dist/cjs/api/resources/context/client/Client.js +516 -0
  7. package/dist/cjs/api/resources/context/client/index.d.ts +2 -0
  8. package/dist/cjs/api/resources/context/client/index.js +17 -0
  9. package/dist/cjs/api/resources/context/client/requests/CreateContextTemplateRequest.d.ts +16 -0
  10. package/dist/cjs/api/resources/context/client/requests/CreateContextTemplateRequest.js +5 -0
  11. package/dist/cjs/api/resources/context/client/requests/UpdateContextTemplateRequest.d.ts +13 -0
  12. package/dist/cjs/api/resources/context/client/requests/UpdateContextTemplateRequest.js +5 -0
  13. package/dist/cjs/api/resources/context/client/requests/index.d.ts +2 -0
  14. package/dist/cjs/api/resources/context/client/requests/index.js +2 -0
  15. package/dist/cjs/api/resources/context/index.d.ts +1 -0
  16. package/dist/cjs/api/resources/context/index.js +17 -0
  17. package/dist/cjs/api/resources/graph/client/Client.d.ts +8 -2
  18. package/dist/cjs/api/resources/graph/client/Client.js +8 -2
  19. package/dist/cjs/api/resources/graph/client/requests/GraphListAllRequest.d.ts +4 -1
  20. package/dist/cjs/api/resources/graph/client/requests/GraphListEntityTypesRequest.d.ts +4 -1
  21. package/dist/cjs/api/resources/graph/resources/episode/client/Client.d.ts +6 -2
  22. package/dist/cjs/api/resources/graph/resources/episode/client/Client.js +6 -2
  23. package/dist/cjs/api/resources/graph/resources/episode/client/requests/EpisodeGetByGraphIdRequest.d.ts +3 -1
  24. package/dist/cjs/api/resources/graph/resources/episode/client/requests/EpisodeGetByUserIdRequest.d.ts +3 -1
  25. package/dist/cjs/api/resources/index.d.ts +2 -0
  26. package/dist/cjs/api/resources/index.js +3 -1
  27. package/dist/cjs/api/resources/thread/client/Client.d.ts +16 -3
  28. package/dist/cjs/api/resources/thread/client/Client.js +20 -4
  29. package/dist/cjs/api/resources/thread/client/requests/ThreadGetRequest.d.ts +5 -1
  30. package/dist/cjs/api/resources/thread/client/requests/ThreadGetUserContextRequest.d.ts +10 -2
  31. package/dist/cjs/api/resources/thread/client/requests/ThreadListAllRequest.d.ts +6 -1
  32. package/dist/cjs/api/resources/user/client/Client.d.ts +53 -1
  33. package/dist/cjs/api/resources/user/client/Client.js +272 -1
  34. package/dist/cjs/api/resources/user/client/requests/AddUserInstructionsRequest.d.ts +19 -0
  35. package/dist/cjs/api/resources/user/client/requests/AddUserInstructionsRequest.js +5 -0
  36. package/dist/cjs/api/resources/user/client/requests/DeleteUserInstructionsRequest.d.ts +13 -0
  37. package/dist/cjs/api/resources/user/client/requests/DeleteUserInstructionsRequest.js +5 -0
  38. package/dist/cjs/api/resources/user/client/requests/UserListOrderedRequest.d.ts +4 -1
  39. package/dist/cjs/api/resources/user/client/requests/UserListUserSummaryInstructionsRequest.d.ts +15 -0
  40. package/dist/cjs/api/resources/user/client/requests/UserListUserSummaryInstructionsRequest.js +5 -0
  41. package/dist/cjs/api/resources/user/client/requests/index.d.ts +3 -0
  42. package/dist/cjs/api/types/ComparisonOperator.d.ts +3 -1
  43. package/dist/cjs/api/types/ComparisonOperator.js +2 -0
  44. package/dist/cjs/api/types/ContextTemplateResponse.d.ts +11 -0
  45. package/dist/cjs/api/types/ContextTemplateResponse.js +5 -0
  46. package/dist/cjs/api/types/ListContextTemplatesResponse.d.ts +7 -0
  47. package/dist/cjs/api/types/ListContextTemplatesResponse.js +5 -0
  48. package/dist/cjs/api/types/ListUserInstructionsResponse.d.ts +7 -0
  49. package/dist/cjs/api/types/ListUserInstructionsResponse.js +5 -0
  50. package/dist/cjs/api/types/UserInstruction.d.ts +7 -0
  51. package/dist/cjs/api/types/UserInstruction.js +5 -0
  52. package/dist/cjs/api/types/index.d.ts +4 -0
  53. package/dist/cjs/api/types/index.js +4 -0
  54. package/dist/cjs/serialization/resources/context/client/index.d.ts +1 -0
  55. package/dist/cjs/serialization/resources/context/client/index.js +17 -0
  56. package/dist/cjs/serialization/resources/context/client/requests/CreateContextTemplateRequest.d.ts +13 -0
  57. package/dist/cjs/serialization/resources/context/client/requests/CreateContextTemplateRequest.js +44 -0
  58. package/dist/cjs/serialization/resources/context/client/requests/UpdateContextTemplateRequest.d.ts +12 -0
  59. package/dist/cjs/serialization/resources/context/client/requests/UpdateContextTemplateRequest.js +43 -0
  60. package/dist/cjs/serialization/resources/context/client/requests/index.d.ts +2 -0
  61. package/dist/cjs/serialization/resources/context/client/requests/index.js +7 -0
  62. package/dist/cjs/serialization/resources/context/index.d.ts +1 -0
  63. package/dist/cjs/serialization/resources/context/index.js +17 -0
  64. package/dist/cjs/serialization/resources/index.d.ts +2 -0
  65. package/dist/cjs/serialization/resources/index.js +3 -1
  66. package/dist/cjs/serialization/resources/user/client/requests/AddUserInstructionsRequest.d.ts +14 -0
  67. package/dist/cjs/serialization/resources/user/client/requests/AddUserInstructionsRequest.js +45 -0
  68. package/dist/cjs/serialization/resources/user/client/requests/DeleteUserInstructionsRequest.d.ts +13 -0
  69. package/dist/cjs/serialization/resources/user/client/requests/DeleteUserInstructionsRequest.js +44 -0
  70. package/dist/cjs/serialization/resources/user/client/requests/index.d.ts +2 -0
  71. package/dist/cjs/serialization/resources/user/client/requests/index.js +5 -1
  72. package/dist/cjs/serialization/types/ComparisonOperator.d.ts +1 -1
  73. package/dist/cjs/serialization/types/ComparisonOperator.js +1 -1
  74. package/dist/cjs/serialization/types/ContextTemplateResponse.d.ts +14 -0
  75. package/dist/cjs/serialization/types/ContextTemplateResponse.js +45 -0
  76. package/dist/cjs/serialization/types/ListContextTemplatesResponse.d.ts +13 -0
  77. package/dist/cjs/serialization/types/ListContextTemplatesResponse.js +44 -0
  78. package/dist/cjs/serialization/types/ListUserInstructionsResponse.d.ts +13 -0
  79. package/dist/cjs/serialization/types/ListUserInstructionsResponse.js +44 -0
  80. package/dist/cjs/serialization/types/UserInstruction.d.ts +13 -0
  81. package/dist/cjs/serialization/types/UserInstruction.js +44 -0
  82. package/dist/cjs/serialization/types/index.d.ts +4 -0
  83. package/dist/cjs/serialization/types/index.js +4 -0
  84. package/dist/cjs/version.d.ts +1 -1
  85. package/dist/cjs/version.js +1 -1
  86. package/dist/esm/Client.d.mts +3 -0
  87. package/dist/esm/Client.mjs +7 -2
  88. package/dist/esm/api/errors/index.d.mts +1 -1
  89. package/dist/esm/api/errors/index.mjs +1 -1
  90. package/dist/esm/api/resources/context/client/Client.d.mts +112 -0
  91. package/dist/esm/api/resources/context/client/Client.mjs +479 -0
  92. package/dist/esm/api/resources/context/client/index.d.mts +2 -0
  93. package/dist/esm/api/resources/context/client/index.mjs +1 -0
  94. package/dist/esm/api/resources/context/client/requests/CreateContextTemplateRequest.d.mts +16 -0
  95. package/dist/esm/api/resources/context/client/requests/CreateContextTemplateRequest.mjs +4 -0
  96. package/dist/esm/api/resources/context/client/requests/UpdateContextTemplateRequest.d.mts +13 -0
  97. package/dist/esm/api/resources/context/client/requests/UpdateContextTemplateRequest.mjs +4 -0
  98. package/dist/esm/api/resources/context/client/requests/index.d.mts +2 -0
  99. package/dist/esm/api/resources/context/client/requests/index.mjs +1 -0
  100. package/dist/esm/api/resources/context/index.d.mts +1 -0
  101. package/dist/esm/api/resources/context/index.mjs +1 -0
  102. package/dist/esm/api/resources/graph/client/Client.d.mts +8 -2
  103. package/dist/esm/api/resources/graph/client/Client.mjs +8 -2
  104. package/dist/esm/api/resources/graph/client/requests/GraphListAllRequest.d.mts +4 -1
  105. package/dist/esm/api/resources/graph/client/requests/GraphListEntityTypesRequest.d.mts +4 -1
  106. package/dist/esm/api/resources/graph/resources/episode/client/Client.d.mts +6 -2
  107. package/dist/esm/api/resources/graph/resources/episode/client/Client.mjs +6 -2
  108. package/dist/esm/api/resources/graph/resources/episode/client/requests/EpisodeGetByGraphIdRequest.d.mts +3 -1
  109. package/dist/esm/api/resources/graph/resources/episode/client/requests/EpisodeGetByUserIdRequest.d.mts +3 -1
  110. package/dist/esm/api/resources/index.d.mts +2 -0
  111. package/dist/esm/api/resources/index.mjs +2 -0
  112. package/dist/esm/api/resources/thread/client/Client.d.mts +16 -3
  113. package/dist/esm/api/resources/thread/client/Client.mjs +20 -4
  114. package/dist/esm/api/resources/thread/client/requests/ThreadGetRequest.d.mts +5 -1
  115. package/dist/esm/api/resources/thread/client/requests/ThreadGetUserContextRequest.d.mts +10 -2
  116. package/dist/esm/api/resources/thread/client/requests/ThreadListAllRequest.d.mts +6 -1
  117. package/dist/esm/api/resources/user/client/Client.d.mts +53 -1
  118. package/dist/esm/api/resources/user/client/Client.mjs +272 -1
  119. package/dist/esm/api/resources/user/client/requests/AddUserInstructionsRequest.d.mts +19 -0
  120. package/dist/esm/api/resources/user/client/requests/AddUserInstructionsRequest.mjs +4 -0
  121. package/dist/esm/api/resources/user/client/requests/DeleteUserInstructionsRequest.d.mts +13 -0
  122. package/dist/esm/api/resources/user/client/requests/DeleteUserInstructionsRequest.mjs +4 -0
  123. package/dist/esm/api/resources/user/client/requests/UserListOrderedRequest.d.mts +4 -1
  124. package/dist/esm/api/resources/user/client/requests/UserListUserSummaryInstructionsRequest.d.mts +15 -0
  125. package/dist/esm/api/resources/user/client/requests/UserListUserSummaryInstructionsRequest.mjs +4 -0
  126. package/dist/esm/api/resources/user/client/requests/index.d.mts +3 -0
  127. package/dist/esm/api/types/ComparisonOperator.d.mts +3 -1
  128. package/dist/esm/api/types/ComparisonOperator.mjs +2 -0
  129. package/dist/esm/api/types/ContextTemplateResponse.d.mts +11 -0
  130. package/dist/esm/api/types/ContextTemplateResponse.mjs +4 -0
  131. package/dist/esm/api/types/ListContextTemplatesResponse.d.mts +7 -0
  132. package/dist/esm/api/types/ListContextTemplatesResponse.mjs +4 -0
  133. package/dist/esm/api/types/ListUserInstructionsResponse.d.mts +7 -0
  134. package/dist/esm/api/types/ListUserInstructionsResponse.mjs +4 -0
  135. package/dist/esm/api/types/UserInstruction.d.mts +7 -0
  136. package/dist/esm/api/types/UserInstruction.mjs +4 -0
  137. package/dist/esm/api/types/index.d.mts +4 -0
  138. package/dist/esm/api/types/index.mjs +4 -0
  139. package/dist/esm/serialization/resources/context/client/index.d.mts +1 -0
  140. package/dist/esm/serialization/resources/context/client/index.mjs +1 -0
  141. package/dist/esm/serialization/resources/context/client/requests/CreateContextTemplateRequest.d.mts +13 -0
  142. package/dist/esm/serialization/resources/context/client/requests/CreateContextTemplateRequest.mjs +8 -0
  143. package/dist/esm/serialization/resources/context/client/requests/UpdateContextTemplateRequest.d.mts +12 -0
  144. package/dist/esm/serialization/resources/context/client/requests/UpdateContextTemplateRequest.mjs +7 -0
  145. package/dist/esm/serialization/resources/context/client/requests/index.d.mts +2 -0
  146. package/dist/esm/serialization/resources/context/client/requests/index.mjs +2 -0
  147. package/dist/esm/serialization/resources/context/index.d.mts +1 -0
  148. package/dist/esm/serialization/resources/context/index.mjs +1 -0
  149. package/dist/esm/serialization/resources/index.d.mts +2 -0
  150. package/dist/esm/serialization/resources/index.mjs +2 -0
  151. package/dist/esm/serialization/resources/user/client/requests/AddUserInstructionsRequest.d.mts +14 -0
  152. package/dist/esm/serialization/resources/user/client/requests/AddUserInstructionsRequest.mjs +9 -0
  153. package/dist/esm/serialization/resources/user/client/requests/DeleteUserInstructionsRequest.d.mts +13 -0
  154. package/dist/esm/serialization/resources/user/client/requests/DeleteUserInstructionsRequest.mjs +8 -0
  155. package/dist/esm/serialization/resources/user/client/requests/index.d.mts +2 -0
  156. package/dist/esm/serialization/resources/user/client/requests/index.mjs +2 -0
  157. package/dist/esm/serialization/types/ComparisonOperator.d.mts +1 -1
  158. package/dist/esm/serialization/types/ComparisonOperator.mjs +1 -1
  159. package/dist/esm/serialization/types/ContextTemplateResponse.d.mts +14 -0
  160. package/dist/esm/serialization/types/ContextTemplateResponse.mjs +9 -0
  161. package/dist/esm/serialization/types/ListContextTemplatesResponse.d.mts +13 -0
  162. package/dist/esm/serialization/types/ListContextTemplatesResponse.mjs +8 -0
  163. package/dist/esm/serialization/types/ListUserInstructionsResponse.d.mts +13 -0
  164. package/dist/esm/serialization/types/ListUserInstructionsResponse.mjs +8 -0
  165. package/dist/esm/serialization/types/UserInstruction.d.mts +13 -0
  166. package/dist/esm/serialization/types/UserInstruction.mjs +8 -0
  167. package/dist/esm/serialization/types/index.d.mts +4 -0
  168. package/dist/esm/serialization/types/index.mjs +4 -0
  169. package/dist/esm/version.d.mts +1 -1
  170. package/dist/esm/version.mjs +1 -1
  171. package/package.json +1 -1
  172. package/reference.md +554 -8
@@ -8,4 +8,6 @@ export const ComparisonOperator = {
8
8
  LessThan: "<",
9
9
  GreaterThanEqual: ">=",
10
10
  LessThanEqual: "<=",
11
+ IsNull: "IS NULL",
12
+ IsNotNull: "IS NOT NULL",
11
13
  };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ContextTemplateResponse {
5
+ /** The template content. */
6
+ template?: string;
7
+ /** Unique identifier for the template (max 100 characters). */
8
+ templateId?: string;
9
+ /** Unique identifier for the template. */
10
+ uuid?: string;
11
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Zep from "../index.mjs";
5
+ export interface ListContextTemplatesResponse {
6
+ templates?: Zep.ContextTemplateResponse[];
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Zep from "../index.mjs";
5
+ export interface ListUserInstructionsResponse {
6
+ instructions?: Zep.UserInstruction[];
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface UserInstruction {
5
+ name: string;
6
+ text: string;
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -2,6 +2,7 @@ export * from "./ApiError.mjs";
2
2
  export * from "./AddThreadMessagesRequest.mjs";
3
3
  export * from "./AddThreadMessagesResponse.mjs";
4
4
  export * from "./CloneGraphResponse.mjs";
5
+ export * from "./ContextTemplateResponse.mjs";
5
6
  export * from "./EdgeType.mjs";
6
7
  export * from "./EntityEdgeSourceTarget.mjs";
7
8
  export * from "./EntityProperty.mjs";
@@ -18,6 +19,8 @@ export * from "./EpisodeResponse.mjs";
18
19
  export * from "./GraphListResponse.mjs";
19
20
  export * from "./GraphNodesRequest.mjs";
20
21
  export * from "./GraphSearchResults.mjs";
22
+ export * from "./ListContextTemplatesResponse.mjs";
23
+ export * from "./ListUserInstructionsResponse.mjs";
21
24
  export * from "./ProjectInfo.mjs";
22
25
  export * from "./ProjectInfoResponse.mjs";
23
26
  export * from "./RoleType.mjs";
@@ -28,6 +31,7 @@ export * from "./ThreadListResponse.mjs";
28
31
  export * from "./Message.mjs";
29
32
  export * from "./MessageListResponse.mjs";
30
33
  export * from "./User.mjs";
34
+ export * from "./UserInstruction.mjs";
31
35
  export * from "./UserListResponse.mjs";
32
36
  export * from "./UserNodeResponse.mjs";
33
37
  export * from "./AddTripleResponse.mjs";
@@ -2,6 +2,7 @@ export * from "./ApiError.mjs";
2
2
  export * from "./AddThreadMessagesRequest.mjs";
3
3
  export * from "./AddThreadMessagesResponse.mjs";
4
4
  export * from "./CloneGraphResponse.mjs";
5
+ export * from "./ContextTemplateResponse.mjs";
5
6
  export * from "./EdgeType.mjs";
6
7
  export * from "./EntityEdgeSourceTarget.mjs";
7
8
  export * from "./EntityProperty.mjs";
@@ -18,6 +19,8 @@ export * from "./EpisodeResponse.mjs";
18
19
  export * from "./GraphListResponse.mjs";
19
20
  export * from "./GraphNodesRequest.mjs";
20
21
  export * from "./GraphSearchResults.mjs";
22
+ export * from "./ListContextTemplatesResponse.mjs";
23
+ export * from "./ListUserInstructionsResponse.mjs";
21
24
  export * from "./ProjectInfo.mjs";
22
25
  export * from "./ProjectInfoResponse.mjs";
23
26
  export * from "./RoleType.mjs";
@@ -28,6 +31,7 @@ export * from "./ThreadListResponse.mjs";
28
31
  export * from "./Message.mjs";
29
32
  export * from "./MessageListResponse.mjs";
30
33
  export * from "./User.mjs";
34
+ export * from "./UserInstruction.mjs";
31
35
  export * from "./UserListResponse.mjs";
32
36
  export * from "./UserNodeResponse.mjs";
33
37
  export * from "./AddTripleResponse.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index.mjs";
5
+ import * as Zep from "../../../../../api/index.mjs";
6
+ import * as core from "../../../../../core/index.mjs";
7
+ export declare const CreateContextTemplateRequest: core.serialization.Schema<serializers.CreateContextTemplateRequest.Raw, Zep.CreateContextTemplateRequest>;
8
+ export declare namespace CreateContextTemplateRequest {
9
+ interface Raw {
10
+ template: string;
11
+ template_id: string;
12
+ }
13
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as core from "../../../../../core/index.mjs";
5
+ export const CreateContextTemplateRequest = core.serialization.object({
6
+ template: core.serialization.string(),
7
+ templateId: core.serialization.property("template_id", core.serialization.string()),
8
+ });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index.mjs";
5
+ import * as Zep from "../../../../../api/index.mjs";
6
+ import * as core from "../../../../../core/index.mjs";
7
+ export declare const UpdateContextTemplateRequest: core.serialization.Schema<serializers.UpdateContextTemplateRequest.Raw, Zep.UpdateContextTemplateRequest>;
8
+ export declare namespace UpdateContextTemplateRequest {
9
+ interface Raw {
10
+ template: string;
11
+ }
12
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as core from "../../../../../core/index.mjs";
5
+ export const UpdateContextTemplateRequest = core.serialization.object({
6
+ template: core.serialization.string(),
7
+ });
@@ -0,0 +1,2 @@
1
+ export { CreateContextTemplateRequest } from "./CreateContextTemplateRequest.mjs";
2
+ export { UpdateContextTemplateRequest } from "./UpdateContextTemplateRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export { CreateContextTemplateRequest } from "./CreateContextTemplateRequest.mjs";
2
+ export { UpdateContextTemplateRequest } from "./UpdateContextTemplateRequest.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -2,6 +2,8 @@ export * as thread from "./thread/index.mjs";
2
2
  export * from "./thread/types/index.mjs";
3
3
  export * as graph from "./graph/index.mjs";
4
4
  export * as user from "./user/index.mjs";
5
+ export * as context from "./context/index.mjs";
6
+ export * from "./context/client/requests/index.mjs";
5
7
  export * from "./graph/client/requests/index.mjs";
6
8
  export * from "./thread/client/requests/index.mjs";
7
9
  export * from "./user/client/requests/index.mjs";
@@ -2,6 +2,8 @@ export * as thread from "./thread/index.mjs";
2
2
  export * from "./thread/types/index.mjs";
3
3
  export * as graph from "./graph/index.mjs";
4
4
  export * as user from "./user/index.mjs";
5
+ export * as context from "./context/index.mjs";
6
+ export * from "./context/client/requests/index.mjs";
5
7
  export * from "./graph/client/requests/index.mjs";
6
8
  export * from "./thread/client/requests/index.mjs";
7
9
  export * from "./user/client/requests/index.mjs";
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index.mjs";
5
+ import * as Zep from "../../../../../api/index.mjs";
6
+ import * as core from "../../../../../core/index.mjs";
7
+ import { UserInstruction } from "../../../../types/UserInstruction.mjs";
8
+ export declare const AddUserInstructionsRequest: core.serialization.Schema<serializers.AddUserInstructionsRequest.Raw, Zep.AddUserInstructionsRequest>;
9
+ export declare namespace AddUserInstructionsRequest {
10
+ interface Raw {
11
+ instructions: UserInstruction.Raw[];
12
+ user_ids?: string[] | null;
13
+ }
14
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as core from "../../../../../core/index.mjs";
5
+ import { UserInstruction } from "../../../../types/UserInstruction.mjs";
6
+ export const AddUserInstructionsRequest = core.serialization.object({
7
+ instructions: core.serialization.list(UserInstruction),
8
+ userIds: core.serialization.property("user_ids", core.serialization.list(core.serialization.string()).optional()),
9
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index.mjs";
5
+ import * as Zep from "../../../../../api/index.mjs";
6
+ import * as core from "../../../../../core/index.mjs";
7
+ export declare const DeleteUserInstructionsRequest: core.serialization.Schema<serializers.DeleteUserInstructionsRequest.Raw, Zep.DeleteUserInstructionsRequest>;
8
+ export declare namespace DeleteUserInstructionsRequest {
9
+ interface Raw {
10
+ instruction_names?: string[] | null;
11
+ user_ids?: string[] | null;
12
+ }
13
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as core from "../../../../../core/index.mjs";
5
+ export const DeleteUserInstructionsRequest = core.serialization.object({
6
+ instructionNames: core.serialization.property("instruction_names", core.serialization.list(core.serialization.string()).optional()),
7
+ userIds: core.serialization.property("user_ids", core.serialization.list(core.serialization.string()).optional()),
8
+ });
@@ -1,2 +1,4 @@
1
+ export { AddUserInstructionsRequest } from "./AddUserInstructionsRequest.mjs";
2
+ export { DeleteUserInstructionsRequest } from "./DeleteUserInstructionsRequest.mjs";
1
3
  export { CreateUserRequest } from "./CreateUserRequest.mjs";
2
4
  export { UpdateUserRequest } from "./UpdateUserRequest.mjs";
@@ -1,2 +1,4 @@
1
+ export { AddUserInstructionsRequest } from "./AddUserInstructionsRequest.mjs";
2
+ export { DeleteUserInstructionsRequest } from "./DeleteUserInstructionsRequest.mjs";
1
3
  export { CreateUserRequest } from "./CreateUserRequest.mjs";
2
4
  export { UpdateUserRequest } from "./UpdateUserRequest.mjs";
@@ -6,5 +6,5 @@ import * as Zep from "../../api/index.mjs";
6
6
  import * as core from "../../core/index.mjs";
7
7
  export declare const ComparisonOperator: core.serialization.Schema<serializers.ComparisonOperator.Raw, Zep.ComparisonOperator>;
8
8
  export declare namespace ComparisonOperator {
9
- type Raw = "=" | "<>" | ">" | "<" | ">=" | "<=";
9
+ type Raw = "=" | "<>" | ">" | "<" | ">=" | "<=" | "IS NULL" | "IS NOT NULL";
10
10
  }
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as core from "../../core/index.mjs";
5
- export const ComparisonOperator = core.serialization.enum_(["=", "<>", ">", "<", ">=", "<="]);
5
+ export const ComparisonOperator = core.serialization.enum_(["=", "<>", ">", "<", ">=", "<=", "IS NULL", "IS NOT NULL"]);
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index.mjs";
5
+ import * as Zep from "../../api/index.mjs";
6
+ import * as core from "../../core/index.mjs";
7
+ export declare const ContextTemplateResponse: core.serialization.ObjectSchema<serializers.ContextTemplateResponse.Raw, Zep.ContextTemplateResponse>;
8
+ export declare namespace ContextTemplateResponse {
9
+ interface Raw {
10
+ template?: string | null;
11
+ template_id?: string | null;
12
+ uuid?: string | null;
13
+ }
14
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as core from "../../core/index.mjs";
5
+ export const ContextTemplateResponse = core.serialization.object({
6
+ template: core.serialization.string().optional(),
7
+ templateId: core.serialization.property("template_id", core.serialization.string().optional()),
8
+ uuid: core.serialization.string().optional(),
9
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index.mjs";
5
+ import * as Zep from "../../api/index.mjs";
6
+ import * as core from "../../core/index.mjs";
7
+ import { ContextTemplateResponse } from "./ContextTemplateResponse.mjs";
8
+ export declare const ListContextTemplatesResponse: core.serialization.ObjectSchema<serializers.ListContextTemplatesResponse.Raw, Zep.ListContextTemplatesResponse>;
9
+ export declare namespace ListContextTemplatesResponse {
10
+ interface Raw {
11
+ templates?: ContextTemplateResponse.Raw[] | null;
12
+ }
13
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as core from "../../core/index.mjs";
5
+ import { ContextTemplateResponse } from "./ContextTemplateResponse.mjs";
6
+ export const ListContextTemplatesResponse = core.serialization.object({
7
+ templates: core.serialization.list(ContextTemplateResponse).optional(),
8
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index.mjs";
5
+ import * as Zep from "../../api/index.mjs";
6
+ import * as core from "../../core/index.mjs";
7
+ import { UserInstruction } from "./UserInstruction.mjs";
8
+ export declare const ListUserInstructionsResponse: core.serialization.ObjectSchema<serializers.ListUserInstructionsResponse.Raw, Zep.ListUserInstructionsResponse>;
9
+ export declare namespace ListUserInstructionsResponse {
10
+ interface Raw {
11
+ instructions?: UserInstruction.Raw[] | null;
12
+ }
13
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as core from "../../core/index.mjs";
5
+ import { UserInstruction } from "./UserInstruction.mjs";
6
+ export const ListUserInstructionsResponse = core.serialization.object({
7
+ instructions: core.serialization.list(UserInstruction).optional(),
8
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index.mjs";
5
+ import * as Zep from "../../api/index.mjs";
6
+ import * as core from "../../core/index.mjs";
7
+ export declare const UserInstruction: core.serialization.ObjectSchema<serializers.UserInstruction.Raw, Zep.UserInstruction>;
8
+ export declare namespace UserInstruction {
9
+ interface Raw {
10
+ name: string;
11
+ text: string;
12
+ }
13
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as core from "../../core/index.mjs";
5
+ export const UserInstruction = core.serialization.object({
6
+ name: core.serialization.string(),
7
+ text: core.serialization.string(),
8
+ });
@@ -2,6 +2,7 @@ export * from "./ApiError.mjs";
2
2
  export * from "./AddThreadMessagesRequest.mjs";
3
3
  export * from "./AddThreadMessagesResponse.mjs";
4
4
  export * from "./CloneGraphResponse.mjs";
5
+ export * from "./ContextTemplateResponse.mjs";
5
6
  export * from "./EdgeType.mjs";
6
7
  export * from "./EntityEdgeSourceTarget.mjs";
7
8
  export * from "./EntityProperty.mjs";
@@ -18,6 +19,8 @@ export * from "./EpisodeResponse.mjs";
18
19
  export * from "./GraphListResponse.mjs";
19
20
  export * from "./GraphNodesRequest.mjs";
20
21
  export * from "./GraphSearchResults.mjs";
22
+ export * from "./ListContextTemplatesResponse.mjs";
23
+ export * from "./ListUserInstructionsResponse.mjs";
21
24
  export * from "./ProjectInfo.mjs";
22
25
  export * from "./ProjectInfoResponse.mjs";
23
26
  export * from "./RoleType.mjs";
@@ -28,6 +31,7 @@ export * from "./ThreadListResponse.mjs";
28
31
  export * from "./Message.mjs";
29
32
  export * from "./MessageListResponse.mjs";
30
33
  export * from "./User.mjs";
34
+ export * from "./UserInstruction.mjs";
31
35
  export * from "./UserListResponse.mjs";
32
36
  export * from "./UserNodeResponse.mjs";
33
37
  export * from "./AddTripleResponse.mjs";
@@ -2,6 +2,7 @@ export * from "./ApiError.mjs";
2
2
  export * from "./AddThreadMessagesRequest.mjs";
3
3
  export * from "./AddThreadMessagesResponse.mjs";
4
4
  export * from "./CloneGraphResponse.mjs";
5
+ export * from "./ContextTemplateResponse.mjs";
5
6
  export * from "./EdgeType.mjs";
6
7
  export * from "./EntityEdgeSourceTarget.mjs";
7
8
  export * from "./EntityProperty.mjs";
@@ -18,6 +19,8 @@ export * from "./EpisodeResponse.mjs";
18
19
  export * from "./GraphListResponse.mjs";
19
20
  export * from "./GraphNodesRequest.mjs";
20
21
  export * from "./GraphSearchResults.mjs";
22
+ export * from "./ListContextTemplatesResponse.mjs";
23
+ export * from "./ListUserInstructionsResponse.mjs";
21
24
  export * from "./ProjectInfo.mjs";
22
25
  export * from "./ProjectInfoResponse.mjs";
23
26
  export * from "./RoleType.mjs";
@@ -28,6 +31,7 @@ export * from "./ThreadListResponse.mjs";
28
31
  export * from "./Message.mjs";
29
32
  export * from "./MessageListResponse.mjs";
30
33
  export * from "./User.mjs";
34
+ export * from "./UserInstruction.mjs";
31
35
  export * from "./UserListResponse.mjs";
32
36
  export * from "./UserNodeResponse.mjs";
33
37
  export * from "./AddTripleResponse.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.9.0";
1
+ export declare const SDK_VERSION = "3.12.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "3.9.0";
1
+ export const SDK_VERSION = "3.12.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getzep/zep-cloud",
3
- "version": "3.9.0",
3
+ "version": "3.12.0",
4
4
  "private": false,
5
5
  "repository": "https://github.com/getzep/zep-js",
6
6
  "description": "Zep: Fast, scalable building blocks for production LLM apps",