@airweave/sdk 0.9.43 → 0.9.45

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 (279) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/types/RetrievalStrategy.d.ts +4 -4
  3. package/dist/cjs/api/types/RetrievalStrategy.js +2 -2
  4. package/dist/cjs/api/types/index.d.ts +0 -66
  5. package/dist/cjs/api/types/index.js +0 -66
  6. package/dist/cjs/version.d.ts +1 -1
  7. package/dist/cjs/version.js +1 -1
  8. package/dist/esm/Client.mjs +2 -2
  9. package/dist/esm/api/types/RetrievalStrategy.d.mts +4 -4
  10. package/dist/esm/api/types/RetrievalStrategy.mjs +2 -2
  11. package/dist/esm/api/types/index.d.mts +0 -66
  12. package/dist/esm/api/types/index.mjs +0 -66
  13. package/dist/esm/version.d.mts +1 -1
  14. package/dist/esm/version.mjs +1 -1
  15. package/package.json +1 -1
  16. package/dist/cjs/api/types/ActionCheckRequest.d.ts +0 -10
  17. package/dist/cjs/api/types/ActionCheckRequest.js +0 -5
  18. package/dist/cjs/api/types/ActionCheckResponse.d.ts +0 -10
  19. package/dist/cjs/api/types/ActionCheckResponse.js +0 -5
  20. package/dist/cjs/api/types/AdminSearchDestination.d.ts +0 -7
  21. package/dist/cjs/api/types/AdminSearchDestination.js +0 -5
  22. package/dist/cjs/api/types/AdminSyncInfo.d.ts +0 -36
  23. package/dist/cjs/api/types/AdminSyncInfo.js +0 -5
  24. package/dist/cjs/api/types/ApiKey.d.ts +0 -17
  25. package/dist/cjs/api/types/ApiKey.js +0 -5
  26. package/dist/cjs/api/types/ApiKeyCreate.d.ts +0 -10
  27. package/dist/cjs/api/types/ApiKeyCreate.js +0 -5
  28. package/dist/cjs/api/types/AuthProviderConnection.d.ts +0 -23
  29. package/dist/cjs/api/types/AuthProviderConnection.js +0 -5
  30. package/dist/cjs/api/types/AuthProviderConnectionCreate.d.ts +0 -19
  31. package/dist/cjs/api/types/AuthProviderConnectionCreate.js +0 -5
  32. package/dist/cjs/api/types/AuthProviderConnectionUpdate.d.ts +0 -15
  33. package/dist/cjs/api/types/AuthProviderConnectionUpdate.js +0 -5
  34. package/dist/cjs/api/types/AuthProviderMetadata.d.ts +0 -17
  35. package/dist/cjs/api/types/AuthProviderMetadata.js +0 -5
  36. package/dist/cjs/api/types/BillingPeriod.d.ts +0 -30
  37. package/dist/cjs/api/types/BillingPeriod.js +0 -5
  38. package/dist/cjs/api/types/BillingPeriodStatus.d.ts +0 -14
  39. package/dist/cjs/api/types/BillingPeriodStatus.js +0 -13
  40. package/dist/cjs/api/types/BillingPeriodUsage.d.ts +0 -27
  41. package/dist/cjs/api/types/BillingPeriodUsage.js +0 -5
  42. package/dist/cjs/api/types/BillingPlan.d.ts +0 -14
  43. package/dist/cjs/api/types/BillingPlan.js +0 -13
  44. package/dist/cjs/api/types/BillingStatus.d.ts +0 -16
  45. package/dist/cjs/api/types/BillingStatus.js +0 -15
  46. package/dist/cjs/api/types/BillingTransition.d.ts +0 -15
  47. package/dist/cjs/api/types/BillingTransition.js +0 -14
  48. package/dist/cjs/api/types/BodyChangeMemberRoleOrganizationsOrganizationIdMembersUserIdPatch.d.ts +0 -6
  49. package/dist/cjs/api/types/BodyChangeMemberRoleOrganizationsOrganizationIdMembersUserIdPatch.js +0 -5
  50. package/dist/cjs/api/types/BodyResyncWithExecutionConfigAdminResyncSyncIdPost.d.ts +0 -10
  51. package/dist/cjs/api/types/BodyResyncWithExecutionConfigAdminResyncSyncIdPost.js +0 -5
  52. package/dist/cjs/api/types/BrowseNode.d.ts +0 -15
  53. package/dist/cjs/api/types/BrowseNode.js +0 -5
  54. package/dist/cjs/api/types/BrowseTreeResponse.d.ts +0 -12
  55. package/dist/cjs/api/types/BrowseTreeResponse.js +0 -5
  56. package/dist/cjs/api/types/CheckStatus.d.ts +0 -12
  57. package/dist/cjs/api/types/CheckStatus.js +0 -11
  58. package/dist/cjs/api/types/CheckoutSessionRequest.d.ts +0 -14
  59. package/dist/cjs/api/types/CheckoutSessionRequest.js +0 -5
  60. package/dist/cjs/api/types/CheckoutSessionResponse.d.ts +0 -10
  61. package/dist/cjs/api/types/CheckoutSessionResponse.js +0 -5
  62. package/dist/cjs/api/types/ConfigValues.d.ts +0 -9
  63. package/dist/cjs/api/types/ConfigValues.js +0 -5
  64. package/dist/cjs/api/types/ConnectSessionContext.d.ts +0 -26
  65. package/dist/cjs/api/types/ConnectSessionContext.js +0 -5
  66. package/dist/cjs/api/types/ConnectSessionCreate.d.ts +0 -20
  67. package/dist/cjs/api/types/ConnectSessionCreate.js +0 -5
  68. package/dist/cjs/api/types/ConnectSessionMode.d.ts +0 -18
  69. package/dist/cjs/api/types/ConnectSessionMode.js +0 -12
  70. package/dist/cjs/api/types/ConnectSessionResponse.d.ts +0 -16
  71. package/dist/cjs/api/types/ConnectSessionResponse.js +0 -5
  72. package/dist/cjs/api/types/CustomerPortalRequest.d.ts +0 -10
  73. package/dist/cjs/api/types/CustomerPortalRequest.js +0 -5
  74. package/dist/cjs/api/types/CustomerPortalResponse.d.ts +0 -10
  75. package/dist/cjs/api/types/CustomerPortalResponse.js +0 -5
  76. package/dist/cjs/api/types/DependencyCheck.d.ts +0 -12
  77. package/dist/cjs/api/types/DependencyCheck.js +0 -5
  78. package/dist/cjs/api/types/EntityCountWithDefinition.d.ts +0 -17
  79. package/dist/cjs/api/types/EntityCountWithDefinition.js +0 -5
  80. package/dist/cjs/api/types/EntityDefinitionMetadata.d.ts +0 -15
  81. package/dist/cjs/api/types/EntityDefinitionMetadata.js +0 -5
  82. package/dist/cjs/api/types/FeatureFlag.d.ts +0 -17
  83. package/dist/cjs/api/types/FeatureFlag.js +0 -14
  84. package/dist/cjs/api/types/InternalAgenticSearchRequest.d.ts +0 -19
  85. package/dist/cjs/api/types/InternalAgenticSearchRequest.js +0 -5
  86. package/dist/cjs/api/types/InvitationCreate.d.ts +0 -10
  87. package/dist/cjs/api/types/InvitationCreate.js +0 -5
  88. package/dist/cjs/api/types/InvitationResponse.d.ts +0 -13
  89. package/dist/cjs/api/types/InvitationResponse.js +0 -5
  90. package/dist/cjs/api/types/LivenessResponse.d.ts +0 -9
  91. package/dist/cjs/api/types/LivenessResponse.js +0 -5
  92. package/dist/cjs/api/types/MemberResponse.d.ts +0 -15
  93. package/dist/cjs/api/types/MemberResponse.js +0 -5
  94. package/dist/cjs/api/types/MessageResponse.d.ts +0 -10
  95. package/dist/cjs/api/types/MessageResponse.js +0 -5
  96. package/dist/cjs/api/types/NodeSelectionData.d.ts +0 -12
  97. package/dist/cjs/api/types/NodeSelectionData.js +0 -5
  98. package/dist/cjs/api/types/NodeSelectionRequest.d.ts +0 -10
  99. package/dist/cjs/api/types/NodeSelectionRequest.js +0 -5
  100. package/dist/cjs/api/types/NodeSelectionResponse.d.ts +0 -14
  101. package/dist/cjs/api/types/NodeSelectionResponse.js +0 -5
  102. package/dist/cjs/api/types/Organization.d.ts +0 -29
  103. package/dist/cjs/api/types/Organization.js +0 -5
  104. package/dist/cjs/api/types/OrganizationBilling.d.ts +0 -44
  105. package/dist/cjs/api/types/OrganizationBilling.js +0 -5
  106. package/dist/cjs/api/types/OrganizationCreate.d.ts +0 -16
  107. package/dist/cjs/api/types/OrganizationCreate.js +0 -5
  108. package/dist/cjs/api/types/OrganizationMetrics.d.ts +0 -47
  109. package/dist/cjs/api/types/OrganizationMetrics.js +0 -5
  110. package/dist/cjs/api/types/OrganizationWithRole.d.ts +0 -22
  111. package/dist/cjs/api/types/OrganizationWithRole.js +0 -5
  112. package/dist/cjs/api/types/ReadinessResponse.d.ts +0 -18
  113. package/dist/cjs/api/types/ReadinessResponse.js +0 -13
  114. package/dist/cjs/api/types/SearchRequest.d.ts +0 -34
  115. package/dist/cjs/api/types/SearchRequest.js +0 -5
  116. package/dist/cjs/api/types/SearchResponse.d.ts +0 -15
  117. package/dist/cjs/api/types/SearchResponse.js +0 -5
  118. package/dist/cjs/api/types/SingleActionCheckResponse.d.ts +0 -23
  119. package/dist/cjs/api/types/SingleActionCheckResponse.js +0 -13
  120. package/dist/cjs/api/types/SourceRateLimit.d.ts +0 -18
  121. package/dist/cjs/api/types/SourceRateLimit.js +0 -5
  122. package/dist/cjs/api/types/SourceRateLimitResponse.d.ts +0 -17
  123. package/dist/cjs/api/types/SourceRateLimitResponse.js +0 -5
  124. package/dist/cjs/api/types/SourceRateLimitUpdateRequest.d.ts +0 -12
  125. package/dist/cjs/api/types/SourceRateLimitUpdateRequest.js +0 -5
  126. package/dist/cjs/api/types/SubscriptionInfo.d.ts +0 -52
  127. package/dist/cjs/api/types/SubscriptionInfo.js +0 -5
  128. package/dist/cjs/api/types/SyncJob.d.ts +0 -33
  129. package/dist/cjs/api/types/SyncJob.js +0 -5
  130. package/dist/cjs/api/types/SyncStatus.d.ts +0 -12
  131. package/dist/cjs/api/types/SyncStatus.js +0 -11
  132. package/dist/cjs/api/types/UpdatePlanRequest.d.ts +0 -12
  133. package/dist/cjs/api/types/UpdatePlanRequest.js +0 -5
  134. package/dist/cjs/api/types/UsageDashboard.d.ts +0 -23
  135. package/dist/cjs/api/types/UsageDashboard.js +0 -5
  136. package/dist/cjs/api/types/UsageSnapshot.d.ts +0 -32
  137. package/dist/cjs/api/types/UsageSnapshot.js +0 -5
  138. package/dist/cjs/api/types/UsageTrend.d.ts +0 -14
  139. package/dist/cjs/api/types/UsageTrend.js +0 -5
  140. package/dist/cjs/api/types/User.d.ts +0 -18
  141. package/dist/cjs/api/types/User.js +0 -5
  142. package/dist/cjs/api/types/UserCreate.d.ts +0 -11
  143. package/dist/cjs/api/types/UserCreate.js +0 -5
  144. package/dist/cjs/api/types/UserOrganization.d.ts +0 -14
  145. package/dist/cjs/api/types/UserOrganization.js +0 -5
  146. package/dist/cjs/api/types/VerifyOAuthRequest.d.ts +0 -10
  147. package/dist/cjs/api/types/VerifyOAuthRequest.js +0 -5
  148. package/dist/esm/api/types/ActionCheckRequest.d.mts +0 -10
  149. package/dist/esm/api/types/ActionCheckRequest.mjs +0 -4
  150. package/dist/esm/api/types/ActionCheckResponse.d.mts +0 -10
  151. package/dist/esm/api/types/ActionCheckResponse.mjs +0 -4
  152. package/dist/esm/api/types/AdminSearchDestination.d.mts +0 -7
  153. package/dist/esm/api/types/AdminSearchDestination.mjs +0 -4
  154. package/dist/esm/api/types/AdminSyncInfo.d.mts +0 -36
  155. package/dist/esm/api/types/AdminSyncInfo.mjs +0 -4
  156. package/dist/esm/api/types/ApiKey.d.mts +0 -17
  157. package/dist/esm/api/types/ApiKey.mjs +0 -4
  158. package/dist/esm/api/types/ApiKeyCreate.d.mts +0 -10
  159. package/dist/esm/api/types/ApiKeyCreate.mjs +0 -4
  160. package/dist/esm/api/types/AuthProviderConnection.d.mts +0 -23
  161. package/dist/esm/api/types/AuthProviderConnection.mjs +0 -4
  162. package/dist/esm/api/types/AuthProviderConnectionCreate.d.mts +0 -19
  163. package/dist/esm/api/types/AuthProviderConnectionCreate.mjs +0 -4
  164. package/dist/esm/api/types/AuthProviderConnectionUpdate.d.mts +0 -15
  165. package/dist/esm/api/types/AuthProviderConnectionUpdate.mjs +0 -4
  166. package/dist/esm/api/types/AuthProviderMetadata.d.mts +0 -17
  167. package/dist/esm/api/types/AuthProviderMetadata.mjs +0 -4
  168. package/dist/esm/api/types/BillingPeriod.d.mts +0 -30
  169. package/dist/esm/api/types/BillingPeriod.mjs +0 -4
  170. package/dist/esm/api/types/BillingPeriodStatus.d.mts +0 -14
  171. package/dist/esm/api/types/BillingPeriodStatus.mjs +0 -10
  172. package/dist/esm/api/types/BillingPeriodUsage.d.mts +0 -27
  173. package/dist/esm/api/types/BillingPeriodUsage.mjs +0 -4
  174. package/dist/esm/api/types/BillingPlan.d.mts +0 -14
  175. package/dist/esm/api/types/BillingPlan.mjs +0 -10
  176. package/dist/esm/api/types/BillingStatus.d.mts +0 -16
  177. package/dist/esm/api/types/BillingStatus.mjs +0 -12
  178. package/dist/esm/api/types/BillingTransition.d.mts +0 -15
  179. package/dist/esm/api/types/BillingTransition.mjs +0 -11
  180. package/dist/esm/api/types/BodyChangeMemberRoleOrganizationsOrganizationIdMembersUserIdPatch.d.mts +0 -6
  181. package/dist/esm/api/types/BodyChangeMemberRoleOrganizationsOrganizationIdMembersUserIdPatch.mjs +0 -4
  182. package/dist/esm/api/types/BodyResyncWithExecutionConfigAdminResyncSyncIdPost.d.mts +0 -10
  183. package/dist/esm/api/types/BodyResyncWithExecutionConfigAdminResyncSyncIdPost.mjs +0 -4
  184. package/dist/esm/api/types/BrowseNode.d.mts +0 -15
  185. package/dist/esm/api/types/BrowseNode.mjs +0 -4
  186. package/dist/esm/api/types/BrowseTreeResponse.d.mts +0 -12
  187. package/dist/esm/api/types/BrowseTreeResponse.mjs +0 -4
  188. package/dist/esm/api/types/CheckStatus.d.mts +0 -12
  189. package/dist/esm/api/types/CheckStatus.mjs +0 -8
  190. package/dist/esm/api/types/CheckoutSessionRequest.d.mts +0 -14
  191. package/dist/esm/api/types/CheckoutSessionRequest.mjs +0 -4
  192. package/dist/esm/api/types/CheckoutSessionResponse.d.mts +0 -10
  193. package/dist/esm/api/types/CheckoutSessionResponse.mjs +0 -4
  194. package/dist/esm/api/types/ConfigValues.d.mts +0 -9
  195. package/dist/esm/api/types/ConfigValues.mjs +0 -4
  196. package/dist/esm/api/types/ConnectSessionContext.d.mts +0 -26
  197. package/dist/esm/api/types/ConnectSessionContext.mjs +0 -4
  198. package/dist/esm/api/types/ConnectSessionCreate.d.mts +0 -20
  199. package/dist/esm/api/types/ConnectSessionCreate.mjs +0 -4
  200. package/dist/esm/api/types/ConnectSessionMode.d.mts +0 -18
  201. package/dist/esm/api/types/ConnectSessionMode.mjs +0 -9
  202. package/dist/esm/api/types/ConnectSessionResponse.d.mts +0 -16
  203. package/dist/esm/api/types/ConnectSessionResponse.mjs +0 -4
  204. package/dist/esm/api/types/CustomerPortalRequest.d.mts +0 -10
  205. package/dist/esm/api/types/CustomerPortalRequest.mjs +0 -4
  206. package/dist/esm/api/types/CustomerPortalResponse.d.mts +0 -10
  207. package/dist/esm/api/types/CustomerPortalResponse.mjs +0 -4
  208. package/dist/esm/api/types/DependencyCheck.d.mts +0 -12
  209. package/dist/esm/api/types/DependencyCheck.mjs +0 -4
  210. package/dist/esm/api/types/EntityCountWithDefinition.d.mts +0 -17
  211. package/dist/esm/api/types/EntityCountWithDefinition.mjs +0 -4
  212. package/dist/esm/api/types/EntityDefinitionMetadata.d.mts +0 -15
  213. package/dist/esm/api/types/EntityDefinitionMetadata.mjs +0 -4
  214. package/dist/esm/api/types/FeatureFlag.d.mts +0 -17
  215. package/dist/esm/api/types/FeatureFlag.mjs +0 -11
  216. package/dist/esm/api/types/InternalAgenticSearchRequest.d.mts +0 -19
  217. package/dist/esm/api/types/InternalAgenticSearchRequest.mjs +0 -4
  218. package/dist/esm/api/types/InvitationCreate.d.mts +0 -10
  219. package/dist/esm/api/types/InvitationCreate.mjs +0 -4
  220. package/dist/esm/api/types/InvitationResponse.d.mts +0 -13
  221. package/dist/esm/api/types/InvitationResponse.mjs +0 -4
  222. package/dist/esm/api/types/LivenessResponse.d.mts +0 -9
  223. package/dist/esm/api/types/LivenessResponse.mjs +0 -4
  224. package/dist/esm/api/types/MemberResponse.d.mts +0 -15
  225. package/dist/esm/api/types/MemberResponse.mjs +0 -4
  226. package/dist/esm/api/types/MessageResponse.d.mts +0 -10
  227. package/dist/esm/api/types/MessageResponse.mjs +0 -4
  228. package/dist/esm/api/types/NodeSelectionData.d.mts +0 -12
  229. package/dist/esm/api/types/NodeSelectionData.mjs +0 -4
  230. package/dist/esm/api/types/NodeSelectionRequest.d.mts +0 -10
  231. package/dist/esm/api/types/NodeSelectionRequest.mjs +0 -4
  232. package/dist/esm/api/types/NodeSelectionResponse.d.mts +0 -14
  233. package/dist/esm/api/types/NodeSelectionResponse.mjs +0 -4
  234. package/dist/esm/api/types/Organization.d.mts +0 -29
  235. package/dist/esm/api/types/Organization.mjs +0 -4
  236. package/dist/esm/api/types/OrganizationBilling.d.mts +0 -44
  237. package/dist/esm/api/types/OrganizationBilling.mjs +0 -4
  238. package/dist/esm/api/types/OrganizationCreate.d.mts +0 -16
  239. package/dist/esm/api/types/OrganizationCreate.mjs +0 -4
  240. package/dist/esm/api/types/OrganizationMetrics.d.mts +0 -47
  241. package/dist/esm/api/types/OrganizationMetrics.mjs +0 -4
  242. package/dist/esm/api/types/OrganizationWithRole.d.mts +0 -22
  243. package/dist/esm/api/types/OrganizationWithRole.mjs +0 -4
  244. package/dist/esm/api/types/ReadinessResponse.d.mts +0 -18
  245. package/dist/esm/api/types/ReadinessResponse.mjs +0 -10
  246. package/dist/esm/api/types/SearchRequest.d.mts +0 -34
  247. package/dist/esm/api/types/SearchRequest.mjs +0 -4
  248. package/dist/esm/api/types/SearchResponse.d.mts +0 -15
  249. package/dist/esm/api/types/SearchResponse.mjs +0 -4
  250. package/dist/esm/api/types/SingleActionCheckResponse.d.mts +0 -23
  251. package/dist/esm/api/types/SingleActionCheckResponse.mjs +0 -10
  252. package/dist/esm/api/types/SourceRateLimit.d.mts +0 -18
  253. package/dist/esm/api/types/SourceRateLimit.mjs +0 -4
  254. package/dist/esm/api/types/SourceRateLimitResponse.d.mts +0 -17
  255. package/dist/esm/api/types/SourceRateLimitResponse.mjs +0 -4
  256. package/dist/esm/api/types/SourceRateLimitUpdateRequest.d.mts +0 -12
  257. package/dist/esm/api/types/SourceRateLimitUpdateRequest.mjs +0 -4
  258. package/dist/esm/api/types/SubscriptionInfo.d.mts +0 -52
  259. package/dist/esm/api/types/SubscriptionInfo.mjs +0 -4
  260. package/dist/esm/api/types/SyncJob.d.mts +0 -33
  261. package/dist/esm/api/types/SyncJob.mjs +0 -4
  262. package/dist/esm/api/types/SyncStatus.d.mts +0 -12
  263. package/dist/esm/api/types/SyncStatus.mjs +0 -8
  264. package/dist/esm/api/types/UpdatePlanRequest.d.mts +0 -12
  265. package/dist/esm/api/types/UpdatePlanRequest.mjs +0 -4
  266. package/dist/esm/api/types/UsageDashboard.d.mts +0 -23
  267. package/dist/esm/api/types/UsageDashboard.mjs +0 -4
  268. package/dist/esm/api/types/UsageSnapshot.d.mts +0 -32
  269. package/dist/esm/api/types/UsageSnapshot.mjs +0 -4
  270. package/dist/esm/api/types/UsageTrend.d.mts +0 -14
  271. package/dist/esm/api/types/UsageTrend.mjs +0 -4
  272. package/dist/esm/api/types/User.d.mts +0 -18
  273. package/dist/esm/api/types/User.mjs +0 -4
  274. package/dist/esm/api/types/UserCreate.d.mts +0 -11
  275. package/dist/esm/api/types/UserCreate.mjs +0 -4
  276. package/dist/esm/api/types/UserOrganization.d.mts +0 -14
  277. package/dist/esm/api/types/UserOrganization.mjs +0 -4
  278. package/dist/esm/api/types/VerifyOAuthRequest.d.mts +0 -10
  279. package/dist/esm/api/types/VerifyOAuthRequest.mjs +0 -4
@@ -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 });
@@ -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 });