@letta-ai/letta-client 0.1.148 → 0.1.149

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 (168) hide show
  1. package/api/resources/agents/client/Client.d.ts +0 -15
  2. package/api/resources/agents/client/Client.js +11 -86
  3. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  4. package/api/resources/agents/resources/context/client/Client.js +1 -1
  5. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  6. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  7. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  8. package/api/resources/agents/resources/messages/client/Client.d.ts +15 -0
  9. package/api/resources/agents/resources/messages/client/Client.js +81 -6
  10. package/api/resources/agents/resources/passages/client/Client.js +4 -4
  11. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  12. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  13. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  14. package/api/resources/batches/client/Client.js +4 -4
  15. package/api/resources/blocks/client/Client.js +6 -6
  16. package/api/resources/blocks/resources/agents/client/Client.d.ts +2 -1
  17. package/api/resources/blocks/resources/agents/client/Client.js +15 -3
  18. package/api/resources/blocks/resources/agents/client/index.d.ts +1 -1
  19. package/api/resources/blocks/resources/agents/client/index.js +15 -0
  20. package/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +13 -0
  21. package/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.js +5 -0
  22. package/api/resources/blocks/resources/agents/client/requests/index.d.ts +1 -0
  23. package/api/resources/blocks/resources/agents/client/requests/index.js +2 -0
  24. package/api/resources/blocks/resources/index.d.ts +1 -0
  25. package/api/resources/blocks/resources/index.js +4 -0
  26. package/api/resources/clientSideAccessTokens/client/Client.js +2 -2
  27. package/api/resources/embeddingModels/client/Client.js +1 -1
  28. package/api/resources/groups/client/Client.js +6 -6
  29. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  30. package/api/resources/health/client/Client.js +1 -1
  31. package/api/resources/identities/client/Client.js +7 -7
  32. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  33. package/api/resources/jobs/client/Client.js +5 -5
  34. package/api/resources/messages/client/Client.js +1 -1
  35. package/api/resources/models/client/Client.js +1 -1
  36. package/api/resources/projects/client/Client.js +1 -1
  37. package/api/resources/providers/client/Client.js +5 -5
  38. package/api/resources/runs/client/Client.js +4 -4
  39. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  40. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  41. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  42. package/api/resources/sources/client/Client.d.ts +17 -0
  43. package/api/resources/sources/client/Client.js +80 -8
  44. package/api/resources/sources/resources/files/client/Client.js +3 -3
  45. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  46. package/api/resources/steps/client/Client.js +2 -2
  47. package/api/resources/steps/resources/feedback/client/Client.js +1 -1
  48. package/api/resources/tags/client/Client.js +1 -1
  49. package/api/resources/telemetry/client/Client.js +1 -1
  50. package/api/resources/templates/client/Client.js +1 -1
  51. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  52. package/api/resources/tools/client/Client.js +19 -19
  53. package/api/resources/voice/client/Client.js +1 -1
  54. package/api/types/FileMetadata.d.ts +4 -0
  55. package/api/types/FileStats.d.ts +14 -0
  56. package/api/types/FileStats.js +5 -0
  57. package/api/types/LlmConfig.d.ts +2 -0
  58. package/api/types/OrganizationSourcesStats.d.ts +17 -0
  59. package/api/types/OrganizationSourcesStats.js +5 -0
  60. package/api/types/SourceStats.d.ts +19 -0
  61. package/api/types/SourceStats.js +5 -0
  62. package/api/types/index.d.ts +3 -0
  63. package/api/types/index.js +3 -0
  64. package/dist/api/resources/agents/client/Client.d.ts +0 -15
  65. package/dist/api/resources/agents/client/Client.js +11 -86
  66. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  67. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  68. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  69. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  70. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  71. package/dist/api/resources/agents/resources/messages/client/Client.d.ts +15 -0
  72. package/dist/api/resources/agents/resources/messages/client/Client.js +81 -6
  73. package/dist/api/resources/agents/resources/passages/client/Client.js +4 -4
  74. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  75. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  76. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  77. package/dist/api/resources/batches/client/Client.js +4 -4
  78. package/dist/api/resources/blocks/client/Client.js +6 -6
  79. package/dist/api/resources/blocks/resources/agents/client/Client.d.ts +2 -1
  80. package/dist/api/resources/blocks/resources/agents/client/Client.js +15 -3
  81. package/dist/api/resources/blocks/resources/agents/client/index.d.ts +1 -1
  82. package/dist/api/resources/blocks/resources/agents/client/index.js +15 -0
  83. package/dist/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.d.ts +13 -0
  84. package/dist/api/resources/blocks/resources/agents/client/requests/AgentsListRequest.js +5 -0
  85. package/dist/api/resources/blocks/resources/agents/client/requests/index.d.ts +1 -0
  86. package/dist/api/resources/blocks/resources/agents/client/requests/index.js +2 -0
  87. package/dist/api/resources/blocks/resources/index.d.ts +1 -0
  88. package/dist/api/resources/blocks/resources/index.js +4 -0
  89. package/dist/api/resources/clientSideAccessTokens/client/Client.js +2 -2
  90. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  91. package/dist/api/resources/groups/client/Client.js +6 -6
  92. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  93. package/dist/api/resources/health/client/Client.js +1 -1
  94. package/dist/api/resources/identities/client/Client.js +7 -7
  95. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  96. package/dist/api/resources/jobs/client/Client.js +5 -5
  97. package/dist/api/resources/messages/client/Client.js +1 -1
  98. package/dist/api/resources/models/client/Client.js +1 -1
  99. package/dist/api/resources/projects/client/Client.js +1 -1
  100. package/dist/api/resources/providers/client/Client.js +5 -5
  101. package/dist/api/resources/runs/client/Client.js +4 -4
  102. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  103. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  104. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  105. package/dist/api/resources/sources/client/Client.d.ts +17 -0
  106. package/dist/api/resources/sources/client/Client.js +80 -8
  107. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  108. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  109. package/dist/api/resources/steps/client/Client.js +2 -2
  110. package/dist/api/resources/steps/resources/feedback/client/Client.js +1 -1
  111. package/dist/api/resources/tags/client/Client.js +1 -1
  112. package/dist/api/resources/telemetry/client/Client.js +1 -1
  113. package/dist/api/resources/templates/client/Client.js +1 -1
  114. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  115. package/dist/api/resources/tools/client/Client.js +19 -19
  116. package/dist/api/resources/voice/client/Client.js +1 -1
  117. package/dist/api/types/FileMetadata.d.ts +4 -0
  118. package/dist/api/types/FileStats.d.ts +14 -0
  119. package/dist/api/types/FileStats.js +5 -0
  120. package/dist/api/types/LlmConfig.d.ts +2 -0
  121. package/dist/api/types/OrganizationSourcesStats.d.ts +17 -0
  122. package/dist/api/types/OrganizationSourcesStats.js +5 -0
  123. package/dist/api/types/SourceStats.d.ts +19 -0
  124. package/dist/api/types/SourceStats.js +5 -0
  125. package/dist/api/types/index.d.ts +3 -0
  126. package/dist/api/types/index.js +3 -0
  127. package/dist/serialization/resources/agents/client/index.d.ts +0 -1
  128. package/dist/serialization/resources/agents/client/index.js +1 -2
  129. package/dist/serialization/resources/agents/{client/cancelAgentRun.d.ts → resources/messages/client/cancel.d.ts} +4 -4
  130. package/dist/serialization/resources/agents/{client/cancelAgentRun.js → resources/messages/client/cancel.js} +1 -1
  131. package/dist/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
  132. package/dist/serialization/resources/agents/resources/messages/client/index.js +2 -1
  133. package/dist/serialization/types/FileMetadata.d.ts +2 -0
  134. package/dist/serialization/types/FileMetadata.js +2 -0
  135. package/dist/serialization/types/FileStats.d.ts +14 -0
  136. package/dist/serialization/types/FileStats.js +45 -0
  137. package/dist/serialization/types/LlmConfig.d.ts +1 -0
  138. package/dist/serialization/types/LlmConfig.js +1 -0
  139. package/dist/serialization/types/OrganizationSourcesStats.d.ts +16 -0
  140. package/dist/serialization/types/OrganizationSourcesStats.js +47 -0
  141. package/dist/serialization/types/SourceStats.d.ts +17 -0
  142. package/dist/serialization/types/SourceStats.js +48 -0
  143. package/dist/serialization/types/index.d.ts +3 -0
  144. package/dist/serialization/types/index.js +3 -0
  145. package/dist/version.d.ts +1 -1
  146. package/dist/version.js +1 -1
  147. package/package.json +1 -1
  148. package/reference.md +143 -74
  149. package/serialization/resources/agents/client/index.d.ts +0 -1
  150. package/serialization/resources/agents/client/index.js +1 -2
  151. package/serialization/resources/agents/{client/cancelAgentRun.d.ts → resources/messages/client/cancel.d.ts} +4 -4
  152. package/serialization/resources/agents/{client/cancelAgentRun.js → resources/messages/client/cancel.js} +1 -1
  153. package/serialization/resources/agents/resources/messages/client/index.d.ts +1 -0
  154. package/serialization/resources/agents/resources/messages/client/index.js +2 -1
  155. package/serialization/types/FileMetadata.d.ts +2 -0
  156. package/serialization/types/FileMetadata.js +2 -0
  157. package/serialization/types/FileStats.d.ts +14 -0
  158. package/serialization/types/FileStats.js +45 -0
  159. package/serialization/types/LlmConfig.d.ts +1 -0
  160. package/serialization/types/LlmConfig.js +1 -0
  161. package/serialization/types/OrganizationSourcesStats.d.ts +16 -0
  162. package/serialization/types/OrganizationSourcesStats.js +47 -0
  163. package/serialization/types/SourceStats.d.ts +17 -0
  164. package/serialization/types/SourceStats.js +48 -0
  165. package/serialization/types/index.d.ts +3 -0
  166. package/serialization/types/index.js +3 -0
  167. package/version.d.ts +1 -1
  168. package/version.js +1 -1
@@ -36,10 +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.cancelAgentRun = exports.closeAllOpenFiles = exports.exportFile = exports.count = exports.list = void 0;
39
+ exports.closeAllOpenFiles = exports.exportFile = exports.count = exports.list = void 0;
40
40
  exports.list = __importStar(require("./list"));
41
41
  exports.count = __importStar(require("./count"));
42
42
  exports.exportFile = __importStar(require("./exportFile"));
43
43
  exports.closeAllOpenFiles = __importStar(require("./closeAllOpenFiles"));
44
- exports.cancelAgentRun = __importStar(require("./cancelAgentRun"));
45
44
  __exportStar(require("./requests"), exports);
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../../index";
5
- import * as core from "../../../../core";
6
- export declare const Request: core.serialization.Schema<serializers.agents.cancelAgentRun.Request.Raw, string[] | undefined>;
4
+ import * as serializers from "../../../../../index";
5
+ import * as core from "../../../../../../core";
6
+ export declare const Request: core.serialization.Schema<serializers.agents.messages.cancel.Request.Raw, string[] | undefined>;
7
7
  export declare namespace Request {
8
8
  type Raw = string[] | null | undefined;
9
9
  }
10
- export declare const Response: core.serialization.Schema<serializers.agents.cancelAgentRun.Response.Raw, Record<string, unknown>>;
10
+ export declare const Response: core.serialization.Schema<serializers.agents.messages.cancel.Response.Raw, Record<string, unknown>>;
11
11
  export declare namespace Response {
12
12
  type Raw = Record<string, unknown>;
13
13
  }
@@ -37,6 +37,6 @@ var __importStar = (this && this.__importStar) || (function () {
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.Response = exports.Request = void 0;
40
- const core = __importStar(require("../../../../core"));
40
+ const core = __importStar(require("../../../../../../core"));
41
41
  exports.Request = core.serialization.list(core.serialization.string()).optional();
42
42
  exports.Response = core.serialization.record(core.serialization.string(), core.serialization.unknown());
@@ -1,2 +1,3 @@
1
1
  export * as list from "./list";
2
+ export * as cancel from "./cancel";
2
3
  export * from "./requests";
@@ -36,6 +36,7 @@ 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.list = void 0;
39
+ exports.cancel = exports.list = void 0;
40
40
  exports.list = __importStar(require("./list"));
41
+ exports.cancel = __importStar(require("./cancel"));
41
42
  __exportStar(require("./requests"), exports);
@@ -19,6 +19,8 @@ export declare namespace FileMetadata {
19
19
  file_last_modified_date?: string | null;
20
20
  processing_status?: FileProcessingStatus.Raw | null;
21
21
  error_message?: string | null;
22
+ total_chunks?: number | null;
23
+ chunks_embedded?: number | null;
22
24
  created_at?: string | null;
23
25
  updated_at?: string | null;
24
26
  is_deleted?: boolean | null;
@@ -51,6 +51,8 @@ exports.FileMetadata = core.serialization.object({
51
51
  fileLastModifiedDate: core.serialization.property("file_last_modified_date", core.serialization.string().optional()),
52
52
  processingStatus: core.serialization.property("processing_status", FileProcessingStatus_1.FileProcessingStatus.optional()),
53
53
  errorMessage: core.serialization.property("error_message", core.serialization.string().optional()),
54
+ totalChunks: core.serialization.property("total_chunks", core.serialization.number().optional()),
55
+ chunksEmbedded: core.serialization.property("chunks_embedded", core.serialization.number().optional()),
54
56
  createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
55
57
  updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
56
58
  isDeleted: core.serialization.property("is_deleted", core.serialization.boolean().optional()),
@@ -0,0 +1,14 @@
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 FileStats: core.serialization.ObjectSchema<serializers.FileStats.Raw, Letta.FileStats>;
8
+ export declare namespace FileStats {
9
+ interface Raw {
10
+ file_id: string;
11
+ file_name: string;
12
+ file_size?: number | null;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
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.FileStats = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.FileStats = core.serialization.object({
42
+ fileId: core.serialization.property("file_id", core.serialization.string()),
43
+ fileName: core.serialization.property("file_name", core.serialization.string()),
44
+ fileSize: core.serialization.property("file_size", core.serialization.number().optional()),
45
+ });
@@ -24,5 +24,6 @@ export declare namespace LlmConfig {
24
24
  enable_reasoner?: boolean | null;
25
25
  reasoning_effort?: LlmConfigReasoningEffort.Raw | null;
26
26
  max_reasoning_tokens?: number | null;
27
+ frequency_penalty?: number | null;
27
28
  }
28
29
  }
@@ -56,4 +56,5 @@ exports.LlmConfig = core.serialization.object({
56
56
  enableReasoner: core.serialization.property("enable_reasoner", core.serialization.boolean().optional()),
57
57
  reasoningEffort: core.serialization.property("reasoning_effort", LlmConfigReasoningEffort_1.LlmConfigReasoningEffort.optional()),
58
58
  maxReasoningTokens: core.serialization.property("max_reasoning_tokens", core.serialization.number().optional()),
59
+ frequencyPenalty: core.serialization.property("frequency_penalty", core.serialization.number().optional()),
59
60
  });
@@ -0,0 +1,16 @@
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 { SourceStats } from "./SourceStats";
8
+ export declare const OrganizationSourcesStats: core.serialization.ObjectSchema<serializers.OrganizationSourcesStats.Raw, Letta.OrganizationSourcesStats>;
9
+ export declare namespace OrganizationSourcesStats {
10
+ interface Raw {
11
+ total_sources?: number | null;
12
+ total_files?: number | null;
13
+ total_size?: number | null;
14
+ sources?: SourceStats.Raw[] | null;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
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.OrganizationSourcesStats = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const SourceStats_1 = require("./SourceStats");
42
+ exports.OrganizationSourcesStats = core.serialization.object({
43
+ totalSources: core.serialization.property("total_sources", core.serialization.number().optional()),
44
+ totalFiles: core.serialization.property("total_files", core.serialization.number().optional()),
45
+ totalSize: core.serialization.property("total_size", core.serialization.number().optional()),
46
+ sources: core.serialization.list(SourceStats_1.SourceStats).optional(),
47
+ });
@@ -0,0 +1,17 @@
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 { FileStats } from "./FileStats";
8
+ export declare const SourceStats: core.serialization.ObjectSchema<serializers.SourceStats.Raw, Letta.SourceStats>;
9
+ export declare namespace SourceStats {
10
+ interface Raw {
11
+ source_id: string;
12
+ source_name: string;
13
+ file_count?: number | null;
14
+ total_size?: number | null;
15
+ files?: FileStats.Raw[] | null;
16
+ }
17
+ }
@@ -0,0 +1,48 @@
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.SourceStats = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const FileStats_1 = require("./FileStats");
42
+ exports.SourceStats = core.serialization.object({
43
+ sourceId: core.serialization.property("source_id", core.serialization.string()),
44
+ sourceName: core.serialization.property("source_name", core.serialization.string()),
45
+ fileCount: core.serialization.property("file_count", core.serialization.number().optional()),
46
+ totalSize: core.serialization.property("total_size", core.serialization.number().optional()),
47
+ files: core.serialization.list(FileStats_1.FileStats).optional(),
48
+ });
@@ -95,6 +95,7 @@ export * from "./File_";
95
95
  export * from "./FileFile";
96
96
  export * from "./FileMetadata";
97
97
  export * from "./FileProcessingStatus";
98
+ export * from "./FileStats";
98
99
  export * from "./FunctionOutput";
99
100
  export * from "./FunctionCall";
100
101
  export * from "./FunctionDefinitionInput";
@@ -153,6 +154,7 @@ export * from "./MessageType";
153
154
  export * from "./OmittedReasoningContent";
154
155
  export * from "./Organization";
155
156
  export * from "./OrganizationCreate";
157
+ export * from "./OrganizationSourcesStats";
156
158
  export * from "./OrganizationUpdate";
157
159
  export * from "./ParameterProperties";
158
160
  export * from "./ParametersSchema";
@@ -188,6 +190,7 @@ export * from "./SandboxType";
188
190
  export * from "./SleeptimeManager";
189
191
  export * from "./SleeptimeManagerUpdate";
190
192
  export * from "./Source";
193
+ export * from "./SourceStats";
191
194
  export * from "./StdioServerConfig";
192
195
  export * from "./StepFeedback";
193
196
  export * from "./Step";
@@ -111,6 +111,7 @@ __exportStar(require("./File_"), exports);
111
111
  __exportStar(require("./FileFile"), exports);
112
112
  __exportStar(require("./FileMetadata"), exports);
113
113
  __exportStar(require("./FileProcessingStatus"), exports);
114
+ __exportStar(require("./FileStats"), exports);
114
115
  __exportStar(require("./FunctionOutput"), exports);
115
116
  __exportStar(require("./FunctionCall"), exports);
116
117
  __exportStar(require("./FunctionDefinitionInput"), exports);
@@ -169,6 +170,7 @@ __exportStar(require("./MessageType"), exports);
169
170
  __exportStar(require("./OmittedReasoningContent"), exports);
170
171
  __exportStar(require("./Organization"), exports);
171
172
  __exportStar(require("./OrganizationCreate"), exports);
173
+ __exportStar(require("./OrganizationSourcesStats"), exports);
172
174
  __exportStar(require("./OrganizationUpdate"), exports);
173
175
  __exportStar(require("./ParameterProperties"), exports);
174
176
  __exportStar(require("./ParametersSchema"), exports);
@@ -204,6 +206,7 @@ __exportStar(require("./SandboxType"), exports);
204
206
  __exportStar(require("./SleeptimeManager"), exports);
205
207
  __exportStar(require("./SleeptimeManagerUpdate"), exports);
206
208
  __exportStar(require("./Source"), exports);
209
+ __exportStar(require("./SourceStats"), exports);
207
210
  __exportStar(require("./StdioServerConfig"), exports);
208
211
  __exportStar(require("./StepFeedback"), exports);
209
212
  __exportStar(require("./Step"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.148";
1
+ export declare const SDK_VERSION = "0.1.149";
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.148";
4
+ exports.SDK_VERSION = "0.1.149";