@letta-ai/letta-client 0.1.117 → 0.1.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/api/resources/agents/client/Client.js +9 -9
  2. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  3. package/api/resources/agents/resources/context/client/Client.js +1 -1
  4. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  5. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  6. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  7. package/api/resources/agents/resources/messages/client/Client.js +6 -6
  8. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  9. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  10. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  11. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  12. package/api/resources/batches/client/Client.js +4 -4
  13. package/api/resources/blocks/client/Client.js +6 -6
  14. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  15. package/api/resources/clientSideAccessTokens/client/Client.js +2 -2
  16. package/api/resources/embeddingModels/client/Client.d.ts +2 -0
  17. package/api/resources/embeddingModels/client/Client.js +19 -5
  18. package/api/resources/groups/client/Client.js +6 -6
  19. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  20. package/api/resources/health/client/Client.js +1 -1
  21. package/api/resources/identities/client/Client.js +7 -7
  22. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  23. package/api/resources/jobs/client/Client.js +4 -4
  24. package/api/resources/messages/client/Client.js +1 -1
  25. package/api/resources/models/client/Client.js +14 -6
  26. package/api/resources/models/client/requests/ModelsListRequest.d.ts +4 -2
  27. package/api/resources/projects/client/Client.js +1 -1
  28. package/api/resources/providers/client/Client.d.ts +13 -0
  29. package/api/resources/providers/client/Client.js +68 -4
  30. package/api/resources/providers/client/requests/ProvidersCheckRequest.d.ts +15 -0
  31. package/api/resources/providers/client/requests/ProvidersCheckRequest.js +5 -0
  32. package/api/resources/providers/client/requests/index.d.ts +1 -0
  33. package/api/resources/runs/client/Client.js +4 -4
  34. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  35. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  36. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  37. package/api/resources/sources/client/Client.js +7 -7
  38. package/api/resources/sources/resources/files/client/Client.js +3 -3
  39. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  40. package/api/resources/steps/client/Client.js +2 -2
  41. package/api/resources/tags/client/Client.js +1 -1
  42. package/api/resources/templates/client/Client.js +1 -1
  43. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  44. package/api/resources/tools/client/Client.js +17 -17
  45. package/api/resources/voice/client/Client.js +1 -1
  46. package/api/types/LlmConfig.d.ts +2 -0
  47. package/api/types/Provider.d.ts +2 -0
  48. package/api/types/ProviderCategory.d.ts +8 -0
  49. package/api/types/ProviderCategory.js +10 -0
  50. package/api/types/ProviderType.d.ts +2 -2
  51. package/api/types/ProviderType.js +1 -1
  52. package/api/types/index.d.ts +1 -0
  53. package/api/types/index.js +1 -0
  54. package/dist/api/resources/agents/client/Client.js +9 -9
  55. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  56. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  57. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  58. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  59. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  60. package/dist/api/resources/agents/resources/messages/client/Client.js +6 -6
  61. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  62. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  63. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  64. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  65. package/dist/api/resources/batches/client/Client.js +4 -4
  66. package/dist/api/resources/blocks/client/Client.js +6 -6
  67. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  68. package/dist/api/resources/clientSideAccessTokens/client/Client.js +2 -2
  69. package/dist/api/resources/embeddingModels/client/Client.d.ts +2 -0
  70. package/dist/api/resources/embeddingModels/client/Client.js +19 -5
  71. package/dist/api/resources/groups/client/Client.js +6 -6
  72. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  73. package/dist/api/resources/health/client/Client.js +1 -1
  74. package/dist/api/resources/identities/client/Client.js +7 -7
  75. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  76. package/dist/api/resources/jobs/client/Client.js +4 -4
  77. package/dist/api/resources/messages/client/Client.js +1 -1
  78. package/dist/api/resources/models/client/Client.js +14 -6
  79. package/dist/api/resources/models/client/requests/ModelsListRequest.d.ts +4 -2
  80. package/dist/api/resources/projects/client/Client.js +1 -1
  81. package/dist/api/resources/providers/client/Client.d.ts +13 -0
  82. package/dist/api/resources/providers/client/Client.js +68 -4
  83. package/dist/api/resources/providers/client/requests/ProvidersCheckRequest.d.ts +15 -0
  84. package/dist/api/resources/providers/client/requests/ProvidersCheckRequest.js +5 -0
  85. package/dist/api/resources/providers/client/requests/index.d.ts +1 -0
  86. package/dist/api/resources/runs/client/Client.js +4 -4
  87. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  88. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  89. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  90. package/dist/api/resources/sources/client/Client.js +7 -7
  91. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  92. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  93. package/dist/api/resources/steps/client/Client.js +2 -2
  94. package/dist/api/resources/tags/client/Client.js +1 -1
  95. package/dist/api/resources/templates/client/Client.js +1 -1
  96. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  97. package/dist/api/resources/tools/client/Client.js +17 -17
  98. package/dist/api/resources/voice/client/Client.js +1 -1
  99. package/dist/api/types/LlmConfig.d.ts +2 -0
  100. package/dist/api/types/Provider.d.ts +2 -0
  101. package/dist/api/types/ProviderCategory.d.ts +8 -0
  102. package/dist/api/types/ProviderCategory.js +10 -0
  103. package/dist/api/types/ProviderType.d.ts +2 -2
  104. package/dist/api/types/ProviderType.js +1 -1
  105. package/dist/api/types/index.d.ts +1 -0
  106. package/dist/api/types/index.js +1 -0
  107. package/dist/serialization/types/LlmConfig.d.ts +2 -0
  108. package/dist/serialization/types/LlmConfig.js +2 -0
  109. package/dist/serialization/types/Provider.d.ts +2 -0
  110. package/dist/serialization/types/Provider.js +2 -0
  111. package/dist/serialization/types/ProviderCategory.d.ts +10 -0
  112. package/dist/serialization/types/ProviderCategory.js +41 -0
  113. package/dist/serialization/types/ProviderType.d.ts +1 -1
  114. package/dist/serialization/types/ProviderType.js +1 -1
  115. package/dist/serialization/types/index.d.ts +1 -0
  116. package/dist/serialization/types/index.js +1 -0
  117. package/dist/version.d.ts +1 -1
  118. package/dist/version.js +1 -1
  119. package/package.json +1 -1
  120. package/reference.md +51 -0
  121. package/serialization/types/LlmConfig.d.ts +2 -0
  122. package/serialization/types/LlmConfig.js +2 -0
  123. package/serialization/types/Provider.d.ts +2 -0
  124. package/serialization/types/Provider.js +2 -0
  125. package/serialization/types/ProviderCategory.d.ts +10 -0
  126. package/serialization/types/ProviderCategory.js +41 -0
  127. package/serialization/types/ProviderType.d.ts +1 -1
  128. package/serialization/types/ProviderType.js +1 -1
  129. package/serialization/types/index.d.ts +1 -0
  130. package/serialization/types/index.js +1 -0
  131. package/version.d.ts +1 -1
  132. package/version.js +1 -1
@@ -39,12 +39,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.LlmConfig = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const LlmConfigModelEndpointType_1 = require("./LlmConfigModelEndpointType");
42
+ const ProviderCategory_1 = require("./ProviderCategory");
42
43
  const LlmConfigReasoningEffort_1 = require("./LlmConfigReasoningEffort");
43
44
  exports.LlmConfig = core.serialization.object({
44
45
  model: core.serialization.string(),
45
46
  modelEndpointType: core.serialization.property("model_endpoint_type", LlmConfigModelEndpointType_1.LlmConfigModelEndpointType),
46
47
  modelEndpoint: core.serialization.property("model_endpoint", core.serialization.string().optional()),
47
48
  providerName: core.serialization.property("provider_name", core.serialization.string().optional()),
49
+ providerCategory: core.serialization.property("provider_category", ProviderCategory_1.ProviderCategory.optional()),
48
50
  modelWrapper: core.serialization.property("model_wrapper", core.serialization.string().optional()),
49
51
  contextWindow: core.serialization.property("context_window", core.serialization.number()),
50
52
  putInnerThoughtsInKwargs: core.serialization.property("put_inner_thoughts_in_kwargs", core.serialization.boolean().optional()),
@@ -5,12 +5,14 @@ import * as serializers from "../index";
5
5
  import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { ProviderType } from "./ProviderType";
8
+ import { ProviderCategory } from "./ProviderCategory";
8
9
  export declare const Provider: core.serialization.ObjectSchema<serializers.Provider.Raw, Letta.Provider>;
9
10
  export declare namespace Provider {
10
11
  interface Raw {
11
12
  id?: string | null;
12
13
  name: string;
13
14
  provider_type: ProviderType.Raw;
15
+ provider_category: ProviderCategory.Raw;
14
16
  api_key?: string | null;
15
17
  base_url?: string | null;
16
18
  updated_at?: string | null;
@@ -39,10 +39,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.Provider = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const ProviderType_1 = require("./ProviderType");
42
+ const ProviderCategory_1 = require("./ProviderCategory");
42
43
  exports.Provider = core.serialization.object({
43
44
  id: core.serialization.string().optional(),
44
45
  name: core.serialization.string(),
45
46
  providerType: core.serialization.property("provider_type", ProviderType_1.ProviderType),
47
+ providerCategory: core.serialization.property("provider_category", ProviderCategory_1.ProviderCategory),
46
48
  apiKey: core.serialization.property("api_key", core.serialization.string().optional()),
47
49
  baseUrl: core.serialization.property("base_url", core.serialization.string().optional()),
48
50
  updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
@@ -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 ProviderCategory: core.serialization.Schema<serializers.ProviderCategory.Raw, Letta.ProviderCategory>;
8
+ export declare namespace ProviderCategory {
9
+ type Raw = "base" | "byok";
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.ProviderCategory = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.ProviderCategory = core.serialization.enum_(["base", "byok"]);
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const ProviderType: core.serialization.Schema<serializers.ProviderType.Raw, Letta.ProviderType>;
8
8
  export declare namespace ProviderType {
9
- type Raw = "anthropic" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm" | "bedrock";
9
+ type Raw = "anthropic" | "bedrock" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm";
10
10
  }
@@ -40,6 +40,7 @@ exports.ProviderType = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.ProviderType = core.serialization.enum_([
42
42
  "anthropic",
43
+ "bedrock",
43
44
  "google_ai",
44
45
  "google_vertex",
45
46
  "openai",
@@ -53,5 +54,4 @@ exports.ProviderType = core.serialization.enum_([
53
54
  "together",
54
55
  "azure",
55
56
  "vllm",
56
- "bedrock",
57
57
  ]);
@@ -151,6 +151,7 @@ export * from "./ParentToolRule";
151
151
  export * from "./Passage";
152
152
  export * from "./PipRequirement";
153
153
  export * from "./Provider";
154
+ export * from "./ProviderCategory";
154
155
  export * from "./ProviderType";
155
156
  export * from "./ReasoningContent";
156
157
  export * from "./ReasoningMessageSource";
@@ -167,6 +167,7 @@ __exportStar(require("./ParentToolRule"), exports);
167
167
  __exportStar(require("./Passage"), exports);
168
168
  __exportStar(require("./PipRequirement"), exports);
169
169
  __exportStar(require("./Provider"), exports);
170
+ __exportStar(require("./ProviderCategory"), exports);
170
171
  __exportStar(require("./ProviderType"), exports);
171
172
  __exportStar(require("./ReasoningContent"), exports);
172
173
  __exportStar(require("./ReasoningMessageSource"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.117";
1
+ export declare const SDK_VERSION = "0.1.119";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.1.117";
4
+ exports.SDK_VERSION = "0.1.119";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-client",
3
- "version": "0.1.117",
3
+ "version": "0.1.119",
4
4
  "private": false,
5
5
  "repository": "https://github.com/letta-ai/letta-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -3843,6 +3843,57 @@ await client.providers.modify("provider_id", {
3843
3843
  </dl>
3844
3844
  </details>
3845
3845
 
3846
+ <details><summary><code>client.providers.<a href="/src/api/resources/providers/client/Client.ts">check</a>({ ...params }) -> unknown</code></summary>
3847
+ <dl>
3848
+ <dd>
3849
+
3850
+ #### 🔌 Usage
3851
+
3852
+ <dl>
3853
+ <dd>
3854
+
3855
+ <dl>
3856
+ <dd>
3857
+
3858
+ ```typescript
3859
+ await client.providers.check({
3860
+ apiKey: "x-api-key",
3861
+ providerType: "anthropic",
3862
+ });
3863
+ ```
3864
+
3865
+ </dd>
3866
+ </dl>
3867
+ </dd>
3868
+ </dl>
3869
+
3870
+ #### ⚙️ Parameters
3871
+
3872
+ <dl>
3873
+ <dd>
3874
+
3875
+ <dl>
3876
+ <dd>
3877
+
3878
+ **request:** `Letta.ProvidersCheckRequest`
3879
+
3880
+ </dd>
3881
+ </dl>
3882
+
3883
+ <dl>
3884
+ <dd>
3885
+
3886
+ **requestOptions:** `Providers.RequestOptions`
3887
+
3888
+ </dd>
3889
+ </dl>
3890
+ </dd>
3891
+ </dl>
3892
+
3893
+ </dd>
3894
+ </dl>
3895
+ </details>
3896
+
3846
3897
  ## Runs
3847
3898
 
3848
3899
  <details><summary><code>client.runs.<a href="/src/api/resources/runs/client/Client.ts">list</a>({ ...params }) -> Letta.Run[]</code></summary>
@@ -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 { LlmConfigModelEndpointType } from "./LlmConfigModelEndpointType";
8
+ import { ProviderCategory } from "./ProviderCategory";
8
9
  import { LlmConfigReasoningEffort } from "./LlmConfigReasoningEffort";
9
10
  export declare const LlmConfig: core.serialization.ObjectSchema<serializers.LlmConfig.Raw, Letta.LlmConfig>;
10
11
  export declare namespace LlmConfig {
@@ -13,6 +14,7 @@ export declare namespace LlmConfig {
13
14
  model_endpoint_type: LlmConfigModelEndpointType.Raw;
14
15
  model_endpoint?: string | null;
15
16
  provider_name?: string | null;
17
+ provider_category?: ProviderCategory.Raw | null;
16
18
  model_wrapper?: string | null;
17
19
  context_window: number;
18
20
  put_inner_thoughts_in_kwargs?: boolean | null;
@@ -39,12 +39,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.LlmConfig = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const LlmConfigModelEndpointType_1 = require("./LlmConfigModelEndpointType");
42
+ const ProviderCategory_1 = require("./ProviderCategory");
42
43
  const LlmConfigReasoningEffort_1 = require("./LlmConfigReasoningEffort");
43
44
  exports.LlmConfig = core.serialization.object({
44
45
  model: core.serialization.string(),
45
46
  modelEndpointType: core.serialization.property("model_endpoint_type", LlmConfigModelEndpointType_1.LlmConfigModelEndpointType),
46
47
  modelEndpoint: core.serialization.property("model_endpoint", core.serialization.string().optional()),
47
48
  providerName: core.serialization.property("provider_name", core.serialization.string().optional()),
49
+ providerCategory: core.serialization.property("provider_category", ProviderCategory_1.ProviderCategory.optional()),
48
50
  modelWrapper: core.serialization.property("model_wrapper", core.serialization.string().optional()),
49
51
  contextWindow: core.serialization.property("context_window", core.serialization.number()),
50
52
  putInnerThoughtsInKwargs: core.serialization.property("put_inner_thoughts_in_kwargs", core.serialization.boolean().optional()),
@@ -5,12 +5,14 @@ import * as serializers from "../index";
5
5
  import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { ProviderType } from "./ProviderType";
8
+ import { ProviderCategory } from "./ProviderCategory";
8
9
  export declare const Provider: core.serialization.ObjectSchema<serializers.Provider.Raw, Letta.Provider>;
9
10
  export declare namespace Provider {
10
11
  interface Raw {
11
12
  id?: string | null;
12
13
  name: string;
13
14
  provider_type: ProviderType.Raw;
15
+ provider_category: ProviderCategory.Raw;
14
16
  api_key?: string | null;
15
17
  base_url?: string | null;
16
18
  updated_at?: string | null;
@@ -39,10 +39,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.Provider = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const ProviderType_1 = require("./ProviderType");
42
+ const ProviderCategory_1 = require("./ProviderCategory");
42
43
  exports.Provider = core.serialization.object({
43
44
  id: core.serialization.string().optional(),
44
45
  name: core.serialization.string(),
45
46
  providerType: core.serialization.property("provider_type", ProviderType_1.ProviderType),
47
+ providerCategory: core.serialization.property("provider_category", ProviderCategory_1.ProviderCategory),
46
48
  apiKey: core.serialization.property("api_key", core.serialization.string().optional()),
47
49
  baseUrl: core.serialization.property("base_url", core.serialization.string().optional()),
48
50
  updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
@@ -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 ProviderCategory: core.serialization.Schema<serializers.ProviderCategory.Raw, Letta.ProviderCategory>;
8
+ export declare namespace ProviderCategory {
9
+ type Raw = "base" | "byok";
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.ProviderCategory = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.ProviderCategory = core.serialization.enum_(["base", "byok"]);
@@ -6,5 +6,5 @@ import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const ProviderType: core.serialization.Schema<serializers.ProviderType.Raw, Letta.ProviderType>;
8
8
  export declare namespace ProviderType {
9
- type Raw = "anthropic" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm" | "bedrock";
9
+ type Raw = "anthropic" | "bedrock" | "google_ai" | "google_vertex" | "openai" | "letta" | "deepseek" | "lmstudio_openai" | "xai" | "mistral" | "ollama" | "groq" | "together" | "azure" | "vllm";
10
10
  }
@@ -40,6 +40,7 @@ exports.ProviderType = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.ProviderType = core.serialization.enum_([
42
42
  "anthropic",
43
+ "bedrock",
43
44
  "google_ai",
44
45
  "google_vertex",
45
46
  "openai",
@@ -53,5 +54,4 @@ exports.ProviderType = core.serialization.enum_([
53
54
  "together",
54
55
  "azure",
55
56
  "vllm",
56
- "bedrock",
57
57
  ]);
@@ -151,6 +151,7 @@ export * from "./ParentToolRule";
151
151
  export * from "./Passage";
152
152
  export * from "./PipRequirement";
153
153
  export * from "./Provider";
154
+ export * from "./ProviderCategory";
154
155
  export * from "./ProviderType";
155
156
  export * from "./ReasoningContent";
156
157
  export * from "./ReasoningMessageSource";
@@ -167,6 +167,7 @@ __exportStar(require("./ParentToolRule"), exports);
167
167
  __exportStar(require("./Passage"), exports);
168
168
  __exportStar(require("./PipRequirement"), exports);
169
169
  __exportStar(require("./Provider"), exports);
170
+ __exportStar(require("./ProviderCategory"), exports);
170
171
  __exportStar(require("./ProviderType"), exports);
171
172
  __exportStar(require("./ReasoningContent"), exports);
172
173
  __exportStar(require("./ReasoningMessageSource"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.117";
1
+ export declare const SDK_VERSION = "0.1.119";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.1.117";
4
+ exports.SDK_VERSION = "0.1.119";