@archastro/sdk 0.5.2 → 0.5.3

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 (222) hide show
  1. package/README.md +86 -0
  2. package/dist/auth.d.ts +143 -0
  3. package/dist/auth.d.ts.map +1 -1
  4. package/dist/auth.js +187 -1
  5. package/dist/auth.js.map +1 -1
  6. package/dist/client.d.ts +26 -0
  7. package/dist/client.d.ts.map +1 -1
  8. package/dist/client.js +27 -1
  9. package/dist/client.js.map +1 -1
  10. package/dist/index.d.ts +1 -1
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +2 -2
  13. package/dist/index.js.map +1 -1
  14. package/dist/types/ai.d.ts +150 -12
  15. package/dist/types/ai.d.ts.map +1 -1
  16. package/dist/types/ai.js +71 -41
  17. package/dist/types/ai.js.map +1 -1
  18. package/dist/types/artifacts.d.ts +81 -24
  19. package/dist/types/artifacts.d.ts.map +1 -1
  20. package/dist/types/artifacts.js +39 -21
  21. package/dist/types/artifacts.js.map +1 -1
  22. package/dist/types/automations.d.ts +41 -9
  23. package/dist/types/automations.d.ts.map +1 -1
  24. package/dist/types/automations.js +25 -17
  25. package/dist/types/automations.js.map +1 -1
  26. package/dist/types/chat.d.ts +21418 -0
  27. package/dist/types/chat.d.ts.map +1 -0
  28. package/dist/types/chat.js +70 -0
  29. package/dist/types/chat.js.map +1 -0
  30. package/dist/types/common.d.ts +16970 -2136
  31. package/dist/types/common.d.ts.map +1 -1
  32. package/dist/types/common.js +1695 -332
  33. package/dist/types/common.js.map +1 -1
  34. package/dist/types/config.d.ts +239 -31
  35. package/dist/types/config.d.ts.map +1 -1
  36. package/dist/types/config.js +86 -34
  37. package/dist/types/config.js.map +1 -1
  38. package/dist/types/image.d.ts +27 -4
  39. package/dist/types/image.d.ts.map +1 -1
  40. package/dist/types/image.js +17 -10
  41. package/dist/types/image.js.map +1 -1
  42. package/dist/types/index.d.ts +2 -1
  43. package/dist/types/index.d.ts.map +1 -1
  44. package/dist/types/index.js +3 -2
  45. package/dist/types/index.js.map +1 -1
  46. package/dist/types/invites.d.ts +20 -11
  47. package/dist/types/invites.d.ts.map +1 -1
  48. package/dist/types/invites.js +9 -12
  49. package/dist/types/invites.js.map +1 -1
  50. package/dist/types/notifications.d.ts +163 -0
  51. package/dist/types/notifications.d.ts.map +1 -0
  52. package/dist/types/notifications.js +44 -0
  53. package/dist/types/notifications.js.map +1 -0
  54. package/dist/types/teams.d.ts +1628 -231
  55. package/dist/types/teams.d.ts.map +1 -1
  56. package/dist/types/teams.js +76 -45
  57. package/dist/types/teams.js.map +1 -1
  58. package/dist/types/threads.d.ts +997 -243
  59. package/dist/types/threads.d.ts.map +1 -1
  60. package/dist/types/threads.js +84 -51
  61. package/dist/types/threads.js.map +1 -1
  62. package/dist/types/users.d.ts +98 -18
  63. package/dist/types/users.d.ts.map +1 -1
  64. package/dist/types/users.js +43 -18
  65. package/dist/types/users.js.map +1 -1
  66. package/dist/v1/resources/activity_feed.d.ts +89 -0
  67. package/dist/v1/resources/activity_feed.d.ts.map +1 -1
  68. package/dist/v1/resources/activity_feed.js +56 -2
  69. package/dist/v1/resources/activity_feed.js.map +1 -1
  70. package/dist/v1/resources/agent_computers.d.ts +48 -2
  71. package/dist/v1/resources/agent_computers.d.ts.map +1 -1
  72. package/dist/v1/resources/agent_computers.js +48 -1
  73. package/dist/v1/resources/agent_computers.js.map +1 -1
  74. package/dist/v1/resources/agent_env_vars.d.ts +50 -0
  75. package/dist/v1/resources/agent_env_vars.d.ts.map +1 -0
  76. package/dist/v1/resources/agent_env_vars.js +56 -0
  77. package/dist/v1/resources/agent_env_vars.js.map +1 -0
  78. package/dist/v1/resources/agent_health_actions.d.ts +43 -0
  79. package/dist/v1/resources/agent_health_actions.d.ts.map +1 -0
  80. package/dist/v1/resources/agent_health_actions.js +50 -0
  81. package/dist/v1/resources/agent_health_actions.js.map +1 -0
  82. package/dist/v1/resources/agent_installations.d.ts +100 -0
  83. package/dist/v1/resources/agent_installations.d.ts.map +1 -1
  84. package/dist/v1/resources/agent_installations.js +106 -2
  85. package/dist/v1/resources/agent_installations.js.map +1 -1
  86. package/dist/v1/resources/agent_routine_runs.d.ts +33 -0
  87. package/dist/v1/resources/agent_routine_runs.d.ts.map +1 -0
  88. package/dist/v1/resources/agent_routine_runs.js +48 -0
  89. package/dist/v1/resources/agent_routine_runs.js.map +1 -0
  90. package/dist/v1/resources/agent_routines.d.ts +148 -2
  91. package/dist/v1/resources/agent_routines.d.ts.map +1 -1
  92. package/dist/v1/resources/agent_routines.js +168 -3
  93. package/dist/v1/resources/agent_routines.js.map +1 -1
  94. package/dist/v1/resources/agent_sessions.d.ts +118 -1
  95. package/dist/v1/resources/agent_sessions.d.ts.map +1 -1
  96. package/dist/v1/resources/agent_sessions.js +134 -2
  97. package/dist/v1/resources/agent_sessions.js.map +1 -1
  98. package/dist/v1/resources/agent_skills.d.ts +83 -1
  99. package/dist/v1/resources/agent_skills.d.ts.map +1 -1
  100. package/dist/v1/resources/agent_skills.js +87 -2
  101. package/dist/v1/resources/agent_skills.js.map +1 -1
  102. package/dist/v1/resources/agent_tools.d.ts +109 -2
  103. package/dist/v1/resources/agent_tools.d.ts.map +1 -1
  104. package/dist/v1/resources/agent_tools.js +114 -2
  105. package/dist/v1/resources/agent_tools.js.map +1 -1
  106. package/dist/v1/resources/agents.d.ts +517 -9
  107. package/dist/v1/resources/agents.d.ts.map +1 -1
  108. package/dist/v1/resources/agents.js +515 -12
  109. package/dist/v1/resources/agents.js.map +1 -1
  110. package/dist/v1/resources/ai.d.ts +93 -0
  111. package/dist/v1/resources/ai.d.ts.map +1 -1
  112. package/dist/v1/resources/ai.js +89 -1
  113. package/dist/v1/resources/ai.js.map +1 -1
  114. package/dist/v1/resources/artifacts.d.ts +73 -0
  115. package/dist/v1/resources/artifacts.d.ts.map +1 -1
  116. package/dist/v1/resources/artifacts.js +74 -2
  117. package/dist/v1/resources/artifacts.js.map +1 -1
  118. package/dist/v1/resources/automation_runs.d.ts +8 -4
  119. package/dist/v1/resources/automation_runs.d.ts.map +1 -1
  120. package/dist/v1/resources/automation_runs.js +9 -5
  121. package/dist/v1/resources/automation_runs.js.map +1 -1
  122. package/dist/v1/resources/automations.d.ts +20 -0
  123. package/dist/v1/resources/automations.d.ts.map +1 -1
  124. package/dist/v1/resources/automations.js +21 -1
  125. package/dist/v1/resources/automations.js.map +1 -1
  126. package/dist/v1/resources/bug_reports.d.ts +29 -0
  127. package/dist/v1/resources/bug_reports.d.ts.map +1 -0
  128. package/dist/v1/resources/bug_reports.js +29 -0
  129. package/dist/v1/resources/bug_reports.js.map +1 -0
  130. package/dist/v1/resources/config.d.ts +429 -4
  131. package/dist/v1/resources/config.d.ts.map +1 -1
  132. package/dist/v1/resources/config.js +493 -9
  133. package/dist/v1/resources/config.js.map +1 -1
  134. package/dist/v1/resources/custom_objects.d.ts +117 -2
  135. package/dist/v1/resources/custom_objects.d.ts.map +1 -1
  136. package/dist/v1/resources/custom_objects.js +132 -3
  137. package/dist/v1/resources/custom_objects.js.map +1 -1
  138. package/dist/v1/resources/files.d.ts +62 -0
  139. package/dist/v1/resources/files.d.ts.map +1 -0
  140. package/dist/v1/resources/files.js +58 -0
  141. package/dist/v1/resources/files.js.map +1 -0
  142. package/dist/v1/resources/index.d.ts +13 -0
  143. package/dist/v1/resources/index.d.ts.map +1 -1
  144. package/dist/v1/resources/index.js +14 -1
  145. package/dist/v1/resources/index.js.map +1 -1
  146. package/dist/v1/resources/installation_sources.d.ts +12 -0
  147. package/dist/v1/resources/installation_sources.d.ts.map +1 -1
  148. package/dist/v1/resources/installation_sources.js +13 -1
  149. package/dist/v1/resources/installation_sources.js.map +1 -1
  150. package/dist/v1/resources/invites.d.ts +15 -0
  151. package/dist/v1/resources/invites.d.ts.map +1 -1
  152. package/dist/v1/resources/invites.js +16 -1
  153. package/dist/v1/resources/invites.js.map +1 -1
  154. package/dist/v1/resources/knowledge_documents.d.ts +104 -0
  155. package/dist/v1/resources/knowledge_documents.d.ts.map +1 -0
  156. package/dist/v1/resources/knowledge_documents.js +112 -0
  157. package/dist/v1/resources/knowledge_documents.js.map +1 -0
  158. package/dist/v1/resources/knowledge_sources.d.ts +190 -0
  159. package/dist/v1/resources/knowledge_sources.d.ts.map +1 -0
  160. package/dist/v1/resources/knowledge_sources.js +176 -0
  161. package/dist/v1/resources/knowledge_sources.js.map +1 -0
  162. package/dist/v1/resources/kv.d.ts +73 -0
  163. package/dist/v1/resources/kv.d.ts.map +1 -1
  164. package/dist/v1/resources/kv.js +96 -3
  165. package/dist/v1/resources/kv.js.map +1 -1
  166. package/dist/v1/resources/notification_preferences.d.ts +61 -0
  167. package/dist/v1/resources/notification_preferences.d.ts.map +1 -0
  168. package/dist/v1/resources/notification_preferences.js +65 -0
  169. package/dist/v1/resources/notification_preferences.js.map +1 -0
  170. package/dist/v1/resources/notifications.d.ts +133 -0
  171. package/dist/v1/resources/notifications.d.ts.map +1 -0
  172. package/dist/v1/resources/notifications.js +136 -0
  173. package/dist/v1/resources/notifications.js.map +1 -0
  174. package/dist/v1/resources/orgs.d.ts +18 -0
  175. package/dist/v1/resources/orgs.d.ts.map +1 -1
  176. package/dist/v1/resources/orgs.js +30 -2
  177. package/dist/v1/resources/orgs.js.map +1 -1
  178. package/dist/v1/resources/slack_channel_bindings.d.ts +101 -0
  179. package/dist/v1/resources/slack_channel_bindings.d.ts.map +1 -0
  180. package/dist/v1/resources/slack_channel_bindings.js +114 -0
  181. package/dist/v1/resources/slack_channel_bindings.js.map +1 -0
  182. package/dist/v1/resources/solution_categories.d.ts +36 -0
  183. package/dist/v1/resources/solution_categories.d.ts.map +1 -0
  184. package/dist/v1/resources/solution_categories.js +55 -0
  185. package/dist/v1/resources/solution_categories.js.map +1 -0
  186. package/dist/v1/resources/solution_tags.d.ts +37 -0
  187. package/dist/v1/resources/solution_tags.d.ts.map +1 -0
  188. package/dist/v1/resources/solution_tags.js +54 -0
  189. package/dist/v1/resources/solution_tags.js.map +1 -0
  190. package/dist/v1/resources/solutions.d.ts +309 -0
  191. package/dist/v1/resources/solutions.d.ts.map +1 -0
  192. package/dist/v1/resources/solutions.js +214 -0
  193. package/dist/v1/resources/solutions.js.map +1 -0
  194. package/dist/v1/resources/team_memberships.d.ts +31 -0
  195. package/dist/v1/resources/team_memberships.d.ts.map +1 -1
  196. package/dist/v1/resources/team_memberships.js +49 -2
  197. package/dist/v1/resources/team_memberships.js.map +1 -1
  198. package/dist/v1/resources/teams.d.ts +458 -49
  199. package/dist/v1/resources/teams.d.ts.map +1 -1
  200. package/dist/v1/resources/teams.js +319 -27
  201. package/dist/v1/resources/teams.js.map +1 -1
  202. package/dist/v1/resources/thread_messages.d.ts +70 -0
  203. package/dist/v1/resources/thread_messages.d.ts.map +1 -1
  204. package/dist/v1/resources/thread_messages.js +85 -2
  205. package/dist/v1/resources/thread_messages.js.map +1 -1
  206. package/dist/v1/resources/threads.d.ts +201 -0
  207. package/dist/v1/resources/threads.d.ts.map +1 -1
  208. package/dist/v1/resources/threads.js +220 -4
  209. package/dist/v1/resources/threads.js.map +1 -1
  210. package/dist/v1/resources/users.d.ts +213 -39
  211. package/dist/v1/resources/users.d.ts.map +1 -1
  212. package/dist/v1/resources/users.js +121 -16
  213. package/dist/v1/resources/users.js.map +1 -1
  214. package/dist/v1.d.ts +26 -0
  215. package/dist/v1.d.ts.map +1 -1
  216. package/dist/v1.js +40 -1
  217. package/dist/v1.js.map +1 -1
  218. package/package.json +3 -1
  219. package/dist/types/agents.d.ts +0 -2084
  220. package/dist/types/agents.d.ts.map +0 -1
  221. package/dist/types/agents.js +0 -203
  222. package/dist/types/agents.js.map +0 -1
@@ -1,14 +1,40 @@
1
1
  // Copyright (c) 2026 ArchAstro Inc. All Rights Reserved.
2
2
  // This file is auto-generated by @archastro/sdk-generator. Do not edit.
3
- // Content hash: e1df47df9675
3
+ // Content hash: 85449a1601a6
4
4
  export class ReactionResource {
5
5
  http;
6
6
  constructor(http) {
7
7
  this.http = http;
8
8
  }
9
+ /**
10
+ * Remove a reaction from a thread message
11
+ * Removes the authenticated user's emoji reaction from the specified thread
12
+ * message. The reaction is identified by the combination of the message ID and
13
+ * the emoji; only the reaction belonging to the calling user is removed.
14
+ * Returns 204 No Content on success. Returns 404 if no matching reaction
15
+ * exists for the user and emoji on that message, or if the message itself
16
+ * cannot be found. The authenticated user must have read access to the thread
17
+ * containing the message.
18
+ * @param message - Message ID (`msg_...`) of the thread message whose reaction should be removed.
19
+ * @returns Empty response body. HTTP 204 No Content on success.
20
+ */
9
21
  async remove(message) {
10
22
  await this.http.request(`/api/v1/thread_messages/${message}/reactions`, { method: "DELETE" });
11
23
  }
24
+ /**
25
+ * Add a reaction to a thread message
26
+ * Adds an emoji reaction to the specified thread message on behalf of the
27
+ * authenticated user. If the user has already reacted to the message with the
28
+ * same emoji, the request returns a 409 Conflict rather than creating a
29
+ * duplicate.
30
+ * The authenticated user must have read access to the thread containing the
31
+ * message. If the thread belongs to a team, the user must be a member of
32
+ * that team.
33
+ * @param message - Message ID (`msg_...`) of the thread message whose reaction should be removed.
34
+ * @param input - Request body.
35
+ * @param input.emoji - Emoji character or shortcode to add as a reaction, e.g. `"👍"` or `":thumbsup:"`.
36
+ * @returns Successful response
37
+ */
12
38
  async create(message, input) {
13
39
  return this.http.request(`/api/v1/thread_messages/${message}/reactions`, { method: "POST", body: input });
14
40
  }
@@ -20,14 +46,71 @@ export class ThreadMessageResource {
20
46
  this.http = http;
21
47
  this.reactions = new ReactionResource(http);
22
48
  }
49
+ /**
50
+ * Delete a thread message
51
+ * Permanently removes the specified message from its thread. This action
52
+ * cannot be undone.
53
+ * A regular user may only delete messages they authored. Service-to-service
54
+ * callers with elevated (`all_powerful`) scope may delete any message in a
55
+ * thread they can access. Returns `403 Forbidden` when the caller does not
56
+ * own the message.
57
+ * @param message - ID of the message to delete (`msg_...`).
58
+ * @returns Empty body. The server responds with HTTP 204 No Content on success.
59
+ */
23
60
  async delete(message) {
24
61
  await this.http.request(`/api/v1/thread_messages/${message}`, { method: "DELETE" });
25
62
  }
63
+ /**
64
+ * Update a thread message
65
+ * Edits the content of an existing thread message and returns the updated
66
+ * message object.
67
+ * A regular user may only edit messages they authored. Service-to-service
68
+ * callers with elevated (`all_powerful`) scope may edit any accessible message
69
+ * without an ownership check. Returns `403 Forbidden` when the caller does not
70
+ * own the message.
71
+ * @param message - ID of the message to update (`msg_...`).
72
+ * @param input - Request body.
73
+ * @param input.content - Replacement text content for the message. Omit to leave the content unchanged.
74
+ * @returns The updated message object reflecting the new content.
75
+ */
26
76
  async replace(message, input) {
27
77
  return this.http.request(`/api/v1/thread_messages/${message}`, { method: "PUT", body: input });
28
78
  }
79
+ /**
80
+ * List replies to a thread message
81
+ * Returns a cursor-paginated list of reply messages for the specified thread
82
+ * message. By default only direct (first-level) replies are returned. Set
83
+ * `tree` to `true` to retrieve the full nested reply tree in a flat list,
84
+ * ordered by creation time ascending.
85
+ * The authenticated user must have access to the thread that contains the
86
+ * message. If the message belongs to a team-scoped thread, the viewer is
87
+ * automatically scoped to that team before the query executes.
88
+ * Use `before_cursor` and `after_cursor` together with `limit` to page
89
+ * through large reply threads. The `has_more` field in the response
90
+ * indicates whether additional pages exist.
91
+ * @param message - ID of the thread message to fetch replies for (`msg_...`).
92
+ * @param params - Query parameters.
93
+ * @param params.beforeCursor - Opaque pagination cursor. Returns replies created before this point. Obtain from `before_cursor` in a previous response.
94
+ * @param params.afterCursor - Opaque pagination cursor. Returns replies created after this point. Obtain from `after_cursor` in a previous response.
95
+ * @param params.limit - Maximum number of replies to return per page. Defaults to 20.
96
+ * @param params.tree - When `true`, returns all replies in the nested reply tree (flattened). When `false` or omitted, returns only direct replies to the message.
97
+ * @returns Cursor-paginated list of reply messages for the requested thread message.
98
+ */
29
99
  async replies(message, params) {
30
- return this.http.request(`/api/v1/thread_messages/${message}/replies`, { query: params });
100
+ const query = {};
101
+ if (params?.beforeCursor !== undefined) {
102
+ query["before_cursor"] = params?.beforeCursor;
103
+ }
104
+ if (params?.afterCursor !== undefined) {
105
+ query["after_cursor"] = params?.afterCursor;
106
+ }
107
+ if (params?.limit !== undefined) {
108
+ query["limit"] = params?.limit;
109
+ }
110
+ if (params?.tree !== undefined) {
111
+ query["tree"] = params?.tree;
112
+ }
113
+ return this.http.request(`/api/v1/thread_messages/${message}/replies`, { query });
31
114
  }
32
115
  }
33
116
  //# sourceMappingURL=thread_messages.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"thread_messages.js","sourceRoot":"","sources":["../../../src/v1/resources/thread_messages.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,wEAAwE;AACxE,6BAA6B;AAK7B,MAAM,OAAO,gBAAgB;IACP;IAApB,YAAoB,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAExC,KAAK,CAAC,MAAM,CAAC,OAAe;QAC1B,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,2BAA2B,OAAO,YAAY,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAChG,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,KAAwB;QACpD,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,2BAA2B,OAAO,YAAY,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IAC5G,CAAC;CACF;AAED,MAAM,OAAO,qBAAqB;IAGZ;IAFX,SAAS,CAAmB;IAErC,YAAoB,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;QAClC,IAAI,CAAC,SAAS,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAAe;QAC1B,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,2BAA2B,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IACtF,CAAC;IAED,KAAK,CAAC,OAAO,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MAAM,CAAC,OAAe;QAC1B,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,2BAA2B,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,OAAO,CAAC,OAAe,EAAE,KAAuC;QACpE,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,2BAA2B,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IACjG,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAK,CAAC,OAAO,CAAC,OAAe,EAAE,MAAwF;QACrH,MAAM,KAAK,GAA6F,EAAE,CAAC;QAC3G,IAAI,MAAM,EAAE,YAAY,KAAK,SAAS,EAAE,CAAC;YACvC,KAAK,CAAC,eAAe,CAAC,GAAG,MAAM,EAAE,YAAY,CAAC;QAChD,CAAC;QACD,IAAI,MAAM,EAAE,WAAW,KAAK,SAAS,EAAE,CAAC;YACtC,KAAK,CAAC,cAAc,CAAC,GAAG,MAAM,EAAE,WAAW,CAAC;QAC9C,CAAC;QACD,IAAI,MAAM,EAAE,KAAK,KAAK,SAAS,EAAE,CAAC;YAChC,KAAK,CAAC,OAAO,CAAC,GAAG,MAAM,EAAE,KAAK,CAAC;QACjC,CAAC;QACD,IAAI,MAAM,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAC/B,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,IAAI,CAAC;QAC/B,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,2BAA2B,OAAO,UAAU,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IACpF,CAAC;CACF"}
@@ -3,22 +3,63 @@ import type { Thread, ThreadMember, ThreadReadStatus, ThreadSettings } from "../
3
3
  export declare class ThreadMemberResource {
4
4
  private http;
5
5
  constructor(http: HttpClient);
6
+ /**
7
+ * Remove a member from a thread
8
+ * Removes a user or agent membership from the specified thread. The authenticated
9
+ * user must have access to the thread. A successful removal returns HTTP 204 with
10
+ * no response body.
11
+ * Supply either `user` or `agent` depending on the value of `type`. Returns 404
12
+ * if the thread or the membership record does not exist.
13
+ * @param thread - Thread ID (`thr_...`) identifying the thread to remove the member from.
14
+ * @returns Empty response body. HTTP 204 on success.
15
+ */
6
16
  remove(thread: string): Promise<void>;
17
+ /**
18
+ * List members of a thread
19
+ * Returns all current members of the specified thread, including both user and
20
+ * agent members. The authenticated user must have visibility into the thread;
21
+ * requests from users without access return 403.
22
+ * Results are returned as a flat array in the `data` field. The list is not
23
+ * paginated — all members are returned in a single response.
24
+ * @param thread - Thread ID (`thr_...`) identifying the thread to remove the member from.
25
+ * @returns Successful response
26
+ */
7
27
  list(thread: string): Promise<{
8
28
  data: {
9
29
  membership_type?: string | undefined;
10
30
  thread?: string | undefined;
11
31
  user?: {
12
32
  alias?: string | undefined;
33
+ app?: string | undefined;
34
+ app_name?: string | undefined;
13
35
  email?: string | undefined;
14
36
  id: string;
37
+ is_system_user?: boolean | undefined;
15
38
  metadata?: Record<string, unknown> | undefined;
16
39
  name?: string | undefined;
17
40
  org?: string | undefined;
41
+ org_name?: string | undefined;
42
+ org_role?: string | undefined;
18
43
  sandbox?: string | undefined;
44
+ sandbox_name?: string | undefined;
19
45
  } | undefined;
20
46
  }[];
21
47
  }>;
48
+ /**
49
+ * Add a member to a thread
50
+ * Adds a user or agent as a member of the specified thread. The authenticated
51
+ * user must have access to the thread. On success the new membership record is
52
+ * returned with HTTP 201.
53
+ * Supply either `user` or `agent` depending on the value of `type`. Attempting
54
+ * to add a principal that is already a member of the thread returns a 422 error.
55
+ * @param thread - Thread ID (`thr_...`) identifying the thread to remove the member from.
56
+ * @param input - Request body.
57
+ * @param input.agent - Agent ID of the principal to add. Required when `type` is `"agent"`.
58
+ * @param input.membership_type - Role granted to the new member. One of `"owner"` or `"member"`. Defaults to `"member"`.
59
+ * @param input.type - Kind of principal being added. Must be `"user"` or `"agent"`.
60
+ * @param input.user - User ID of the principal to add. Required when `type` is `"user"`.
61
+ * @returns The newly created thread membership record.
62
+ */
22
63
  create(thread: string, input: {
23
64
  agent?: string | undefined;
24
65
  membership_type?: string | undefined;
@@ -29,9 +70,31 @@ export declare class ThreadMemberResource {
29
70
  export declare class SettingResource {
30
71
  private http;
31
72
  constructor(http: HttpClient);
73
+ /**
74
+ * Retrieve thread settings
75
+ * Returns the current settings for the specified thread. Settings control
76
+ * per-thread behavior such as whether the AI agent is enabled.
77
+ * The authenticated user must own the thread or be a member of its workspace.
78
+ * If settings have never been explicitly configured, defaults are returned
79
+ * (for example, `agent_enabled` defaults to `true`).
80
+ * @param thread - Thread ID (`thr_...`). Must belong to the authenticated user's workspace.
81
+ * @returns Successful response
82
+ */
32
83
  list(thread: string): Promise<{
33
84
  agent_enabled?: boolean | undefined;
34
85
  }>;
86
+ /**
87
+ * Update thread settings
88
+ * Updates the settings for the specified thread. Only fields included in
89
+ * the `settings` map are modified; omitted fields retain their current values.
90
+ * The authenticated user must own the thread or be a member of its workspace.
91
+ * Returns the full settings object reflecting the state after the update.
92
+ * Validation errors are returned as `422 Unprocessable Entity`.
93
+ * @param thread - Thread ID (`thr_...`). Must belong to the authenticated user's workspace.
94
+ * @param input - Request body.
95
+ * @param input.settings - Map of settings fields to update. Include only the keys you want to change.
96
+ * @returns The thread settings object after the update has been applied.
97
+ */
35
98
  replace(thread: string, input: {
36
99
  settings: Record<string, unknown>;
37
100
  }): Promise<ThreadSettings>;
@@ -41,11 +104,50 @@ export declare class ThreadResource {
41
104
  readonly members: ThreadMemberResource;
42
105
  readonly settings: SettingResource;
43
106
  constructor(http: HttpClient);
107
+ /**
108
+ * Delete a thread
109
+ * Permanently deletes a thread and all of its messages and artifacts. This action
110
+ * cannot be undone.
111
+ * The authenticated user must own the thread or be an owner of the team the thread
112
+ * belongs to. Attempting to delete a thread owned by another user or team returns 403.
113
+ * @param thread - Thread ID (`thr_...`). The authenticated user must own this thread.
114
+ * @returns Empty response on successful deletion.
115
+ */
44
116
  delete(thread: string): Promise<void>;
117
+ /**
118
+ * Retrieve a thread
119
+ * Returns the full thread record for the given thread ID. The authenticated user
120
+ * must own the thread or be a member of the workspace it belongs to.
121
+ * Use this endpoint to fetch the current state of a single thread, including its
122
+ * title, description, and metadata. To list many threads, use the list endpoint
123
+ * with cursor-based pagination.
124
+ * @param thread - Thread ID (`thr_...`). The authenticated user must have access to this thread.
125
+ * @returns The requested thread object.
126
+ */
45
127
  get(thread: string): Promise<Thread>;
128
+ /**
129
+ * Update a thread
130
+ * Updates one or more mutable properties of the specified thread and returns
131
+ * the full thread object with the applied changes. Only the fields you provide
132
+ * are modified; omitted fields retain their current values.
133
+ * If `profile_picture` is supplied, the image is uploaded before the other
134
+ * fields are saved. Supplying invalid base64 picture data returns 422 and no
135
+ * other fields are updated.
136
+ * The authenticated user must own the thread or be a team owner of the workspace
137
+ * the thread belongs to.
138
+ * @param thread - Thread ID (`thr_...`). The authenticated user must have permission to update this thread.
139
+ * @param input - Request body.
140
+ * @param input.description - Optional longer text describing the thread's purpose. Replaces the existing description when provided.
141
+ * @param input.metadata - Arbitrary key-value metadata to store on the thread. Merged with or replaces existing metadata.
142
+ * @param input.muted - When `true`, suppresses notifications for new messages in this thread for the authenticated user.
143
+ * @param input.profile_picture - New profile picture for the thread. Provide all three inner fields to replace the existing image.
144
+ * @param input.title - Human-readable display name for the thread. Replaces the existing title when provided.
145
+ * @returns The thread object after the update has been applied.
146
+ */
46
147
  replace(thread: string, input: {
47
148
  description?: string | undefined;
48
149
  metadata?: Record<string, unknown> | undefined;
150
+ muted?: boolean | undefined;
49
151
  profile_picture?: {
50
152
  data?: string | undefined;
51
153
  filename?: string | undefined;
@@ -53,9 +155,33 @@ export declare class ThreadResource {
53
155
  } | undefined;
54
156
  title?: string | undefined;
55
157
  }): Promise<Thread>;
158
+ /**
159
+ * List agents in a thread
160
+ * Returns the agents participating in the specified thread. Only personal user
161
+ * threads (threads owned by a single user, not a team) expose agents through
162
+ * this endpoint; requests for team threads return 404.
163
+ * The authenticated user must have visibility into the thread. Each agent entry
164
+ * includes display information such as name and profile picture. Thread-level
165
+ * overrides (e.g. a custom name or profile picture set for this thread) take
166
+ * precedence over the agent's default values. When the caller is the thread
167
+ * owner, each entry also includes an `agent_config` object describing the
168
+ * agent's message policy and context configuration.
169
+ * @param thread - Thread ID (`thr_...`). Must be a personal user thread visible to the authenticated user.
170
+ * @returns Successful response
171
+ */
56
172
  agents(thread: string): Promise<{
57
173
  data: Record<string, unknown>[];
58
174
  }>;
175
+ /**
176
+ * List artifacts for a thread
177
+ * Returns all artifacts produced during a thread's AI conversation. Artifacts are
178
+ * structured outputs such as code files, documents, or generated assets created
179
+ * by the AI agent in response to messages in the thread.
180
+ * The authenticated user must have access to the specified thread. Results are
181
+ * returned in a single page; there is no cursor-based pagination for this endpoint.
182
+ * @param thread - Thread ID (`thr_...`). Must be accessible to the authenticated user.
183
+ * @returns Successful response
184
+ */
59
185
  artifacts(thread: string): Promise<{
60
186
  data: {
61
187
  agent?: string | undefined;
@@ -86,11 +212,46 @@ export declare class ThreadResource {
86
212
  version?: number | undefined;
87
213
  }[];
88
214
  }>;
215
+ /**
216
+ * Mark a thread as read
217
+ * Records that a user has read up to a specific message in the thread. Unread
218
+ * indicators and badge counts are cleared up to the specified message.
219
+ * You must supply exactly one of `last_read_message` or `use_latest_message`.
220
+ * Omitting both returns 400. If `use_latest_message` is `true` and the thread
221
+ * has no messages, the request succeeds silently with no state change.
222
+ * For server-to-server (S2S) requests where no user identity is present in the
223
+ * token, the `user` param is required to identify whose read state to update.
224
+ * @param thread - Thread ID (`thr_...`). The thread to mark as read.
225
+ * @param input - Request body.
226
+ * @param input.last_read_message - Message ID (`msg_...`) to record as the last read message. Mutually exclusive with `use_latest_message`.
227
+ * @param input.use_latest_message - When `true`, marks the thread as read up to the latest message. Mutually exclusive with `last_read_message`.
228
+ * @param input.user - User ID (`usr_...`) whose read state to update. Required for S2S requests; ignored when an authenticated user is present in the token.
229
+ * @returns Empty response on success.
230
+ */
89
231
  markRead(thread: string, input: {
90
232
  last_read_message?: string | undefined;
91
233
  use_latest_message?: boolean | undefined;
92
234
  user?: string | undefined;
93
235
  }): Promise<void>;
236
+ /**
237
+ * List messages in a thread
238
+ * Returns a cursor-paginated list of messages belonging to the specified thread,
239
+ * ordered from oldest to newest. Supply `before_cursor` or `after_cursor` (not both)
240
+ * to page through the result set; omit both to receive the most recent page.
241
+ * The authenticated user must have access to the thread's owner (workspace or user).
242
+ * A 403 is returned if the thread exists but is not accessible to the caller; a 404
243
+ * is returned if the thread does not exist or is not visible to the authenticated user.
244
+ * Pass `include_reply_counts: true` to annotate each message with the number of
245
+ * threaded replies it has received. This adds a small amount of latency and should
246
+ * be omitted when reply counts are not needed.
247
+ * @param thread - Thread ID (`thr_...`). The authenticated user must have access to this thread.
248
+ * @param params - Query parameters.
249
+ * @param params.beforeCursor - Opaque cursor returned in a previous response's `before_cursor` field. When provided, returns the page of messages immediately before that position. Cannot be combined with `after_cursor`.
250
+ * @param params.afterCursor - Opaque cursor returned in a previous response's `after_cursor` field. When provided, returns the page of messages immediately after that position. Cannot be combined with `before_cursor`.
251
+ * @param params.limit - Maximum number of messages to return per page. Defaults to 20.
252
+ * @param params.includeReplyCounts - When `true`, each message in the response is annotated with its threaded reply count. Defaults to `false`. Adds latency; omit when reply counts are not needed.
253
+ * @returns Successful response
254
+ */
94
255
  messages(thread: string, params?: {
95
256
  beforeCursor?: string;
96
257
  afterCursor?: string;
@@ -191,6 +352,18 @@ export declare class ThreadResource {
191
352
  }[];
192
353
  };
193
354
  }>;
355
+ /**
356
+ * Update a thread's profile picture
357
+ * Uploads a new profile picture for the specified thread and returns the updated
358
+ * thread object. The image must be supplied as a base64-encoded string with its
359
+ * MIME type.
360
+ * The authenticated user must own the thread or be a team owner of the workspace
361
+ * the thread belongs to. Supplying invalid base64 data returns 422.
362
+ * @param thread - Thread ID (`thr_...`). The authenticated user must have permission to update this thread.
363
+ * @param input - Request body.
364
+ * @param input.picture - Profile picture payload. Must include the base64-encoded image data and its MIME type.
365
+ * @returns The thread object after the profile picture has been updated.
366
+ */
194
367
  picture(thread: string, input: {
195
368
  picture: {
196
369
  data: string;
@@ -198,9 +371,37 @@ export declare class ThreadResource {
198
371
  mime_type: string;
199
372
  };
200
373
  }): Promise<Thread>;
374
+ /**
375
+ * Retrieve a thread's read status
376
+ * Returns the read status of a thread for the specified user, including the ID
377
+ * of the last message they have read and the number of unread messages remaining.
378
+ * For user-authenticated requests, the status is always returned for the
379
+ * authenticated user and the `user` parameter is ignored. For server-to-server
380
+ * (S2S) requests, the `user` parameter is required and must be a valid user ID.
381
+ * Returns 404 if the thread does not exist or the caller does not have access
382
+ * to it.
383
+ * @param thread - Thread ID (`thr_...`). Must be accessible to the authenticated user or, for S2S requests, to the specified user.
384
+ * @param params - Query parameters.
385
+ * @param params.user - User ID (`usr_...`) whose read status to retrieve. Required for S2S requests; ignored for user-authenticated requests, which always return the status for the authenticated user.
386
+ * @returns The read status record for the requested thread and user.
387
+ */
201
388
  readStatus(thread: string, params?: {
202
389
  user?: string;
203
390
  }): Promise<ThreadReadStatus>;
391
+ /**
392
+ * Search context items within a thread
393
+ * Performs a full-text search over context items (messages, files, and other
394
+ * indexed sources) attached to the specified thread. Returns tagged objects
395
+ * whose content matches the query string.
396
+ * Use the `type` param to restrict results to a particular context source. All
397
+ * accessible context source types are searched when `type` is omitted. The
398
+ * authenticated user must have access to the thread.
399
+ * @param thread - Thread ID (`thr_...`). Must be accessible to the authenticated user.
400
+ * @param params - Query parameters.
401
+ * @param params.q - Full-text search query. Results are ranked by relevance to this string.
402
+ * @param params.type - Context source type to restrict the search to, e.g. `"thread/messages"`. Omit to search across all context sources for the thread.
403
+ * @returns Successful response
404
+ */
204
405
  search(thread: string, params?: {
205
406
  q?: string;
206
407
  type?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"threads.d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