@getzep/zep-cloud 2.7.0 → 2.8.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 (109) hide show
  1. package/Client.d.ts +3 -3
  2. package/Client.js +6 -6
  3. package/api/resources/document/client/Client.js +13 -13
  4. package/api/resources/graph/client/Client.d.ts +30 -0
  5. package/api/resources/graph/client/Client.js +157 -4
  6. package/api/resources/graph/client/requests/EntityTypeRequest.d.ts +16 -0
  7. package/api/resources/graph/client/requests/EntityTypeRequest.js +5 -0
  8. package/api/resources/graph/client/requests/GraphSearchQuery.d.ts +2 -0
  9. package/api/resources/graph/client/requests/index.d.ts +1 -0
  10. package/api/resources/graph/resources/edge/client/Client.js +4 -4
  11. package/api/resources/graph/resources/episode/client/Client.js +5 -5
  12. package/api/resources/graph/resources/node/client/Client.js +3 -3
  13. package/api/resources/group/client/Client.js +6 -6
  14. package/api/resources/index.d.ts +2 -2
  15. package/api/resources/index.js +3 -3
  16. package/api/resources/memory/client/Client.js +22 -22
  17. package/api/resources/user/client/Client.js +8 -8
  18. package/api/types/EntityProperty.d.ts +9 -0
  19. package/api/types/EntityProperty.js +5 -0
  20. package/api/types/EntityPropertyType.d.ts +10 -0
  21. package/api/types/EntityPropertyType.js +12 -0
  22. package/api/types/EntityType.d.ts +9 -0
  23. package/api/types/EntityType.js +5 -0
  24. package/api/types/EntityTypeResponse.d.ts +7 -0
  25. package/api/types/EntityTypeResponse.js +5 -0
  26. package/api/types/index.d.ts +4 -0
  27. package/api/types/index.js +4 -0
  28. package/dist/Client.d.ts +3 -3
  29. package/dist/Client.js +6 -6
  30. package/dist/api/resources/document/client/Client.js +13 -13
  31. package/dist/api/resources/graph/client/Client.d.ts +30 -0
  32. package/dist/api/resources/graph/client/Client.js +157 -4
  33. package/dist/api/resources/graph/client/requests/EntityTypeRequest.d.ts +16 -0
  34. package/dist/api/resources/graph/client/requests/EntityTypeRequest.js +5 -0
  35. package/dist/api/resources/graph/client/requests/GraphSearchQuery.d.ts +2 -0
  36. package/dist/api/resources/graph/client/requests/index.d.ts +1 -0
  37. package/dist/api/resources/graph/resources/edge/client/Client.js +4 -4
  38. package/dist/api/resources/graph/resources/episode/client/Client.js +5 -5
  39. package/dist/api/resources/graph/resources/node/client/Client.js +3 -3
  40. package/dist/api/resources/group/client/Client.js +6 -6
  41. package/dist/api/resources/index.d.ts +2 -2
  42. package/dist/api/resources/index.js +3 -3
  43. package/dist/api/resources/memory/client/Client.js +22 -22
  44. package/dist/api/resources/user/client/Client.js +8 -8
  45. package/dist/api/types/EntityProperty.d.ts +9 -0
  46. package/dist/api/types/EntityProperty.js +5 -0
  47. package/dist/api/types/EntityPropertyType.d.ts +10 -0
  48. package/dist/api/types/EntityPropertyType.js +12 -0
  49. package/dist/api/types/EntityType.d.ts +9 -0
  50. package/dist/api/types/EntityType.js +5 -0
  51. package/dist/api/types/EntityTypeResponse.d.ts +7 -0
  52. package/dist/api/types/EntityTypeResponse.js +5 -0
  53. package/dist/api/types/index.d.ts +4 -0
  54. package/dist/api/types/index.js +4 -0
  55. package/dist/serialization/resources/graph/client/requests/EntityTypeRequest.d.ts +13 -0
  56. package/dist/serialization/resources/graph/client/requests/EntityTypeRequest.js +44 -0
  57. package/dist/serialization/resources/graph/client/requests/GraphSearchQuery.d.ts +1 -0
  58. package/dist/serialization/resources/graph/client/requests/GraphSearchQuery.js +1 -0
  59. package/dist/serialization/resources/graph/client/requests/index.d.ts +1 -0
  60. package/dist/serialization/resources/graph/client/requests/index.js +3 -1
  61. package/dist/serialization/resources/index.d.ts +1 -1
  62. package/dist/serialization/resources/index.js +1 -1
  63. package/dist/serialization/types/EntityProperty.d.ts +15 -0
  64. package/dist/serialization/types/EntityProperty.js +46 -0
  65. package/dist/serialization/types/EntityPropertyType.d.ts +10 -0
  66. package/dist/serialization/types/EntityPropertyType.js +41 -0
  67. package/dist/serialization/types/EntityType.d.ts +15 -0
  68. package/dist/serialization/types/EntityType.js +46 -0
  69. package/dist/serialization/types/EntityTypeResponse.d.ts +13 -0
  70. package/dist/serialization/types/EntityTypeResponse.js +44 -0
  71. package/dist/serialization/types/index.d.ts +4 -0
  72. package/dist/serialization/types/index.js +4 -0
  73. package/dist/version.d.ts +1 -1
  74. package/dist/version.js +1 -1
  75. package/dist/wrapper/graph.d.ts +6 -0
  76. package/dist/wrapper/graph.js +29 -0
  77. package/dist/wrapper/index.d.ts +2 -0
  78. package/dist/wrapper/index.js +4 -0
  79. package/dist/wrapper/ontology.d.ts +312 -0
  80. package/dist/wrapper/ontology.js +80 -0
  81. package/examples/graph/entity_type_example.ts +40 -0
  82. package/package.json +1 -1
  83. package/reference.md +311 -186
  84. package/serialization/resources/graph/client/requests/EntityTypeRequest.d.ts +13 -0
  85. package/serialization/resources/graph/client/requests/EntityTypeRequest.js +44 -0
  86. package/serialization/resources/graph/client/requests/GraphSearchQuery.d.ts +1 -0
  87. package/serialization/resources/graph/client/requests/GraphSearchQuery.js +1 -0
  88. package/serialization/resources/graph/client/requests/index.d.ts +1 -0
  89. package/serialization/resources/graph/client/requests/index.js +3 -1
  90. package/serialization/resources/index.d.ts +1 -1
  91. package/serialization/resources/index.js +1 -1
  92. package/serialization/types/EntityProperty.d.ts +15 -0
  93. package/serialization/types/EntityProperty.js +46 -0
  94. package/serialization/types/EntityPropertyType.d.ts +10 -0
  95. package/serialization/types/EntityPropertyType.js +41 -0
  96. package/serialization/types/EntityType.d.ts +15 -0
  97. package/serialization/types/EntityType.js +46 -0
  98. package/serialization/types/EntityTypeResponse.d.ts +13 -0
  99. package/serialization/types/EntityTypeResponse.js +44 -0
  100. package/serialization/types/index.d.ts +4 -0
  101. package/serialization/types/index.js +4 -0
  102. package/version.d.ts +1 -1
  103. package/version.js +1 -1
  104. package/wrapper/graph.d.ts +6 -0
  105. package/wrapper/graph.js +29 -0
  106. package/wrapper/index.d.ts +2 -0
  107. package/wrapper/index.js +4 -0
  108. package/wrapper/ontology.d.ts +312 -0
  109. package/wrapper/ontology.js +80 -0
@@ -1,10 +1,10 @@
1
1
  export * as document from "./document";
2
- export * as memory from "./memory";
3
2
  export * as graph from "./graph";
3
+ export * as memory from "./memory";
4
4
  export * as group from "./group";
5
5
  export * as user from "./user";
6
6
  export * from "./document/client/requests";
7
- export * from "./memory/client/requests";
8
7
  export * from "./graph/client/requests";
8
+ export * from "./memory/client/requests";
9
9
  export * from "./group/client/requests";
10
10
  export * from "./user/client/requests";
@@ -36,14 +36,14 @@ 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.group = exports.graph = exports.memory = exports.document = void 0;
39
+ exports.user = exports.group = exports.memory = exports.graph = exports.document = void 0;
40
40
  exports.document = __importStar(require("./document"));
41
- exports.memory = __importStar(require("./memory"));
42
41
  exports.graph = __importStar(require("./graph"));
42
+ exports.memory = __importStar(require("./memory"));
43
43
  exports.group = __importStar(require("./group"));
44
44
  exports.user = __importStar(require("./user"));
45
45
  __exportStar(require("./document/client/requests"), exports);
46
- __exportStar(require("./memory/client/requests"), exports);
47
46
  __exportStar(require("./graph/client/requests"), exports);
47
+ __exportStar(require("./memory/client/requests"), exports);
48
48
  __exportStar(require("./group/client/requests"), exports);
49
49
  __exportStar(require("./user/client/requests"), exports);
@@ -88,7 +88,7 @@ class Memory {
88
88
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
89
89
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `facts/${encodeURIComponent(factUuid)}`),
90
90
  method: "GET",
91
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
92
  contentType: "application/json",
93
93
  requestType: "json",
94
94
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -162,7 +162,7 @@ class Memory {
162
162
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
163
163
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `facts/${encodeURIComponent(factUuid)}`),
164
164
  method: "DELETE",
165
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
165
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
166
166
  contentType: "application/json",
167
167
  requestType: "json",
168
168
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -239,7 +239,7 @@ class Memory {
239
239
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
240
240
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, "sessions"),
241
241
  method: "POST",
242
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
243
243
  contentType: "application/json",
244
244
  requestType: "json",
245
245
  body: serializers.CreateSessionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -328,7 +328,7 @@ class Memory {
328
328
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
329
329
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, "sessions-ordered"),
330
330
  method: "GET",
331
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
331
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
332
332
  contentType: "application/json",
333
333
  queryParameters: _queryParams,
334
334
  requestType: "json",
@@ -406,7 +406,7 @@ class Memory {
406
406
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
407
407
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, "sessions/end"),
408
408
  method: "POST",
409
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
409
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
410
410
  contentType: "application/json",
411
411
  requestType: "json",
412
412
  body: serializers.EndSessionsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -495,7 +495,7 @@ class Memory {
495
495
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
496
496
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, "sessions/search"),
497
497
  method: "POST",
498
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
498
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
499
499
  contentType: "application/json",
500
500
  queryParameters: _queryParams,
501
501
  requestType: "json",
@@ -563,7 +563,7 @@ class Memory {
563
563
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
564
564
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}`),
565
565
  method: "GET",
566
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
566
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
567
567
  contentType: "application/json",
568
568
  requestType: "json",
569
569
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -644,7 +644,7 @@ class Memory {
644
644
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
645
645
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}`),
646
646
  method: "PATCH",
647
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
647
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
648
648
  contentType: "application/json",
649
649
  requestType: "json",
650
650
  body: serializers.UpdateSessionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -739,7 +739,7 @@ class Memory {
739
739
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
740
740
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/classify`),
741
741
  method: "POST",
742
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
742
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
743
743
  contentType: "application/json",
744
744
  requestType: "json",
745
745
  body: serializers.ClassifySessionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -816,7 +816,7 @@ class Memory {
816
816
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
817
817
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/end`),
818
818
  method: "POST",
819
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
819
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
820
820
  contentType: "application/json",
821
821
  requestType: "json",
822
822
  body: serializers.EndSessionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -904,7 +904,7 @@ class Memory {
904
904
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
905
905
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/extract`),
906
906
  method: "POST",
907
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
907
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
908
908
  contentType: "application/json",
909
909
  requestType: "json",
910
910
  body: serializers.ExtractDataRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -993,7 +993,7 @@ class Memory {
993
993
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
994
994
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/facts`),
995
995
  method: "GET",
996
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
996
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
997
997
  contentType: "application/json",
998
998
  queryParameters: _queryParams,
999
999
  requestType: "json",
@@ -1069,7 +1069,7 @@ class Memory {
1069
1069
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1070
1070
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/facts`),
1071
1071
  method: "POST",
1072
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1072
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1073
1073
  contentType: "application/json",
1074
1074
  requestType: "json",
1075
1075
  body: serializers.AddFactsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1153,7 +1153,7 @@ class Memory {
1153
1153
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1154
1154
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/memory`),
1155
1155
  method: "GET",
1156
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1156
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1157
1157
  contentType: "application/json",
1158
1158
  queryParameters: _queryParams,
1159
1159
  requestType: "json",
@@ -1233,7 +1233,7 @@ class Memory {
1233
1233
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1234
1234
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/memory`),
1235
1235
  method: "POST",
1236
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1236
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1237
1237
  contentType: "application/json",
1238
1238
  requestType: "json",
1239
1239
  body: serializers.AddMemoryRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1300,7 +1300,7 @@ class Memory {
1300
1300
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1301
1301
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/memory`),
1302
1302
  method: "DELETE",
1303
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1303
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1304
1304
  contentType: "application/json",
1305
1305
  requestType: "json",
1306
1306
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1383,7 +1383,7 @@ class Memory {
1383
1383
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1384
1384
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/messages`),
1385
1385
  method: "GET",
1386
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1386
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1387
1387
  contentType: "application/json",
1388
1388
  queryParameters: _queryParams,
1389
1389
  requestType: "json",
@@ -1459,7 +1459,7 @@ class Memory {
1459
1459
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1460
1460
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/messages/${encodeURIComponent(messageUuid)}`),
1461
1461
  method: "GET",
1462
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1462
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1463
1463
  contentType: "application/json",
1464
1464
  requestType: "json",
1465
1465
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1539,7 +1539,7 @@ class Memory {
1539
1539
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1540
1540
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/messages/${encodeURIComponent(messageUuid)}`),
1541
1541
  method: "PATCH",
1542
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1542
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1543
1543
  contentType: "application/json",
1544
1544
  requestType: "json",
1545
1545
  body: serializers.ModelsMessageMetadataUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1618,7 +1618,7 @@ class Memory {
1618
1618
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1619
1619
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/search`),
1620
1620
  method: "POST",
1621
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1621
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1622
1622
  contentType: "application/json",
1623
1623
  queryParameters: _queryParams,
1624
1624
  requestType: "json",
@@ -1694,7 +1694,7 @@ class Memory {
1694
1694
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1695
1695
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/summary`),
1696
1696
  method: "GET",
1697
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1697
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1698
1698
  contentType: "application/json",
1699
1699
  requestType: "json",
1700
1700
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1774,7 +1774,7 @@ class Memory {
1774
1774
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1775
1775
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/synthesize_question`),
1776
1776
  method: "GET",
1777
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1777
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1778
1778
  contentType: "application/json",
1779
1779
  queryParameters: _queryParams,
1780
1780
  requestType: "json",
@@ -77,7 +77,7 @@ class User {
77
77
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
78
78
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, "users"),
79
79
  method: "POST",
80
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
81
  contentType: "application/json",
82
82
  requestType: "json",
83
83
  body: serializers.CreateUserRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -160,7 +160,7 @@ class User {
160
160
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
161
161
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, "users-ordered"),
162
162
  method: "GET",
163
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
163
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
164
164
  contentType: "application/json",
165
165
  queryParameters: _queryParams,
166
166
  requestType: "json",
@@ -235,7 +235,7 @@ class User {
235
235
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
236
236
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `users/${encodeURIComponent(userId)}`),
237
237
  method: "GET",
238
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
238
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
239
239
  contentType: "application/json",
240
240
  requestType: "json",
241
241
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -309,7 +309,7 @@ class User {
309
309
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
310
310
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `users/${encodeURIComponent(userId)}`),
311
311
  method: "DELETE",
312
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
312
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
313
313
  contentType: "application/json",
314
314
  requestType: "json",
315
315
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -385,7 +385,7 @@ class User {
385
385
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
386
386
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `users/${encodeURIComponent(userId)}`),
387
387
  method: "PATCH",
388
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
388
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
389
389
  contentType: "application/json",
390
390
  requestType: "json",
391
391
  body: serializers.UpdateUserRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -468,7 +468,7 @@ class User {
468
468
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
469
469
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `users/${encodeURIComponent(userId)}/facts`),
470
470
  method: "GET",
471
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
471
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
472
472
  contentType: "application/json",
473
473
  requestType: "json",
474
474
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -542,7 +542,7 @@ class User {
542
542
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
543
543
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `users/${encodeURIComponent(userId)}/node`),
544
544
  method: "GET",
545
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
545
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
546
546
  contentType: "application/json",
547
547
  requestType: "json",
548
548
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -615,7 +615,7 @@ class User {
615
615
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
616
616
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ZepEnvironment.Default, `users/${encodeURIComponent(userId)}/sessions`),
617
617
  method: "GET",
618
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.7.0", "User-Agent": "zep-cloud/2.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
618
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "zep-cloud", "X-Fern-SDK-Version": "2.8.0", "User-Agent": "zep-cloud/2.8.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
619
619
  contentType: "application/json",
620
620
  requestType: "json",
621
621
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Zep from "../index";
5
+ export interface EntityProperty {
6
+ description: string;
7
+ name: string;
8
+ type: Zep.EntityPropertyType;
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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type EntityPropertyType = "Text" | "Int" | "Float" | "Boolean";
5
+ export declare const EntityPropertyType: {
6
+ readonly Text: "Text";
7
+ readonly Int: "Int";
8
+ readonly Float: "Float";
9
+ readonly Boolean: "Boolean";
10
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EntityPropertyType = void 0;
7
+ exports.EntityPropertyType = {
8
+ Text: "Text",
9
+ Int: "Int",
10
+ Float: "Float",
11
+ Boolean: "Boolean",
12
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Zep from "../index";
5
+ export interface EntityType {
6
+ description: string;
7
+ name: string;
8
+ properties?: Zep.EntityProperty[];
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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Zep from "../index";
5
+ export interface EntityTypeResponse {
6
+ entityTypes?: Zep.EntityType[];
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 });
@@ -6,6 +6,9 @@ export * from "./ApidataDocumentSearchResponse";
6
6
  export * from "./ApidataDocumentWithScore";
7
7
  export * from "./EndSessionResponse";
8
8
  export * from "./EndSessionsResponse";
9
+ export * from "./EntityProperty";
10
+ export * from "./EntityType";
11
+ export * from "./EntityTypeResponse";
9
12
  export * from "./Fact";
10
13
  export * from "./FactRatingInstruction";
11
14
  export * from "./FactResponse";
@@ -41,6 +44,7 @@ export * from "./Reranker";
41
44
  export * from "./SearchFilters";
42
45
  export * from "./ClassifySessionRequest";
43
46
  export * from "./CreateDocumentRequest";
47
+ export * from "./EntityPropertyType";
44
48
  export * from "./FactRatingExamples";
45
49
  export * from "./GraphDataType";
46
50
  export * from "./SearchScope";
@@ -22,6 +22,9 @@ __exportStar(require("./ApidataDocumentSearchResponse"), exports);
22
22
  __exportStar(require("./ApidataDocumentWithScore"), exports);
23
23
  __exportStar(require("./EndSessionResponse"), exports);
24
24
  __exportStar(require("./EndSessionsResponse"), exports);
25
+ __exportStar(require("./EntityProperty"), exports);
26
+ __exportStar(require("./EntityType"), exports);
27
+ __exportStar(require("./EntityTypeResponse"), exports);
25
28
  __exportStar(require("./Fact"), exports);
26
29
  __exportStar(require("./FactRatingInstruction"), exports);
27
30
  __exportStar(require("./FactResponse"), exports);
@@ -57,6 +60,7 @@ __exportStar(require("./Reranker"), exports);
57
60
  __exportStar(require("./SearchFilters"), exports);
58
61
  __exportStar(require("./ClassifySessionRequest"), exports);
59
62
  __exportStar(require("./CreateDocumentRequest"), exports);
63
+ __exportStar(require("./EntityPropertyType"), exports);
60
64
  __exportStar(require("./FactRatingExamples"), exports);
61
65
  __exportStar(require("./GraphDataType"), exports);
62
66
  __exportStar(require("./SearchScope"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index";
5
+ import * as Zep from "../../../../../api/index";
6
+ import * as core from "../../../../../core";
7
+ import { EntityType } from "../../../../types/EntityType";
8
+ export declare const EntityTypeRequest: core.serialization.Schema<serializers.EntityTypeRequest.Raw, Zep.EntityTypeRequest>;
9
+ export declare namespace EntityTypeRequest {
10
+ interface Raw {
11
+ entity_types: EntityType.Raw[];
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.EntityTypeRequest = void 0;
40
+ const core = __importStar(require("../../../../../core"));
41
+ const EntityType_1 = require("../../../../types/EntityType");
42
+ exports.EntityTypeRequest = core.serialization.object({
43
+ entityTypes: core.serialization.property("entity_types", core.serialization.list(EntityType_1.EntityType)),
44
+ });
@@ -13,6 +13,7 @@ export declare namespace GraphSearchQuery {
13
13
  center_node_uuid?: string | null;
14
14
  group_id?: string | null;
15
15
  limit?: number | null;
16
+ min_fact_rating?: number | null;
16
17
  min_score?: number | null;
17
18
  mmr_lambda?: number | null;
18
19
  query: string;
@@ -45,6 +45,7 @@ exports.GraphSearchQuery = core.serialization.object({
45
45
  centerNodeUuid: core.serialization.property("center_node_uuid", core.serialization.string().optional()),
46
46
  groupId: core.serialization.property("group_id", core.serialization.string().optional()),
47
47
  limit: core.serialization.number().optional(),
48
+ minFactRating: core.serialization.property("min_fact_rating", core.serialization.number().optional()),
48
49
  minScore: core.serialization.property("min_score", core.serialization.number().optional()),
49
50
  mmrLambda: core.serialization.property("mmr_lambda", core.serialization.number().optional()),
50
51
  query: core.serialization.string(),
@@ -1,3 +1,4 @@
1
+ export { EntityTypeRequest } from "./EntityTypeRequest";
1
2
  export { AddDataRequest } from "./AddDataRequest";
2
3
  export { AddTripleRequest } from "./AddTripleRequest";
3
4
  export { GraphSearchQuery } from "./GraphSearchQuery";
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GraphSearchQuery = exports.AddTripleRequest = exports.AddDataRequest = void 0;
3
+ exports.GraphSearchQuery = exports.AddTripleRequest = exports.AddDataRequest = exports.EntityTypeRequest = void 0;
4
+ var EntityTypeRequest_1 = require("./EntityTypeRequest");
5
+ Object.defineProperty(exports, "EntityTypeRequest", { enumerable: true, get: function () { return EntityTypeRequest_1.EntityTypeRequest; } });
4
6
  var AddDataRequest_1 = require("./AddDataRequest");
5
7
  Object.defineProperty(exports, "AddDataRequest", { enumerable: true, get: function () { return AddDataRequest_1.AddDataRequest; } });
6
8
  var AddTripleRequest_1 = require("./AddTripleRequest");
@@ -3,8 +3,8 @@ export * as memory from "./memory";
3
3
  export * as user from "./user";
4
4
  export * as graph from "./graph";
5
5
  export * from "./document/client/requests";
6
- export * from "./memory/client/requests";
7
6
  export * from "./graph/client/requests";
7
+ export * from "./memory/client/requests";
8
8
  export * as group from "./group";
9
9
  export * from "./group/client/requests";
10
10
  export * from "./user/client/requests";
@@ -42,8 +42,8 @@ exports.memory = __importStar(require("./memory"));
42
42
  exports.user = __importStar(require("./user"));
43
43
  exports.graph = __importStar(require("./graph"));
44
44
  __exportStar(require("./document/client/requests"), exports);
45
- __exportStar(require("./memory/client/requests"), exports);
46
45
  __exportStar(require("./graph/client/requests"), exports);
46
+ __exportStar(require("./memory/client/requests"), exports);
47
47
  exports.group = __importStar(require("./group"));
48
48
  __exportStar(require("./group/client/requests"), exports);
49
49
  __exportStar(require("./user/client/requests"), exports);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Zep from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { EntityPropertyType } from "./EntityPropertyType";
8
+ export declare const EntityProperty: core.serialization.ObjectSchema<serializers.EntityProperty.Raw, Zep.EntityProperty>;
9
+ export declare namespace EntityProperty {
10
+ interface Raw {
11
+ description: string;
12
+ name: string;
13
+ type: EntityPropertyType.Raw;
14
+ }
15
+ }