@getzep/zep-cloud 3.8.0 → 3.9.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 (31) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/user/client/requests/CreateUserRequest.d.ts +2 -0
  3. package/dist/cjs/api/resources/user/client/requests/UpdateUserRequest.d.ts +2 -0
  4. package/dist/cjs/api/types/SearchFilters.d.ts +4 -0
  5. package/dist/cjs/api/types/User.d.ts +1 -0
  6. package/dist/cjs/serialization/resources/user/client/requests/CreateUserRequest.d.ts +1 -0
  7. package/dist/cjs/serialization/resources/user/client/requests/CreateUserRequest.js +1 -0
  8. package/dist/cjs/serialization/resources/user/client/requests/UpdateUserRequest.d.ts +1 -0
  9. package/dist/cjs/serialization/resources/user/client/requests/UpdateUserRequest.js +1 -0
  10. package/dist/cjs/serialization/types/SearchFilters.d.ts +2 -0
  11. package/dist/cjs/serialization/types/SearchFilters.js +2 -0
  12. package/dist/cjs/serialization/types/User.d.ts +1 -0
  13. package/dist/cjs/serialization/types/User.js +1 -0
  14. package/dist/cjs/version.d.ts +1 -1
  15. package/dist/cjs/version.js +1 -1
  16. package/dist/esm/Client.mjs +2 -2
  17. package/dist/esm/api/resources/user/client/requests/CreateUserRequest.d.mts +2 -0
  18. package/dist/esm/api/resources/user/client/requests/UpdateUserRequest.d.mts +2 -0
  19. package/dist/esm/api/types/SearchFilters.d.mts +4 -0
  20. package/dist/esm/api/types/User.d.mts +1 -0
  21. package/dist/esm/serialization/resources/user/client/requests/CreateUserRequest.d.mts +1 -0
  22. package/dist/esm/serialization/resources/user/client/requests/CreateUserRequest.mjs +1 -0
  23. package/dist/esm/serialization/resources/user/client/requests/UpdateUserRequest.d.mts +1 -0
  24. package/dist/esm/serialization/resources/user/client/requests/UpdateUserRequest.mjs +1 -0
  25. package/dist/esm/serialization/types/SearchFilters.d.mts +2 -0
  26. package/dist/esm/serialization/types/SearchFilters.mjs +2 -0
  27. package/dist/esm/serialization/types/User.d.mts +1 -0
  28. package/dist/esm/serialization/types/User.mjs +1 -0
  29. package/dist/esm/version.d.mts +1 -1
  30. package/dist/esm/version.mjs +1 -1
  31. package/package.json +1 -1
@@ -48,8 +48,8 @@ class ZepClient {
48
48
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
49
49
  "X-Fern-Language": "JavaScript",
50
50
  "X-Fern-SDK-Name": "zep-cloud",
51
- "X-Fern-SDK-Version": "3.8.0",
52
- "User-Agent": "zep-cloud/3.8.0",
51
+ "X-Fern-SDK-Version": "3.9.0",
52
+ "User-Agent": "zep-cloud/3.9.0",
53
53
  "X-Fern-Runtime": core.RUNTIME.type,
54
54
  "X-Fern-Runtime-Version": core.RUNTIME.version,
55
55
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -9,6 +9,8 @@ import * as Zep from "../../../../index.js";
9
9
  * }
10
10
  */
11
11
  export interface CreateUserRequest {
12
+ /** When true, disables the use of default/fallback ontology for the user's graph. */
13
+ disableDefaultOntology?: boolean;
12
14
  /** The email address of the user. */
13
15
  email?: string;
14
16
  /** Optional instruction to use for fact rating. */
@@ -7,6 +7,8 @@ import * as Zep from "../../../../index.js";
7
7
  * {}
8
8
  */
9
9
  export interface UpdateUserRequest {
10
+ /** When true, disables the use of default/fallback ontology for the user's graph. */
11
+ disableDefaultOntology?: boolean;
10
12
  /** The email address of the user. */
11
13
  email?: string;
12
14
  /** Optional instruction to use for fact rating. */
@@ -13,6 +13,10 @@ 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 types to exclude from results */
17
+ excludeEdgeTypes?: string[];
18
+ /** List of node labels to exclude from results */
19
+ excludeNodeLabels?: string[];
16
20
  /**
17
21
  * 2D array of date filters for the expired_at field.
18
22
  * The outer array elements are combined with OR logic.
@@ -5,6 +5,7 @@ import * as Zep from "../index.js";
5
5
  export interface User {
6
6
  createdAt?: string;
7
7
  deletedAt?: string;
8
+ disableDefaultOntology?: boolean;
8
9
  email?: string;
9
10
  factRatingInstruction?: Zep.ModelsFactRatingInstruction;
10
11
  firstName?: string;
@@ -8,6 +8,7 @@ import { FactRatingInstruction } from "../../../../types/FactRatingInstruction.j
8
8
  export declare const CreateUserRequest: core.serialization.Schema<serializers.CreateUserRequest.Raw, Zep.CreateUserRequest>;
9
9
  export declare namespace CreateUserRequest {
10
10
  interface Raw {
11
+ disable_default_ontology?: boolean | null;
11
12
  email?: string | null;
12
13
  fact_rating_instruction?: FactRatingInstruction.Raw | null;
13
14
  first_name?: string | null;
@@ -40,6 +40,7 @@ exports.CreateUserRequest = void 0;
40
40
  const core = __importStar(require("../../../../../core/index.js"));
41
41
  const FactRatingInstruction_js_1 = require("../../../../types/FactRatingInstruction.js");
42
42
  exports.CreateUserRequest = core.serialization.object({
43
+ disableDefaultOntology: core.serialization.property("disable_default_ontology", core.serialization.boolean().optional()),
43
44
  email: core.serialization.string().optional(),
44
45
  factRatingInstruction: core.serialization.property("fact_rating_instruction", FactRatingInstruction_js_1.FactRatingInstruction.optional()),
45
46
  firstName: core.serialization.property("first_name", core.serialization.string().optional()),
@@ -8,6 +8,7 @@ import { FactRatingInstruction } from "../../../../types/FactRatingInstruction.j
8
8
  export declare const UpdateUserRequest: core.serialization.Schema<serializers.UpdateUserRequest.Raw, Zep.UpdateUserRequest>;
9
9
  export declare namespace UpdateUserRequest {
10
10
  interface Raw {
11
+ disable_default_ontology?: boolean | null;
11
12
  email?: string | null;
12
13
  fact_rating_instruction?: FactRatingInstruction.Raw | null;
13
14
  first_name?: string | null;
@@ -40,6 +40,7 @@ exports.UpdateUserRequest = void 0;
40
40
  const core = __importStar(require("../../../../../core/index.js"));
41
41
  const FactRatingInstruction_js_1 = require("../../../../types/FactRatingInstruction.js");
42
42
  exports.UpdateUserRequest = core.serialization.object({
43
+ disableDefaultOntology: core.serialization.property("disable_default_ontology", core.serialization.boolean().optional()),
43
44
  email: core.serialization.string().optional(),
44
45
  factRatingInstruction: core.serialization.property("fact_rating_instruction", FactRatingInstruction_js_1.FactRatingInstruction.optional()),
45
46
  firstName: core.serialization.property("first_name", core.serialization.string().optional()),
@@ -10,6 +10,8 @@ export declare namespace SearchFilters {
10
10
  interface Raw {
11
11
  created_at?: DateFilter.Raw[][] | null;
12
12
  edge_types?: string[] | null;
13
+ exclude_edge_types?: string[] | null;
14
+ exclude_node_labels?: string[] | null;
13
15
  expired_at?: DateFilter.Raw[][] | null;
14
16
  invalid_at?: DateFilter.Raw[][] | null;
15
17
  node_labels?: string[] | null;
@@ -42,6 +42,8 @@ const DateFilter_js_1 = require("./DateFilter.js");
42
42
  exports.SearchFilters = core.serialization.object({
43
43
  createdAt: core.serialization.property("created_at", core.serialization.list(core.serialization.list(DateFilter_js_1.DateFilter)).optional()),
44
44
  edgeTypes: core.serialization.property("edge_types", core.serialization.list(core.serialization.string()).optional()),
45
+ excludeEdgeTypes: core.serialization.property("exclude_edge_types", core.serialization.list(core.serialization.string()).optional()),
46
+ excludeNodeLabels: core.serialization.property("exclude_node_labels", core.serialization.list(core.serialization.string()).optional()),
45
47
  expiredAt: core.serialization.property("expired_at", core.serialization.list(core.serialization.list(DateFilter_js_1.DateFilter)).optional()),
46
48
  invalidAt: core.serialization.property("invalid_at", core.serialization.list(core.serialization.list(DateFilter_js_1.DateFilter)).optional()),
47
49
  nodeLabels: core.serialization.property("node_labels", core.serialization.list(core.serialization.string()).optional()),
@@ -10,6 +10,7 @@ export declare namespace User {
10
10
  interface Raw {
11
11
  created_at?: string | null;
12
12
  deleted_at?: string | null;
13
+ disable_default_ontology?: boolean | null;
13
14
  email?: string | null;
14
15
  fact_rating_instruction?: ModelsFactRatingInstruction.Raw | null;
15
16
  first_name?: string | null;
@@ -42,6 +42,7 @@ const ModelsFactRatingInstruction_js_1 = require("./ModelsFactRatingInstruction.
42
42
  exports.User = core.serialization.object({
43
43
  createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
44
44
  deletedAt: core.serialization.property("deleted_at", core.serialization.string().optional()),
45
+ disableDefaultOntology: core.serialization.property("disable_default_ontology", core.serialization.boolean().optional()),
45
46
  email: core.serialization.string().optional(),
46
47
  factRatingInstruction: core.serialization.property("fact_rating_instruction", ModelsFactRatingInstruction_js_1.ModelsFactRatingInstruction.optional()),
47
48
  firstName: core.serialization.property("first_name", core.serialization.string().optional()),
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.8.0";
1
+ export declare const SDK_VERSION = "3.9.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.8.0";
4
+ exports.SDK_VERSION = "3.9.0";
@@ -12,8 +12,8 @@ export class ZepClient {
12
12
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
13
13
  "X-Fern-Language": "JavaScript",
14
14
  "X-Fern-SDK-Name": "zep-cloud",
15
- "X-Fern-SDK-Version": "3.8.0",
16
- "User-Agent": "zep-cloud/3.8.0",
15
+ "X-Fern-SDK-Version": "3.9.0",
16
+ "User-Agent": "zep-cloud/3.9.0",
17
17
  "X-Fern-Runtime": core.RUNTIME.type,
18
18
  "X-Fern-Runtime-Version": core.RUNTIME.version,
19
19
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -9,6 +9,8 @@ import * as Zep from "../../../../index.mjs";
9
9
  * }
10
10
  */
11
11
  export interface CreateUserRequest {
12
+ /** When true, disables the use of default/fallback ontology for the user's graph. */
13
+ disableDefaultOntology?: boolean;
12
14
  /** The email address of the user. */
13
15
  email?: string;
14
16
  /** Optional instruction to use for fact rating. */
@@ -7,6 +7,8 @@ import * as Zep from "../../../../index.mjs";
7
7
  * {}
8
8
  */
9
9
  export interface UpdateUserRequest {
10
+ /** When true, disables the use of default/fallback ontology for the user's graph. */
11
+ disableDefaultOntology?: boolean;
10
12
  /** The email address of the user. */
11
13
  email?: string;
12
14
  /** Optional instruction to use for fact rating. */
@@ -13,6 +13,10 @@ 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 types to exclude from results */
17
+ excludeEdgeTypes?: string[];
18
+ /** List of node labels to exclude from results */
19
+ excludeNodeLabels?: string[];
16
20
  /**
17
21
  * 2D array of date filters for the expired_at field.
18
22
  * The outer array elements are combined with OR logic.
@@ -5,6 +5,7 @@ import * as Zep from "../index.mjs";
5
5
  export interface User {
6
6
  createdAt?: string;
7
7
  deletedAt?: string;
8
+ disableDefaultOntology?: boolean;
8
9
  email?: string;
9
10
  factRatingInstruction?: Zep.ModelsFactRatingInstruction;
10
11
  firstName?: string;
@@ -8,6 +8,7 @@ import { FactRatingInstruction } from "../../../../types/FactRatingInstruction.m
8
8
  export declare const CreateUserRequest: core.serialization.Schema<serializers.CreateUserRequest.Raw, Zep.CreateUserRequest>;
9
9
  export declare namespace CreateUserRequest {
10
10
  interface Raw {
11
+ disable_default_ontology?: boolean | null;
11
12
  email?: string | null;
12
13
  fact_rating_instruction?: FactRatingInstruction.Raw | null;
13
14
  first_name?: string | null;
@@ -4,6 +4,7 @@
4
4
  import * as core from "../../../../../core/index.mjs";
5
5
  import { FactRatingInstruction } from "../../../../types/FactRatingInstruction.mjs";
6
6
  export const CreateUserRequest = core.serialization.object({
7
+ disableDefaultOntology: core.serialization.property("disable_default_ontology", core.serialization.boolean().optional()),
7
8
  email: core.serialization.string().optional(),
8
9
  factRatingInstruction: core.serialization.property("fact_rating_instruction", FactRatingInstruction.optional()),
9
10
  firstName: core.serialization.property("first_name", core.serialization.string().optional()),
@@ -8,6 +8,7 @@ import { FactRatingInstruction } from "../../../../types/FactRatingInstruction.m
8
8
  export declare const UpdateUserRequest: core.serialization.Schema<serializers.UpdateUserRequest.Raw, Zep.UpdateUserRequest>;
9
9
  export declare namespace UpdateUserRequest {
10
10
  interface Raw {
11
+ disable_default_ontology?: boolean | null;
11
12
  email?: string | null;
12
13
  fact_rating_instruction?: FactRatingInstruction.Raw | null;
13
14
  first_name?: string | null;
@@ -4,6 +4,7 @@
4
4
  import * as core from "../../../../../core/index.mjs";
5
5
  import { FactRatingInstruction } from "../../../../types/FactRatingInstruction.mjs";
6
6
  export const UpdateUserRequest = core.serialization.object({
7
+ disableDefaultOntology: core.serialization.property("disable_default_ontology", core.serialization.boolean().optional()),
7
8
  email: core.serialization.string().optional(),
8
9
  factRatingInstruction: core.serialization.property("fact_rating_instruction", FactRatingInstruction.optional()),
9
10
  firstName: core.serialization.property("first_name", core.serialization.string().optional()),
@@ -10,6 +10,8 @@ export declare namespace SearchFilters {
10
10
  interface Raw {
11
11
  created_at?: DateFilter.Raw[][] | null;
12
12
  edge_types?: string[] | null;
13
+ exclude_edge_types?: string[] | null;
14
+ exclude_node_labels?: string[] | null;
13
15
  expired_at?: DateFilter.Raw[][] | null;
14
16
  invalid_at?: DateFilter.Raw[][] | null;
15
17
  node_labels?: string[] | null;
@@ -6,6 +6,8 @@ import { DateFilter } from "./DateFilter.mjs";
6
6
  export const SearchFilters = core.serialization.object({
7
7
  createdAt: core.serialization.property("created_at", core.serialization.list(core.serialization.list(DateFilter)).optional()),
8
8
  edgeTypes: core.serialization.property("edge_types", core.serialization.list(core.serialization.string()).optional()),
9
+ excludeEdgeTypes: core.serialization.property("exclude_edge_types", core.serialization.list(core.serialization.string()).optional()),
10
+ excludeNodeLabels: core.serialization.property("exclude_node_labels", core.serialization.list(core.serialization.string()).optional()),
9
11
  expiredAt: core.serialization.property("expired_at", core.serialization.list(core.serialization.list(DateFilter)).optional()),
10
12
  invalidAt: core.serialization.property("invalid_at", core.serialization.list(core.serialization.list(DateFilter)).optional()),
11
13
  nodeLabels: core.serialization.property("node_labels", core.serialization.list(core.serialization.string()).optional()),
@@ -10,6 +10,7 @@ export declare namespace User {
10
10
  interface Raw {
11
11
  created_at?: string | null;
12
12
  deleted_at?: string | null;
13
+ disable_default_ontology?: boolean | null;
13
14
  email?: string | null;
14
15
  fact_rating_instruction?: ModelsFactRatingInstruction.Raw | null;
15
16
  first_name?: string | null;
@@ -6,6 +6,7 @@ import { ModelsFactRatingInstruction } from "./ModelsFactRatingInstruction.mjs";
6
6
  export const User = core.serialization.object({
7
7
  createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
8
8
  deletedAt: core.serialization.property("deleted_at", core.serialization.string().optional()),
9
+ disableDefaultOntology: core.serialization.property("disable_default_ontology", core.serialization.boolean().optional()),
9
10
  email: core.serialization.string().optional(),
10
11
  factRatingInstruction: core.serialization.property("fact_rating_instruction", ModelsFactRatingInstruction.optional()),
11
12
  firstName: core.serialization.property("first_name", core.serialization.string().optional()),
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.8.0";
1
+ export declare const SDK_VERSION = "3.9.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "3.8.0";
1
+ export const SDK_VERSION = "3.9.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getzep/zep-cloud",
3
- "version": "3.8.0",
3
+ "version": "3.9.0",
4
4
  "private": false,
5
5
  "repository": "https://github.com/getzep/zep-js",
6
6
  "description": "Zep: Fast, scalable building blocks for production LLM apps",