@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,44 +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 billing schema with current period information.
7
- *
8
- * This schema is enriched with the current active billing period for
9
- * efficient access to rate limits and billing status without additional queries.
10
- */
11
- export interface OrganizationBilling {
12
- /** Current billing plan */
13
- billing_plan?: AirweaveSDK.BillingPlan;
14
- /** Current billing status */
15
- billing_status?: AirweaveSDK.BillingStatus;
16
- /** Billing contact email */
17
- billing_email: string;
18
- id: string;
19
- organization_id: string;
20
- stripe_customer_id: string;
21
- stripe_subscription_id?: string;
22
- trial_ends_at?: string;
23
- grace_period_ends_at?: string;
24
- payment_method_added?: boolean;
25
- current_period_start?: string;
26
- current_period_end?: string;
27
- cancel_at_period_end?: boolean;
28
- pending_plan_change?: AirweaveSDK.BillingPlan;
29
- pending_plan_change_at?: string;
30
- payment_method_id?: string;
31
- last_payment_status?: string;
32
- last_payment_at?: string;
33
- billing_metadata?: Record<string, unknown>;
34
- has_yearly_prepay?: boolean;
35
- yearly_prepay_started_at?: string;
36
- yearly_prepay_expires_at?: string;
37
- yearly_prepay_amount_cents?: number;
38
- yearly_prepay_coupon_id?: string;
39
- yearly_prepay_payment_intent_id?: string;
40
- created_at: string;
41
- modified_at: string;
42
- /** Current active billing period */
43
- current_period?: AirweaveSDK.BillingPeriod;
44
- }
@@ -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,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Organization creation schema.
6
- */
7
- export interface OrganizationCreate {
8
- /** Organization name */
9
- name: string;
10
- /** Organization description */
11
- description?: string;
12
- /** Auth0 organization ID */
13
- auth0_org_id?: string;
14
- /** Additional organization metadata */
15
- org_metadata?: Record<string, unknown>;
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,47 +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
- * Comprehensive organization metrics for admin dashboard.
7
- *
8
- * Combines organization info with billing and usage metrics from the Usage model.
9
- */
10
- export interface OrganizationMetrics {
11
- /** Organization ID */
12
- id: string;
13
- /** Organization name */
14
- name: string;
15
- /** Organization description */
16
- description?: string;
17
- /** When organization was created */
18
- created_at: string;
19
- /** Last modification time */
20
- modified_at: string;
21
- /** Auth0 organization ID */
22
- auth0_org_id?: string;
23
- /** Current billing plan (trial, starter, pro, enterprise) */
24
- billing_plan?: string;
25
- /** Billing status (active, cancelled, past_due, etc.) */
26
- billing_status?: string;
27
- /** Stripe customer ID */
28
- stripe_customer_id?: string;
29
- /** When trial ends */
30
- trial_ends_at?: string;
31
- /** Number of users in organization */
32
- user_count?: number;
33
- /** Number of source connections (computed from source_connection table) */
34
- source_connection_count?: number;
35
- /** Total number of entities (from Usage.entities) */
36
- entity_count?: number;
37
- /** Total number of queries (from Usage.queries) */
38
- query_count?: number;
39
- /** Last active timestamp of any user in this organization */
40
- last_active_at?: string;
41
- /** Whether the current admin user is already a member */
42
- is_member?: boolean;
43
- /** Admin's role in this organization (if member) */
44
- member_role?: string;
45
- /** List of enabled feature flags for this organization */
46
- enabled_features?: AirweaveSDK.FeatureFlag[];
47
- }
@@ -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,22 +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 user's role information.
7
- */
8
- export interface OrganizationWithRole {
9
- id: string;
10
- name: string;
11
- description?: string;
12
- created_at: string;
13
- modified_at: string;
14
- role: string;
15
- is_primary: boolean;
16
- auth0_org_id?: string;
17
- org_metadata?: Record<string, unknown>;
18
- /** List of enabled feature flags for this organization */
19
- enabled_features?: AirweaveSDK.FeatureFlag[];
20
- /** Complete billing information including current period */
21
- billing?: AirweaveSDK.OrganizationBilling;
22
- }
@@ -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
- import * as AirweaveSDK from "../index.js";
5
- /**
6
- * Response from the readiness probe.
7
- */
8
- export interface ReadinessResponse {
9
- status: ReadinessResponse.Status;
10
- checks: Record<string, AirweaveSDK.DependencyCheck>;
11
- }
12
- export declare namespace ReadinessResponse {
13
- type Status = "ready" | "not_ready";
14
- const Status: {
15
- readonly Ready: "ready";
16
- readonly NotReady: "not_ready";
17
- };
18
- }
@@ -1,13 +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.ReadinessResponse = void 0;
7
- var ReadinessResponse;
8
- (function (ReadinessResponse) {
9
- ReadinessResponse.Status = {
10
- Ready: "ready",
11
- NotReady: "not_ready",
12
- };
13
- })(ReadinessResponse || (exports.ReadinessResponse = ReadinessResponse = {}));
@@ -1,34 +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
- * Search request for querying a collection.
7
- *
8
- * Provides fine-grained control over the search pipeline including retrieval strategy,
9
- * filtering, and AI-powered features like query expansion and answer generation.
10
- */
11
- export interface SearchRequest {
12
- /** The search query text (required, max 2048 tokens) */
13
- query: string;
14
- /** Search strategy: 'hybrid' (default), 'neural' (semantic only), or 'keyword' (BM25 only) */
15
- retrieval_strategy?: AirweaveSDK.RetrievalStrategy;
16
- /** Structured filter for metadata-based filtering (Qdrant filter format) */
17
- filter?: Record<string, unknown>;
18
- /** Number of results to skip for pagination (default: 0) */
19
- offset?: number;
20
- /** Maximum number of results to return (default: 1000) */
21
- limit?: number;
22
- /** Limit search to specific source connections within the collection. */
23
- source_connection_ids?: string[];
24
- /** DEPRECATED: This field is accepted for backwards compatibility but ignored. Temporal relevance has been removed. */
25
- temporal_relevance?: number;
26
- /** Generate query variations to improve recall (default: true) */
27
- expand_query?: boolean;
28
- /** Extract structured filters from natural language (e.g., 'from last week' becomes a date filter) */
29
- interpret_filters?: boolean;
30
- /** LLM-based reranking for improved relevance (default: true) */
31
- rerank?: boolean;
32
- /** Generate an AI answer based on search results (default: true) */
33
- generate_answer?: boolean;
34
- }
@@ -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
- * Search response containing results and optional AI-generated completion.
6
- *
7
- * Each result includes the matched entity's content, metadata, relevance score,
8
- * and source information.
9
- */
10
- export interface SearchResponse {
11
- /** Array of search result objects containing the found documents, records, or data entities. Each result includes entity_id, source_name, md_content, metadata, score, breadcrumbs, and url. */
12
- results: Record<string, unknown>[];
13
- /** AI-generated natural language answer to your query based on the search results. Only included when generate_answer is true in the request. */
14
- completion?: 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,23 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Response schema for single action permission check.
6
- */
7
- export interface SingleActionCheckResponse {
8
- /** Whether the action is allowed for the organization */
9
- allowed: boolean;
10
- /** The action type that was checked */
11
- action: string;
12
- /** Reason why the action is not allowed (if applicable) */
13
- reason?: SingleActionCheckResponse.Reason;
14
- /** Additional details about why the action is not allowed */
15
- details?: Record<string, unknown>;
16
- }
17
- export declare namespace SingleActionCheckResponse {
18
- type Reason = "payment_required" | "usage_limit_exceeded";
19
- const Reason: {
20
- readonly PaymentRequired: "payment_required";
21
- readonly UsageLimitExceeded: "usage_limit_exceeded";
22
- };
23
- }
@@ -1,13 +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.SingleActionCheckResponse = void 0;
7
- var SingleActionCheckResponse;
8
- (function (SingleActionCheckResponse) {
9
- SingleActionCheckResponse.Reason = {
10
- PaymentRequired: "payment_required",
11
- UsageLimitExceeded: "usage_limit_exceeded",
12
- };
13
- })(SingleActionCheckResponse || (exports.SingleActionCheckResponse = SingleActionCheckResponse = {}));
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Complete source rate limit schema.
6
- */
7
- export interface SourceRateLimit {
8
- /** Source identifier (e.g., 'google_drive', 'notion') */
9
- source_short_name: string;
10
- /** Maximum requests allowed per window */
11
- limit: number;
12
- /** Time window in seconds (60=per minute, 86400=per day, etc.) */
13
- window_seconds?: number;
14
- id: string;
15
- organization_id: string;
16
- created_at: string;
17
- modified_at: string;
18
- }
@@ -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
- * Response schema with source metadata merged for UI display.
6
- */
7
- export interface SourceRateLimitResponse {
8
- source_short_name: string;
9
- /** 'org' (organization-wide), 'connection' (per-user), or None (not supported) */
10
- rate_limit_level?: string;
11
- /** Configured limit, None if not set */
12
- limit?: number;
13
- /** Configured window, None if not set */
14
- window_seconds?: number;
15
- /** DB record ID, None if not configured */
16
- id?: 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,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Request schema for updating rate limits via API.
6
- */
7
- export interface SourceRateLimitUpdateRequest {
8
- /** Maximum requests allowed per window */
9
- limit: number;
10
- /** Time window in seconds */
11
- window_seconds: 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,52 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Subscription information response.
6
- */
7
- export interface SubscriptionInfo {
8
- /** Current billing plan */
9
- plan: string;
10
- /** Subscription status */
11
- status: string;
12
- /** Trial end date */
13
- trial_ends_at?: string;
14
- /** Grace period end date */
15
- grace_period_ends_at?: string;
16
- /** Current billing period start */
17
- current_period_start?: string;
18
- /** Current billing period end */
19
- current_period_end?: string;
20
- /** Whether subscription will cancel at period end */
21
- cancel_at_period_end?: boolean;
22
- /** Plan limits */
23
- limits: Record<string, unknown>;
24
- /** Whether using OSS version */
25
- is_oss?: boolean;
26
- /** Whether has active Stripe subscription */
27
- has_active_subscription?: boolean;
28
- /** Whether currently in trial period */
29
- in_trial?: boolean;
30
- /** Whether currently in grace period */
31
- in_grace_period?: boolean;
32
- /** Whether payment method is added */
33
- payment_method_added?: boolean;
34
- /** Whether payment method is required now */
35
- requires_payment_method?: boolean;
36
- /** Plan that will take effect at period end */
37
- pending_plan_change?: string;
38
- /** When the pending plan change takes effect */
39
- pending_plan_change_at?: string;
40
- /** Whether organization has an active yearly prepay credit */
41
- has_yearly_prepay?: boolean;
42
- /** When yearly prepay was started */
43
- yearly_prepay_started_at?: string;
44
- /** When yearly prepay expires */
45
- yearly_prepay_expires_at?: string;
46
- /** Total amount (in cents) credited for yearly prepay */
47
- yearly_prepay_amount_cents?: number;
48
- /** Coupon ID used for yearly prepay */
49
- yearly_prepay_coupon_id?: string;
50
- /** Payment intent ID used for yearly prepay */
51
- yearly_prepay_payment_intent_id?: string;
52
- }
@@ -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,33 +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 SyncJob.
7
- */
8
- export interface SyncJob {
9
- sync_id: string;
10
- status?: AirweaveSDK.SyncJobStatus;
11
- scheduled?: boolean;
12
- entities_inserted?: number;
13
- entities_updated?: number;
14
- entities_deleted?: number;
15
- entities_kept?: number;
16
- entities_skipped?: number;
17
- entities_encountered?: Record<string, number | undefined>;
18
- started_at?: string;
19
- completed_at?: string;
20
- failed_at?: string;
21
- error?: string;
22
- access_token?: string;
23
- sync_config?: AirweaveSDK.SyncConfig;
24
- sync_metadata?: Record<string, unknown>;
25
- id: string;
26
- organization_id: string;
27
- created_by_email?: string;
28
- modified_by_email?: string;
29
- created_at?: string;
30
- modified_at?: string;
31
- /** Name of the sync, populated from join query */
32
- sync_name?: string;
33
- }
@@ -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
- * Sync status enum.
6
- */
7
- export type SyncStatus = "active" | "inactive" | "error";
8
- export declare const SyncStatus: {
9
- readonly Active: "active";
10
- readonly Inactive: "inactive";
11
- readonly Error: "error";
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.SyncStatus = void 0;
7
- exports.SyncStatus = {
8
- Active: "active",
9
- Inactive: "inactive",
10
- Error: "error",
11
- };
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Request to update subscription plan.
6
- */
7
- export interface UpdatePlanRequest {
8
- /** New plan (developer, startup) */
9
- plan: string;
10
- /** Billing period for the plan: 'monthly' or 'yearly' */
11
- period?: 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,23 +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
- * Complete dashboard data.
7
- */
8
- export interface UsageDashboard {
9
- /** Current billing period usage */
10
- current_period: AirweaveSDK.BillingPeriodUsage;
11
- /** Historical billing periods */
12
- previous_periods?: AirweaveSDK.BillingPeriodUsage[];
13
- /** Total entities processed all time */
14
- total_entities_all_time?: number;
15
- /** Total queries executed all time */
16
- total_queries_all_time?: number;
17
- /** Average entities per day (current period) */
18
- average_daily_entities?: number;
19
- /** Average queries per day (current period) */
20
- average_daily_queries?: number;
21
- /** Usage trends compared to previous period */
22
- trends?: AirweaveSDK.UsageTrend[];
23
- }
@@ -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,32 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Point-in-time usage data with limits.
6
- */
7
- export interface UsageSnapshot {
8
- /** Total entities processed */
9
- entities: number;
10
- /** Search queries executed */
11
- queries: number;
12
- /** Normalized token usage from agentic search */
13
- tokens?: number;
14
- /** Source connections configured */
15
- source_connections: number;
16
- /** Team members in the organization */
17
- team_members: number;
18
- /** Maximum entities allowed */
19
- max_entities?: number;
20
- /** Maximum queries allowed */
21
- max_queries?: number;
22
- /** Maximum normalized tokens allowed */
23
- max_tokens?: number;
24
- /** Maximum source connections allowed */
25
- max_source_connections?: number;
26
- /** Maximum team members allowed */
27
- max_team_members?: number;
28
- /** When this snapshot was taken */
29
- timestamp: string;
30
- /** Associated billing period */
31
- billing_period_id: string;
32
- }
@@ -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
- * Usage trend information.
6
- */
7
- export interface UsageTrend {
8
- /** Metric name (syncs, entities, etc) */
9
- metric: string;
10
- /** Trend direction: up, down, or stable */
11
- direction: string;
12
- /** Percentage change from previous period */
13
- percentage_change: number;
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,18 +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 User.
7
- */
8
- export interface User {
9
- email: string;
10
- full_name?: string;
11
- id: string;
12
- auth0_id?: string;
13
- primary_organization_id?: string;
14
- user_organizations?: AirweaveSDK.UserOrganization[];
15
- is_admin?: boolean;
16
- is_superuser?: boolean;
17
- last_active_at?: string;
18
- }
@@ -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,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for creating a User object.
6
- */
7
- export interface UserCreate {
8
- email: string;
9
- full_name?: string;
10
- auth0_id?: string;
11
- }