@getzep/zep-cloud 3.12.0 → 3.14.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 (123) hide show
  1. package/README.md +3 -3
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +11 -6
  4. package/dist/cjs/api/resources/graph/client/Client.d.ts +1 -2
  5. package/dist/cjs/api/resources/graph/client/Client.js +1 -2
  6. package/dist/cjs/api/resources/graph/client/requests/AddTripleRequest.d.ts +17 -3
  7. package/dist/cjs/api/resources/graph/resources/node/client/Client.d.ts +14 -0
  8. package/dist/cjs/api/resources/graph/resources/node/client/Client.js +81 -0
  9. package/dist/cjs/api/resources/index.d.ts +1 -0
  10. package/dist/cjs/api/resources/index.js +2 -1
  11. package/dist/cjs/api/resources/task/client/Client.d.ts +48 -0
  12. package/dist/cjs/api/resources/task/client/Client.js +148 -0
  13. package/dist/cjs/api/resources/task/client/index.d.ts +1 -0
  14. package/dist/cjs/api/resources/task/client/index.js +2 -0
  15. package/dist/cjs/api/resources/task/index.d.ts +1 -0
  16. package/dist/cjs/api/resources/task/index.js +17 -0
  17. package/dist/cjs/api/resources/thread/client/requests/ThreadGetUserContextRequest.d.ts +1 -1
  18. package/dist/cjs/api/resources/user/client/requests/CreateUserRequest.d.ts +1 -1
  19. package/dist/cjs/api/resources/user/client/requests/UpdateUserRequest.d.ts +1 -1
  20. package/dist/cjs/api/types/AddThreadMessagesResponse.d.ts +1 -0
  21. package/dist/cjs/api/types/AddTripleResponse.d.ts +2 -0
  22. package/dist/cjs/api/types/CloneGraphResponse.d.ts +2 -0
  23. package/dist/cjs/api/types/DateFilter.d.ts +5 -2
  24. package/dist/cjs/api/types/Episode.d.ts +2 -0
  25. package/dist/cjs/api/types/GetTaskResponse.d.ts +15 -0
  26. package/dist/cjs/api/types/GetTaskResponse.js +5 -0
  27. package/dist/cjs/api/types/PropertyFilter.d.ts +16 -0
  28. package/dist/cjs/api/types/PropertyFilter.js +5 -0
  29. package/dist/cjs/api/types/SearchFilters.d.ts +4 -0
  30. package/dist/cjs/api/types/TaskErrorResponse.d.ts +8 -0
  31. package/dist/cjs/api/types/TaskErrorResponse.js +5 -0
  32. package/dist/cjs/api/types/TaskProgress.d.ts +7 -0
  33. package/dist/cjs/api/types/TaskProgress.js +5 -0
  34. package/dist/cjs/api/types/index.d.ts +4 -0
  35. package/dist/cjs/api/types/index.js +4 -0
  36. package/dist/cjs/serialization/resources/graph/client/requests/AddTripleRequest.d.ts +4 -1
  37. package/dist/cjs/serialization/resources/graph/client/requests/AddTripleRequest.js +4 -1
  38. package/dist/cjs/serialization/types/AddThreadMessagesResponse.d.ts +1 -0
  39. package/dist/cjs/serialization/types/AddThreadMessagesResponse.js +1 -0
  40. package/dist/cjs/serialization/types/AddTripleResponse.d.ts +1 -0
  41. package/dist/cjs/serialization/types/AddTripleResponse.js +1 -0
  42. package/dist/cjs/serialization/types/CloneGraphResponse.d.ts +1 -0
  43. package/dist/cjs/serialization/types/CloneGraphResponse.js +1 -0
  44. package/dist/cjs/serialization/types/DateFilter.d.ts +1 -1
  45. package/dist/cjs/serialization/types/DateFilter.js +1 -1
  46. package/dist/cjs/serialization/types/Episode.d.ts +1 -0
  47. package/dist/cjs/serialization/types/Episode.js +1 -0
  48. package/dist/cjs/serialization/types/GetTaskResponse.d.ts +22 -0
  49. package/dist/cjs/serialization/types/GetTaskResponse.js +53 -0
  50. package/dist/cjs/serialization/types/PropertyFilter.d.ts +15 -0
  51. package/dist/cjs/serialization/types/PropertyFilter.js +46 -0
  52. package/dist/cjs/serialization/types/SearchFilters.d.ts +3 -0
  53. package/dist/cjs/serialization/types/SearchFilters.js +3 -0
  54. package/dist/cjs/serialization/types/TaskErrorResponse.d.ts +14 -0
  55. package/dist/cjs/serialization/types/TaskErrorResponse.js +45 -0
  56. package/dist/cjs/serialization/types/TaskProgress.d.ts +13 -0
  57. package/dist/cjs/serialization/types/TaskProgress.js +44 -0
  58. package/dist/cjs/serialization/types/index.d.ts +4 -0
  59. package/dist/cjs/serialization/types/index.js +4 -0
  60. package/dist/cjs/version.d.ts +1 -1
  61. package/dist/cjs/version.js +1 -1
  62. package/dist/esm/Client.d.mts +3 -0
  63. package/dist/esm/Client.mjs +7 -2
  64. package/dist/esm/api/resources/graph/client/Client.d.mts +1 -2
  65. package/dist/esm/api/resources/graph/client/Client.mjs +1 -2
  66. package/dist/esm/api/resources/graph/client/requests/AddTripleRequest.d.mts +17 -3
  67. package/dist/esm/api/resources/graph/resources/node/client/Client.d.mts +14 -0
  68. package/dist/esm/api/resources/graph/resources/node/client/Client.mjs +81 -0
  69. package/dist/esm/api/resources/index.d.mts +1 -0
  70. package/dist/esm/api/resources/index.mjs +1 -0
  71. package/dist/esm/api/resources/task/client/Client.d.mts +48 -0
  72. package/dist/esm/api/resources/task/client/Client.mjs +111 -0
  73. package/dist/esm/api/resources/task/client/index.d.mts +1 -0
  74. package/dist/esm/api/resources/task/client/index.mjs +1 -0
  75. package/dist/esm/api/resources/task/index.d.mts +1 -0
  76. package/dist/esm/api/resources/task/index.mjs +1 -0
  77. package/dist/esm/api/resources/thread/client/requests/ThreadGetUserContextRequest.d.mts +1 -1
  78. package/dist/esm/api/resources/user/client/requests/CreateUserRequest.d.mts +1 -1
  79. package/dist/esm/api/resources/user/client/requests/UpdateUserRequest.d.mts +1 -1
  80. package/dist/esm/api/types/AddThreadMessagesResponse.d.mts +1 -0
  81. package/dist/esm/api/types/AddTripleResponse.d.mts +2 -0
  82. package/dist/esm/api/types/CloneGraphResponse.d.mts +2 -0
  83. package/dist/esm/api/types/DateFilter.d.mts +5 -2
  84. package/dist/esm/api/types/Episode.d.mts +2 -0
  85. package/dist/esm/api/types/GetTaskResponse.d.mts +15 -0
  86. package/dist/esm/api/types/GetTaskResponse.mjs +4 -0
  87. package/dist/esm/api/types/PropertyFilter.d.mts +16 -0
  88. package/dist/esm/api/types/PropertyFilter.mjs +4 -0
  89. package/dist/esm/api/types/SearchFilters.d.mts +4 -0
  90. package/dist/esm/api/types/TaskErrorResponse.d.mts +8 -0
  91. package/dist/esm/api/types/TaskErrorResponse.mjs +4 -0
  92. package/dist/esm/api/types/TaskProgress.d.mts +7 -0
  93. package/dist/esm/api/types/TaskProgress.mjs +4 -0
  94. package/dist/esm/api/types/index.d.mts +4 -0
  95. package/dist/esm/api/types/index.mjs +4 -0
  96. package/dist/esm/serialization/resources/graph/client/requests/AddTripleRequest.d.mts +4 -1
  97. package/dist/esm/serialization/resources/graph/client/requests/AddTripleRequest.mjs +4 -1
  98. package/dist/esm/serialization/types/AddThreadMessagesResponse.d.mts +1 -0
  99. package/dist/esm/serialization/types/AddThreadMessagesResponse.mjs +1 -0
  100. package/dist/esm/serialization/types/AddTripleResponse.d.mts +1 -0
  101. package/dist/esm/serialization/types/AddTripleResponse.mjs +1 -0
  102. package/dist/esm/serialization/types/CloneGraphResponse.d.mts +1 -0
  103. package/dist/esm/serialization/types/CloneGraphResponse.mjs +1 -0
  104. package/dist/esm/serialization/types/DateFilter.d.mts +1 -1
  105. package/dist/esm/serialization/types/DateFilter.mjs +1 -1
  106. package/dist/esm/serialization/types/Episode.d.mts +1 -0
  107. package/dist/esm/serialization/types/Episode.mjs +1 -0
  108. package/dist/esm/serialization/types/GetTaskResponse.d.mts +22 -0
  109. package/dist/esm/serialization/types/GetTaskResponse.mjs +17 -0
  110. package/dist/esm/serialization/types/PropertyFilter.d.mts +15 -0
  111. package/dist/esm/serialization/types/PropertyFilter.mjs +10 -0
  112. package/dist/esm/serialization/types/SearchFilters.d.mts +3 -0
  113. package/dist/esm/serialization/types/SearchFilters.mjs +3 -0
  114. package/dist/esm/serialization/types/TaskErrorResponse.d.mts +14 -0
  115. package/dist/esm/serialization/types/TaskErrorResponse.mjs +9 -0
  116. package/dist/esm/serialization/types/TaskProgress.d.mts +13 -0
  117. package/dist/esm/serialization/types/TaskProgress.mjs +8 -0
  118. package/dist/esm/serialization/types/index.d.mts +4 -0
  119. package/dist/esm/serialization/types/index.mjs +4 -0
  120. package/dist/esm/version.d.mts +1 -1
  121. package/dist/esm/version.mjs +1 -1
  122. package/package.json +1 -1
  123. package/reference.md +128 -1
@@ -13,6 +13,8 @@ export interface SearchFilters {
13
13
  createdAt?: Zep.DateFilter[][];
14
14
  /** List of edge types to filter on */
15
15
  edgeTypes?: string[];
16
+ /** List of edge UUIDs to filter on */
17
+ edgeUuids?: string[];
16
18
  /** List of edge types to exclude from results */
17
19
  excludeEdgeTypes?: string[];
18
20
  /** List of node labels to exclude from results */
@@ -35,6 +37,8 @@ export interface SearchFilters {
35
37
  invalidAt?: Zep.DateFilter[][];
36
38
  /** List of node labels to filter on */
37
39
  nodeLabels?: string[];
40
+ /** List of property filters to apply to nodes and edges */
41
+ propertyFilters?: Zep.PropertyFilter[];
38
42
  /**
39
43
  * 2D array of date filters for the valid_at field.
40
44
  * The outer array elements are combined with OR logic.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TaskErrorResponse {
5
+ code?: string;
6
+ details?: Record<string, unknown>;
7
+ message?: string;
8
+ }
@@ -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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TaskProgress {
5
+ message?: string;
6
+ stage?: string;
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 });
@@ -12,6 +12,7 @@ export * from "./EpisodeData.js";
12
12
  export * from "./EpisodeMentions.js";
13
13
  export * from "./FactRatingExamples.js";
14
14
  export * from "./FactRatingInstruction.js";
15
+ export * from "./GetTaskResponse.js";
15
16
  export * from "./Graph.js";
16
17
  export * from "./GraphEdgesRequest.js";
17
18
  export * from "./Episode.js";
@@ -25,6 +26,8 @@ export * from "./ProjectInfo.js";
25
26
  export * from "./ProjectInfoResponse.js";
26
27
  export * from "./RoleType.js";
27
28
  export * from "./SuccessResponse.js";
29
+ export * from "./TaskErrorResponse.js";
30
+ export * from "./TaskProgress.js";
28
31
  export * from "./Thread.js";
29
32
  export * from "./ThreadContextResponse.js";
30
33
  export * from "./ThreadListResponse.js";
@@ -40,6 +43,7 @@ export * from "./DateFilter.js";
40
43
  export * from "./EntityEdge.js";
41
44
  export * from "./EntityNode.js";
42
45
  export * from "./GraphSearchScope.js";
46
+ export * from "./PropertyFilter.js";
43
47
  export * from "./Reranker.js";
44
48
  export * from "./SearchFilters.js";
45
49
  export * from "./EntityPropertyType.js";
@@ -28,6 +28,7 @@ __exportStar(require("./EpisodeData.js"), exports);
28
28
  __exportStar(require("./EpisodeMentions.js"), exports);
29
29
  __exportStar(require("./FactRatingExamples.js"), exports);
30
30
  __exportStar(require("./FactRatingInstruction.js"), exports);
31
+ __exportStar(require("./GetTaskResponse.js"), exports);
31
32
  __exportStar(require("./Graph.js"), exports);
32
33
  __exportStar(require("./GraphEdgesRequest.js"), exports);
33
34
  __exportStar(require("./Episode.js"), exports);
@@ -41,6 +42,8 @@ __exportStar(require("./ProjectInfo.js"), exports);
41
42
  __exportStar(require("./ProjectInfoResponse.js"), exports);
42
43
  __exportStar(require("./RoleType.js"), exports);
43
44
  __exportStar(require("./SuccessResponse.js"), exports);
45
+ __exportStar(require("./TaskErrorResponse.js"), exports);
46
+ __exportStar(require("./TaskProgress.js"), exports);
44
47
  __exportStar(require("./Thread.js"), exports);
45
48
  __exportStar(require("./ThreadContextResponse.js"), exports);
46
49
  __exportStar(require("./ThreadListResponse.js"), exports);
@@ -56,6 +59,7 @@ __exportStar(require("./DateFilter.js"), exports);
56
59
  __exportStar(require("./EntityEdge.js"), exports);
57
60
  __exportStar(require("./EntityNode.js"), exports);
58
61
  __exportStar(require("./GraphSearchScope.js"), exports);
62
+ __exportStar(require("./PropertyFilter.js"), exports);
59
63
  __exportStar(require("./Reranker.js"), exports);
60
64
  __exportStar(require("./SearchFilters.js"), exports);
61
65
  __exportStar(require("./EntityPropertyType.js"), exports);
@@ -8,16 +8,19 @@ export declare const AddTripleRequest: core.serialization.Schema<serializers.Add
8
8
  export declare namespace AddTripleRequest {
9
9
  interface Raw {
10
10
  created_at?: string | null;
11
+ edge_attributes?: Record<string, unknown> | null;
11
12
  expired_at?: string | null;
12
13
  fact: string;
13
14
  fact_name: string;
14
15
  fact_uuid?: string | null;
15
16
  graph_id?: string | null;
16
17
  invalid_at?: string | null;
18
+ source_node_attributes?: Record<string, unknown> | null;
17
19
  source_node_name?: string | null;
18
20
  source_node_summary?: string | null;
19
21
  source_node_uuid?: string | null;
20
- target_node_name: string;
22
+ target_node_attributes?: Record<string, unknown> | null;
23
+ target_node_name?: string | null;
21
24
  target_node_summary?: string | null;
22
25
  target_node_uuid?: string | null;
23
26
  user_id?: string | null;
@@ -40,16 +40,19 @@ exports.AddTripleRequest = void 0;
40
40
  const core = __importStar(require("../../../../../core/index.js"));
41
41
  exports.AddTripleRequest = core.serialization.object({
42
42
  createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
43
+ edgeAttributes: core.serialization.property("edge_attributes", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
43
44
  expiredAt: core.serialization.property("expired_at", core.serialization.string().optional()),
44
45
  fact: core.serialization.string(),
45
46
  factName: core.serialization.property("fact_name", core.serialization.string()),
46
47
  factUuid: core.serialization.property("fact_uuid", core.serialization.string().optional()),
47
48
  graphId: core.serialization.property("graph_id", core.serialization.string().optional()),
48
49
  invalidAt: core.serialization.property("invalid_at", core.serialization.string().optional()),
50
+ sourceNodeAttributes: core.serialization.property("source_node_attributes", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
49
51
  sourceNodeName: core.serialization.property("source_node_name", core.serialization.string().optional()),
50
52
  sourceNodeSummary: core.serialization.property("source_node_summary", core.serialization.string().optional()),
51
53
  sourceNodeUuid: core.serialization.property("source_node_uuid", core.serialization.string().optional()),
52
- targetNodeName: core.serialization.property("target_node_name", core.serialization.string()),
54
+ targetNodeAttributes: core.serialization.property("target_node_attributes", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
55
+ targetNodeName: core.serialization.property("target_node_name", core.serialization.string().optional()),
53
56
  targetNodeSummary: core.serialization.property("target_node_summary", core.serialization.string().optional()),
54
57
  targetNodeUuid: core.serialization.property("target_node_uuid", core.serialization.string().optional()),
55
58
  userId: core.serialization.property("user_id", core.serialization.string().optional()),
@@ -9,5 +9,6 @@ export declare namespace AddThreadMessagesResponse {
9
9
  interface Raw {
10
10
  context?: string | null;
11
11
  message_uuids?: string[] | null;
12
+ task_id?: string | null;
12
13
  }
13
14
  }
@@ -41,4 +41,5 @@ const core = __importStar(require("../../core/index.js"));
41
41
  exports.AddThreadMessagesResponse = core.serialization.object({
42
42
  context: core.serialization.string().optional(),
43
43
  messageUuids: core.serialization.property("message_uuids", core.serialization.list(core.serialization.string()).optional()),
44
+ taskId: core.serialization.property("task_id", core.serialization.string().optional()),
44
45
  });
@@ -12,5 +12,6 @@ export declare namespace AddTripleResponse {
12
12
  edge?: EntityEdge.Raw | null;
13
13
  source_node?: EntityNode.Raw | null;
14
14
  target_node?: EntityNode.Raw | null;
15
+ task_id?: string | null;
15
16
  }
16
17
  }
@@ -44,4 +44,5 @@ exports.AddTripleResponse = core.serialization.object({
44
44
  edge: EntityEdge_js_1.EntityEdge.optional(),
45
45
  sourceNode: core.serialization.property("source_node", EntityNode_js_1.EntityNode.optional()),
46
46
  targetNode: core.serialization.property("target_node", EntityNode_js_1.EntityNode.optional()),
47
+ taskId: core.serialization.property("task_id", core.serialization.string().optional()),
47
48
  });
@@ -8,6 +8,7 @@ export declare const CloneGraphResponse: core.serialization.ObjectSchema<seriali
8
8
  export declare namespace CloneGraphResponse {
9
9
  interface Raw {
10
10
  graph_id?: string | null;
11
+ task_id?: string | null;
11
12
  user_id?: string | null;
12
13
  }
13
14
  }
@@ -40,5 +40,6 @@ exports.CloneGraphResponse = void 0;
40
40
  const core = __importStar(require("../../core/index.js"));
41
41
  exports.CloneGraphResponse = core.serialization.object({
42
42
  graphId: core.serialization.property("graph_id", core.serialization.string().optional()),
43
+ taskId: core.serialization.property("task_id", core.serialization.string().optional()),
43
44
  userId: core.serialization.property("user_id", core.serialization.string().optional()),
44
45
  });
@@ -9,6 +9,6 @@ export declare const DateFilter: core.serialization.ObjectSchema<serializers.Dat
9
9
  export declare namespace DateFilter {
10
10
  interface Raw {
11
11
  comparison_operator: ComparisonOperator.Raw;
12
- date: string;
12
+ date?: string | null;
13
13
  }
14
14
  }
@@ -41,5 +41,5 @@ const core = __importStar(require("../../core/index.js"));
41
41
  const ComparisonOperator_js_1 = require("./ComparisonOperator.js");
42
42
  exports.DateFilter = core.serialization.object({
43
43
  comparisonOperator: core.serialization.property("comparison_operator", ComparisonOperator_js_1.ComparisonOperator),
44
- date: core.serialization.string(),
44
+ date: core.serialization.string().optional(),
45
45
  });
@@ -19,6 +19,7 @@ export declare namespace Episode {
19
19
  score?: number | null;
20
20
  source?: GraphDataType.Raw | null;
21
21
  source_description?: string | null;
22
+ task_id?: string | null;
22
23
  thread_id?: string | null;
23
24
  uuid: string;
24
25
  }
@@ -51,6 +51,7 @@ exports.Episode = core.serialization.object({
51
51
  score: core.serialization.number().optional(),
52
52
  source: GraphDataType_js_1.GraphDataType.optional(),
53
53
  sourceDescription: core.serialization.property("source_description", core.serialization.string().optional()),
54
+ taskId: core.serialization.property("task_id", core.serialization.string().optional()),
54
55
  threadId: core.serialization.property("thread_id", core.serialization.string().optional()),
55
56
  uuid: core.serialization.string(),
56
57
  });
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index.js";
5
+ import * as Zep from "../../api/index.js";
6
+ import * as core from "../../core/index.js";
7
+ import { TaskErrorResponse } from "./TaskErrorResponse.js";
8
+ import { TaskProgress } from "./TaskProgress.js";
9
+ export declare const GetTaskResponse: core.serialization.ObjectSchema<serializers.GetTaskResponse.Raw, Zep.GetTaskResponse>;
10
+ export declare namespace GetTaskResponse {
11
+ interface Raw {
12
+ completed_at?: string | null;
13
+ created_at?: string | null;
14
+ error?: TaskErrorResponse.Raw | null;
15
+ progress?: TaskProgress.Raw | null;
16
+ started_at?: string | null;
17
+ status?: string | null;
18
+ task_id?: string | null;
19
+ type?: string | null;
20
+ updated_at?: string | null;
21
+ }
22
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.GetTaskResponse = void 0;
40
+ const core = __importStar(require("../../core/index.js"));
41
+ const TaskErrorResponse_js_1 = require("./TaskErrorResponse.js");
42
+ const TaskProgress_js_1 = require("./TaskProgress.js");
43
+ exports.GetTaskResponse = core.serialization.object({
44
+ completedAt: core.serialization.property("completed_at", core.serialization.string().optional()),
45
+ createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
46
+ error: TaskErrorResponse_js_1.TaskErrorResponse.optional(),
47
+ progress: TaskProgress_js_1.TaskProgress.optional(),
48
+ startedAt: core.serialization.property("started_at", core.serialization.string().optional()),
49
+ status: core.serialization.string().optional(),
50
+ taskId: core.serialization.property("task_id", core.serialization.string().optional()),
51
+ type: core.serialization.string().optional(),
52
+ updatedAt: core.serialization.property("updated_at", core.serialization.string().optional()),
53
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index.js";
5
+ import * as Zep from "../../api/index.js";
6
+ import * as core from "../../core/index.js";
7
+ import { ComparisonOperator } from "./ComparisonOperator.js";
8
+ export declare const PropertyFilter: core.serialization.ObjectSchema<serializers.PropertyFilter.Raw, Zep.PropertyFilter>;
9
+ export declare namespace PropertyFilter {
10
+ interface Raw {
11
+ comparison_operator: ComparisonOperator.Raw;
12
+ property_name: string;
13
+ property_value?: unknown | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.PropertyFilter = void 0;
40
+ const core = __importStar(require("../../core/index.js"));
41
+ const ComparisonOperator_js_1 = require("./ComparisonOperator.js");
42
+ exports.PropertyFilter = core.serialization.object({
43
+ comparisonOperator: core.serialization.property("comparison_operator", ComparisonOperator_js_1.ComparisonOperator),
44
+ propertyName: core.serialization.property("property_name", core.serialization.string()),
45
+ propertyValue: core.serialization.property("property_value", core.serialization.unknown().optional()),
46
+ });
@@ -5,16 +5,19 @@ import * as serializers from "../index.js";
5
5
  import * as Zep from "../../api/index.js";
6
6
  import * as core from "../../core/index.js";
7
7
  import { DateFilter } from "./DateFilter.js";
8
+ import { PropertyFilter } from "./PropertyFilter.js";
8
9
  export declare const SearchFilters: core.serialization.ObjectSchema<serializers.SearchFilters.Raw, Zep.SearchFilters>;
9
10
  export declare namespace SearchFilters {
10
11
  interface Raw {
11
12
  created_at?: DateFilter.Raw[][] | null;
12
13
  edge_types?: string[] | null;
14
+ edge_uuids?: string[] | null;
13
15
  exclude_edge_types?: string[] | null;
14
16
  exclude_node_labels?: string[] | null;
15
17
  expired_at?: DateFilter.Raw[][] | null;
16
18
  invalid_at?: DateFilter.Raw[][] | null;
17
19
  node_labels?: string[] | null;
20
+ property_filters?: PropertyFilter.Raw[] | null;
18
21
  valid_at?: DateFilter.Raw[][] | null;
19
22
  }
20
23
  }
@@ -39,13 +39,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.SearchFilters = void 0;
40
40
  const core = __importStar(require("../../core/index.js"));
41
41
  const DateFilter_js_1 = require("./DateFilter.js");
42
+ const PropertyFilter_js_1 = require("./PropertyFilter.js");
42
43
  exports.SearchFilters = core.serialization.object({
43
44
  createdAt: core.serialization.property("created_at", core.serialization.list(core.serialization.list(DateFilter_js_1.DateFilter)).optional()),
44
45
  edgeTypes: core.serialization.property("edge_types", core.serialization.list(core.serialization.string()).optional()),
46
+ edgeUuids: core.serialization.property("edge_uuids", core.serialization.list(core.serialization.string()).optional()),
45
47
  excludeEdgeTypes: core.serialization.property("exclude_edge_types", core.serialization.list(core.serialization.string()).optional()),
46
48
  excludeNodeLabels: core.serialization.property("exclude_node_labels", core.serialization.list(core.serialization.string()).optional()),
47
49
  expiredAt: core.serialization.property("expired_at", core.serialization.list(core.serialization.list(DateFilter_js_1.DateFilter)).optional()),
48
50
  invalidAt: core.serialization.property("invalid_at", core.serialization.list(core.serialization.list(DateFilter_js_1.DateFilter)).optional()),
49
51
  nodeLabels: core.serialization.property("node_labels", core.serialization.list(core.serialization.string()).optional()),
52
+ propertyFilters: core.serialization.property("property_filters", core.serialization.list(PropertyFilter_js_1.PropertyFilter).optional()),
50
53
  validAt: core.serialization.property("valid_at", core.serialization.list(core.serialization.list(DateFilter_js_1.DateFilter)).optional()),
51
54
  });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index.js";
5
+ import * as Zep from "../../api/index.js";
6
+ import * as core from "../../core/index.js";
7
+ export declare const TaskErrorResponse: core.serialization.ObjectSchema<serializers.TaskErrorResponse.Raw, Zep.TaskErrorResponse>;
8
+ export declare namespace TaskErrorResponse {
9
+ interface Raw {
10
+ code?: string | null;
11
+ details?: Record<string, unknown> | null;
12
+ message?: string | null;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.TaskErrorResponse = void 0;
40
+ const core = __importStar(require("../../core/index.js"));
41
+ exports.TaskErrorResponse = core.serialization.object({
42
+ code: core.serialization.string().optional(),
43
+ details: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
44
+ message: core.serialization.string().optional(),
45
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index.js";
5
+ import * as Zep from "../../api/index.js";
6
+ import * as core from "../../core/index.js";
7
+ export declare const TaskProgress: core.serialization.ObjectSchema<serializers.TaskProgress.Raw, Zep.TaskProgress>;
8
+ export declare namespace TaskProgress {
9
+ interface Raw {
10
+ message?: string | null;
11
+ stage?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.TaskProgress = void 0;
40
+ const core = __importStar(require("../../core/index.js"));
41
+ exports.TaskProgress = core.serialization.object({
42
+ message: core.serialization.string().optional(),
43
+ stage: core.serialization.string().optional(),
44
+ });
@@ -12,6 +12,7 @@ export * from "./EpisodeData.js";
12
12
  export * from "./EpisodeMentions.js";
13
13
  export * from "./FactRatingExamples.js";
14
14
  export * from "./FactRatingInstruction.js";
15
+ export * from "./GetTaskResponse.js";
15
16
  export * from "./Graph.js";
16
17
  export * from "./GraphEdgesRequest.js";
17
18
  export * from "./Episode.js";
@@ -25,6 +26,8 @@ export * from "./ProjectInfo.js";
25
26
  export * from "./ProjectInfoResponse.js";
26
27
  export * from "./RoleType.js";
27
28
  export * from "./SuccessResponse.js";
29
+ export * from "./TaskErrorResponse.js";
30
+ export * from "./TaskProgress.js";
28
31
  export * from "./Thread.js";
29
32
  export * from "./ThreadContextResponse.js";
30
33
  export * from "./ThreadListResponse.js";
@@ -40,6 +43,7 @@ export * from "./DateFilter.js";
40
43
  export * from "./EntityEdge.js";
41
44
  export * from "./EntityNode.js";
42
45
  export * from "./GraphSearchScope.js";
46
+ export * from "./PropertyFilter.js";
43
47
  export * from "./Reranker.js";
44
48
  export * from "./SearchFilters.js";
45
49
  export * from "./EntityPropertyType.js";
@@ -28,6 +28,7 @@ __exportStar(require("./EpisodeData.js"), exports);
28
28
  __exportStar(require("./EpisodeMentions.js"), exports);
29
29
  __exportStar(require("./FactRatingExamples.js"), exports);
30
30
  __exportStar(require("./FactRatingInstruction.js"), exports);
31
+ __exportStar(require("./GetTaskResponse.js"), exports);
31
32
  __exportStar(require("./Graph.js"), exports);
32
33
  __exportStar(require("./GraphEdgesRequest.js"), exports);
33
34
  __exportStar(require("./Episode.js"), exports);
@@ -41,6 +42,8 @@ __exportStar(require("./ProjectInfo.js"), exports);
41
42
  __exportStar(require("./ProjectInfoResponse.js"), exports);
42
43
  __exportStar(require("./RoleType.js"), exports);
43
44
  __exportStar(require("./SuccessResponse.js"), exports);
45
+ __exportStar(require("./TaskErrorResponse.js"), exports);
46
+ __exportStar(require("./TaskProgress.js"), exports);
44
47
  __exportStar(require("./Thread.js"), exports);
45
48
  __exportStar(require("./ThreadContextResponse.js"), exports);
46
49
  __exportStar(require("./ThreadListResponse.js"), exports);
@@ -56,6 +59,7 @@ __exportStar(require("./DateFilter.js"), exports);
56
59
  __exportStar(require("./EntityEdge.js"), exports);
57
60
  __exportStar(require("./EntityNode.js"), exports);
58
61
  __exportStar(require("./GraphSearchScope.js"), exports);
62
+ __exportStar(require("./PropertyFilter.js"), exports);
59
63
  __exportStar(require("./Reranker.js"), exports);
60
64
  __exportStar(require("./SearchFilters.js"), exports);
61
65
  __exportStar(require("./EntityPropertyType.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.12.0";
1
+ export declare const SDK_VERSION = "3.14.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "3.12.0";
4
+ exports.SDK_VERSION = "3.14.0";
@@ -6,6 +6,7 @@ import * as core from "./core/index.mjs";
6
6
  import { Context } from "./api/resources/context/client/Client.mjs";
7
7
  import { Graph } from "./api/resources/graph/client/Client.mjs";
8
8
  import { Project } from "./api/resources/project/client/Client.mjs";
9
+ import { Task } from "./api/resources/task/client/Client.mjs";
9
10
  import { Thread } from "./api/resources/thread/client/Client.mjs";
10
11
  import { User } from "./api/resources/user/client/Client.mjs";
11
12
  export declare namespace ZepClient {
@@ -34,12 +35,14 @@ export declare class ZepClient {
34
35
  protected _context: Context | undefined;
35
36
  protected _graph: Graph | undefined;
36
37
  protected _project: Project | undefined;
38
+ protected _task: Task | undefined;
37
39
  protected _thread: Thread | undefined;
38
40
  protected _user: User | undefined;
39
41
  constructor(_options?: ZepClient.Options);
40
42
  get context(): Context;
41
43
  get graph(): Graph;
42
44
  get project(): Project;
45
+ get task(): Task;
43
46
  get thread(): Thread;
44
47
  get user(): User;
45
48
  }