@letta-ai/letta-client 1.0.0-alpha.14 → 1.0.0-alpha.16

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 (258) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/client.d.mts +20 -20
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +20 -20
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/agents/agents.d.mts +163 -52
  10. package/resources/agents/agents.d.mts.map +1 -1
  11. package/resources/agents/agents.d.ts +163 -52
  12. package/resources/agents/agents.d.ts.map +1 -1
  13. package/resources/agents/agents.js +0 -6
  14. package/resources/agents/agents.js.map +1 -1
  15. package/resources/agents/agents.mjs +1 -7
  16. package/resources/agents/agents.mjs.map +1 -1
  17. package/resources/agents/folders.d.mts +52 -76
  18. package/resources/agents/folders.d.mts.map +1 -1
  19. package/resources/agents/folders.d.ts +52 -76
  20. package/resources/agents/folders.d.ts.map +1 -1
  21. package/resources/agents/folders.js +5 -1
  22. package/resources/agents/folders.js.map +1 -1
  23. package/resources/agents/folders.mjs +5 -1
  24. package/resources/agents/folders.mjs.map +1 -1
  25. package/resources/agents/index.d.mts +4 -4
  26. package/resources/agents/index.d.mts.map +1 -1
  27. package/resources/agents/index.d.ts +4 -4
  28. package/resources/agents/index.d.ts.map +1 -1
  29. package/resources/agents/index.js.map +1 -1
  30. package/resources/agents/index.mjs.map +1 -1
  31. package/resources/agents/messages.d.mts +344 -38
  32. package/resources/agents/messages.d.mts.map +1 -1
  33. package/resources/agents/messages.d.ts +344 -38
  34. package/resources/agents/messages.d.ts.map +1 -1
  35. package/resources/agents/messages.js +5 -5
  36. package/resources/agents/messages.js.map +1 -1
  37. package/resources/agents/messages.mjs +5 -5
  38. package/resources/agents/messages.mjs.map +1 -1
  39. package/resources/agents/tools.d.mts +6 -27
  40. package/resources/agents/tools.d.mts.map +1 -1
  41. package/resources/agents/tools.d.ts +6 -27
  42. package/resources/agents/tools.d.ts.map +1 -1
  43. package/resources/agents/tools.js +5 -1
  44. package/resources/agents/tools.js.map +1 -1
  45. package/resources/agents/tools.mjs +5 -1
  46. package/resources/agents/tools.mjs.map +1 -1
  47. package/resources/archives.d.mts +9 -31
  48. package/resources/archives.d.mts.map +1 -1
  49. package/resources/archives.d.ts +9 -31
  50. package/resources/archives.d.ts.map +1 -1
  51. package/resources/archives.js +2 -1
  52. package/resources/archives.js.map +1 -1
  53. package/resources/archives.mjs +2 -1
  54. package/resources/archives.mjs.map +1 -1
  55. package/resources/batches/batches.d.mts +52 -34
  56. package/resources/batches/batches.d.mts.map +1 -1
  57. package/resources/batches/batches.d.ts +52 -34
  58. package/resources/batches/batches.d.ts.map +1 -1
  59. package/resources/batches/batches.js +2 -1
  60. package/resources/batches/batches.js.map +1 -1
  61. package/resources/batches/batches.mjs +2 -1
  62. package/resources/batches/batches.mjs.map +1 -1
  63. package/resources/batches/index.d.mts +2 -2
  64. package/resources/batches/index.d.mts.map +1 -1
  65. package/resources/batches/index.d.ts +2 -2
  66. package/resources/batches/index.d.ts.map +1 -1
  67. package/resources/batches/index.js.map +1 -1
  68. package/resources/batches/index.mjs.map +1 -1
  69. package/resources/batches/messages.d.mts +6 -30
  70. package/resources/batches/messages.d.mts.map +1 -1
  71. package/resources/batches/messages.d.ts +6 -30
  72. package/resources/batches/messages.d.ts.map +1 -1
  73. package/resources/batches/messages.js +2 -1
  74. package/resources/batches/messages.js.map +1 -1
  75. package/resources/batches/messages.mjs +2 -1
  76. package/resources/batches/messages.mjs.map +1 -1
  77. package/resources/blocks/blocks.d.mts +1 -6
  78. package/resources/blocks/blocks.d.mts.map +1 -1
  79. package/resources/blocks/blocks.d.ts +1 -6
  80. package/resources/blocks/blocks.d.ts.map +1 -1
  81. package/resources/blocks/blocks.js +0 -6
  82. package/resources/blocks/blocks.js.map +1 -1
  83. package/resources/blocks/blocks.mjs +0 -6
  84. package/resources/blocks/blocks.mjs.map +1 -1
  85. package/resources/blocks/index.d.mts +1 -1
  86. package/resources/blocks/index.d.mts.map +1 -1
  87. package/resources/blocks/index.d.ts +1 -1
  88. package/resources/blocks/index.d.ts.map +1 -1
  89. package/resources/blocks/index.js.map +1 -1
  90. package/resources/blocks/index.mjs.map +1 -1
  91. package/resources/folders/files.d.mts +73 -97
  92. package/resources/folders/files.d.mts.map +1 -1
  93. package/resources/folders/files.d.ts +73 -97
  94. package/resources/folders/files.d.ts.map +1 -1
  95. package/resources/folders/files.js +5 -1
  96. package/resources/folders/files.js.map +1 -1
  97. package/resources/folders/files.mjs +5 -1
  98. package/resources/folders/files.mjs.map +1 -1
  99. package/resources/folders/folders.d.mts +11 -38
  100. package/resources/folders/folders.d.mts.map +1 -1
  101. package/resources/folders/folders.d.ts +11 -38
  102. package/resources/folders/folders.d.ts.map +1 -1
  103. package/resources/folders/folders.js +2 -7
  104. package/resources/folders/folders.js.map +1 -1
  105. package/resources/folders/folders.mjs +2 -7
  106. package/resources/folders/folders.mjs.map +1 -1
  107. package/resources/folders/index.d.mts +2 -2
  108. package/resources/folders/index.d.mts.map +1 -1
  109. package/resources/folders/index.d.ts +2 -2
  110. package/resources/folders/index.d.ts.map +1 -1
  111. package/resources/folders/index.js.map +1 -1
  112. package/resources/folders/index.mjs.map +1 -1
  113. package/resources/groups/groups.d.mts +1 -6
  114. package/resources/groups/groups.d.mts.map +1 -1
  115. package/resources/groups/groups.d.ts +1 -6
  116. package/resources/groups/groups.d.ts.map +1 -1
  117. package/resources/groups/groups.js +0 -6
  118. package/resources/groups/groups.js.map +1 -1
  119. package/resources/groups/groups.mjs +0 -6
  120. package/resources/groups/groups.mjs.map +1 -1
  121. package/resources/groups/index.d.mts +1 -1
  122. package/resources/groups/index.d.mts.map +1 -1
  123. package/resources/groups/index.d.ts +1 -1
  124. package/resources/groups/index.d.ts.map +1 -1
  125. package/resources/groups/index.js.map +1 -1
  126. package/resources/groups/index.mjs.map +1 -1
  127. package/resources/groups/messages.d.mts +97 -11
  128. package/resources/groups/messages.d.mts.map +1 -1
  129. package/resources/groups/messages.d.ts +97 -11
  130. package/resources/groups/messages.d.ts.map +1 -1
  131. package/resources/identities/identities.d.mts +9 -36
  132. package/resources/identities/identities.d.mts.map +1 -1
  133. package/resources/identities/identities.d.ts +9 -36
  134. package/resources/identities/identities.d.ts.map +1 -1
  135. package/resources/identities/identities.js +2 -7
  136. package/resources/identities/identities.js.map +1 -1
  137. package/resources/identities/identities.mjs +2 -7
  138. package/resources/identities/identities.mjs.map +1 -1
  139. package/resources/identities/index.d.mts +1 -1
  140. package/resources/identities/index.d.mts.map +1 -1
  141. package/resources/identities/index.d.ts +1 -1
  142. package/resources/identities/index.d.ts.map +1 -1
  143. package/resources/identities/index.js.map +1 -1
  144. package/resources/identities/index.mjs.map +1 -1
  145. package/resources/index.d.mts +10 -10
  146. package/resources/index.d.mts.map +1 -1
  147. package/resources/index.d.ts +10 -10
  148. package/resources/index.d.ts.map +1 -1
  149. package/resources/index.js.map +1 -1
  150. package/resources/index.mjs.map +1 -1
  151. package/resources/mcp-servers/index.d.mts +2 -3
  152. package/resources/mcp-servers/index.d.mts.map +1 -1
  153. package/resources/mcp-servers/index.d.ts +2 -3
  154. package/resources/mcp-servers/index.d.ts.map +1 -1
  155. package/resources/mcp-servers/index.js +1 -3
  156. package/resources/mcp-servers/index.js.map +1 -1
  157. package/resources/mcp-servers/index.mjs +1 -2
  158. package/resources/mcp-servers/index.mjs.map +1 -1
  159. package/resources/mcp-servers/mcp-servers.d.mts +302 -378
  160. package/resources/mcp-servers/mcp-servers.d.mts.map +1 -1
  161. package/resources/mcp-servers/mcp-servers.d.ts +302 -378
  162. package/resources/mcp-servers/mcp-servers.d.ts.map +1 -1
  163. package/resources/mcp-servers/mcp-servers.js +17 -4
  164. package/resources/mcp-servers/mcp-servers.js.map +1 -1
  165. package/resources/mcp-servers/mcp-servers.mjs +17 -4
  166. package/resources/mcp-servers/mcp-servers.mjs.map +1 -1
  167. package/resources/mcp-servers/tools.d.mts +3 -41
  168. package/resources/mcp-servers/tools.d.mts.map +1 -1
  169. package/resources/mcp-servers/tools.d.ts +3 -41
  170. package/resources/mcp-servers/tools.d.ts.map +1 -1
  171. package/resources/mcp-servers/tools.js.map +1 -1
  172. package/resources/mcp-servers/tools.mjs.map +1 -1
  173. package/resources/models/embeddings.d.mts +71 -2
  174. package/resources/models/embeddings.d.mts.map +1 -1
  175. package/resources/models/embeddings.d.ts +71 -2
  176. package/resources/models/embeddings.d.ts.map +1 -1
  177. package/resources/models/embeddings.js +5 -1
  178. package/resources/models/embeddings.js.map +1 -1
  179. package/resources/models/embeddings.mjs +5 -1
  180. package/resources/models/embeddings.mjs.map +1 -1
  181. package/resources/models/models.d.mts +113 -2
  182. package/resources/models/models.d.mts.map +1 -1
  183. package/resources/models/models.d.ts +113 -2
  184. package/resources/models/models.d.ts.map +1 -1
  185. package/resources/models/models.js +5 -1
  186. package/resources/models/models.js.map +1 -1
  187. package/resources/models/models.mjs +5 -1
  188. package/resources/models/models.mjs.map +1 -1
  189. package/resources/runs/index.d.mts +1 -1
  190. package/resources/runs/index.d.mts.map +1 -1
  191. package/resources/runs/index.d.ts +1 -1
  192. package/resources/runs/index.d.ts.map +1 -1
  193. package/resources/runs/index.js.map +1 -1
  194. package/resources/runs/index.mjs.map +1 -1
  195. package/resources/runs/runs.d.mts +6 -27
  196. package/resources/runs/runs.d.mts.map +1 -1
  197. package/resources/runs/runs.d.ts +6 -27
  198. package/resources/runs/runs.d.ts.map +1 -1
  199. package/resources/runs/runs.js +2 -1
  200. package/resources/runs/runs.js.map +1 -1
  201. package/resources/runs/runs.mjs +2 -1
  202. package/resources/runs/runs.mjs.map +1 -1
  203. package/resources/steps/messages.d.mts +1 -1
  204. package/resources/steps/messages.d.mts.map +1 -1
  205. package/resources/steps/messages.d.ts +1 -1
  206. package/resources/steps/messages.d.ts.map +1 -1
  207. package/resources/tools.d.mts +6 -64
  208. package/resources/tools.d.mts.map +1 -1
  209. package/resources/tools.d.ts +6 -64
  210. package/resources/tools.d.ts.map +1 -1
  211. package/resources/tools.js +2 -7
  212. package/resources/tools.js.map +1 -1
  213. package/resources/tools.mjs +2 -7
  214. package/resources/tools.mjs.map +1 -1
  215. package/src/client.ts +37 -28
  216. package/src/resources/agents/agents.ts +185 -60
  217. package/src/resources/agents/folders.ts +60 -85
  218. package/src/resources/agents/index.ts +7 -2
  219. package/src/resources/agents/messages.ts +504 -40
  220. package/src/resources/agents/tools.ts +10 -34
  221. package/src/resources/archives.ts +12 -39
  222. package/src/resources/batches/batches.ts +74 -46
  223. package/src/resources/batches/index.ts +2 -2
  224. package/src/resources/batches/messages.ts +12 -37
  225. package/src/resources/blocks/blocks.ts +0 -10
  226. package/src/resources/blocks/index.ts +0 -1
  227. package/src/resources/folders/files.ts +88 -113
  228. package/src/resources/folders/folders.ts +14 -49
  229. package/src/resources/folders/index.ts +2 -2
  230. package/src/resources/groups/groups.ts +0 -10
  231. package/src/resources/groups/index.ts +0 -1
  232. package/src/resources/groups/messages.ts +139 -12
  233. package/src/resources/identities/identities.ts +12 -49
  234. package/src/resources/identities/index.ts +1 -2
  235. package/src/resources/index.ts +19 -14
  236. package/src/resources/mcp-servers/index.ts +14 -9
  237. package/src/resources/mcp-servers/mcp-servers.ts +313 -402
  238. package/src/resources/mcp-servers/tools.ts +6 -47
  239. package/src/resources/models/embeddings.ts +105 -2
  240. package/src/resources/models/models.ts +158 -2
  241. package/src/resources/runs/index.ts +1 -1
  242. package/src/resources/runs/runs.ts +11 -39
  243. package/src/resources/steps/messages.ts +3 -1
  244. package/src/resources/tools.ts +8 -88
  245. package/src/version.ts +1 -1
  246. package/version.d.mts +1 -1
  247. package/version.d.ts +1 -1
  248. package/version.js +1 -1
  249. package/version.mjs +1 -1
  250. package/resources/mcp-servers/refresh.d.mts +0 -24
  251. package/resources/mcp-servers/refresh.d.mts.map +0 -1
  252. package/resources/mcp-servers/refresh.d.ts +0 -24
  253. package/resources/mcp-servers/refresh.d.ts.map +0 -1
  254. package/resources/mcp-servers/refresh.js +0 -27
  255. package/resources/mcp-servers/refresh.js.map +0 -1
  256. package/resources/mcp-servers/refresh.mjs +0 -23
  257. package/resources/mcp-servers/refresh.mjs.map +0 -1
  258. package/src/resources/mcp-servers/refresh.ts +0 -43
@@ -1 +1 @@
1
- {"version":3,"file":"groups.mjs","sourceRoot":"","sources":["../../src/resources/groups/groups.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAQL,QAAQ,GACT;OAEM,EAAE,SAAS,EAAqC;OAEhD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA8C1E,CAAC;IA5CC;;OAEG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,OAAe,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,cAAc,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,SAAgB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAe,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,cAAc,OAAO,EAAE,EAAE,OAAO,CAA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EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAe,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,cAAc,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAe,EAAE,IAAuB,EAAE,OAAwB;QACvE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,cAAc,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF;AAsPD,MAAM,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
@@ -1,3 +1,3 @@
1
- export { Groups, type DynamicManager, type Group, type ManagerType, type RoundRobinManager, type SleeptimeManager, type SupervisorManager, type VoiceSleeptimeManager, type GroupDeleteResponse, type GroupCountResponse, type GroupCreateParams, type GroupListParams, type GroupModifyParams, type GroupsArrayPage, } from "./groups.mjs";
1
+ export { Groups, type DynamicManager, type Group, type ManagerType, type RoundRobinManager, type SleeptimeManager, type SupervisorManager, type VoiceSleeptimeManager, type GroupDeleteResponse, type GroupCreateParams, type GroupListParams, type GroupModifyParams, type GroupsArrayPage, } from "./groups.mjs";
2
2
  export { Messages, type MessageModifyResponse, type MessageResetResponse, type MessageStreamResponse, type MessageListParams, type MessageModifyParams, type MessageSendParams, type MessageStreamParams, } from "./messages.mjs";
3
3
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/groups/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,cAAc,EACnB,KAAK,KAAK,EACV,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB;OACM,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,GACzB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/groups/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,cAAc,EACnB,KAAK,KAAK,EACV,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB;OACM,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,GACzB"}
@@ -1,3 +1,3 @@
1
- export { Groups, type DynamicManager, type Group, type ManagerType, type RoundRobinManager, type SleeptimeManager, type SupervisorManager, type VoiceSleeptimeManager, type GroupDeleteResponse, type GroupCountResponse, type GroupCreateParams, type GroupListParams, type GroupModifyParams, type GroupsArrayPage, } from "./groups.js";
1
+ export { Groups, type DynamicManager, type Group, type ManagerType, type RoundRobinManager, type SleeptimeManager, type SupervisorManager, type VoiceSleeptimeManager, type GroupDeleteResponse, type GroupCreateParams, type GroupListParams, type GroupModifyParams, type GroupsArrayPage, } from "./groups.js";
2
2
  export { Messages, type MessageModifyResponse, type MessageResetResponse, type MessageStreamResponse, type MessageListParams, type MessageModifyParams, type MessageSendParams, type MessageStreamParams, } from "./messages.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/groups/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,cAAc,EACnB,KAAK,KAAK,EACV,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB;OACM,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,GACzB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/groups/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,cAAc,EACnB,KAAK,KAAK,EACV,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB;OACM,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,GACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/groups/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAekB;AAdhB,gGAAA,MAAM,OAAA;AAeR,0CASoB;AARlB,oGAAA,QAAQ,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/groups/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAckB;AAbhB,gGAAA,MAAM,OAAA;AAcR,0CASoB;AARlB,oGAAA,QAAQ,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/groups/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,GAcP;OACM,EACL,QAAQ,GAQT"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/groups/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,GAaP;OACM,EACL,QAAQ,GAQT"}
@@ -42,7 +42,7 @@ export declare class Messages extends APIResource {
42
42
  * created in ISO format name (Optional[str]): The name of the sender of the
43
43
  * message content (str): The message content sent by the system
44
44
  */
45
- export type MessageModifyResponse = MessagesAPI.SystemMessage | MessagesAPI.UserMessage | MessagesAPI.ReasoningMessage | MessagesAPI.HiddenReasoningMessage | MessagesAPI.ToolCallMessage | ToolsAPI.ToolReturnMessage | MessagesAPI.AssistantMessage | MessagesAPI.ApprovalRequestMessage | MessagesAPI.ApprovalResponseMessage;
45
+ export type MessageModifyResponse = MessagesAPI.SystemMessage | MessagesAPI.UserMessage | MessagesAPI.ReasoningMessage | MessagesAPI.HiddenReasoningMessage | MessagesAPI.ToolCallMessage | ToolsAPI.ToolReturnMessage | MessagesAPI.AssistantMessage | MessagesAPI.ApprovalRequestMessage | MessagesAPI.ApprovalResponseMessage | MessagesAPI.SummaryMessage | MessagesAPI.EventMessage;
46
46
  export type MessageResetResponse = unknown;
47
47
  export type MessageStreamResponse = unknown;
48
48
  export interface MessageListParams extends ArrayPageParams {
@@ -122,10 +122,6 @@ export declare namespace MessageModifyParams {
122
122
  }
123
123
  }
124
124
  export interface MessageSendParams {
125
- /**
126
- * The messages to be sent to the agent.
127
- */
128
- messages: Array<AgentsAPI.MessageCreate | MessagesAPI.ApprovalCreate>;
129
125
  /**
130
126
  * @deprecated The name of the message argument in the designated message tool.
131
127
  * Still supported for legacy agent types, but deprecated for letta_v1_agent
@@ -147,10 +143,19 @@ export interface MessageSendParams {
147
143
  * all messages.
148
144
  */
149
145
  include_return_message_types?: Array<MessagesAPI.MessageType> | null;
146
+ /**
147
+ * Syntactic sugar for a single user message. Equivalent to messages=[{'role':
148
+ * 'user', 'content': input}].
149
+ */
150
+ input?: string | Array<MessagesAPI.TextContent | MessagesAPI.ImageContent | MessagesAPI.ToolCallContent | MessagesAPI.ToolReturnContent | MessagesAPI.ReasoningContent | MessagesAPI.RedactedReasoningContent | MessagesAPI.OmittedReasoningContent | MessageSendParams.SummarizedReasoningContent> | null;
150
151
  /**
151
152
  * Maximum number of steps the agent should take to process the request.
152
153
  */
153
154
  max_steps?: number;
155
+ /**
156
+ * The messages to be sent to the agent.
157
+ */
158
+ messages?: Array<AgentsAPI.MessageCreate | MessagesAPI.ApprovalCreate> | null;
154
159
  /**
155
160
  * @deprecated Whether the server should parse specific tool call arguments
156
161
  * (default `send_message`) as `AssistantMessage` objects. Still supported for
@@ -158,11 +163,42 @@ export interface MessageSendParams {
158
163
  */
159
164
  use_assistant_message?: boolean;
160
165
  }
161
- export interface MessageStreamParams {
166
+ export declare namespace MessageSendParams {
162
167
  /**
163
- * The messages to be sent to the agent.
168
+ * The style of reasoning content returned by the OpenAI Responses API
164
169
  */
165
- messages: Array<AgentsAPI.MessageCreate | MessagesAPI.ApprovalCreate>;
170
+ interface SummarizedReasoningContent {
171
+ /**
172
+ * The unique identifier for this reasoning step.
173
+ */
174
+ id: string;
175
+ /**
176
+ * Summaries of the reasoning content.
177
+ */
178
+ summary: Array<SummarizedReasoningContent.Summary>;
179
+ /**
180
+ * The encrypted reasoning content.
181
+ */
182
+ encrypted_content?: string;
183
+ /**
184
+ * Indicates this is a summarized reasoning step.
185
+ */
186
+ type?: 'summarized_reasoning';
187
+ }
188
+ namespace SummarizedReasoningContent {
189
+ interface Summary {
190
+ /**
191
+ * The index of the summary part.
192
+ */
193
+ index: number;
194
+ /**
195
+ * The text of the summary part.
196
+ */
197
+ text: string;
198
+ }
199
+ }
200
+ }
201
+ export interface MessageStreamParams {
166
202
  /**
167
203
  * @deprecated The name of the message argument in the designated message tool.
168
204
  * Still supported for legacy agent types, but deprecated for letta_v1_agent
@@ -175,7 +211,8 @@ export interface MessageStreamParams {
175
211
  */
176
212
  assistant_message_tool_name?: string;
177
213
  /**
178
- * Whether to process the request in the background.
214
+ * Whether to process the request in the background (only used when
215
+ * streaming=true).
179
216
  */
180
217
  background?: boolean;
181
218
  /**
@@ -185,7 +222,7 @@ export interface MessageStreamParams {
185
222
  enable_thinking?: string;
186
223
  /**
187
224
  * Whether to include periodic keepalive ping messages in the stream to prevent
188
- * connection timeouts.
225
+ * connection timeouts (only used when streaming=true).
189
226
  */
190
227
  include_pings?: boolean;
191
228
  /**
@@ -193,15 +230,29 @@ export interface MessageStreamParams {
193
230
  * all messages.
194
231
  */
195
232
  include_return_message_types?: Array<MessagesAPI.MessageType> | null;
233
+ /**
234
+ * Syntactic sugar for a single user message. Equivalent to messages=[{'role':
235
+ * 'user', 'content': input}].
236
+ */
237
+ input?: string | Array<MessagesAPI.TextContent | MessagesAPI.ImageContent | MessagesAPI.ToolCallContent | MessagesAPI.ToolReturnContent | MessagesAPI.ReasoningContent | MessagesAPI.RedactedReasoningContent | MessagesAPI.OmittedReasoningContent | MessageStreamParams.SummarizedReasoningContent> | null;
196
238
  /**
197
239
  * Maximum number of steps the agent should take to process the request.
198
240
  */
199
241
  max_steps?: number;
242
+ /**
243
+ * The messages to be sent to the agent.
244
+ */
245
+ messages?: Array<AgentsAPI.MessageCreate | MessagesAPI.ApprovalCreate> | null;
200
246
  /**
201
247
  * Flag to determine if individual tokens should be streamed, rather than streaming
202
- * per step.
248
+ * per step (only used when streaming=true).
203
249
  */
204
250
  stream_tokens?: boolean;
251
+ /**
252
+ * If True, returns a streaming response (Server-Sent Events). If False (default),
253
+ * returns a complete response.
254
+ */
255
+ streaming?: boolean;
205
256
  /**
206
257
  * @deprecated Whether the server should parse specific tool call arguments
207
258
  * (default `send_message`) as `AssistantMessage` objects. Still supported for
@@ -209,6 +260,41 @@ export interface MessageStreamParams {
209
260
  */
210
261
  use_assistant_message?: boolean;
211
262
  }
263
+ export declare namespace MessageStreamParams {
264
+ /**
265
+ * The style of reasoning content returned by the OpenAI Responses API
266
+ */
267
+ interface SummarizedReasoningContent {
268
+ /**
269
+ * The unique identifier for this reasoning step.
270
+ */
271
+ id: string;
272
+ /**
273
+ * Summaries of the reasoning content.
274
+ */
275
+ summary: Array<SummarizedReasoningContent.Summary>;
276
+ /**
277
+ * The encrypted reasoning content.
278
+ */
279
+ encrypted_content?: string;
280
+ /**
281
+ * Indicates this is a summarized reasoning step.
282
+ */
283
+ type?: 'summarized_reasoning';
284
+ }
285
+ namespace SummarizedReasoningContent {
286
+ interface Summary {
287
+ /**
288
+ * The index of the summary part.
289
+ */
290
+ index: number;
291
+ /**
292
+ * The text of the summary part.
293
+ */
294
+ text: string;
295
+ }
296
+ }
297
+ }
212
298
  export declare namespace Messages {
213
299
  export { type MessageModifyResponse as MessageModifyResponse, type MessageResetResponse as MessageResetResponse, type MessageStreamResponse as MessageStreamResponse, type MessageListParams as MessageListParams, type MessageModifyParams as MessageModifyParams, type MessageSendParams as MessageSendParams, type MessageStreamParams as MessageStreamParams, };
214
300
  }
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.mts","sourceRoot":"","sources":["../../src/resources/groups/messages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,SAAS;OACd,KAAK,WAAW;OAChB,EAAE,2BAA2B,EAAE;OAC/B,EAAE,UAAU,EAAE;OACd,EAAa,KAAK,eAAe,EAAE,WAAW,EAAE;OAChD,EAAE,MAAM,EAAE;OACV,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAA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EAAE,OAAO,CAAC;CACjC;AAED,yBAAiB,mBAAmB,CAAC;IACnC;;OAEG;IACH,UAAiB,0BAA0B;QACzC;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,OAAO,EAAE,KAAK,CAAC,0BAA0B,CAAC,OAAO,CAAC,CAAC;QAEnD;;WAEG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B;;WAEG;QACH,IAAI,CAAC,EAAE,sBAAsB,CAAC;KAC/B;IAED,UAAiB,0BAA0B,CAAC;QAC1C,UAAiB,OAAO;YACtB;;eAEG;YACH,KAAK,EAAE,MAAM,CAAC;YAEd;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;SACd;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH;AAED,OAAO,EAAE,KAAK,2BAA2B,EAAE,CAAC"}
@@ -42,7 +42,7 @@ export declare class Messages extends APIResource {
42
42
  * created in ISO format name (Optional[str]): The name of the sender of the
43
43
  * message content (str): The message content sent by the system
44
44
  */
45
- export type MessageModifyResponse = MessagesAPI.SystemMessage | MessagesAPI.UserMessage | MessagesAPI.ReasoningMessage | MessagesAPI.HiddenReasoningMessage | MessagesAPI.ToolCallMessage | ToolsAPI.ToolReturnMessage | MessagesAPI.AssistantMessage | MessagesAPI.ApprovalRequestMessage | MessagesAPI.ApprovalResponseMessage;
45
+ export type MessageModifyResponse = MessagesAPI.SystemMessage | MessagesAPI.UserMessage | MessagesAPI.ReasoningMessage | MessagesAPI.HiddenReasoningMessage | MessagesAPI.ToolCallMessage | ToolsAPI.ToolReturnMessage | MessagesAPI.AssistantMessage | MessagesAPI.ApprovalRequestMessage | MessagesAPI.ApprovalResponseMessage | MessagesAPI.SummaryMessage | MessagesAPI.EventMessage;
46
46
  export type MessageResetResponse = unknown;
47
47
  export type MessageStreamResponse = unknown;
48
48
  export interface MessageListParams extends ArrayPageParams {
@@ -122,10 +122,6 @@ export declare namespace MessageModifyParams {
122
122
  }
123
123
  }
124
124
  export interface MessageSendParams {
125
- /**
126
- * The messages to be sent to the agent.
127
- */
128
- messages: Array<AgentsAPI.MessageCreate | MessagesAPI.ApprovalCreate>;
129
125
  /**
130
126
  * @deprecated The name of the message argument in the designated message tool.
131
127
  * Still supported for legacy agent types, but deprecated for letta_v1_agent
@@ -147,10 +143,19 @@ export interface MessageSendParams {
147
143
  * all messages.
148
144
  */
149
145
  include_return_message_types?: Array<MessagesAPI.MessageType> | null;
146
+ /**
147
+ * Syntactic sugar for a single user message. Equivalent to messages=[{'role':
148
+ * 'user', 'content': input}].
149
+ */
150
+ input?: string | Array<MessagesAPI.TextContent | MessagesAPI.ImageContent | MessagesAPI.ToolCallContent | MessagesAPI.ToolReturnContent | MessagesAPI.ReasoningContent | MessagesAPI.RedactedReasoningContent | MessagesAPI.OmittedReasoningContent | MessageSendParams.SummarizedReasoningContent> | null;
150
151
  /**
151
152
  * Maximum number of steps the agent should take to process the request.
152
153
  */
153
154
  max_steps?: number;
155
+ /**
156
+ * The messages to be sent to the agent.
157
+ */
158
+ messages?: Array<AgentsAPI.MessageCreate | MessagesAPI.ApprovalCreate> | null;
154
159
  /**
155
160
  * @deprecated Whether the server should parse specific tool call arguments
156
161
  * (default `send_message`) as `AssistantMessage` objects. Still supported for
@@ -158,11 +163,42 @@ export interface MessageSendParams {
158
163
  */
159
164
  use_assistant_message?: boolean;
160
165
  }
161
- export interface MessageStreamParams {
166
+ export declare namespace MessageSendParams {
162
167
  /**
163
- * The messages to be sent to the agent.
168
+ * The style of reasoning content returned by the OpenAI Responses API
164
169
  */
165
- messages: Array<AgentsAPI.MessageCreate | MessagesAPI.ApprovalCreate>;
170
+ interface SummarizedReasoningContent {
171
+ /**
172
+ * The unique identifier for this reasoning step.
173
+ */
174
+ id: string;
175
+ /**
176
+ * Summaries of the reasoning content.
177
+ */
178
+ summary: Array<SummarizedReasoningContent.Summary>;
179
+ /**
180
+ * The encrypted reasoning content.
181
+ */
182
+ encrypted_content?: string;
183
+ /**
184
+ * Indicates this is a summarized reasoning step.
185
+ */
186
+ type?: 'summarized_reasoning';
187
+ }
188
+ namespace SummarizedReasoningContent {
189
+ interface Summary {
190
+ /**
191
+ * The index of the summary part.
192
+ */
193
+ index: number;
194
+ /**
195
+ * The text of the summary part.
196
+ */
197
+ text: string;
198
+ }
199
+ }
200
+ }
201
+ export interface MessageStreamParams {
166
202
  /**
167
203
  * @deprecated The name of the message argument in the designated message tool.
168
204
  * Still supported for legacy agent types, but deprecated for letta_v1_agent
@@ -175,7 +211,8 @@ export interface MessageStreamParams {
175
211
  */
176
212
  assistant_message_tool_name?: string;
177
213
  /**
178
- * Whether to process the request in the background.
214
+ * Whether to process the request in the background (only used when
215
+ * streaming=true).
179
216
  */
180
217
  background?: boolean;
181
218
  /**
@@ -185,7 +222,7 @@ export interface MessageStreamParams {
185
222
  enable_thinking?: string;
186
223
  /**
187
224
  * Whether to include periodic keepalive ping messages in the stream to prevent
188
- * connection timeouts.
225
+ * connection timeouts (only used when streaming=true).
189
226
  */
190
227
  include_pings?: boolean;
191
228
  /**
@@ -193,15 +230,29 @@ export interface MessageStreamParams {
193
230
  * all messages.
194
231
  */
195
232
  include_return_message_types?: Array<MessagesAPI.MessageType> | null;
233
+ /**
234
+ * Syntactic sugar for a single user message. Equivalent to messages=[{'role':
235
+ * 'user', 'content': input}].
236
+ */
237
+ input?: string | Array<MessagesAPI.TextContent | MessagesAPI.ImageContent | MessagesAPI.ToolCallContent | MessagesAPI.ToolReturnContent | MessagesAPI.ReasoningContent | MessagesAPI.RedactedReasoningContent | MessagesAPI.OmittedReasoningContent | MessageStreamParams.SummarizedReasoningContent> | null;
196
238
  /**
197
239
  * Maximum number of steps the agent should take to process the request.
198
240
  */
199
241
  max_steps?: number;
242
+ /**
243
+ * The messages to be sent to the agent.
244
+ */
245
+ messages?: Array<AgentsAPI.MessageCreate | MessagesAPI.ApprovalCreate> | null;
200
246
  /**
201
247
  * Flag to determine if individual tokens should be streamed, rather than streaming
202
- * per step.
248
+ * per step (only used when streaming=true).
203
249
  */
204
250
  stream_tokens?: boolean;
251
+ /**
252
+ * If True, returns a streaming response (Server-Sent Events). If False (default),
253
+ * returns a complete response.
254
+ */
255
+ streaming?: boolean;
205
256
  /**
206
257
  * @deprecated Whether the server should parse specific tool call arguments
207
258
  * (default `send_message`) as `AssistantMessage` objects. Still supported for
@@ -209,6 +260,41 @@ export interface MessageStreamParams {
209
260
  */
210
261
  use_assistant_message?: boolean;
211
262
  }
263
+ export declare namespace MessageStreamParams {
264
+ /**
265
+ * The style of reasoning content returned by the OpenAI Responses API
266
+ */
267
+ interface SummarizedReasoningContent {
268
+ /**
269
+ * The unique identifier for this reasoning step.
270
+ */
271
+ id: string;
272
+ /**
273
+ * Summaries of the reasoning content.
274
+ */
275
+ summary: Array<SummarizedReasoningContent.Summary>;
276
+ /**
277
+ * The encrypted reasoning content.
278
+ */
279
+ encrypted_content?: string;
280
+ /**
281
+ * Indicates this is a summarized reasoning step.
282
+ */
283
+ type?: 'summarized_reasoning';
284
+ }
285
+ namespace SummarizedReasoningContent {
286
+ interface Summary {
287
+ /**
288
+ * The index of the summary part.
289
+ */
290
+ index: number;
291
+ /**
292
+ * The text of the summary part.
293
+ */
294
+ text: string;
295
+ }
296
+ }
297
+ }
212
298
  export declare namespace Messages {
213
299
  export { type MessageModifyResponse as MessageModifyResponse, type MessageResetResponse as MessageResetResponse, type MessageStreamResponse as MessageStreamResponse, type MessageListParams as MessageListParams, type MessageModifyParams as MessageModifyParams, type MessageSendParams as MessageSendParams, type MessageStreamParams as MessageStreamParams, };
214
300
  }
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/resources/groups/messages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,SAAS;OACd,KAAK,WAAW;OAChB,EAAE,2BAA2B,EAAE;OAC/B,EAAE,UAAU,EAAE;OACd,EAAa,KAAK,eAAe,EAAE,WAAW,EAAE;OAChD,EAAE,MAAM,EAAE;OACV,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,IAAI,CACF,OAAO,EAAE,MAAM,EACf,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,2BAA2B,EAAE,WAAW,CAAC,iBAAiB,CAAC;IAQ1E;;OAEG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,mBAAmB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAKpC;;OAEG;IACH,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAIrE;;;;OAIG;IACH,IAAI,CACF,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,iBAAiB,EACvB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,WAAW,CAAC,aAAa,CAAC;IAIxC;;;;;OAKG;IACH,MAAM,CACJ,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,mBAAmB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAC;CAO1D;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,qBAAqB,GAC7B,WAAW,CAAC,aAAa,GACzB,WAAW,CAAC,WAAW,GACvB,WAA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* as PropertiesAPI from "./properties.mjs";
7
7
  import { Properties, PropertyUpsertParams, PropertyUpsertResponse } from "./properties.mjs";
8
8
  import { APIPromise } from "../../core/api-promise.mjs";
9
+ import { ArrayPage, type ArrayPageParams, PagePromise } from "../../core/pagination.mjs";
9
10
  import { RequestOptions } from "../../internal/request-options.mjs";
10
11
  export declare class Identities extends APIResource {
11
12
  properties: PropertiesAPI.Properties;
@@ -22,15 +23,11 @@ export declare class Identities extends APIResource {
22
23
  /**
23
24
  * Get a list of all identities in the database
24
25
  */
25
- list(query?: IdentityListParams | null | undefined, options?: RequestOptions): APIPromise<IdentityListResponse>;
26
+ list(query?: IdentityListParams | null | undefined, options?: RequestOptions): PagePromise<IdentitiesArrayPage, Identity>;
26
27
  /**
27
28
  * Delete an identity by its identifier key
28
29
  */
29
30
  delete(identityID: string, options?: RequestOptions): APIPromise<unknown>;
30
- /**
31
- * Get count of all identities for a user
32
- */
33
- count(options?: RequestOptions): APIPromise<IdentityCountResponse>;
34
31
  /**
35
32
  * Modify Identity
36
33
  */
@@ -40,7 +37,12 @@ export declare class Identities extends APIResource {
40
37
  */
41
38
  upsert(body: IdentityUpsertParams, options?: RequestOptions): APIPromise<Identity>;
42
39
  }
40
+ export type IdentitiesArrayPage = ArrayPage<Identity>;
43
41
  export interface Identity {
42
+ /**
43
+ * The human-friendly ID of the Identity
44
+ */
45
+ id: string;
44
46
  /**
45
47
  * @deprecated The IDs of the agents associated with the identity.
46
48
  */
@@ -61,10 +63,6 @@ export interface Identity {
61
63
  * The name of the identity.
62
64
  */
63
65
  name: string;
64
- /**
65
- * The human-friendly ID of the Identity
66
- */
67
- id?: string;
68
66
  /**
69
67
  * The project id of the identity, if applicable.
70
68
  */
@@ -97,9 +95,7 @@ export interface IdentityProperty {
97
95
  * Enum to represent the type of the identity.
98
96
  */
99
97
  export type IdentityType = 'org' | 'user' | 'other';
100
- export type IdentityListResponse = Array<Identity>;
101
98
  export type IdentityDeleteResponse = unknown;
102
- export type IdentityCountResponse = number;
103
99
  export interface IdentityCreateParams {
104
100
  /**
105
101
  * External, user-generated identifier key of the identity.
@@ -130,36 +126,13 @@ export interface IdentityCreateParams {
130
126
  */
131
127
  properties?: Array<IdentityProperty> | null;
132
128
  }
133
- export interface IdentityListParams {
134
- /**
135
- * Identity ID cursor for pagination. Returns identities that come after this
136
- * identity ID in the specified sort order
137
- */
138
- after?: string | null;
139
- /**
140
- * Identity ID cursor for pagination. Returns identities that come before this
141
- * identity ID in the specified sort order
142
- */
143
- before?: string | null;
129
+ export interface IdentityListParams extends ArrayPageParams {
144
130
  identifier_key?: string | null;
145
131
  /**
146
132
  * Enum to represent the type of the identity.
147
133
  */
148
134
  identity_type?: IdentityType | null;
149
- /**
150
- * Maximum number of identities to return
151
- */
152
- limit?: number | null;
153
135
  name?: string | null;
154
- /**
155
- * Sort order for identities by creation time. 'asc' for oldest first, 'desc' for
156
- * newest first
157
- */
158
- order?: 'asc' | 'desc';
159
- /**
160
- * Field to sort by
161
- */
162
- order_by?: 'created_at';
163
136
  project_id?: string | null;
164
137
  }
165
138
  export interface IdentityModifyParams {
@@ -219,7 +192,7 @@ export interface IdentityUpsertParams {
219
192
  properties?: Array<IdentityProperty> | null;
220
193
  }
221
194
  export declare namespace Identities {
222
- export { type Identity as Identity, type IdentityProperty as IdentityProperty, type IdentityType as IdentityType, type IdentityListResponse as IdentityListResponse, type IdentityDeleteResponse as IdentityDeleteResponse, type IdentityCountResponse as IdentityCountResponse, type IdentityCreateParams as IdentityCreateParams, type IdentityListParams as IdentityListParams, type IdentityModifyParams as IdentityModifyParams, type IdentityUpsertParams as IdentityUpsertParams, };
195
+ export { type Identity as Identity, type IdentityProperty as IdentityProperty, type IdentityType as IdentityType, type IdentityDeleteResponse as IdentityDeleteResponse, type IdentitiesArrayPage as IdentitiesArrayPage, type IdentityCreateParams as IdentityCreateParams, type IdentityListParams as IdentityListParams, type IdentityModifyParams as IdentityModifyParams, type IdentityUpsertParams as IdentityUpsertParams, };
223
196
  export { Properties as Properties, type PropertyUpsertResponse as PropertyUpsertResponse, type PropertyUpsertParams as PropertyUpsertParams, };
224
197
  export { Agents as Agents, type AgentListParams as AgentListParams };
225
198
  export { Blocks as Blocks, type BlockListParams as BlockListParams };
@@ -1 +1 @@
1
- {"version":3,"file":"identities.d.mts","sourceRoot":"","sources":["../../src/resources/identities/identities.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,eAAe,EAAE,MAAM,EAAE;OAC3B,KAAK,SAAS;OACd,EAAE,eAAe,EAAE,MAAM,EAAE;OAC3B,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE,oBAAoB,EAAE,sBAAsB,EAAE;OAC5D,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAClF,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAIlF;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAI5E;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC;;OAEG;IACH,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAIzE;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAIlE;;OAEG;IACH,MAAM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