@letta-ai/letta-client 0.1.138 → 0.1.140
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/api/resources/agents/client/Client.js +10 -10
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +6 -6
- package/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/agents/types/AgentsSearchRequestSearchItem.d.ts +1 -1
- package/api/resources/agents/types/AgentsSearchRequestSearchItemField.d.ts +9 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemFieldOperator.d.ts +8 -0
- package/api/resources/agents/types/AgentsSearchRequestSearchItemFieldOperator.js +10 -0
- package/api/resources/agents/types/{AgentsSearchRequestSearchItemOperator.d.ts → AgentsSearchRequestSearchItemThree.d.ts} +1 -1
- package/api/resources/agents/types/index.d.ts +3 -1
- package/api/resources/agents/types/index.js +3 -1
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/api/resources/clientSideAccessTokens/client/Client.js +2 -2
- package/api/resources/embeddingModels/client/Client.js +1 -1
- package/api/resources/groups/client/Client.js +6 -6
- package/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +7 -7
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/jobs/client/Client.js +4 -4
- package/api/resources/messages/client/Client.js +1 -1
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +5 -5
- package/api/resources/runs/client/Client.js +4 -4
- package/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/api/resources/sources/client/Client.js +8 -8
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +3 -3
- package/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/tags/client/Client.js +1 -1
- package/api/resources/telemetry/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +19 -19
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/AgentType.d.ts +3 -1
- package/api/types/AgentType.js +2 -0
- package/dist/api/resources/agents/client/Client.js +10 -10
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +6 -6
- package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItem.d.ts +1 -1
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemField.d.ts +9 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemField.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemFieldOperator.d.ts +8 -0
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemFieldOperator.js +10 -0
- package/dist/api/resources/agents/types/{AgentsSearchRequestSearchItemOperator.d.ts → AgentsSearchRequestSearchItemThree.d.ts} +1 -1
- package/dist/api/resources/agents/types/AgentsSearchRequestSearchItemThree.js +5 -0
- package/dist/api/resources/agents/types/index.d.ts +3 -1
- package/dist/api/resources/agents/types/index.js +3 -1
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/clientSideAccessTokens/client/Client.js +2 -2
- package/dist/api/resources/embeddingModels/client/Client.js +1 -1
- package/dist/api/resources/groups/client/Client.js +6 -6
- package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +7 -7
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +5 -5
- package/dist/api/resources/runs/client/Client.js +4 -4
- package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
- package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/sources/client/Client.js +8 -8
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +3 -3
- package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/tags/client/Client.js +1 -1
- package/dist/api/resources/telemetry/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +19 -19
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/AgentType.d.ts +3 -1
- package/dist/api/types/AgentType.js +2 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItem.d.ts +3 -2
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItem.js +4 -2
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemField.d.ts +15 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemField.js +46 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemFieldOperator.d.ts +10 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemFieldOperator.js +41 -0
- package/dist/serialization/resources/agents/types/{AgentsSearchRequestSearchItemOperator.d.ts → AgentsSearchRequestSearchItemThree.d.ts} +2 -2
- package/dist/serialization/resources/agents/types/{AgentsSearchRequestSearchItemOperator.js → AgentsSearchRequestSearchItemThree.js} +2 -2
- package/dist/serialization/resources/agents/types/index.d.ts +3 -1
- package/dist/serialization/resources/agents/types/index.js +3 -1
- package/dist/serialization/types/AgentType.d.ts +1 -1
- package/dist/serialization/types/AgentType.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItem.d.ts +3 -2
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItem.js +4 -2
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemField.d.ts +15 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemField.js +46 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemFieldOperator.d.ts +10 -0
- package/serialization/resources/agents/types/AgentsSearchRequestSearchItemFieldOperator.js +41 -0
- package/serialization/resources/agents/types/{AgentsSearchRequestSearchItemOperator.d.ts → AgentsSearchRequestSearchItemThree.d.ts} +2 -2
- package/serialization/resources/agents/types/{AgentsSearchRequestSearchItemOperator.js → AgentsSearchRequestSearchItemThree.js} +2 -2
- package/serialization/resources/agents/types/index.d.ts +3 -1
- package/serialization/resources/agents/types/index.js +3 -1
- package/serialization/types/AgentType.d.ts +1 -1
- package/serialization/types/AgentType.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/resources/agents/types/{AgentsSearchRequestSearchItemOperator.js → AgentsSearchRequestSearchItemField.js} +0 -0
- /package/{dist/api/resources/agents/types/AgentsSearchRequestSearchItemOperator.js → api/resources/agents/types/AgentsSearchRequestSearchItemThree.js} +0 -0
package/dist/serialization/resources/agents/types/AgentsSearchRequestSearchItemFieldOperator.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
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.AgentsSearchRequestSearchItemFieldOperator = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AgentsSearchRequestSearchItemFieldOperator = core.serialization.enum_(["eq", "neq"]);
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Letta from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const AgentsSearchRequestSearchItemThree: core.serialization.ObjectSchema<serializers.AgentsSearchRequestSearchItemThree.Raw, Letta.AgentsSearchRequestSearchItemThree>;
|
|
8
|
+
export declare namespace AgentsSearchRequestSearchItemThree {
|
|
9
9
|
interface Raw {
|
|
10
10
|
field: "identity";
|
|
11
11
|
operator: "eq";
|
|
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.AgentsSearchRequestSearchItemThree = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.
|
|
41
|
+
exports.AgentsSearchRequestSearchItemThree = core.serialization.object({
|
|
42
42
|
field: core.serialization.stringLiteral("identity"),
|
|
43
43
|
operator: core.serialization.stringLiteral("eq"),
|
|
44
44
|
value: core.serialization.string(),
|
|
@@ -6,7 +6,9 @@ export * from "./AgentsSearchRequestSearchItemZero";
|
|
|
6
6
|
export * from "./AgentsSearchRequestSearchItemOneOperator";
|
|
7
7
|
export * from "./AgentsSearchRequestSearchItemOne";
|
|
8
8
|
export * from "./AgentsSearchRequestSearchItemTwo";
|
|
9
|
-
export * from "./
|
|
9
|
+
export * from "./AgentsSearchRequestSearchItemThree";
|
|
10
|
+
export * from "./AgentsSearchRequestSearchItemFieldOperator";
|
|
11
|
+
export * from "./AgentsSearchRequestSearchItemField";
|
|
10
12
|
export * from "./AgentsSearchRequestSearchItem";
|
|
11
13
|
export * from "./AgentsSearchRequestSortBy";
|
|
12
14
|
export * from "./AgentsSearchResponse";
|
|
@@ -22,7 +22,9 @@ __exportStar(require("./AgentsSearchRequestSearchItemZero"), exports);
|
|
|
22
22
|
__exportStar(require("./AgentsSearchRequestSearchItemOneOperator"), exports);
|
|
23
23
|
__exportStar(require("./AgentsSearchRequestSearchItemOne"), exports);
|
|
24
24
|
__exportStar(require("./AgentsSearchRequestSearchItemTwo"), exports);
|
|
25
|
-
__exportStar(require("./
|
|
25
|
+
__exportStar(require("./AgentsSearchRequestSearchItemThree"), exports);
|
|
26
|
+
__exportStar(require("./AgentsSearchRequestSearchItemFieldOperator"), exports);
|
|
27
|
+
__exportStar(require("./AgentsSearchRequestSearchItemField"), exports);
|
|
26
28
|
__exportStar(require("./AgentsSearchRequestSearchItem"), exports);
|
|
27
29
|
__exportStar(require("./AgentsSearchRequestSortBy"), exports);
|
|
28
30
|
__exportStar(require("./AgentsSearchResponse"), exports);
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AgentType: core.serialization.Schema<serializers.AgentType.Raw, Letta.AgentType>;
|
|
8
8
|
export declare namespace AgentType {
|
|
9
|
-
type Raw = "memgpt_agent" | "memgpt_v2_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
9
|
+
type Raw = "memgpt_agent" | "memgpt_v2_agent" | "react_agent" | "workflow_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
10
10
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.140";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -7,8 +7,9 @@ import * as core from "../../../../core";
|
|
|
7
7
|
import { AgentsSearchRequestSearchItemZero } from "./AgentsSearchRequestSearchItemZero";
|
|
8
8
|
import { AgentsSearchRequestSearchItemOne } from "./AgentsSearchRequestSearchItemOne";
|
|
9
9
|
import { AgentsSearchRequestSearchItemTwo } from "./AgentsSearchRequestSearchItemTwo";
|
|
10
|
-
import {
|
|
10
|
+
import { AgentsSearchRequestSearchItemThree } from "./AgentsSearchRequestSearchItemThree";
|
|
11
|
+
import { AgentsSearchRequestSearchItemField } from "./AgentsSearchRequestSearchItemField";
|
|
11
12
|
export declare const AgentsSearchRequestSearchItem: core.serialization.Schema<serializers.AgentsSearchRequestSearchItem.Raw, Letta.AgentsSearchRequestSearchItem>;
|
|
12
13
|
export declare namespace AgentsSearchRequestSearchItem {
|
|
13
|
-
type Raw = AgentsSearchRequestSearchItemZero.Raw | AgentsSearchRequestSearchItemOne.Raw | AgentsSearchRequestSearchItemTwo.Raw |
|
|
14
|
+
type Raw = AgentsSearchRequestSearchItemZero.Raw | AgentsSearchRequestSearchItemOne.Raw | AgentsSearchRequestSearchItemTwo.Raw | AgentsSearchRequestSearchItemThree.Raw | AgentsSearchRequestSearchItemField.Raw;
|
|
14
15
|
}
|
|
@@ -41,10 +41,12 @@ const core = __importStar(require("../../../../core"));
|
|
|
41
41
|
const AgentsSearchRequestSearchItemZero_1 = require("./AgentsSearchRequestSearchItemZero");
|
|
42
42
|
const AgentsSearchRequestSearchItemOne_1 = require("./AgentsSearchRequestSearchItemOne");
|
|
43
43
|
const AgentsSearchRequestSearchItemTwo_1 = require("./AgentsSearchRequestSearchItemTwo");
|
|
44
|
-
const
|
|
44
|
+
const AgentsSearchRequestSearchItemThree_1 = require("./AgentsSearchRequestSearchItemThree");
|
|
45
|
+
const AgentsSearchRequestSearchItemField_1 = require("./AgentsSearchRequestSearchItemField");
|
|
45
46
|
exports.AgentsSearchRequestSearchItem = core.serialization.undiscriminatedUnion([
|
|
46
47
|
AgentsSearchRequestSearchItemZero_1.AgentsSearchRequestSearchItemZero,
|
|
47
48
|
AgentsSearchRequestSearchItemOne_1.AgentsSearchRequestSearchItemOne,
|
|
48
49
|
AgentsSearchRequestSearchItemTwo_1.AgentsSearchRequestSearchItemTwo,
|
|
49
|
-
|
|
50
|
+
AgentsSearchRequestSearchItemThree_1.AgentsSearchRequestSearchItemThree,
|
|
51
|
+
AgentsSearchRequestSearchItemField_1.AgentsSearchRequestSearchItemField,
|
|
50
52
|
]);
|
|
@@ -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 Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { AgentsSearchRequestSearchItemFieldOperator } from "./AgentsSearchRequestSearchItemFieldOperator";
|
|
8
|
+
export declare const AgentsSearchRequestSearchItemField: core.serialization.ObjectSchema<serializers.AgentsSearchRequestSearchItemField.Raw, Letta.AgentsSearchRequestSearchItemField>;
|
|
9
|
+
export declare namespace AgentsSearchRequestSearchItemField {
|
|
10
|
+
interface Raw {
|
|
11
|
+
field: "templateName";
|
|
12
|
+
operator: AgentsSearchRequestSearchItemFieldOperator.Raw;
|
|
13
|
+
value: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentsSearchRequestSearchItemField = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const AgentsSearchRequestSearchItemFieldOperator_1 = require("./AgentsSearchRequestSearchItemFieldOperator");
|
|
42
|
+
exports.AgentsSearchRequestSearchItemField = core.serialization.object({
|
|
43
|
+
field: core.serialization.stringLiteral("templateName"),
|
|
44
|
+
operator: AgentsSearchRequestSearchItemFieldOperator_1.AgentsSearchRequestSearchItemFieldOperator,
|
|
45
|
+
value: core.serialization.string(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AgentsSearchRequestSearchItemFieldOperator: core.serialization.Schema<serializers.AgentsSearchRequestSearchItemFieldOperator.Raw, Letta.AgentsSearchRequestSearchItemFieldOperator>;
|
|
8
|
+
export declare namespace AgentsSearchRequestSearchItemFieldOperator {
|
|
9
|
+
type Raw = "eq" | "neq";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.AgentsSearchRequestSearchItemFieldOperator = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AgentsSearchRequestSearchItemFieldOperator = core.serialization.enum_(["eq", "neq"]);
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Letta from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const AgentsSearchRequestSearchItemThree: core.serialization.ObjectSchema<serializers.AgentsSearchRequestSearchItemThree.Raw, Letta.AgentsSearchRequestSearchItemThree>;
|
|
8
|
+
export declare namespace AgentsSearchRequestSearchItemThree {
|
|
9
9
|
interface Raw {
|
|
10
10
|
field: "identity";
|
|
11
11
|
operator: "eq";
|
|
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.AgentsSearchRequestSearchItemThree = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.
|
|
41
|
+
exports.AgentsSearchRequestSearchItemThree = core.serialization.object({
|
|
42
42
|
field: core.serialization.stringLiteral("identity"),
|
|
43
43
|
operator: core.serialization.stringLiteral("eq"),
|
|
44
44
|
value: core.serialization.string(),
|
|
@@ -6,7 +6,9 @@ export * from "./AgentsSearchRequestSearchItemZero";
|
|
|
6
6
|
export * from "./AgentsSearchRequestSearchItemOneOperator";
|
|
7
7
|
export * from "./AgentsSearchRequestSearchItemOne";
|
|
8
8
|
export * from "./AgentsSearchRequestSearchItemTwo";
|
|
9
|
-
export * from "./
|
|
9
|
+
export * from "./AgentsSearchRequestSearchItemThree";
|
|
10
|
+
export * from "./AgentsSearchRequestSearchItemFieldOperator";
|
|
11
|
+
export * from "./AgentsSearchRequestSearchItemField";
|
|
10
12
|
export * from "./AgentsSearchRequestSearchItem";
|
|
11
13
|
export * from "./AgentsSearchRequestSortBy";
|
|
12
14
|
export * from "./AgentsSearchResponse";
|
|
@@ -22,7 +22,9 @@ __exportStar(require("./AgentsSearchRequestSearchItemZero"), exports);
|
|
|
22
22
|
__exportStar(require("./AgentsSearchRequestSearchItemOneOperator"), exports);
|
|
23
23
|
__exportStar(require("./AgentsSearchRequestSearchItemOne"), exports);
|
|
24
24
|
__exportStar(require("./AgentsSearchRequestSearchItemTwo"), exports);
|
|
25
|
-
__exportStar(require("./
|
|
25
|
+
__exportStar(require("./AgentsSearchRequestSearchItemThree"), exports);
|
|
26
|
+
__exportStar(require("./AgentsSearchRequestSearchItemFieldOperator"), exports);
|
|
27
|
+
__exportStar(require("./AgentsSearchRequestSearchItemField"), exports);
|
|
26
28
|
__exportStar(require("./AgentsSearchRequestSearchItem"), exports);
|
|
27
29
|
__exportStar(require("./AgentsSearchRequestSortBy"), exports);
|
|
28
30
|
__exportStar(require("./AgentsSearchResponse"), exports);
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AgentType: core.serialization.Schema<serializers.AgentType.Raw, Letta.AgentType>;
|
|
8
8
|
export declare namespace AgentType {
|
|
9
|
-
type Raw = "memgpt_agent" | "memgpt_v2_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
9
|
+
type Raw = "memgpt_agent" | "memgpt_v2_agent" | "react_agent" | "workflow_agent" | "split_thread_agent" | "sleeptime_agent" | "voice_convo_agent" | "voice_sleeptime_agent";
|
|
10
10
|
}
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.140";
|
package/version.js
CHANGED
|
File without changes
|