@airweave/sdk 0.9.42 → 0.9.44

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 (340) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/collections/client/Client.d.ts +53 -0
  3. package/dist/cjs/api/resources/collections/client/Client.js +261 -0
  4. package/dist/cjs/api/{types → resources/collections/client/requests}/ClassicSearchRequest.d.ts +5 -2
  5. package/dist/cjs/api/{types → resources/collections/client/requests}/InstantSearchRequest.d.ts +5 -2
  6. package/dist/cjs/api/resources/collections/client/requests/index.d.ts +2 -0
  7. package/dist/cjs/api/types/AgenticSearchDoneEvent.d.ts +25 -0
  8. package/dist/cjs/api/types/AgenticSearchErrorEvent.d.ts +8 -0
  9. package/dist/cjs/api/types/AgenticSearchEvent.d.ts +25 -0
  10. package/dist/cjs/api/types/AgenticSearchRerankingEvent.d.ts +16 -0
  11. package/dist/cjs/api/types/AgenticSearchStartedEvent.d.ts +12 -0
  12. package/dist/cjs/api/types/AgenticSearchThinkingEvent.d.ts +18 -0
  13. package/dist/cjs/api/types/AgenticSearchToolCallEvent.d.ts +38 -0
  14. package/dist/cjs/api/types/AgenticSearchToolCallEvent.js +21 -0
  15. package/dist/cjs/api/types/CollectToolStats.d.ts +15 -0
  16. package/dist/cjs/api/types/CountToolStats.d.ts +10 -0
  17. package/dist/cjs/api/types/EntitySummary.d.ts +5 -0
  18. package/dist/cjs/api/types/ErrorToolStats.d.ts +9 -0
  19. package/dist/cjs/api/types/FinishToolStats.d.ts +13 -0
  20. package/dist/cjs/api/types/NavigateToolStats.d.ts +13 -0
  21. package/dist/cjs/api/types/ReadToolStats.d.ts +15 -0
  22. package/dist/cjs/api/types/RetrievalStrategy.d.ts +4 -4
  23. package/dist/cjs/api/types/RetrievalStrategy.js +2 -2
  24. package/dist/cjs/api/types/ReviewToolStats.d.ts +12 -0
  25. package/dist/cjs/api/types/SearchToolStats.d.ts +14 -0
  26. package/dist/cjs/api/types/index.d.ts +15 -68
  27. package/dist/cjs/api/types/index.js +15 -68
  28. package/dist/cjs/core/index.d.ts +1 -0
  29. package/dist/cjs/core/index.js +1 -0
  30. package/dist/cjs/core/stream/Stream.d.ts +46 -0
  31. package/dist/cjs/core/stream/Stream.js +169 -0
  32. package/dist/cjs/core/stream/index.d.ts +1 -0
  33. package/dist/cjs/core/stream/index.js +5 -0
  34. package/dist/cjs/version.d.ts +1 -1
  35. package/dist/cjs/version.js +1 -1
  36. package/dist/esm/Client.mjs +2 -2
  37. package/dist/esm/api/resources/collections/client/Client.d.mts +53 -0
  38. package/dist/esm/api/resources/collections/client/Client.mjs +261 -0
  39. package/dist/esm/api/{types → resources/collections/client/requests}/ClassicSearchRequest.d.mts +5 -2
  40. package/dist/esm/api/{types → resources/collections/client/requests}/InstantSearchRequest.d.mts +5 -2
  41. package/dist/esm/api/resources/collections/client/requests/index.d.mts +2 -0
  42. package/dist/esm/api/types/AgenticSearchDoneEvent.d.mts +25 -0
  43. package/dist/esm/api/types/AgenticSearchErrorEvent.d.mts +8 -0
  44. package/dist/esm/api/types/AgenticSearchEvent.d.mts +25 -0
  45. package/dist/esm/api/types/AgenticSearchRerankingEvent.d.mts +16 -0
  46. package/dist/esm/api/types/AgenticSearchStartedEvent.d.mts +12 -0
  47. package/dist/esm/api/types/AgenticSearchThinkingEvent.d.mts +18 -0
  48. package/dist/esm/api/types/AgenticSearchToolCallEvent.d.mts +38 -0
  49. package/dist/esm/api/types/AgenticSearchToolCallEvent.mjs +18 -0
  50. package/dist/esm/api/types/CollectToolStats.d.mts +15 -0
  51. package/dist/esm/api/types/CountToolStats.d.mts +10 -0
  52. package/dist/esm/api/types/EntitySummary.d.mts +5 -0
  53. package/dist/esm/api/types/ErrorToolStats.d.mts +9 -0
  54. package/dist/esm/api/types/FinishToolStats.d.mts +13 -0
  55. package/dist/esm/api/types/NavigateToolStats.d.mts +13 -0
  56. package/dist/esm/api/types/ReadToolStats.d.mts +15 -0
  57. package/dist/esm/api/types/RetrievalStrategy.d.mts +4 -4
  58. package/dist/esm/api/types/RetrievalStrategy.mjs +2 -2
  59. package/dist/esm/api/types/ReviewToolStats.d.mts +12 -0
  60. package/dist/esm/api/types/SearchToolStats.d.mts +14 -0
  61. package/dist/esm/api/types/index.d.mts +15 -68
  62. package/dist/esm/api/types/index.mjs +15 -68
  63. package/dist/esm/core/index.d.mts +1 -0
  64. package/dist/esm/core/index.mjs +1 -0
  65. package/dist/esm/core/stream/Stream.d.mts +46 -0
  66. package/dist/esm/core/stream/Stream.mjs +164 -0
  67. package/dist/esm/core/stream/index.d.mts +1 -0
  68. package/dist/esm/core/stream/index.mjs +1 -0
  69. package/dist/esm/version.d.mts +1 -1
  70. package/dist/esm/version.mjs +1 -1
  71. package/package.json +1 -1
  72. package/reference.md +295 -0
  73. package/dist/cjs/api/types/ActionCheckRequest.d.ts +0 -10
  74. package/dist/cjs/api/types/ActionCheckResponse.d.ts +0 -10
  75. package/dist/cjs/api/types/AdminSearchDestination.d.ts +0 -7
  76. package/dist/cjs/api/types/AdminSyncInfo.d.ts +0 -36
  77. package/dist/cjs/api/types/ApiKey.d.ts +0 -17
  78. package/dist/cjs/api/types/ApiKeyCreate.d.ts +0 -10
  79. package/dist/cjs/api/types/AuthProviderConnection.d.ts +0 -23
  80. package/dist/cjs/api/types/AuthProviderConnectionCreate.d.ts +0 -19
  81. package/dist/cjs/api/types/AuthProviderConnectionUpdate.d.ts +0 -15
  82. package/dist/cjs/api/types/AuthProviderMetadata.d.ts +0 -17
  83. package/dist/cjs/api/types/BillingPeriod.d.ts +0 -30
  84. package/dist/cjs/api/types/BillingPeriodStatus.d.ts +0 -14
  85. package/dist/cjs/api/types/BillingPeriodStatus.js +0 -13
  86. package/dist/cjs/api/types/BillingPeriodUsage.d.ts +0 -27
  87. package/dist/cjs/api/types/BillingPlan.d.ts +0 -14
  88. package/dist/cjs/api/types/BillingPlan.js +0 -13
  89. package/dist/cjs/api/types/BillingStatus.d.ts +0 -16
  90. package/dist/cjs/api/types/BillingStatus.js +0 -15
  91. package/dist/cjs/api/types/BillingTransition.d.ts +0 -15
  92. package/dist/cjs/api/types/BillingTransition.js +0 -14
  93. package/dist/cjs/api/types/BodyChangeMemberRoleOrganizationsOrganizationIdMembersUserIdPatch.d.ts +0 -6
  94. package/dist/cjs/api/types/BodyResyncWithExecutionConfigAdminResyncSyncIdPost.d.ts +0 -10
  95. package/dist/cjs/api/types/BrowseNode.d.ts +0 -15
  96. package/dist/cjs/api/types/BrowseNode.js +0 -5
  97. package/dist/cjs/api/types/BrowseTreeResponse.d.ts +0 -12
  98. package/dist/cjs/api/types/BrowseTreeResponse.js +0 -5
  99. package/dist/cjs/api/types/CheckStatus.d.ts +0 -12
  100. package/dist/cjs/api/types/CheckStatus.js +0 -11
  101. package/dist/cjs/api/types/CheckoutSessionRequest.d.ts +0 -14
  102. package/dist/cjs/api/types/CheckoutSessionRequest.js +0 -5
  103. package/dist/cjs/api/types/CheckoutSessionResponse.d.ts +0 -10
  104. package/dist/cjs/api/types/CheckoutSessionResponse.js +0 -5
  105. package/dist/cjs/api/types/ConfigValues.d.ts +0 -9
  106. package/dist/cjs/api/types/ConfigValues.js +0 -5
  107. package/dist/cjs/api/types/ConnectSessionContext.d.ts +0 -26
  108. package/dist/cjs/api/types/ConnectSessionContext.js +0 -5
  109. package/dist/cjs/api/types/ConnectSessionCreate.d.ts +0 -20
  110. package/dist/cjs/api/types/ConnectSessionCreate.js +0 -5
  111. package/dist/cjs/api/types/ConnectSessionMode.d.ts +0 -18
  112. package/dist/cjs/api/types/ConnectSessionMode.js +0 -12
  113. package/dist/cjs/api/types/ConnectSessionResponse.d.ts +0 -16
  114. package/dist/cjs/api/types/ConnectSessionResponse.js +0 -5
  115. package/dist/cjs/api/types/CustomerPortalRequest.d.ts +0 -10
  116. package/dist/cjs/api/types/CustomerPortalRequest.js +0 -5
  117. package/dist/cjs/api/types/CustomerPortalResponse.d.ts +0 -10
  118. package/dist/cjs/api/types/CustomerPortalResponse.js +0 -5
  119. package/dist/cjs/api/types/DependencyCheck.d.ts +0 -12
  120. package/dist/cjs/api/types/DependencyCheck.js +0 -5
  121. package/dist/cjs/api/types/EntityCountWithDefinition.d.ts +0 -17
  122. package/dist/cjs/api/types/EntityCountWithDefinition.js +0 -5
  123. package/dist/cjs/api/types/EntityDefinitionMetadata.d.ts +0 -15
  124. package/dist/cjs/api/types/EntityDefinitionMetadata.js +0 -5
  125. package/dist/cjs/api/types/FeatureFlag.d.ts +0 -17
  126. package/dist/cjs/api/types/FeatureFlag.js +0 -14
  127. package/dist/cjs/api/types/InternalAgenticSearchRequest.d.ts +0 -19
  128. package/dist/cjs/api/types/InternalAgenticSearchRequest.js +0 -5
  129. package/dist/cjs/api/types/InvitationCreate.d.ts +0 -10
  130. package/dist/cjs/api/types/InvitationCreate.js +0 -5
  131. package/dist/cjs/api/types/InvitationResponse.d.ts +0 -13
  132. package/dist/cjs/api/types/InvitationResponse.js +0 -5
  133. package/dist/cjs/api/types/LivenessResponse.d.ts +0 -9
  134. package/dist/cjs/api/types/LivenessResponse.js +0 -5
  135. package/dist/cjs/api/types/MemberResponse.d.ts +0 -15
  136. package/dist/cjs/api/types/MemberResponse.js +0 -5
  137. package/dist/cjs/api/types/MessageResponse.d.ts +0 -10
  138. package/dist/cjs/api/types/MessageResponse.js +0 -5
  139. package/dist/cjs/api/types/NodeSelectionData.d.ts +0 -12
  140. package/dist/cjs/api/types/NodeSelectionData.js +0 -5
  141. package/dist/cjs/api/types/NodeSelectionRequest.d.ts +0 -10
  142. package/dist/cjs/api/types/NodeSelectionRequest.js +0 -5
  143. package/dist/cjs/api/types/NodeSelectionResponse.d.ts +0 -14
  144. package/dist/cjs/api/types/NodeSelectionResponse.js +0 -5
  145. package/dist/cjs/api/types/Organization.d.ts +0 -29
  146. package/dist/cjs/api/types/Organization.js +0 -5
  147. package/dist/cjs/api/types/OrganizationBilling.d.ts +0 -44
  148. package/dist/cjs/api/types/OrganizationBilling.js +0 -5
  149. package/dist/cjs/api/types/OrganizationCreate.d.ts +0 -16
  150. package/dist/cjs/api/types/OrganizationCreate.js +0 -5
  151. package/dist/cjs/api/types/OrganizationMetrics.d.ts +0 -47
  152. package/dist/cjs/api/types/OrganizationMetrics.js +0 -5
  153. package/dist/cjs/api/types/OrganizationWithRole.d.ts +0 -22
  154. package/dist/cjs/api/types/OrganizationWithRole.js +0 -5
  155. package/dist/cjs/api/types/ReadinessResponse.d.ts +0 -18
  156. package/dist/cjs/api/types/ReadinessResponse.js +0 -13
  157. package/dist/cjs/api/types/SearchRequest.d.ts +0 -34
  158. package/dist/cjs/api/types/SearchRequest.js +0 -5
  159. package/dist/cjs/api/types/SearchResponse.d.ts +0 -15
  160. package/dist/cjs/api/types/SearchResponse.js +0 -5
  161. package/dist/cjs/api/types/SingleActionCheckResponse.d.ts +0 -23
  162. package/dist/cjs/api/types/SingleActionCheckResponse.js +0 -13
  163. package/dist/cjs/api/types/SourceRateLimit.d.ts +0 -18
  164. package/dist/cjs/api/types/SourceRateLimit.js +0 -5
  165. package/dist/cjs/api/types/SourceRateLimitResponse.d.ts +0 -17
  166. package/dist/cjs/api/types/SourceRateLimitResponse.js +0 -5
  167. package/dist/cjs/api/types/SourceRateLimitUpdateRequest.d.ts +0 -12
  168. package/dist/cjs/api/types/SourceRateLimitUpdateRequest.js +0 -5
  169. package/dist/cjs/api/types/SubscriptionInfo.d.ts +0 -52
  170. package/dist/cjs/api/types/SubscriptionInfo.js +0 -5
  171. package/dist/cjs/api/types/SyncJob.d.ts +0 -33
  172. package/dist/cjs/api/types/SyncJob.js +0 -5
  173. package/dist/cjs/api/types/SyncStatus.d.ts +0 -12
  174. package/dist/cjs/api/types/SyncStatus.js +0 -11
  175. package/dist/cjs/api/types/UpdatePlanRequest.d.ts +0 -12
  176. package/dist/cjs/api/types/UpdatePlanRequest.js +0 -5
  177. package/dist/cjs/api/types/UsageDashboard.d.ts +0 -23
  178. package/dist/cjs/api/types/UsageDashboard.js +0 -5
  179. package/dist/cjs/api/types/UsageSnapshot.d.ts +0 -32
  180. package/dist/cjs/api/types/UsageSnapshot.js +0 -5
  181. package/dist/cjs/api/types/UsageTrend.d.ts +0 -14
  182. package/dist/cjs/api/types/UsageTrend.js +0 -5
  183. package/dist/cjs/api/types/User.d.ts +0 -18
  184. package/dist/cjs/api/types/User.js +0 -5
  185. package/dist/cjs/api/types/UserCreate.d.ts +0 -11
  186. package/dist/cjs/api/types/UserCreate.js +0 -5
  187. package/dist/cjs/api/types/UserOrganization.d.ts +0 -14
  188. package/dist/cjs/api/types/UserOrganization.js +0 -5
  189. package/dist/cjs/api/types/VerifyOAuthRequest.d.ts +0 -10
  190. package/dist/cjs/api/types/VerifyOAuthRequest.js +0 -5
  191. package/dist/esm/api/types/ActionCheckRequest.d.mts +0 -10
  192. package/dist/esm/api/types/ActionCheckResponse.d.mts +0 -10
  193. package/dist/esm/api/types/AdminSearchDestination.d.mts +0 -7
  194. package/dist/esm/api/types/AdminSyncInfo.d.mts +0 -36
  195. package/dist/esm/api/types/ApiKey.d.mts +0 -17
  196. package/dist/esm/api/types/ApiKeyCreate.d.mts +0 -10
  197. package/dist/esm/api/types/AuthProviderConnection.d.mts +0 -23
  198. package/dist/esm/api/types/AuthProviderConnectionCreate.d.mts +0 -19
  199. package/dist/esm/api/types/AuthProviderConnectionUpdate.d.mts +0 -15
  200. package/dist/esm/api/types/AuthProviderMetadata.d.mts +0 -17
  201. package/dist/esm/api/types/BillingPeriod.d.mts +0 -30
  202. package/dist/esm/api/types/BillingPeriodStatus.d.mts +0 -14
  203. package/dist/esm/api/types/BillingPeriodStatus.mjs +0 -10
  204. package/dist/esm/api/types/BillingPeriodUsage.d.mts +0 -27
  205. package/dist/esm/api/types/BillingPlan.d.mts +0 -14
  206. package/dist/esm/api/types/BillingPlan.mjs +0 -10
  207. package/dist/esm/api/types/BillingStatus.d.mts +0 -16
  208. package/dist/esm/api/types/BillingStatus.mjs +0 -12
  209. package/dist/esm/api/types/BillingTransition.d.mts +0 -15
  210. package/dist/esm/api/types/BillingTransition.mjs +0 -11
  211. package/dist/esm/api/types/BodyChangeMemberRoleOrganizationsOrganizationIdMembersUserIdPatch.d.mts +0 -6
  212. package/dist/esm/api/types/BodyResyncWithExecutionConfigAdminResyncSyncIdPost.d.mts +0 -10
  213. package/dist/esm/api/types/BrowseNode.d.mts +0 -15
  214. package/dist/esm/api/types/BrowseNode.mjs +0 -4
  215. package/dist/esm/api/types/BrowseTreeResponse.d.mts +0 -12
  216. package/dist/esm/api/types/BrowseTreeResponse.mjs +0 -4
  217. package/dist/esm/api/types/CheckStatus.d.mts +0 -12
  218. package/dist/esm/api/types/CheckStatus.mjs +0 -8
  219. package/dist/esm/api/types/CheckoutSessionRequest.d.mts +0 -14
  220. package/dist/esm/api/types/CheckoutSessionRequest.mjs +0 -4
  221. package/dist/esm/api/types/CheckoutSessionResponse.d.mts +0 -10
  222. package/dist/esm/api/types/CheckoutSessionResponse.mjs +0 -4
  223. package/dist/esm/api/types/ConfigValues.d.mts +0 -9
  224. package/dist/esm/api/types/ConfigValues.mjs +0 -4
  225. package/dist/esm/api/types/ConnectSessionContext.d.mts +0 -26
  226. package/dist/esm/api/types/ConnectSessionContext.mjs +0 -4
  227. package/dist/esm/api/types/ConnectSessionCreate.d.mts +0 -20
  228. package/dist/esm/api/types/ConnectSessionCreate.mjs +0 -4
  229. package/dist/esm/api/types/ConnectSessionMode.d.mts +0 -18
  230. package/dist/esm/api/types/ConnectSessionMode.mjs +0 -9
  231. package/dist/esm/api/types/ConnectSessionResponse.d.mts +0 -16
  232. package/dist/esm/api/types/ConnectSessionResponse.mjs +0 -4
  233. package/dist/esm/api/types/CustomerPortalRequest.d.mts +0 -10
  234. package/dist/esm/api/types/CustomerPortalRequest.mjs +0 -4
  235. package/dist/esm/api/types/CustomerPortalResponse.d.mts +0 -10
  236. package/dist/esm/api/types/CustomerPortalResponse.mjs +0 -4
  237. package/dist/esm/api/types/DependencyCheck.d.mts +0 -12
  238. package/dist/esm/api/types/DependencyCheck.mjs +0 -4
  239. package/dist/esm/api/types/EntityCountWithDefinition.d.mts +0 -17
  240. package/dist/esm/api/types/EntityCountWithDefinition.mjs +0 -4
  241. package/dist/esm/api/types/EntityDefinitionMetadata.d.mts +0 -15
  242. package/dist/esm/api/types/EntityDefinitionMetadata.mjs +0 -4
  243. package/dist/esm/api/types/FeatureFlag.d.mts +0 -17
  244. package/dist/esm/api/types/FeatureFlag.mjs +0 -11
  245. package/dist/esm/api/types/InternalAgenticSearchRequest.d.mts +0 -19
  246. package/dist/esm/api/types/InternalAgenticSearchRequest.mjs +0 -4
  247. package/dist/esm/api/types/InvitationCreate.d.mts +0 -10
  248. package/dist/esm/api/types/InvitationCreate.mjs +0 -4
  249. package/dist/esm/api/types/InvitationResponse.d.mts +0 -13
  250. package/dist/esm/api/types/InvitationResponse.mjs +0 -4
  251. package/dist/esm/api/types/LivenessResponse.d.mts +0 -9
  252. package/dist/esm/api/types/LivenessResponse.mjs +0 -4
  253. package/dist/esm/api/types/MemberResponse.d.mts +0 -15
  254. package/dist/esm/api/types/MemberResponse.mjs +0 -4
  255. package/dist/esm/api/types/MessageResponse.d.mts +0 -10
  256. package/dist/esm/api/types/MessageResponse.mjs +0 -4
  257. package/dist/esm/api/types/NodeSelectionData.d.mts +0 -12
  258. package/dist/esm/api/types/NodeSelectionData.mjs +0 -4
  259. package/dist/esm/api/types/NodeSelectionRequest.d.mts +0 -10
  260. package/dist/esm/api/types/NodeSelectionRequest.mjs +0 -4
  261. package/dist/esm/api/types/NodeSelectionResponse.d.mts +0 -14
  262. package/dist/esm/api/types/NodeSelectionResponse.mjs +0 -4
  263. package/dist/esm/api/types/Organization.d.mts +0 -29
  264. package/dist/esm/api/types/Organization.mjs +0 -4
  265. package/dist/esm/api/types/OrganizationBilling.d.mts +0 -44
  266. package/dist/esm/api/types/OrganizationBilling.mjs +0 -4
  267. package/dist/esm/api/types/OrganizationCreate.d.mts +0 -16
  268. package/dist/esm/api/types/OrganizationCreate.mjs +0 -4
  269. package/dist/esm/api/types/OrganizationMetrics.d.mts +0 -47
  270. package/dist/esm/api/types/OrganizationMetrics.mjs +0 -4
  271. package/dist/esm/api/types/OrganizationWithRole.d.mts +0 -22
  272. package/dist/esm/api/types/OrganizationWithRole.mjs +0 -4
  273. package/dist/esm/api/types/ReadinessResponse.d.mts +0 -18
  274. package/dist/esm/api/types/ReadinessResponse.mjs +0 -10
  275. package/dist/esm/api/types/SearchRequest.d.mts +0 -34
  276. package/dist/esm/api/types/SearchRequest.mjs +0 -4
  277. package/dist/esm/api/types/SearchResponse.d.mts +0 -15
  278. package/dist/esm/api/types/SearchResponse.mjs +0 -4
  279. package/dist/esm/api/types/SingleActionCheckResponse.d.mts +0 -23
  280. package/dist/esm/api/types/SingleActionCheckResponse.mjs +0 -10
  281. package/dist/esm/api/types/SourceRateLimit.d.mts +0 -18
  282. package/dist/esm/api/types/SourceRateLimit.mjs +0 -4
  283. package/dist/esm/api/types/SourceRateLimitResponse.d.mts +0 -17
  284. package/dist/esm/api/types/SourceRateLimitResponse.mjs +0 -4
  285. package/dist/esm/api/types/SourceRateLimitUpdateRequest.d.mts +0 -12
  286. package/dist/esm/api/types/SourceRateLimitUpdateRequest.mjs +0 -4
  287. package/dist/esm/api/types/SubscriptionInfo.d.mts +0 -52
  288. package/dist/esm/api/types/SubscriptionInfo.mjs +0 -4
  289. package/dist/esm/api/types/SyncJob.d.mts +0 -33
  290. package/dist/esm/api/types/SyncJob.mjs +0 -4
  291. package/dist/esm/api/types/SyncStatus.d.mts +0 -12
  292. package/dist/esm/api/types/SyncStatus.mjs +0 -8
  293. package/dist/esm/api/types/UpdatePlanRequest.d.mts +0 -12
  294. package/dist/esm/api/types/UpdatePlanRequest.mjs +0 -4
  295. package/dist/esm/api/types/UsageDashboard.d.mts +0 -23
  296. package/dist/esm/api/types/UsageDashboard.mjs +0 -4
  297. package/dist/esm/api/types/UsageSnapshot.d.mts +0 -32
  298. package/dist/esm/api/types/UsageSnapshot.mjs +0 -4
  299. package/dist/esm/api/types/UsageTrend.d.mts +0 -14
  300. package/dist/esm/api/types/UsageTrend.mjs +0 -4
  301. package/dist/esm/api/types/User.d.mts +0 -18
  302. package/dist/esm/api/types/User.mjs +0 -4
  303. package/dist/esm/api/types/UserCreate.d.mts +0 -11
  304. package/dist/esm/api/types/UserCreate.mjs +0 -4
  305. package/dist/esm/api/types/UserOrganization.d.mts +0 -14
  306. package/dist/esm/api/types/UserOrganization.mjs +0 -4
  307. package/dist/esm/api/types/VerifyOAuthRequest.d.mts +0 -10
  308. package/dist/esm/api/types/VerifyOAuthRequest.mjs +0 -4
  309. /package/dist/cjs/api/{types → resources/collections/client/requests}/ClassicSearchRequest.js +0 -0
  310. /package/dist/cjs/api/{types → resources/collections/client/requests}/InstantSearchRequest.js +0 -0
  311. /package/dist/cjs/api/types/{ActionCheckRequest.js → AgenticSearchDoneEvent.js} +0 -0
  312. /package/dist/cjs/api/types/{ActionCheckResponse.js → AgenticSearchErrorEvent.js} +0 -0
  313. /package/dist/cjs/api/types/{AdminSearchDestination.js → AgenticSearchEvent.js} +0 -0
  314. /package/dist/cjs/api/types/{AdminSyncInfo.js → AgenticSearchRerankingEvent.js} +0 -0
  315. /package/dist/cjs/api/types/{ApiKey.js → AgenticSearchStartedEvent.js} +0 -0
  316. /package/dist/cjs/api/types/{ApiKeyCreate.js → AgenticSearchThinkingEvent.js} +0 -0
  317. /package/dist/cjs/api/types/{AuthProviderConnection.js → CollectToolStats.js} +0 -0
  318. /package/dist/cjs/api/types/{AuthProviderConnectionCreate.js → CountToolStats.js} +0 -0
  319. /package/dist/cjs/api/types/{AuthProviderConnectionUpdate.js → ErrorToolStats.js} +0 -0
  320. /package/dist/cjs/api/types/{AuthProviderMetadata.js → FinishToolStats.js} +0 -0
  321. /package/dist/cjs/api/types/{BillingPeriod.js → NavigateToolStats.js} +0 -0
  322. /package/dist/cjs/api/types/{BillingPeriodUsage.js → ReadToolStats.js} +0 -0
  323. /package/dist/cjs/api/types/{BodyChangeMemberRoleOrganizationsOrganizationIdMembersUserIdPatch.js → ReviewToolStats.js} +0 -0
  324. /package/dist/cjs/api/types/{BodyResyncWithExecutionConfigAdminResyncSyncIdPost.js → SearchToolStats.js} +0 -0
  325. /package/dist/esm/api/{types → resources/collections/client/requests}/ClassicSearchRequest.mjs +0 -0
  326. /package/dist/esm/api/{types → resources/collections/client/requests}/InstantSearchRequest.mjs +0 -0
  327. /package/dist/esm/api/types/{ActionCheckRequest.mjs → AgenticSearchDoneEvent.mjs} +0 -0
  328. /package/dist/esm/api/types/{ActionCheckResponse.mjs → AgenticSearchErrorEvent.mjs} +0 -0
  329. /package/dist/esm/api/types/{AdminSearchDestination.mjs → AgenticSearchEvent.mjs} +0 -0
  330. /package/dist/esm/api/types/{AdminSyncInfo.mjs → AgenticSearchRerankingEvent.mjs} +0 -0
  331. /package/dist/esm/api/types/{ApiKey.mjs → AgenticSearchStartedEvent.mjs} +0 -0
  332. /package/dist/esm/api/types/{ApiKeyCreate.mjs → AgenticSearchThinkingEvent.mjs} +0 -0
  333. /package/dist/esm/api/types/{AuthProviderConnection.mjs → CollectToolStats.mjs} +0 -0
  334. /package/dist/esm/api/types/{AuthProviderConnectionCreate.mjs → CountToolStats.mjs} +0 -0
  335. /package/dist/esm/api/types/{AuthProviderConnectionUpdate.mjs → ErrorToolStats.mjs} +0 -0
  336. /package/dist/esm/api/types/{AuthProviderMetadata.mjs → FinishToolStats.mjs} +0 -0
  337. /package/dist/esm/api/types/{BillingPeriod.mjs → NavigateToolStats.mjs} +0 -0
  338. /package/dist/esm/api/types/{BillingPeriodUsage.mjs → ReadToolStats.mjs} +0 -0
  339. /package/dist/esm/api/types/{BodyChangeMemberRoleOrganizationsOrganizationIdMembersUserIdPatch.mjs → ReviewToolStats.mjs} +0 -0
  340. /package/dist/esm/api/types/{BodyResyncWithExecutionConfigAdminResyncSyncIdPost.mjs → SearchToolStats.mjs} +0 -0
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Source-agnostic browse tree node returned by source.get_browse_children().
6
- */
7
- export interface BrowseNode {
8
- source_node_id: string;
9
- node_type: string;
10
- title: string;
11
- description?: string;
12
- item_count?: number;
13
- has_children?: boolean;
14
- node_metadata?: Record<string, unknown>;
15
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as AirweaveSDK from "../index.js";
5
- /**
6
- * API response for browse tree.
7
- */
8
- export interface BrowseTreeResponse {
9
- nodes: AirweaveSDK.BrowseNode[];
10
- parent_node_id?: string;
11
- total: number;
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Status of an individual dependency check.
6
- */
7
- export type CheckStatus = "up" | "down" | "skipped";
8
- export declare const CheckStatus: {
9
- readonly Up: "up";
10
- readonly Down: "down";
11
- readonly Skipped: "skipped";
12
- };
@@ -1,11 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.CheckStatus = void 0;
7
- exports.CheckStatus = {
8
- Up: "up",
9
- Down: "down",
10
- Skipped: "skipped",
11
- };
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Request to create a checkout session.
6
- */
7
- export interface CheckoutSessionRequest {
8
- /** Plan to subscribe to (developer, startup) */
9
- plan: string;
10
- /** URL to redirect on successful payment */
11
- success_url: string;
12
- /** URL to redirect on cancellation */
13
- cancel_url: string;
14
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Response with checkout session URL.
6
- */
7
- export interface CheckoutSessionResponse {
8
- /** Stripe checkout URL */
9
- checkout_url: string;
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Config values model.
6
- *
7
- * Implements "flat dictionary" semantics, where no values are dictionaries.
8
- */
9
- export type ConfigValues = Record<string, unknown>;
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,26 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as AirweaveSDK from "../index.js";
5
- /**
6
- * Decoded session context from a validated token.
7
- *
8
- * This is returned by GET /connect/sessions and used internally
9
- * for authorization in session-authenticated endpoints.
10
- */
11
- export interface ConnectSessionContext {
12
- /** Unique identifier for this session */
13
- session_id: string;
14
- /** Organization that owns this session */
15
- organization_id: string;
16
- /** Readable collection ID this session grants access to */
17
- collection_id: string;
18
- /** List of allowed integration short_names, or None for all */
19
- allowed_integrations?: string[];
20
- /** Session mode determining allowed operations */
21
- mode: AirweaveSDK.ConnectSessionMode;
22
- /** End user identifier from your system, if provided during session creation */
23
- end_user_id?: string;
24
- /** Timestamp when this session expires */
25
- expires_at: string;
26
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as AirweaveSDK from "../index.js";
5
- /**
6
- * Schema for creating a new connect session.
7
- *
8
- * The session token grants temporary access to manage source connections
9
- * within a specific collection.
10
- */
11
- export interface ConnectSessionCreate {
12
- /** The readable ID of the collection to grant access to */
13
- readable_collection_id: string;
14
- /** Optional list of source short_names to restrict which integrations can be connected. If not provided, all integrations are allowed. */
15
- allowed_integrations?: string[];
16
- /** Session mode determining allowed operations */
17
- mode?: AirweaveSDK.ConnectSessionMode;
18
- /** Optional identifier for the end user in your system. This is included in the session token and can be used for audit tracking and filtering. */
19
- end_user_id?: string;
20
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Mode for connect session determining allowed operations.
6
- *
7
- * - ALL: Can perform all operations (connect, manage, reauth)
8
- * - CONNECT: Can only add new connections
9
- * - MANAGE: Can only view/delete existing connections
10
- * - REAUTH: Can only re-authenticate existing connections
11
- */
12
- export type ConnectSessionMode = "all" | "connect" | "manage" | "reauth";
13
- export declare const ConnectSessionMode: {
14
- readonly All: "all";
15
- readonly Connect: "connect";
16
- readonly Manage: "manage";
17
- readonly Reauth: "reauth";
18
- };
@@ -1,12 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ConnectSessionMode = void 0;
7
- exports.ConnectSessionMode = {
8
- All: "all",
9
- Connect: "connect",
10
- Manage: "manage",
11
- Reauth: "reauth",
12
- };
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Response returned when creating a connect session.
6
- *
7
- * Contains the session token that should be passed to the frontend SDK.
8
- */
9
- export interface ConnectSessionResponse {
10
- /** Unique identifier for this session */
11
- session_id: string;
12
- /** HMAC-signed token to use for authentication in subsequent requests */
13
- session_token: string;
14
- /** Timestamp when this session expires (typically 10 minutes) */
15
- expires_at: string;
16
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Request to create customer portal session.
6
- */
7
- export interface CustomerPortalRequest {
8
- /** URL to return to after portal session */
9
- return_url: string;
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Response with customer portal URL.
6
- */
7
- export interface CustomerPortalResponse {
8
- /** Stripe customer portal URL */
9
- portal_url: string;
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as AirweaveSDK from "../index.js";
5
- /**
6
- * Result of a single dependency health check.
7
- */
8
- export interface DependencyCheck {
9
- status: AirweaveSDK.CheckStatus;
10
- latency_ms?: number;
11
- error?: string;
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Entity count with entity definition details.
6
- *
7
- * After the entity_definition table elimination, name/type/description
8
- * are populated from the in-memory registry or derived from the short_name.
9
- */
10
- export interface EntityCountWithDefinition {
11
- count: number;
12
- entity_definition_short_name: string;
13
- entity_definition_name: string;
14
- entity_definition_type: string;
15
- entity_definition_description?: string;
16
- modified_at: string;
17
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * API response model for entity definitions — excludes internal fields.
6
- */
7
- export interface EntityDefinitionMetadata {
8
- short_name: string;
9
- name: string;
10
- description?: string;
11
- class_name: string;
12
- module_name: string;
13
- entity_type: string;
14
- entity_schema: Record<string, unknown>;
15
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Available feature flags in Airweave.
6
- *
7
- * Add new flags here to enable feature gating at the organization level.
8
- */
9
- export type FeatureFlag = "priority_support" | "source_rate_limiting" | "zephyr_scale" | "sharepoint_2019_v2" | "api_key_admin_sync" | "connect";
10
- export declare const FeatureFlag: {
11
- readonly PrioritySupport: "priority_support";
12
- readonly SourceRateLimiting: "source_rate_limiting";
13
- readonly ZephyrScale: "zephyr_scale";
14
- readonly Sharepoint2019V2: "sharepoint_2019_v2";
15
- readonly ApiKeyAdminSync: "api_key_admin_sync";
16
- readonly Connect: "connect";
17
- };
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FeatureFlag = void 0;
7
- exports.FeatureFlag = {
8
- PrioritySupport: "priority_support",
9
- SourceRateLimiting: "source_rate_limiting",
10
- ZephyrScale: "zephyr_scale",
11
- Sharepoint2019V2: "sharepoint_2019_v2",
12
- ApiKeyAdminSync: "api_key_admin_sync",
13
- Connect: "connect",
14
- };
@@ -1,19 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as AirweaveSDK from "../index.js";
5
- /**
6
- * Admin-only agentic search request with model override for evals.
7
- */
8
- export interface InternalAgenticSearchRequest {
9
- /** Search query text. */
10
- query: string;
11
- /** Enable extended thinking / chain-of-thought. */
12
- thinking?: boolean;
13
- /** Filter groups (combined with OR). */
14
- filter?: AirweaveSDK.FilterGroup[];
15
- /** Max results. None means agent decides. */
16
- limit?: number;
17
- /** LLM model override. Format: 'provider/model' e.g. 'together/zai-glm-5-thinking'. When not set, uses the default model from config. */
18
- model?: string;
19
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for creating an invitation.
6
- */
7
- export interface InvitationCreate {
8
- email: string;
9
- role?: string;
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for invitation responses.
6
- */
7
- export interface InvitationResponse {
8
- id: string;
9
- email: string;
10
- role: string;
11
- status: string;
12
- invited_at?: string;
13
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Response from the liveness probe.
6
- */
7
- export interface LivenessResponse {
8
- status?: "alive";
9
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for organization member responses.
6
- */
7
- export interface MemberResponse {
8
- id: string;
9
- email: string;
10
- name: string;
11
- role: string;
12
- status?: string;
13
- is_primary?: boolean;
14
- auth0_id?: string;
15
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Generic message response.
6
- */
7
- export interface MessageResponse {
8
- /** Response message */
9
- message: string;
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Typed representation of a node selection loaded for targeted sync.
6
- */
7
- export interface NodeSelectionData {
8
- source_node_id: string;
9
- node_type: string;
10
- node_title?: string;
11
- node_metadata?: Record<string, unknown>;
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Request body for selecting nodes.
6
- */
7
- export interface NodeSelectionRequest {
8
- /** Source node IDs to select */
9
- source_node_ids: string[];
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Response after submitting node selections and triggering sync.
6
- */
7
- export interface NodeSelectionResponse {
8
- /** Source connection ID */
9
- source_connection_id: string;
10
- selections_count: number;
11
- /** ID of the triggered sync job */
12
- sync_job_id: string;
13
- message?: string;
14
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,29 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as AirweaveSDK from "../index.js";
5
- /**
6
- * Organization schema with billing and feature information.
7
- *
8
- * This is the primary organization schema used in API contexts, enriched with
9
- * billing (including current period) and feature flags for efficient access
10
- * without additional database queries.
11
- *
12
- * Access billing info compositionally:
13
- * - organization.billing.plan
14
- * - organization.billing.status
15
- * - organization.billing.current_period
16
- */
17
- export interface Organization {
18
- name: string;
19
- description?: string;
20
- auth0_org_id?: string;
21
- id: string;
22
- created_at: string;
23
- modified_at: string;
24
- org_metadata?: Record<string, unknown>;
25
- /** List of enabled feature flags for this organization */
26
- enabled_features?: AirweaveSDK.FeatureFlag[];
27
- /** Complete billing information including current period */
28
- billing?: AirweaveSDK.OrganizationBilling;
29
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });