@letta-ai/letta-client 0.1.53 → 0.1.55
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/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +5 -5
- package/api/resources/agents/resources/passages/client/Client.js +3 -3
- 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/blocks/client/Client.js +6 -6
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +6 -6
- package/api/resources/jobs/client/Client.js +4 -4
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +4 -4
- package/api/resources/runs/client/Client.js +7 -7
- package/api/resources/sources/client/Client.js +6 -6
- 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/tag/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/api/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts +2 -0
- package/api/resources/tools/client/Client.js +11 -11
- package/api/resources/voice/client/Client.d.ts +3 -2
- package/api/resources/voice/client/Client.js +6 -5
- package/api/types/AppAuthSchemeAuthMode.d.ts +5 -1
- package/api/types/AppAuthSchemeAuthMode.js +4 -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/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/passages/client/Client.js +3 -3
- 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/blocks/client/Client.js +6 -6
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +6 -6
- package/dist/api/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +4 -4
- package/dist/api/resources/runs/client/Client.js +7 -7
- package/dist/api/resources/sources/client/Client.js +6 -6
- 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/tag/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts +2 -0
- package/dist/api/resources/tools/client/Client.js +11 -11
- package/dist/api/resources/voice/client/Client.d.ts +3 -2
- package/dist/api/resources/voice/client/Client.js +6 -5
- package/dist/api/types/AppAuthSchemeAuthMode.d.ts +5 -1
- package/dist/api/types/AppAuthSchemeAuthMode.js +4 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts +1 -0
- package/dist/serialization/resources/templates/client/requests/TemplatesCreateAgentsRequest.js +1 -0
- package/dist/serialization/types/AppAuthSchemeAuthMode.d.ts +1 -1
- package/dist/serialization/types/AppAuthSchemeAuthMode.js +13 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +10 -2
- package/serialization/resources/templates/client/requests/TemplatesCreateAgentsRequest.d.ts +1 -0
- package/serialization/resources/templates/client/requests/TemplatesCreateAgentsRequest.js +1 -0
- package/serialization/types/AppAuthSchemeAuthMode.d.ts +1 -1
- package/serialization/types/AppAuthSchemeAuthMode.js +13 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/dist/serialization/resources/templates/client/requests/TemplatesCreateAgentsRequest.js
CHANGED
|
@@ -43,4 +43,5 @@ exports.TemplatesCreateAgentsRequest = core.serialization.object({
|
|
|
43
43
|
agentName: core.serialization.property("agent_name", core.serialization.string().optional()),
|
|
44
44
|
memoryVariables: core.serialization.property("memory_variables", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
45
45
|
toolVariables: core.serialization.property("tool_variables", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
46
|
+
identityIds: core.serialization.property("identity_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
46
47
|
});
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AppAuthSchemeAuthMode: core.serialization.Schema<serializers.AppAuthSchemeAuthMode.Raw, Letta.AppAuthSchemeAuthMode>;
|
|
8
8
|
export declare namespace AppAuthSchemeAuthMode {
|
|
9
|
-
type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT" | "NO_AUTH";
|
|
9
|
+
type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT" | "GOOGLE_SERVICE_ACCOUNT" | "GOOGLEADS_AUTH" | "NO_AUTH" | "COMPOSIO_LINK" | "CALCOM_AUTH";
|
|
10
10
|
}
|
|
@@ -38,4 +38,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.AppAuthSchemeAuthMode = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.AppAuthSchemeAuthMode = core.serialization.enum_([
|
|
41
|
+
exports.AppAuthSchemeAuthMode = core.serialization.enum_([
|
|
42
|
+
"OAUTH2",
|
|
43
|
+
"OAUTH1",
|
|
44
|
+
"API_KEY",
|
|
45
|
+
"BASIC",
|
|
46
|
+
"BEARER_TOKEN",
|
|
47
|
+
"BASIC_WITH_JWT",
|
|
48
|
+
"GOOGLE_SERVICE_ACCOUNT",
|
|
49
|
+
"GOOGLEADS_AUTH",
|
|
50
|
+
"NO_AUTH",
|
|
51
|
+
"COMPOSIO_LINK",
|
|
52
|
+
"CALCOM_AUTH",
|
|
53
|
+
]);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.55";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -3706,7 +3706,7 @@ await client.tag.listTags();
|
|
|
3706
3706
|
|
|
3707
3707
|
## Voice
|
|
3708
3708
|
|
|
3709
|
-
<details><summary><code>client.voice.<a href="/src/api/resources/voice/client/Client.ts">createVoiceChatCompletions</a>({ ...params }) -> unknown</code></summary>
|
|
3709
|
+
<details><summary><code>client.voice.<a href="/src/api/resources/voice/client/Client.ts">createVoiceChatCompletions</a>(agentId, { ...params }) -> unknown</code></summary>
|
|
3710
3710
|
<dl>
|
|
3711
3711
|
<dd>
|
|
3712
3712
|
|
|
@@ -3719,7 +3719,7 @@ await client.tag.listTags();
|
|
|
3719
3719
|
<dd>
|
|
3720
3720
|
|
|
3721
3721
|
```typescript
|
|
3722
|
-
await client.voice.createVoiceChatCompletions({
|
|
3722
|
+
await client.voice.createVoiceChatCompletions("agent_id", {
|
|
3723
3723
|
messages: [
|
|
3724
3724
|
{
|
|
3725
3725
|
content: "content",
|
|
@@ -3743,6 +3743,14 @@ await client.voice.createVoiceChatCompletions({
|
|
|
3743
3743
|
<dl>
|
|
3744
3744
|
<dd>
|
|
3745
3745
|
|
|
3746
|
+
**agentId:** `string`
|
|
3747
|
+
|
|
3748
|
+
</dd>
|
|
3749
|
+
</dl>
|
|
3750
|
+
|
|
3751
|
+
<dl>
|
|
3752
|
+
<dd>
|
|
3753
|
+
|
|
3746
3754
|
**request:** `Letta.CreateVoiceChatCompletionsRequest`
|
|
3747
3755
|
|
|
3748
3756
|
</dd>
|
|
@@ -43,4 +43,5 @@ exports.TemplatesCreateAgentsRequest = core.serialization.object({
|
|
|
43
43
|
agentName: core.serialization.property("agent_name", core.serialization.string().optional()),
|
|
44
44
|
memoryVariables: core.serialization.property("memory_variables", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
45
45
|
toolVariables: core.serialization.property("tool_variables", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
46
|
+
identityIds: core.serialization.property("identity_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
46
47
|
});
|
|
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AppAuthSchemeAuthMode: core.serialization.Schema<serializers.AppAuthSchemeAuthMode.Raw, Letta.AppAuthSchemeAuthMode>;
|
|
8
8
|
export declare namespace AppAuthSchemeAuthMode {
|
|
9
|
-
type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT" | "NO_AUTH";
|
|
9
|
+
type Raw = "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BASIC_WITH_JWT" | "GOOGLE_SERVICE_ACCOUNT" | "GOOGLEADS_AUTH" | "NO_AUTH" | "COMPOSIO_LINK" | "CALCOM_AUTH";
|
|
10
10
|
}
|
|
@@ -38,4 +38,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.AppAuthSchemeAuthMode = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.AppAuthSchemeAuthMode = core.serialization.enum_([
|
|
41
|
+
exports.AppAuthSchemeAuthMode = core.serialization.enum_([
|
|
42
|
+
"OAUTH2",
|
|
43
|
+
"OAUTH1",
|
|
44
|
+
"API_KEY",
|
|
45
|
+
"BASIC",
|
|
46
|
+
"BEARER_TOKEN",
|
|
47
|
+
"BASIC_WITH_JWT",
|
|
48
|
+
"GOOGLE_SERVICE_ACCOUNT",
|
|
49
|
+
"GOOGLEADS_AUTH",
|
|
50
|
+
"NO_AUTH",
|
|
51
|
+
"COMPOSIO_LINK",
|
|
52
|
+
"CALCOM_AUTH",
|
|
53
|
+
]);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.55";
|
package/version.js
CHANGED