@getzep/zep-cloud 3.9.0 → 3.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +15 -10
- package/dist/cjs/api/errors/index.d.ts +1 -1
- package/dist/cjs/api/errors/index.js +1 -1
- package/dist/cjs/api/resources/context/client/Client.d.ts +112 -0
- package/dist/cjs/api/resources/context/client/Client.js +516 -0
- package/dist/cjs/api/resources/context/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/context/client/index.js +17 -0
- package/dist/cjs/api/resources/context/client/requests/CreateContextTemplateRequest.d.ts +16 -0
- package/dist/cjs/api/resources/context/client/requests/CreateContextTemplateRequest.js +5 -0
- package/dist/cjs/api/resources/context/client/requests/UpdateContextTemplateRequest.d.ts +13 -0
- package/dist/cjs/api/resources/context/client/requests/UpdateContextTemplateRequest.js +5 -0
- package/dist/cjs/api/resources/context/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/context/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/context/index.d.ts +1 -0
- package/dist/cjs/api/resources/context/index.js +17 -0
- package/dist/cjs/api/resources/graph/client/Client.d.ts +8 -2
- package/dist/cjs/api/resources/graph/client/Client.js +8 -2
- package/dist/cjs/api/resources/graph/client/requests/GraphListAllRequest.d.ts +4 -1
- package/dist/cjs/api/resources/graph/client/requests/GraphListEntityTypesRequest.d.ts +4 -1
- package/dist/cjs/api/resources/graph/resources/episode/client/Client.d.ts +6 -2
- package/dist/cjs/api/resources/graph/resources/episode/client/Client.js +6 -2
- package/dist/cjs/api/resources/graph/resources/episode/client/requests/EpisodeGetByGraphIdRequest.d.ts +3 -1
- package/dist/cjs/api/resources/graph/resources/episode/client/requests/EpisodeGetByUserIdRequest.d.ts +3 -1
- package/dist/cjs/api/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.js +3 -1
- package/dist/cjs/api/resources/thread/client/Client.d.ts +16 -3
- package/dist/cjs/api/resources/thread/client/Client.js +20 -4
- package/dist/cjs/api/resources/thread/client/requests/ThreadGetRequest.d.ts +5 -1
- package/dist/cjs/api/resources/thread/client/requests/ThreadGetUserContextRequest.d.ts +10 -2
- package/dist/cjs/api/resources/thread/client/requests/ThreadListAllRequest.d.ts +6 -1
- package/dist/cjs/api/resources/user/client/Client.d.ts +53 -1
- package/dist/cjs/api/resources/user/client/Client.js +272 -1
- package/dist/cjs/api/resources/user/client/requests/AddUserInstructionsRequest.d.ts +19 -0
- package/dist/cjs/api/resources/user/client/requests/AddUserInstructionsRequest.js +5 -0
- package/dist/cjs/api/resources/user/client/requests/DeleteUserInstructionsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/user/client/requests/DeleteUserInstructionsRequest.js +5 -0
- package/dist/cjs/api/resources/user/client/requests/UserListOrderedRequest.d.ts +4 -1
- package/dist/cjs/api/resources/user/client/requests/UserListUserSummaryInstructionsRequest.d.ts +15 -0
- package/dist/cjs/api/resources/user/client/requests/UserListUserSummaryInstructionsRequest.js +5 -0
- package/dist/cjs/api/resources/user/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/types/ComparisonOperator.d.ts +3 -1
- package/dist/cjs/api/types/ComparisonOperator.js +2 -0
- package/dist/cjs/api/types/ContextTemplateResponse.d.ts +11 -0
- package/dist/cjs/api/types/ContextTemplateResponse.js +5 -0
- package/dist/cjs/api/types/ListContextTemplatesResponse.d.ts +7 -0
- package/dist/cjs/api/types/ListContextTemplatesResponse.js +5 -0
- package/dist/cjs/api/types/ListUserInstructionsResponse.d.ts +7 -0
- package/dist/cjs/api/types/ListUserInstructionsResponse.js +5 -0
- package/dist/cjs/api/types/UserInstruction.d.ts +7 -0
- package/dist/cjs/api/types/UserInstruction.js +5 -0
- package/dist/cjs/api/types/index.d.ts +4 -0
- package/dist/cjs/api/types/index.js +4 -0
- package/dist/cjs/serialization/resources/context/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/context/client/index.js +17 -0
- package/dist/cjs/serialization/resources/context/client/requests/CreateContextTemplateRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/context/client/requests/CreateContextTemplateRequest.js +44 -0
- package/dist/cjs/serialization/resources/context/client/requests/UpdateContextTemplateRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/context/client/requests/UpdateContextTemplateRequest.js +43 -0
- package/dist/cjs/serialization/resources/context/client/requests/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/context/client/requests/index.js +7 -0
- package/dist/cjs/serialization/resources/context/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/context/index.js +17 -0
- package/dist/cjs/serialization/resources/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/index.js +3 -1
- package/dist/cjs/serialization/resources/user/client/requests/AddUserInstructionsRequest.d.ts +14 -0
- package/dist/cjs/serialization/resources/user/client/requests/AddUserInstructionsRequest.js +45 -0
- package/dist/cjs/serialization/resources/user/client/requests/DeleteUserInstructionsRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/user/client/requests/DeleteUserInstructionsRequest.js +44 -0
- package/dist/cjs/serialization/resources/user/client/requests/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/user/client/requests/index.js +5 -1
- package/dist/cjs/serialization/types/ComparisonOperator.d.ts +1 -1
- package/dist/cjs/serialization/types/ComparisonOperator.js +1 -1
- package/dist/cjs/serialization/types/ContextTemplateResponse.d.ts +14 -0
- package/dist/cjs/serialization/types/ContextTemplateResponse.js +45 -0
- package/dist/cjs/serialization/types/ListContextTemplatesResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/ListContextTemplatesResponse.js +44 -0
- package/dist/cjs/serialization/types/ListUserInstructionsResponse.d.ts +13 -0
- package/dist/cjs/serialization/types/ListUserInstructionsResponse.js +44 -0
- package/dist/cjs/serialization/types/UserInstruction.d.ts +13 -0
- package/dist/cjs/serialization/types/UserInstruction.js +44 -0
- package/dist/cjs/serialization/types/index.d.ts +4 -0
- package/dist/cjs/serialization/types/index.js +4 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +7 -2
- package/dist/esm/api/errors/index.d.mts +1 -1
- package/dist/esm/api/errors/index.mjs +1 -1
- package/dist/esm/api/resources/context/client/Client.d.mts +112 -0
- package/dist/esm/api/resources/context/client/Client.mjs +479 -0
- package/dist/esm/api/resources/context/client/index.d.mts +2 -0
- package/dist/esm/api/resources/context/client/index.mjs +1 -0
- package/dist/esm/api/resources/context/client/requests/CreateContextTemplateRequest.d.mts +16 -0
- package/dist/esm/api/resources/context/client/requests/CreateContextTemplateRequest.mjs +4 -0
- package/dist/esm/api/resources/context/client/requests/UpdateContextTemplateRequest.d.mts +13 -0
- package/dist/esm/api/resources/context/client/requests/UpdateContextTemplateRequest.mjs +4 -0
- package/dist/esm/api/resources/context/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/context/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/context/index.d.mts +1 -0
- package/dist/esm/api/resources/context/index.mjs +1 -0
- package/dist/esm/api/resources/graph/client/Client.d.mts +8 -2
- package/dist/esm/api/resources/graph/client/Client.mjs +8 -2
- package/dist/esm/api/resources/graph/client/requests/GraphListAllRequest.d.mts +4 -1
- package/dist/esm/api/resources/graph/client/requests/GraphListEntityTypesRequest.d.mts +4 -1
- package/dist/esm/api/resources/graph/resources/episode/client/Client.d.mts +6 -2
- package/dist/esm/api/resources/graph/resources/episode/client/Client.mjs +6 -2
- package/dist/esm/api/resources/graph/resources/episode/client/requests/EpisodeGetByGraphIdRequest.d.mts +3 -1
- package/dist/esm/api/resources/graph/resources/episode/client/requests/EpisodeGetByUserIdRequest.d.mts +3 -1
- package/dist/esm/api/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/index.mjs +2 -0
- package/dist/esm/api/resources/thread/client/Client.d.mts +16 -3
- package/dist/esm/api/resources/thread/client/Client.mjs +20 -4
- package/dist/esm/api/resources/thread/client/requests/ThreadGetRequest.d.mts +5 -1
- package/dist/esm/api/resources/thread/client/requests/ThreadGetUserContextRequest.d.mts +10 -2
- package/dist/esm/api/resources/thread/client/requests/ThreadListAllRequest.d.mts +6 -1
- package/dist/esm/api/resources/user/client/Client.d.mts +53 -1
- package/dist/esm/api/resources/user/client/Client.mjs +272 -1
- package/dist/esm/api/resources/user/client/requests/AddUserInstructionsRequest.d.mts +19 -0
- package/dist/esm/api/resources/user/client/requests/AddUserInstructionsRequest.mjs +4 -0
- package/dist/esm/api/resources/user/client/requests/DeleteUserInstructionsRequest.d.mts +13 -0
- package/dist/esm/api/resources/user/client/requests/DeleteUserInstructionsRequest.mjs +4 -0
- package/dist/esm/api/resources/user/client/requests/UserListOrderedRequest.d.mts +4 -1
- package/dist/esm/api/resources/user/client/requests/UserListUserSummaryInstructionsRequest.d.mts +15 -0
- package/dist/esm/api/resources/user/client/requests/UserListUserSummaryInstructionsRequest.mjs +4 -0
- package/dist/esm/api/resources/user/client/requests/index.d.mts +3 -0
- package/dist/esm/api/types/ComparisonOperator.d.mts +3 -1
- package/dist/esm/api/types/ComparisonOperator.mjs +2 -0
- package/dist/esm/api/types/ContextTemplateResponse.d.mts +11 -0
- package/dist/esm/api/types/ContextTemplateResponse.mjs +4 -0
- package/dist/esm/api/types/ListContextTemplatesResponse.d.mts +7 -0
- package/dist/esm/api/types/ListContextTemplatesResponse.mjs +4 -0
- package/dist/esm/api/types/ListUserInstructionsResponse.d.mts +7 -0
- package/dist/esm/api/types/ListUserInstructionsResponse.mjs +4 -0
- package/dist/esm/api/types/UserInstruction.d.mts +7 -0
- package/dist/esm/api/types/UserInstruction.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +4 -0
- package/dist/esm/api/types/index.mjs +4 -0
- package/dist/esm/serialization/resources/context/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/context/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/context/client/requests/CreateContextTemplateRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/context/client/requests/CreateContextTemplateRequest.mjs +8 -0
- package/dist/esm/serialization/resources/context/client/requests/UpdateContextTemplateRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/context/client/requests/UpdateContextTemplateRequest.mjs +7 -0
- package/dist/esm/serialization/resources/context/client/requests/index.d.mts +2 -0
- package/dist/esm/serialization/resources/context/client/requests/index.mjs +2 -0
- package/dist/esm/serialization/resources/context/index.d.mts +1 -0
- package/dist/esm/serialization/resources/context/index.mjs +1 -0
- package/dist/esm/serialization/resources/index.d.mts +2 -0
- package/dist/esm/serialization/resources/index.mjs +2 -0
- package/dist/esm/serialization/resources/user/client/requests/AddUserInstructionsRequest.d.mts +14 -0
- package/dist/esm/serialization/resources/user/client/requests/AddUserInstructionsRequest.mjs +9 -0
- package/dist/esm/serialization/resources/user/client/requests/DeleteUserInstructionsRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/user/client/requests/DeleteUserInstructionsRequest.mjs +8 -0
- package/dist/esm/serialization/resources/user/client/requests/index.d.mts +2 -0
- package/dist/esm/serialization/resources/user/client/requests/index.mjs +2 -0
- package/dist/esm/serialization/types/ComparisonOperator.d.mts +1 -1
- package/dist/esm/serialization/types/ComparisonOperator.mjs +1 -1
- package/dist/esm/serialization/types/ContextTemplateResponse.d.mts +14 -0
- package/dist/esm/serialization/types/ContextTemplateResponse.mjs +9 -0
- package/dist/esm/serialization/types/ListContextTemplatesResponse.d.mts +13 -0
- package/dist/esm/serialization/types/ListContextTemplatesResponse.mjs +8 -0
- package/dist/esm/serialization/types/ListUserInstructionsResponse.d.mts +13 -0
- package/dist/esm/serialization/types/ListUserInstructionsResponse.mjs +8 -0
- package/dist/esm/serialization/types/UserInstruction.d.mts +13 -0
- package/dist/esm/serialization/types/UserInstruction.mjs +8 -0
- package/dist/esm/serialization/types/index.d.mts +4 -0
- package/dist/esm/serialization/types/index.mjs +4 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +554 -8
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * as thread from "./thread/index.mjs";
|
|
2
2
|
export * from "./thread/types/index.mjs";
|
|
3
|
+
export * as context from "./context/index.mjs";
|
|
3
4
|
export * as graph from "./graph/index.mjs";
|
|
4
5
|
export * as project from "./project/index.mjs";
|
|
5
6
|
export * as user from "./user/index.mjs";
|
|
7
|
+
export * from "./context/client/requests/index.mjs";
|
|
6
8
|
export * from "./graph/client/requests/index.mjs";
|
|
7
9
|
export * from "./thread/client/requests/index.mjs";
|
|
8
10
|
export * from "./user/client/requests/index.mjs";
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * as thread from "./thread/index.mjs";
|
|
2
2
|
export * from "./thread/types/index.mjs";
|
|
3
|
+
export * as context from "./context/index.mjs";
|
|
3
4
|
export * as graph from "./graph/index.mjs";
|
|
4
5
|
export * as project from "./project/index.mjs";
|
|
5
6
|
export * as user from "./user/index.mjs";
|
|
7
|
+
export * from "./context/client/requests/index.mjs";
|
|
6
8
|
export * from "./graph/client/requests/index.mjs";
|
|
7
9
|
export * from "./thread/client/requests/index.mjs";
|
|
8
10
|
export * from "./user/client/requests/index.mjs";
|
|
@@ -41,7 +41,12 @@ export declare class Thread {
|
|
|
41
41
|
* @throws {@link Zep.InternalServerError}
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
|
-
* await client.thread.listAll(
|
|
44
|
+
* await client.thread.listAll({
|
|
45
|
+
* pageNumber: 1,
|
|
46
|
+
* pageSize: 1,
|
|
47
|
+
* orderBy: "order_by",
|
|
48
|
+
* asc: true
|
|
49
|
+
* })
|
|
45
50
|
*/
|
|
46
51
|
listAll(request?: Zep.ThreadListAllRequest, requestOptions?: Thread.RequestOptions): core.HttpResponsePromise<Zep.ThreadListResponse>;
|
|
47
52
|
private __listAll;
|
|
@@ -87,7 +92,11 @@ export declare class Thread {
|
|
|
87
92
|
* @throws {@link Zep.InternalServerError}
|
|
88
93
|
*
|
|
89
94
|
* @example
|
|
90
|
-
* await client.thread.getUserContext("threadId"
|
|
95
|
+
* await client.thread.getUserContext("threadId", {
|
|
96
|
+
* minRating: 1.1,
|
|
97
|
+
* templateId: "template_id",
|
|
98
|
+
* mode: "basic"
|
|
99
|
+
* })
|
|
91
100
|
*/
|
|
92
101
|
getUserContext(threadId: string, request?: Zep.ThreadGetUserContextRequest, requestOptions?: Thread.RequestOptions): core.HttpResponsePromise<Zep.ThreadContextResponse>;
|
|
93
102
|
private __getUserContext;
|
|
@@ -102,7 +111,11 @@ export declare class Thread {
|
|
|
102
111
|
* @throws {@link Zep.InternalServerError}
|
|
103
112
|
*
|
|
104
113
|
* @example
|
|
105
|
-
* await client.thread.get("threadId"
|
|
114
|
+
* await client.thread.get("threadId", {
|
|
115
|
+
* limit: 1,
|
|
116
|
+
* cursor: 1,
|
|
117
|
+
* lastn: 1
|
|
118
|
+
* })
|
|
106
119
|
*/
|
|
107
120
|
get(threadId: string, request?: Zep.ThreadGetRequest, requestOptions?: Thread.RequestOptions): core.HttpResponsePromise<Zep.MessageListResponse>;
|
|
108
121
|
private __get;
|
|
@@ -35,7 +35,12 @@ export class Thread {
|
|
|
35
35
|
* @throws {@link Zep.InternalServerError}
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
38
|
-
* await client.thread.listAll(
|
|
38
|
+
* await client.thread.listAll({
|
|
39
|
+
* pageNumber: 1,
|
|
40
|
+
* pageSize: 1,
|
|
41
|
+
* orderBy: "order_by",
|
|
42
|
+
* asc: true
|
|
43
|
+
* })
|
|
39
44
|
*/
|
|
40
45
|
listAll(request = {}, requestOptions) {
|
|
41
46
|
return core.HttpResponsePromise.fromPromise(this.__listAll(request, requestOptions));
|
|
@@ -303,7 +308,11 @@ export class Thread {
|
|
|
303
308
|
* @throws {@link Zep.InternalServerError}
|
|
304
309
|
*
|
|
305
310
|
* @example
|
|
306
|
-
* await client.thread.getUserContext("threadId"
|
|
311
|
+
* await client.thread.getUserContext("threadId", {
|
|
312
|
+
* minRating: 1.1,
|
|
313
|
+
* templateId: "template_id",
|
|
314
|
+
* mode: "basic"
|
|
315
|
+
* })
|
|
307
316
|
*/
|
|
308
317
|
getUserContext(threadId, request = {}, requestOptions) {
|
|
309
318
|
return core.HttpResponsePromise.fromPromise(this.__getUserContext(threadId, request, requestOptions));
|
|
@@ -311,11 +320,14 @@ export class Thread {
|
|
|
311
320
|
__getUserContext(threadId_1) {
|
|
312
321
|
return __awaiter(this, arguments, void 0, function* (threadId, request = {}, requestOptions) {
|
|
313
322
|
var _a, _b, _c, _d;
|
|
314
|
-
const { minRating, mode } = request;
|
|
323
|
+
const { minRating, templateId, mode } = request;
|
|
315
324
|
const _queryParams = {};
|
|
316
325
|
if (minRating != null) {
|
|
317
326
|
_queryParams["minRating"] = minRating.toString();
|
|
318
327
|
}
|
|
328
|
+
if (templateId != null) {
|
|
329
|
+
_queryParams["template_id"] = templateId;
|
|
330
|
+
}
|
|
319
331
|
if (mode != null) {
|
|
320
332
|
_queryParams["mode"] = serializers.ThreadGetUserContextRequestMode.jsonOrThrow(mode, {
|
|
321
333
|
unrecognizedObjectKeys: "strip",
|
|
@@ -397,7 +409,11 @@ export class Thread {
|
|
|
397
409
|
* @throws {@link Zep.InternalServerError}
|
|
398
410
|
*
|
|
399
411
|
* @example
|
|
400
|
-
* await client.thread.get("threadId"
|
|
412
|
+
* await client.thread.get("threadId", {
|
|
413
|
+
* limit: 1,
|
|
414
|
+
* cursor: 1,
|
|
415
|
+
* lastn: 1
|
|
416
|
+
* })
|
|
401
417
|
*/
|
|
402
418
|
get(threadId, request = {}, requestOptions) {
|
|
403
419
|
return core.HttpResponsePromise.fromPromise(this.__get(threadId, request, requestOptions));
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
import * as Zep from "../../../../index.mjs";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* minRating: 1.1,
|
|
9
|
+
* templateId: "template_id",
|
|
10
|
+
* mode: "basic"
|
|
11
|
+
* }
|
|
8
12
|
*/
|
|
9
13
|
export interface ThreadGetUserContextRequest {
|
|
10
14
|
/**
|
|
@@ -12,7 +16,11 @@ export interface ThreadGetUserContextRequest {
|
|
|
12
16
|
*/
|
|
13
17
|
minRating?: number;
|
|
14
18
|
/**
|
|
15
|
-
*
|
|
19
|
+
* Optional template ID to use for custom context rendering.
|
|
20
|
+
*/
|
|
21
|
+
templateId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Deprecated, this field will be removed in a future release. Defaults to summary mode. Use basic for lower latency
|
|
16
24
|
*/
|
|
17
25
|
mode?: Zep.ThreadGetUserContextRequestMode;
|
|
18
26
|
}
|
|
@@ -28,6 +28,55 @@ export declare namespace User {
|
|
|
28
28
|
export declare class User {
|
|
29
29
|
protected readonly _options: User.Options;
|
|
30
30
|
constructor(_options?: User.Options);
|
|
31
|
+
/**
|
|
32
|
+
* Lists all user summary instructions for a project, user.
|
|
33
|
+
*
|
|
34
|
+
* @param {Zep.UserListUserSummaryInstructionsRequest} request
|
|
35
|
+
* @param {User.RequestOptions} requestOptions - Request-specific configuration.
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link Zep.BadRequestError}
|
|
38
|
+
* @throws {@link Zep.InternalServerError}
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* await client.user.listUserSummaryInstructions({
|
|
42
|
+
* userId: "user_id"
|
|
43
|
+
* })
|
|
44
|
+
*/
|
|
45
|
+
listUserSummaryInstructions(request?: Zep.UserListUserSummaryInstructionsRequest, requestOptions?: User.RequestOptions): core.HttpResponsePromise<Zep.ListUserInstructionsResponse>;
|
|
46
|
+
private __listUserSummaryInstructions;
|
|
47
|
+
/**
|
|
48
|
+
* Adds new summary instructions for users graphs without removing existing ones. If user_ids is empty, adds to project-wide default instructions.
|
|
49
|
+
*
|
|
50
|
+
* @param {Zep.AddUserInstructionsRequest} request
|
|
51
|
+
* @param {User.RequestOptions} requestOptions - Request-specific configuration.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link Zep.BadRequestError}
|
|
54
|
+
* @throws {@link Zep.InternalServerError}
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* await client.user.addUserSummaryInstructions({
|
|
58
|
+
* instructions: [{
|
|
59
|
+
* name: "name",
|
|
60
|
+
* text: "text"
|
|
61
|
+
* }]
|
|
62
|
+
* })
|
|
63
|
+
*/
|
|
64
|
+
addUserSummaryInstructions(request: Zep.AddUserInstructionsRequest, requestOptions?: User.RequestOptions): core.HttpResponsePromise<Zep.SuccessResponse>;
|
|
65
|
+
private __addUserSummaryInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* Deletes user summary/instructions for users or project wide defaults.
|
|
68
|
+
*
|
|
69
|
+
* @param {Zep.DeleteUserInstructionsRequest} request
|
|
70
|
+
* @param {User.RequestOptions} requestOptions - Request-specific configuration.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link Zep.BadRequestError}
|
|
73
|
+
* @throws {@link Zep.InternalServerError}
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* await client.user.deleteUserSummaryInstructions()
|
|
77
|
+
*/
|
|
78
|
+
deleteUserSummaryInstructions(request?: Zep.DeleteUserInstructionsRequest, requestOptions?: User.RequestOptions): core.HttpResponsePromise<Zep.SuccessResponse>;
|
|
79
|
+
private __deleteUserSummaryInstructions;
|
|
31
80
|
/**
|
|
32
81
|
* Adds a user.
|
|
33
82
|
*
|
|
@@ -54,7 +103,10 @@ export declare class User {
|
|
|
54
103
|
* @throws {@link Zep.InternalServerError}
|
|
55
104
|
*
|
|
56
105
|
* @example
|
|
57
|
-
* await client.user.listOrdered(
|
|
106
|
+
* await client.user.listOrdered({
|
|
107
|
+
* pageNumber: 1,
|
|
108
|
+
* pageSize: 1
|
|
109
|
+
* })
|
|
58
110
|
*/
|
|
59
111
|
listOrdered(request?: Zep.UserListOrderedRequest, requestOptions?: User.RequestOptions): core.HttpResponsePromise<Zep.UserListResponse>;
|
|
60
112
|
private __listOrdered;
|
|
@@ -20,6 +20,274 @@ export class User {
|
|
|
20
20
|
constructor(_options = {}) {
|
|
21
21
|
this._options = _options;
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Lists all user summary instructions for a project, user.
|
|
25
|
+
*
|
|
26
|
+
* @param {Zep.UserListUserSummaryInstructionsRequest} request
|
|
27
|
+
* @param {User.RequestOptions} requestOptions - Request-specific configuration.
|
|
28
|
+
*
|
|
29
|
+
* @throws {@link Zep.BadRequestError}
|
|
30
|
+
* @throws {@link Zep.InternalServerError}
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* await client.user.listUserSummaryInstructions({
|
|
34
|
+
* userId: "user_id"
|
|
35
|
+
* })
|
|
36
|
+
*/
|
|
37
|
+
listUserSummaryInstructions(request = {}, requestOptions) {
|
|
38
|
+
return core.HttpResponsePromise.fromPromise(this.__listUserSummaryInstructions(request, requestOptions));
|
|
39
|
+
}
|
|
40
|
+
__listUserSummaryInstructions() {
|
|
41
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
42
|
+
var _a, _b, _c, _d;
|
|
43
|
+
const { userId } = request;
|
|
44
|
+
const _queryParams = {};
|
|
45
|
+
if (userId != null) {
|
|
46
|
+
_queryParams["user_id"] = userId;
|
|
47
|
+
}
|
|
48
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
49
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ZepEnvironment.Default, "user-summary-instructions"),
|
|
50
|
+
method: "GET",
|
|
51
|
+
headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
52
|
+
queryParameters: _queryParams,
|
|
53
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
54
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
55
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
56
|
+
});
|
|
57
|
+
if (_response.ok) {
|
|
58
|
+
return {
|
|
59
|
+
data: serializers.ListUserInstructionsResponse.parseOrThrow(_response.body, {
|
|
60
|
+
unrecognizedObjectKeys: "passthrough",
|
|
61
|
+
allowUnrecognizedUnionMembers: true,
|
|
62
|
+
allowUnrecognizedEnumValues: true,
|
|
63
|
+
skipValidation: true,
|
|
64
|
+
breadcrumbsPrefix: ["response"],
|
|
65
|
+
}),
|
|
66
|
+
rawResponse: _response.rawResponse,
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
if (_response.error.reason === "status-code") {
|
|
70
|
+
switch (_response.error.statusCode) {
|
|
71
|
+
case 400:
|
|
72
|
+
throw new Zep.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
73
|
+
unrecognizedObjectKeys: "passthrough",
|
|
74
|
+
allowUnrecognizedUnionMembers: true,
|
|
75
|
+
allowUnrecognizedEnumValues: true,
|
|
76
|
+
skipValidation: true,
|
|
77
|
+
breadcrumbsPrefix: ["response"],
|
|
78
|
+
}), _response.rawResponse);
|
|
79
|
+
case 500:
|
|
80
|
+
throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
81
|
+
unrecognizedObjectKeys: "passthrough",
|
|
82
|
+
allowUnrecognizedUnionMembers: true,
|
|
83
|
+
allowUnrecognizedEnumValues: true,
|
|
84
|
+
skipValidation: true,
|
|
85
|
+
breadcrumbsPrefix: ["response"],
|
|
86
|
+
}), _response.rawResponse);
|
|
87
|
+
default:
|
|
88
|
+
throw new errors.ZepError({
|
|
89
|
+
statusCode: _response.error.statusCode,
|
|
90
|
+
body: _response.error.body,
|
|
91
|
+
rawResponse: _response.rawResponse,
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
switch (_response.error.reason) {
|
|
96
|
+
case "non-json":
|
|
97
|
+
throw new errors.ZepError({
|
|
98
|
+
statusCode: _response.error.statusCode,
|
|
99
|
+
body: _response.error.rawBody,
|
|
100
|
+
rawResponse: _response.rawResponse,
|
|
101
|
+
});
|
|
102
|
+
case "timeout":
|
|
103
|
+
throw new errors.ZepTimeoutError("Timeout exceeded when calling GET /user-summary-instructions.");
|
|
104
|
+
case "unknown":
|
|
105
|
+
throw new errors.ZepError({
|
|
106
|
+
message: _response.error.errorMessage,
|
|
107
|
+
rawResponse: _response.rawResponse,
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Adds new summary instructions for users graphs without removing existing ones. If user_ids is empty, adds to project-wide default instructions.
|
|
114
|
+
*
|
|
115
|
+
* @param {Zep.AddUserInstructionsRequest} request
|
|
116
|
+
* @param {User.RequestOptions} requestOptions - Request-specific configuration.
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link Zep.BadRequestError}
|
|
119
|
+
* @throws {@link Zep.InternalServerError}
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* await client.user.addUserSummaryInstructions({
|
|
123
|
+
* instructions: [{
|
|
124
|
+
* name: "name",
|
|
125
|
+
* text: "text"
|
|
126
|
+
* }]
|
|
127
|
+
* })
|
|
128
|
+
*/
|
|
129
|
+
addUserSummaryInstructions(request, requestOptions) {
|
|
130
|
+
return core.HttpResponsePromise.fromPromise(this.__addUserSummaryInstructions(request, requestOptions));
|
|
131
|
+
}
|
|
132
|
+
__addUserSummaryInstructions(request, requestOptions) {
|
|
133
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
134
|
+
var _a, _b, _c, _d;
|
|
135
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
136
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ZepEnvironment.Default, "user-summary-instructions"),
|
|
137
|
+
method: "POST",
|
|
138
|
+
headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
139
|
+
contentType: "application/json",
|
|
140
|
+
requestType: "json",
|
|
141
|
+
body: serializers.AddUserInstructionsRequest.jsonOrThrow(request, {
|
|
142
|
+
unrecognizedObjectKeys: "strip",
|
|
143
|
+
omitUndefined: true,
|
|
144
|
+
}),
|
|
145
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
146
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
147
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
148
|
+
});
|
|
149
|
+
if (_response.ok) {
|
|
150
|
+
return {
|
|
151
|
+
data: serializers.SuccessResponse.parseOrThrow(_response.body, {
|
|
152
|
+
unrecognizedObjectKeys: "passthrough",
|
|
153
|
+
allowUnrecognizedUnionMembers: true,
|
|
154
|
+
allowUnrecognizedEnumValues: true,
|
|
155
|
+
skipValidation: true,
|
|
156
|
+
breadcrumbsPrefix: ["response"],
|
|
157
|
+
}),
|
|
158
|
+
rawResponse: _response.rawResponse,
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
if (_response.error.reason === "status-code") {
|
|
162
|
+
switch (_response.error.statusCode) {
|
|
163
|
+
case 400:
|
|
164
|
+
throw new Zep.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
165
|
+
unrecognizedObjectKeys: "passthrough",
|
|
166
|
+
allowUnrecognizedUnionMembers: true,
|
|
167
|
+
allowUnrecognizedEnumValues: true,
|
|
168
|
+
skipValidation: true,
|
|
169
|
+
breadcrumbsPrefix: ["response"],
|
|
170
|
+
}), _response.rawResponse);
|
|
171
|
+
case 500:
|
|
172
|
+
throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
173
|
+
unrecognizedObjectKeys: "passthrough",
|
|
174
|
+
allowUnrecognizedUnionMembers: true,
|
|
175
|
+
allowUnrecognizedEnumValues: true,
|
|
176
|
+
skipValidation: true,
|
|
177
|
+
breadcrumbsPrefix: ["response"],
|
|
178
|
+
}), _response.rawResponse);
|
|
179
|
+
default:
|
|
180
|
+
throw new errors.ZepError({
|
|
181
|
+
statusCode: _response.error.statusCode,
|
|
182
|
+
body: _response.error.body,
|
|
183
|
+
rawResponse: _response.rawResponse,
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
switch (_response.error.reason) {
|
|
188
|
+
case "non-json":
|
|
189
|
+
throw new errors.ZepError({
|
|
190
|
+
statusCode: _response.error.statusCode,
|
|
191
|
+
body: _response.error.rawBody,
|
|
192
|
+
rawResponse: _response.rawResponse,
|
|
193
|
+
});
|
|
194
|
+
case "timeout":
|
|
195
|
+
throw new errors.ZepTimeoutError("Timeout exceeded when calling POST /user-summary-instructions.");
|
|
196
|
+
case "unknown":
|
|
197
|
+
throw new errors.ZepError({
|
|
198
|
+
message: _response.error.errorMessage,
|
|
199
|
+
rawResponse: _response.rawResponse,
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Deletes user summary/instructions for users or project wide defaults.
|
|
206
|
+
*
|
|
207
|
+
* @param {Zep.DeleteUserInstructionsRequest} request
|
|
208
|
+
* @param {User.RequestOptions} requestOptions - Request-specific configuration.
|
|
209
|
+
*
|
|
210
|
+
* @throws {@link Zep.BadRequestError}
|
|
211
|
+
* @throws {@link Zep.InternalServerError}
|
|
212
|
+
*
|
|
213
|
+
* @example
|
|
214
|
+
* await client.user.deleteUserSummaryInstructions()
|
|
215
|
+
*/
|
|
216
|
+
deleteUserSummaryInstructions(request = {}, requestOptions) {
|
|
217
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteUserSummaryInstructions(request, requestOptions));
|
|
218
|
+
}
|
|
219
|
+
__deleteUserSummaryInstructions() {
|
|
220
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
221
|
+
var _a, _b, _c, _d;
|
|
222
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
223
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ZepEnvironment.Default, "user-summary-instructions"),
|
|
224
|
+
method: "DELETE",
|
|
225
|
+
headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
226
|
+
contentType: "application/json",
|
|
227
|
+
requestType: "json",
|
|
228
|
+
body: serializers.DeleteUserInstructionsRequest.jsonOrThrow(request, {
|
|
229
|
+
unrecognizedObjectKeys: "strip",
|
|
230
|
+
omitUndefined: true,
|
|
231
|
+
}),
|
|
232
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
233
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
234
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
235
|
+
});
|
|
236
|
+
if (_response.ok) {
|
|
237
|
+
return {
|
|
238
|
+
data: serializers.SuccessResponse.parseOrThrow(_response.body, {
|
|
239
|
+
unrecognizedObjectKeys: "passthrough",
|
|
240
|
+
allowUnrecognizedUnionMembers: true,
|
|
241
|
+
allowUnrecognizedEnumValues: true,
|
|
242
|
+
skipValidation: true,
|
|
243
|
+
breadcrumbsPrefix: ["response"],
|
|
244
|
+
}),
|
|
245
|
+
rawResponse: _response.rawResponse,
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
if (_response.error.reason === "status-code") {
|
|
249
|
+
switch (_response.error.statusCode) {
|
|
250
|
+
case 400:
|
|
251
|
+
throw new Zep.BadRequestError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
252
|
+
unrecognizedObjectKeys: "passthrough",
|
|
253
|
+
allowUnrecognizedUnionMembers: true,
|
|
254
|
+
allowUnrecognizedEnumValues: true,
|
|
255
|
+
skipValidation: true,
|
|
256
|
+
breadcrumbsPrefix: ["response"],
|
|
257
|
+
}), _response.rawResponse);
|
|
258
|
+
case 500:
|
|
259
|
+
throw new Zep.InternalServerError(serializers.ApiError.parseOrThrow(_response.error.body, {
|
|
260
|
+
unrecognizedObjectKeys: "passthrough",
|
|
261
|
+
allowUnrecognizedUnionMembers: true,
|
|
262
|
+
allowUnrecognizedEnumValues: true,
|
|
263
|
+
skipValidation: true,
|
|
264
|
+
breadcrumbsPrefix: ["response"],
|
|
265
|
+
}), _response.rawResponse);
|
|
266
|
+
default:
|
|
267
|
+
throw new errors.ZepError({
|
|
268
|
+
statusCode: _response.error.statusCode,
|
|
269
|
+
body: _response.error.body,
|
|
270
|
+
rawResponse: _response.rawResponse,
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
switch (_response.error.reason) {
|
|
275
|
+
case "non-json":
|
|
276
|
+
throw new errors.ZepError({
|
|
277
|
+
statusCode: _response.error.statusCode,
|
|
278
|
+
body: _response.error.rawBody,
|
|
279
|
+
rawResponse: _response.rawResponse,
|
|
280
|
+
});
|
|
281
|
+
case "timeout":
|
|
282
|
+
throw new errors.ZepTimeoutError("Timeout exceeded when calling DELETE /user-summary-instructions.");
|
|
283
|
+
case "unknown":
|
|
284
|
+
throw new errors.ZepError({
|
|
285
|
+
message: _response.error.errorMessage,
|
|
286
|
+
rawResponse: _response.rawResponse,
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
}
|
|
23
291
|
/**
|
|
24
292
|
* Adds a user.
|
|
25
293
|
*
|
|
@@ -119,7 +387,10 @@ export class User {
|
|
|
119
387
|
* @throws {@link Zep.InternalServerError}
|
|
120
388
|
*
|
|
121
389
|
* @example
|
|
122
|
-
* await client.user.listOrdered(
|
|
390
|
+
* await client.user.listOrdered({
|
|
391
|
+
* pageNumber: 1,
|
|
392
|
+
* pageSize: 1
|
|
393
|
+
* })
|
|
123
394
|
*/
|
|
124
395
|
listOrdered(request = {}, requestOptions) {
|
|
125
396
|
return core.HttpResponsePromise.fromPromise(this.__listOrdered(request, requestOptions));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Zep from "../../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* instructions: [{
|
|
9
|
+
* name: "name",
|
|
10
|
+
* text: "text"
|
|
11
|
+
* }]
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
14
|
+
export interface AddUserInstructionsRequest {
|
|
15
|
+
/** Instructions to add to the user summary generation. */
|
|
16
|
+
instructions: Zep.UserInstruction[];
|
|
17
|
+
/** User IDs to add the instructions to. If empty, the instructions are added to the project-wide default. */
|
|
18
|
+
userIds?: string[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface DeleteUserInstructionsRequest {
|
|
9
|
+
/** Unique identifier for the instructions to be deleted. If empty deletes all instructions. */
|
|
10
|
+
instructionNames?: string[];
|
|
11
|
+
/** Determines which users will have their custom instructions deleted. If no users are provided, the project-wide custom instructions will be effected. */
|
|
12
|
+
userIds?: string[];
|
|
13
|
+
}
|
package/dist/esm/api/resources/user/client/requests/UserListUserSummaryInstructionsRequest.d.mts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* userId: "user_id"
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface UserListUserSummaryInstructionsRequest {
|
|
11
|
+
/**
|
|
12
|
+
* User ID to get user-specific instructions
|
|
13
|
+
*/
|
|
14
|
+
userId?: string;
|
|
15
|
+
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export { type UserListUserSummaryInstructionsRequest } from "./UserListUserSummaryInstructionsRequest.mjs";
|
|
2
|
+
export { type AddUserInstructionsRequest } from "./AddUserInstructionsRequest.mjs";
|
|
3
|
+
export { type DeleteUserInstructionsRequest } from "./DeleteUserInstructionsRequest.mjs";
|
|
1
4
|
export { type CreateUserRequest } from "./CreateUserRequest.mjs";
|
|
2
5
|
export { type UserListOrderedRequest } from "./UserListOrderedRequest.mjs";
|
|
3
6
|
export { type UpdateUserRequest } from "./UpdateUserRequest.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type ComparisonOperator = "=" | "<>" | ">" | "<" | ">=" | "<=";
|
|
4
|
+
export type ComparisonOperator = "=" | "<>" | ">" | "<" | ">=" | "<=" | "IS NULL" | "IS NOT NULL";
|
|
5
5
|
export declare const ComparisonOperator: {
|
|
6
6
|
readonly Equals: "=";
|
|
7
7
|
readonly NotEquals: "<>";
|
|
@@ -9,4 +9,6 @@ export declare const ComparisonOperator: {
|
|
|
9
9
|
readonly LessThan: "<";
|
|
10
10
|
readonly GreaterThanEqual: ">=";
|
|
11
11
|
readonly LessThanEqual: "<=";
|
|
12
|
+
readonly IsNull: "IS NULL";
|
|
13
|
+
readonly IsNotNull: "IS NOT NULL";
|
|
12
14
|
};
|