@letta-ai/letta-client 0.0.68656 → 0.0.68657
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/Client.d.ts +3 -0
- package/Client.js +45 -40
- package/README.md +9 -9
- package/api/resources/agents/client/Client.js +9 -9
- 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/files/client/Client.js +4 -4
- package/api/resources/agents/resources/folders/client/Client.js +3 -3
- 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 +10 -10
- package/api/resources/agents/resources/passages/client/Client.js +5 -5
- 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 +4 -4
- package/api/resources/archives/client/Client.d.ts +78 -0
- package/api/resources/archives/client/Client.js +325 -0
- package/api/resources/archives/client/index.d.ts +1 -0
- package/api/resources/archives/client/index.js +17 -0
- package/api/resources/archives/client/requests/ArchiveCreateRequest.d.ts +13 -0
- package/api/resources/archives/client/requests/ArchiveCreateRequest.js +5 -0
- package/api/resources/archives/client/requests/ArchiveUpdateRequest.d.ts +11 -0
- package/api/resources/archives/client/requests/ArchiveUpdateRequest.js +5 -0
- package/api/resources/archives/client/requests/ListArchivesRequest.d.ts +34 -0
- package/api/resources/archives/client/requests/ListArchivesRequest.js +5 -0
- package/api/resources/archives/client/requests/index.d.ts +3 -0
- package/api/resources/archives/client/requests/index.js +2 -0
- package/api/resources/archives/index.d.ts +2 -0
- package/api/resources/archives/index.js +18 -0
- package/api/resources/archives/types/ListArchivesRequestOrder.d.ts +11 -0
- package/api/resources/archives/types/ListArchivesRequestOrder.js +10 -0
- package/api/resources/archives/types/index.d.ts +1 -0
- package/api/resources/archives/types/index.js +17 -0
- package/api/resources/batches/client/Client.js +4 -4
- package/api/resources/batches/resources/messages/client/Client.js +1 -1
- 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 +3 -3
- package/api/resources/folders/client/Client.js +8 -8
- package/api/resources/folders/resources/agents/client/Client.js +1 -1
- package/api/resources/folders/resources/files/client/Client.js +3 -3
- package/api/resources/folders/resources/passages/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/agents/client/Client.js +1 -1
- package/api/resources/identities/resources/blocks/client/Client.js +1 -1
- package/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/jobs/client/Client.d.ts +0 -1
- package/api/resources/jobs/client/Client.js +9 -7
- package/api/resources/jobs/client/requests/JobsListRequest.d.ts +4 -0
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/models/resources/embeddings/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +1 -1
- package/api/resources/providers/client/Client.js +6 -6
- package/api/resources/runs/client/Client.js +15 -7
- package/api/resources/runs/client/requests/RunsListRequest.d.ts +9 -0
- 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 +10 -10
- 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 +2 -2
- package/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/api/resources/steps/resources/trace/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 +9 -9
- package/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/api/resources/tools/client/Client.js +20 -20
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/Archive.d.ts +35 -0
- package/api/types/Archive.js +5 -0
- package/api/types/BatchJob.d.ts +2 -0
- package/api/types/Job.d.ts +2 -0
- package/api/types/Run.d.ts +2 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +45 -40
- package/dist/api/resources/agents/client/Client.js +9 -9
- 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/files/client/Client.js +4 -4
- package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
- 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 +10 -10
- package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
- 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 +4 -4
- package/dist/api/resources/archives/client/Client.d.ts +78 -0
- package/dist/api/resources/archives/client/Client.js +325 -0
- package/dist/api/resources/archives/client/index.d.ts +1 -0
- package/dist/api/resources/archives/client/index.js +17 -0
- package/dist/api/resources/archives/client/requests/ArchiveCreateRequest.d.ts +13 -0
- package/dist/api/resources/archives/client/requests/ArchiveCreateRequest.js +5 -0
- package/dist/api/resources/archives/client/requests/ArchiveUpdateRequest.d.ts +11 -0
- package/dist/api/resources/archives/client/requests/ArchiveUpdateRequest.js +5 -0
- package/dist/api/resources/archives/client/requests/ListArchivesRequest.d.ts +34 -0
- package/dist/api/resources/archives/client/requests/ListArchivesRequest.js +5 -0
- package/dist/api/resources/archives/client/requests/index.d.ts +3 -0
- package/dist/api/resources/archives/client/requests/index.js +2 -0
- package/dist/api/resources/archives/index.d.ts +2 -0
- package/dist/api/resources/archives/index.js +18 -0
- package/dist/api/resources/archives/types/ListArchivesRequestOrder.d.ts +11 -0
- package/dist/api/resources/archives/types/ListArchivesRequestOrder.js +10 -0
- package/dist/api/resources/archives/types/index.d.ts +1 -0
- package/dist/api/resources/archives/types/index.js +17 -0
- package/dist/api/resources/batches/client/Client.js +4 -4
- package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
- 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 +3 -3
- package/dist/api/resources/folders/client/Client.js +8 -8
- package/dist/api/resources/folders/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
- package/dist/api/resources/folders/resources/passages/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/agents/client/Client.js +1 -1
- package/dist/api/resources/identities/resources/blocks/client/Client.js +1 -1
- package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/jobs/client/Client.d.ts +0 -1
- package/dist/api/resources/jobs/client/Client.js +9 -7
- package/dist/api/resources/jobs/client/requests/JobsListRequest.d.ts +4 -0
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +1 -1
- package/dist/api/resources/providers/client/Client.js +6 -6
- package/dist/api/resources/runs/client/Client.js +15 -7
- package/dist/api/resources/runs/client/requests/RunsListRequest.d.ts +9 -0
- 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 +10 -10
- 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 +2 -2
- package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
- package/dist/api/resources/steps/resources/trace/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 +9 -9
- package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
- package/dist/api/resources/tools/client/Client.js +20 -20
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/Archive.d.ts +35 -0
- package/dist/api/types/Archive.js +5 -0
- package/dist/api/types/BatchJob.d.ts +2 -0
- package/dist/api/types/Job.d.ts +2 -0
- package/dist/api/types/Run.d.ts +2 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/archives/client/index.d.ts +2 -0
- package/dist/serialization/resources/archives/client/index.js +41 -0
- package/dist/serialization/resources/archives/client/listArchives.d.ts +11 -0
- package/dist/serialization/resources/archives/client/listArchives.js +42 -0
- package/dist/serialization/resources/archives/client/requests/ArchiveCreateRequest.d.ts +13 -0
- package/dist/serialization/resources/archives/client/requests/ArchiveCreateRequest.js +44 -0
- package/dist/serialization/resources/archives/client/requests/ArchiveUpdateRequest.d.ts +13 -0
- package/dist/serialization/resources/archives/client/requests/ArchiveUpdateRequest.js +44 -0
- package/dist/serialization/resources/archives/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/archives/client/requests/index.js +7 -0
- package/dist/serialization/resources/archives/index.d.ts +2 -0
- package/dist/serialization/resources/archives/index.js +18 -0
- package/dist/serialization/resources/archives/types/ListArchivesRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/archives/types/ListArchivesRequestOrder.js +41 -0
- package/dist/serialization/resources/archives/types/index.d.ts +1 -0
- package/dist/serialization/resources/archives/types/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/types/Archive.d.ts +21 -0
- package/dist/serialization/types/Archive.js +52 -0
- package/dist/serialization/types/BatchJob.d.ts +2 -0
- package/dist/serialization/types/BatchJob.js +2 -0
- package/dist/serialization/types/Job.d.ts +2 -0
- package/dist/serialization/types/Job.js +2 -0
- package/dist/serialization/types/Run.d.ts +2 -0
- package/dist/serialization/types/Run.js +2 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +201 -1
- package/serialization/resources/archives/client/index.d.ts +2 -0
- package/serialization/resources/archives/client/index.js +41 -0
- package/serialization/resources/archives/client/listArchives.d.ts +11 -0
- package/serialization/resources/archives/client/listArchives.js +42 -0
- package/serialization/resources/archives/client/requests/ArchiveCreateRequest.d.ts +13 -0
- package/serialization/resources/archives/client/requests/ArchiveCreateRequest.js +44 -0
- package/serialization/resources/archives/client/requests/ArchiveUpdateRequest.d.ts +13 -0
- package/serialization/resources/archives/client/requests/ArchiveUpdateRequest.js +44 -0
- package/serialization/resources/archives/client/requests/index.d.ts +2 -0
- package/serialization/resources/archives/client/requests/index.js +7 -0
- package/serialization/resources/archives/index.d.ts +2 -0
- package/serialization/resources/archives/index.js +18 -0
- package/serialization/resources/archives/types/ListArchivesRequestOrder.d.ts +10 -0
- package/serialization/resources/archives/types/ListArchivesRequestOrder.js +41 -0
- package/serialization/resources/archives/types/index.d.ts +1 -0
- package/serialization/resources/archives/types/index.js +17 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/types/Archive.d.ts +21 -0
- package/serialization/types/Archive.js +52 -0
- package/serialization/types/BatchJob.d.ts +2 -0
- package/serialization/types/BatchJob.js +2 -0
- package/serialization/types/Job.d.ts +2 -0
- package/serialization/types/Job.js +2 -0
- package/serialization/types/Run.d.ts +2 -0
- package/serialization/types/Run.js +2 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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.ArchiveUpdateRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.ArchiveUpdateRequest = core.serialization.object({
|
|
42
|
+
name: core.serialization.string().optional(),
|
|
43
|
+
description: core.serialization.string().optional(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ArchiveUpdateRequest = exports.ArchiveCreateRequest = void 0;
|
|
4
|
+
var ArchiveCreateRequest_1 = require("./ArchiveCreateRequest");
|
|
5
|
+
Object.defineProperty(exports, "ArchiveCreateRequest", { enumerable: true, get: function () { return ArchiveCreateRequest_1.ArchiveCreateRequest; } });
|
|
6
|
+
var ArchiveUpdateRequest_1 = require("./ArchiveUpdateRequest");
|
|
7
|
+
Object.defineProperty(exports, "ArchiveUpdateRequest", { enumerable: true, get: function () { return ArchiveUpdateRequest_1.ArchiveUpdateRequest; } });
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -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 ListArchivesRequestOrder: core.serialization.Schema<serializers.ListArchivesRequestOrder.Raw, Letta.ListArchivesRequestOrder>;
|
|
8
|
+
export declare namespace ListArchivesRequestOrder {
|
|
9
|
+
type Raw = "asc" | "desc";
|
|
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.ListArchivesRequestOrder = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.ListArchivesRequestOrder = core.serialization.enum_(["asc", "desc"]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ListArchivesRequestOrder";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ListArchivesRequestOrder"), exports);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * as archives from "./archives";
|
|
2
|
+
export * from "./archives/types";
|
|
1
3
|
export * as tools from "./tools";
|
|
2
4
|
export * from "./tools/types";
|
|
3
5
|
export * as folders from "./folders";
|
|
@@ -31,6 +33,7 @@ export * as models from "./models";
|
|
|
31
33
|
export * as jobs from "./jobs";
|
|
32
34
|
export * as telemetry from "./telemetry";
|
|
33
35
|
export * as voice from "./voice";
|
|
36
|
+
export * from "./archives/client/requests";
|
|
34
37
|
export * from "./tools/client/requests";
|
|
35
38
|
export * from "./agents/client/requests";
|
|
36
39
|
export * from "./groups/client/requests";
|
|
@@ -36,7 +36,9 @@ 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.voice = exports.telemetry = exports.jobs = exports.models = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.batches = exports.tags = exports.steps = exports.runs = exports.providers = exports.blocks = exports.identities = exports.groups = exports.agents = exports.folders = exports.tools = void 0;
|
|
39
|
+
exports.voice = exports.telemetry = exports.jobs = exports.models = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.batches = exports.tags = exports.steps = exports.runs = exports.providers = exports.blocks = exports.identities = exports.groups = exports.agents = exports.folders = exports.tools = exports.archives = void 0;
|
|
40
|
+
exports.archives = __importStar(require("./archives"));
|
|
41
|
+
__exportStar(require("./archives/types"), exports);
|
|
40
42
|
exports.tools = __importStar(require("./tools"));
|
|
41
43
|
__exportStar(require("./tools/types"), exports);
|
|
42
44
|
exports.folders = __importStar(require("./folders"));
|
|
@@ -70,6 +72,7 @@ exports.models = __importStar(require("./models"));
|
|
|
70
72
|
exports.jobs = __importStar(require("./jobs"));
|
|
71
73
|
exports.telemetry = __importStar(require("./telemetry"));
|
|
72
74
|
exports.voice = __importStar(require("./voice"));
|
|
75
|
+
__exportStar(require("./archives/client/requests"), exports);
|
|
73
76
|
__exportStar(require("./tools/client/requests"), exports);
|
|
74
77
|
__exportStar(require("./agents/client/requests"), exports);
|
|
75
78
|
__exportStar(require("./groups/client/requests"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { VectorDbProvider } from "./VectorDbProvider";
|
|
8
|
+
export declare const Archive: core.serialization.ObjectSchema<serializers.Archive.Raw, Letta.Archive>;
|
|
9
|
+
export declare namespace Archive {
|
|
10
|
+
interface Raw {
|
|
11
|
+
created_by_id?: string | null;
|
|
12
|
+
last_updated_by_id?: string | null;
|
|
13
|
+
created_at: string;
|
|
14
|
+
updated_at?: string | null;
|
|
15
|
+
name: string;
|
|
16
|
+
description?: string | null;
|
|
17
|
+
vector_db_provider?: VectorDbProvider.Raw | null;
|
|
18
|
+
metadata?: Record<string, unknown> | null;
|
|
19
|
+
id?: string | null;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.Archive = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const VectorDbProvider_1 = require("./VectorDbProvider");
|
|
42
|
+
exports.Archive = core.serialization.object({
|
|
43
|
+
createdById: core.serialization.property("created_by_id", core.serialization.string().optional()),
|
|
44
|
+
lastUpdatedById: core.serialization.property("last_updated_by_id", core.serialization.string().optional()),
|
|
45
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
46
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
|
|
47
|
+
name: core.serialization.string(),
|
|
48
|
+
description: core.serialization.string().optional(),
|
|
49
|
+
vectorDbProvider: core.serialization.property("vector_db_provider", VectorDbProvider_1.VectorDbProvider.optional()),
|
|
50
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
51
|
+
id: core.serialization.string().optional(),
|
|
52
|
+
});
|
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Letta from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { JobStatus } from "./JobStatus";
|
|
8
|
+
import { StopReasonType } from "./StopReasonType";
|
|
8
9
|
import { JobType } from "./JobType";
|
|
9
10
|
export declare const BatchJob: core.serialization.ObjectSchema<serializers.BatchJob.Raw, Letta.BatchJob>;
|
|
10
11
|
export declare namespace BatchJob {
|
|
@@ -15,6 +16,7 @@ export declare namespace BatchJob {
|
|
|
15
16
|
updated_at?: string | null;
|
|
16
17
|
status?: JobStatus.Raw | null;
|
|
17
18
|
completed_at?: string | null;
|
|
19
|
+
stop_reason?: StopReasonType.Raw | null;
|
|
18
20
|
metadata?: Record<string, unknown> | null;
|
|
19
21
|
job_type?: JobType.Raw | null;
|
|
20
22
|
callback_url?: string | null;
|
|
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.BatchJob = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const JobStatus_1 = require("./JobStatus");
|
|
42
|
+
const StopReasonType_1 = require("./StopReasonType");
|
|
42
43
|
const JobType_1 = require("./JobType");
|
|
43
44
|
exports.BatchJob = core.serialization.object({
|
|
44
45
|
createdById: core.serialization.property("created_by_id", core.serialization.string().optional()),
|
|
@@ -47,6 +48,7 @@ exports.BatchJob = core.serialization.object({
|
|
|
47
48
|
updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
|
|
48
49
|
status: JobStatus_1.JobStatus.optional(),
|
|
49
50
|
completedAt: core.serialization.property("completed_at", core.serialization.date().optional()),
|
|
51
|
+
stopReason: core.serialization.property("stop_reason", StopReasonType_1.StopReasonType.optional()),
|
|
50
52
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
51
53
|
jobType: core.serialization.property("job_type", JobType_1.JobType.optional()),
|
|
52
54
|
callbackUrl: core.serialization.property("callback_url", core.serialization.string().optional()),
|
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Letta from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { JobStatus } from "./JobStatus";
|
|
8
|
+
import { StopReasonType } from "./StopReasonType";
|
|
8
9
|
import { JobType } from "./JobType";
|
|
9
10
|
export declare const Job: core.serialization.ObjectSchema<serializers.Job.Raw, Letta.Job>;
|
|
10
11
|
export declare namespace Job {
|
|
@@ -15,6 +16,7 @@ export declare namespace Job {
|
|
|
15
16
|
updated_at?: string | null;
|
|
16
17
|
status?: JobStatus.Raw | null;
|
|
17
18
|
completed_at?: string | null;
|
|
19
|
+
stop_reason?: StopReasonType.Raw | null;
|
|
18
20
|
metadata?: Record<string, unknown> | null;
|
|
19
21
|
job_type?: JobType.Raw | null;
|
|
20
22
|
callback_url?: string | null;
|
|
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.Job = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const JobStatus_1 = require("./JobStatus");
|
|
42
|
+
const StopReasonType_1 = require("./StopReasonType");
|
|
42
43
|
const JobType_1 = require("./JobType");
|
|
43
44
|
exports.Job = core.serialization.object({
|
|
44
45
|
createdById: core.serialization.property("created_by_id", core.serialization.string().optional()),
|
|
@@ -47,6 +48,7 @@ exports.Job = core.serialization.object({
|
|
|
47
48
|
updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
|
|
48
49
|
status: JobStatus_1.JobStatus.optional(),
|
|
49
50
|
completedAt: core.serialization.property("completed_at", core.serialization.date().optional()),
|
|
51
|
+
stopReason: core.serialization.property("stop_reason", StopReasonType_1.StopReasonType.optional()),
|
|
50
52
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
51
53
|
jobType: core.serialization.property("job_type", JobType_1.JobType.optional()),
|
|
52
54
|
callbackUrl: core.serialization.property("callback_url", core.serialization.string().optional()),
|
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Letta from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { JobStatus } from "./JobStatus";
|
|
8
|
+
import { StopReasonType } from "./StopReasonType";
|
|
8
9
|
import { JobType } from "./JobType";
|
|
9
10
|
import { LettaRequestConfig } from "./LettaRequestConfig";
|
|
10
11
|
export declare const Run: core.serialization.ObjectSchema<serializers.Run.Raw, Letta.Run>;
|
|
@@ -16,6 +17,7 @@ export declare namespace Run {
|
|
|
16
17
|
updated_at?: string | null;
|
|
17
18
|
status?: JobStatus.Raw | null;
|
|
18
19
|
completed_at?: string | null;
|
|
20
|
+
stop_reason?: StopReasonType.Raw | null;
|
|
19
21
|
metadata?: Record<string, unknown> | null;
|
|
20
22
|
job_type?: JobType.Raw | null;
|
|
21
23
|
callback_url?: string | null;
|
|
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.Run = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const JobStatus_1 = require("./JobStatus");
|
|
42
|
+
const StopReasonType_1 = require("./StopReasonType");
|
|
42
43
|
const JobType_1 = require("./JobType");
|
|
43
44
|
const LettaRequestConfig_1 = require("./LettaRequestConfig");
|
|
44
45
|
exports.Run = core.serialization.object({
|
|
@@ -48,6 +49,7 @@ exports.Run = core.serialization.object({
|
|
|
48
49
|
updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
|
|
49
50
|
status: JobStatus_1.JobStatus.optional(),
|
|
50
51
|
completedAt: core.serialization.property("completed_at", core.serialization.date().optional()),
|
|
52
|
+
stopReason: core.serialization.property("stop_reason", StopReasonType_1.StopReasonType.optional()),
|
|
51
53
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
52
54
|
jobType: core.serialization.property("job_type", JobType_1.JobType.optional()),
|
|
53
55
|
callbackUrl: core.serialization.property("callback_url", core.serialization.string().optional()),
|
|
@@ -21,6 +21,7 @@ export * from "./ApprovalRequestMessage";
|
|
|
21
21
|
export * from "./ApprovalResponseMessage";
|
|
22
22
|
export * from "./ArchivalMemorySearchResponse";
|
|
23
23
|
export * from "./ArchivalMemorySearchResult";
|
|
24
|
+
export * from "./Archive";
|
|
24
25
|
export * from "./AssistantMessageContent";
|
|
25
26
|
export * from "./AssistantMessage";
|
|
26
27
|
export * from "./Audio";
|
|
@@ -37,6 +37,7 @@ __exportStar(require("./ApprovalRequestMessage"), exports);
|
|
|
37
37
|
__exportStar(require("./ApprovalResponseMessage"), exports);
|
|
38
38
|
__exportStar(require("./ArchivalMemorySearchResponse"), exports);
|
|
39
39
|
__exportStar(require("./ArchivalMemorySearchResult"), exports);
|
|
40
|
+
__exportStar(require("./Archive"), exports);
|
|
40
41
|
__exportStar(require("./AssistantMessageContent"), exports);
|
|
41
42
|
__exportStar(require("./AssistantMessage"), exports);
|
|
42
43
|
__exportStar(require("./Audio"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.68657";
|
package/version.js
CHANGED