@airweave/sdk 0.7.20 → 0.8.77

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 (277) hide show
  1. package/README.md +1 -5
  2. package/dist/cjs/Client.d.ts +3 -8
  3. package/dist/cjs/Client.js +7 -4
  4. package/dist/cjs/api/errors/ConflictError.d.ts +9 -0
  5. package/dist/cjs/api/errors/ConflictError.js +52 -0
  6. package/dist/cjs/api/errors/NotFoundError.d.ts +9 -0
  7. package/dist/cjs/api/errors/NotFoundError.js +52 -0
  8. package/dist/cjs/api/errors/TooManyRequestsError.d.ts +9 -0
  9. package/dist/cjs/api/errors/TooManyRequestsError.js +52 -0
  10. package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +1 -2
  11. package/dist/cjs/api/errors/index.d.ts +3 -0
  12. package/dist/cjs/api/errors/index.js +3 -0
  13. package/dist/cjs/api/resources/collections/client/Client.d.ts +107 -42
  14. package/dist/cjs/api/resources/collections/client/Client.js +205 -58
  15. package/dist/cjs/api/resources/collections/client/requests/CollectionCreate.d.ts +3 -0
  16. package/dist/cjs/api/resources/collections/client/requests/CollectionUpdate.d.ts +16 -0
  17. package/dist/cjs/api/resources/collections/client/requests/ListCollectionsGetRequest.d.ts +4 -4
  18. package/dist/cjs/api/resources/collections/client/requests/SearchGetLegacyCollectionsReadableIdSearchGetRequest.d.ts +4 -4
  19. package/dist/cjs/api/resources/collections/client/requests/index.d.ts +1 -0
  20. package/dist/cjs/api/resources/collections/types/index.d.ts +0 -1
  21. package/dist/cjs/api/resources/collections/types/index.js +0 -1
  22. package/dist/cjs/api/resources/index.d.ts +2 -0
  23. package/dist/cjs/api/resources/index.js +3 -1
  24. package/dist/cjs/api/resources/sourceConnections/client/Client.d.ts +96 -62
  25. package/dist/cjs/api/resources/sourceConnections/client/Client.js +152 -78
  26. package/dist/cjs/api/resources/sourceConnections/client/requests/GetSourceConnectionJobsSourceConnectionsSourceConnectionIdJobsGetRequest.d.ts +2 -1
  27. package/dist/cjs/api/resources/sourceConnections/client/requests/ListSourceConnectionsGetRequest.d.ts +4 -2
  28. package/dist/cjs/api/resources/sourceConnections/client/requests/RunSourceConnectionsSourceConnectionIdRunPostRequest.d.ts +2 -2
  29. package/dist/cjs/api/resources/sourceConnections/client/requests/SourceConnectionCreate.d.ts +10 -9
  30. package/dist/cjs/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +6 -3
  31. package/dist/cjs/api/resources/sources/client/Client.d.ts +24 -13
  32. package/dist/cjs/api/resources/sources/client/Client.js +36 -11
  33. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +231 -0
  34. package/dist/cjs/api/resources/webhooks/client/Client.js +689 -0
  35. package/dist/cjs/api/resources/webhooks/client/index.d.ts +2 -0
  36. package/dist/cjs/api/resources/webhooks/client/index.js +17 -0
  37. package/dist/cjs/api/resources/webhooks/client/requests/CreateSubscriptionRequest.d.ts +19 -0
  38. package/dist/cjs/api/resources/webhooks/client/requests/GetMessageWebhooksMessagesMessageIdGetRequest.d.ts +13 -0
  39. package/dist/cjs/api/resources/webhooks/client/requests/GetMessagesWebhooksMessagesGetRequest.d.ts +11 -0
  40. package/dist/cjs/api/resources/webhooks/client/requests/GetSubscriptionWebhooksSubscriptionsSubscriptionIdGetRequest.d.ts +13 -0
  41. package/dist/cjs/api/resources/webhooks/client/requests/PatchSubscriptionRequest.d.ts +18 -0
  42. package/dist/cjs/api/resources/webhooks/client/requests/RecoverMessagesRequest.d.ts +15 -0
  43. package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +6 -0
  44. package/dist/cjs/api/resources/webhooks/client/requests/index.js +2 -0
  45. package/dist/cjs/api/resources/webhooks/index.d.ts +1 -0
  46. package/dist/cjs/api/resources/webhooks/index.js +17 -0
  47. package/dist/cjs/api/types/AdminSearchDestination.d.ts +11 -0
  48. package/dist/cjs/api/types/AdminSearchDestination.js +10 -0
  49. package/dist/cjs/api/types/{SyncWithSourceConnection.d.ts → AdminSyncInfo.d.ts} +14 -3
  50. package/dist/cjs/api/types/BehaviorConfig.d.ts +14 -0
  51. package/dist/cjs/api/types/BodyResyncWithExecutionConfigAdminResyncSyncIdPost.d.ts +10 -0
  52. package/dist/cjs/api/types/Collection.d.ts +4 -2
  53. package/dist/cjs/api/types/ConfigField.d.ts +2 -0
  54. package/dist/cjs/api/types/ConflictErrorResponse.d.ts +13 -0
  55. package/dist/cjs/api/types/CursorConfig.d.ts +12 -0
  56. package/dist/cjs/api/types/DeliveryAttempt.d.ts +28 -0
  57. package/dist/cjs/api/types/DestinationConfig.d.ts +16 -0
  58. package/dist/cjs/api/types/EventType.d.ts +24 -0
  59. package/dist/cjs/api/types/EventType.js +19 -0
  60. package/dist/cjs/api/types/FeatureFlag.d.ts +4 -1
  61. package/dist/cjs/api/types/FeatureFlag.js +3 -0
  62. package/dist/cjs/api/types/HandlerConfig.d.ts +14 -0
  63. package/dist/cjs/api/types/LegacySearchRequest.d.ts +2 -2
  64. package/dist/cjs/api/types/NotFoundErrorResponse.d.ts +10 -0
  65. package/dist/cjs/api/types/RateLimitErrorResponse.d.ts +13 -0
  66. package/dist/cjs/api/types/RecoveryTask.d.ts +16 -0
  67. package/dist/cjs/api/types/S3ConfigRequest.d.ts +5 -9
  68. package/dist/cjs/api/types/SearchRequest.d.ts +15 -12
  69. package/dist/cjs/api/types/SearchResponse.d.ts +6 -3
  70. package/dist/cjs/api/types/Source.d.ts +4 -0
  71. package/dist/cjs/api/types/SourceConnection.d.ts +21 -3
  72. package/dist/cjs/api/types/SourceConnectionJob.d.ts +16 -1
  73. package/dist/cjs/api/types/SourceConnectionListItem.d.ts +13 -2
  74. package/dist/cjs/api/types/Sync.d.ts +1 -0
  75. package/dist/cjs/api/types/SyncConfig.d.ts +17 -0
  76. package/dist/cjs/api/types/SyncCreate.d.ts +1 -0
  77. package/dist/cjs/api/types/SyncJob.d.ts +2 -0
  78. package/dist/cjs/api/types/SyncUpdate.d.ts +1 -0
  79. package/dist/cjs/api/types/ValidationErrorDetail.d.ts +14 -0
  80. package/dist/cjs/api/types/ValidationErrorResponse.d.ts +14 -0
  81. package/dist/cjs/api/types/WebhookMessage.d.ts +22 -0
  82. package/dist/cjs/api/types/WebhookMessageWithAttempts.d.ts +23 -0
  83. package/dist/cjs/api/types/WebhookSubscription.d.ts +27 -0
  84. package/dist/cjs/api/types/index.d.ts +19 -25
  85. package/dist/cjs/api/types/index.js +19 -25
  86. package/dist/cjs/version.d.ts +1 -1
  87. package/dist/cjs/version.js +1 -1
  88. package/dist/esm/Client.d.mts +3 -8
  89. package/dist/esm/Client.mjs +7 -4
  90. package/dist/esm/api/errors/ConflictError.d.mts +9 -0
  91. package/dist/esm/api/errors/ConflictError.mjs +15 -0
  92. package/dist/esm/api/errors/NotFoundError.d.mts +9 -0
  93. package/dist/esm/api/errors/NotFoundError.mjs +15 -0
  94. package/dist/esm/api/errors/TooManyRequestsError.d.mts +9 -0
  95. package/dist/esm/api/errors/TooManyRequestsError.mjs +15 -0
  96. package/dist/esm/api/errors/UnprocessableEntityError.d.mts +1 -2
  97. package/dist/esm/api/errors/index.d.mts +3 -0
  98. package/dist/esm/api/errors/index.mjs +3 -0
  99. package/dist/esm/api/resources/collections/client/Client.d.mts +107 -42
  100. package/dist/esm/api/resources/collections/client/Client.mjs +205 -58
  101. package/dist/esm/api/resources/collections/client/requests/CollectionCreate.d.mts +3 -0
  102. package/dist/esm/api/resources/collections/client/requests/CollectionUpdate.d.mts +16 -0
  103. package/dist/esm/api/resources/collections/client/requests/ListCollectionsGetRequest.d.mts +4 -4
  104. package/dist/esm/api/resources/collections/client/requests/SearchGetLegacyCollectionsReadableIdSearchGetRequest.d.mts +4 -4
  105. package/dist/esm/api/resources/collections/client/requests/index.d.mts +1 -0
  106. package/dist/esm/api/resources/collections/types/index.d.mts +0 -1
  107. package/dist/esm/api/resources/collections/types/index.mjs +0 -1
  108. package/dist/esm/api/resources/index.d.mts +2 -0
  109. package/dist/esm/api/resources/index.mjs +2 -0
  110. package/dist/esm/api/resources/sourceConnections/client/Client.d.mts +96 -62
  111. package/dist/esm/api/resources/sourceConnections/client/Client.mjs +152 -78
  112. package/dist/esm/api/resources/sourceConnections/client/requests/GetSourceConnectionJobsSourceConnectionsSourceConnectionIdJobsGetRequest.d.mts +2 -1
  113. package/dist/esm/api/resources/sourceConnections/client/requests/ListSourceConnectionsGetRequest.d.mts +4 -2
  114. package/dist/esm/api/resources/sourceConnections/client/requests/RunSourceConnectionsSourceConnectionIdRunPostRequest.d.mts +2 -2
  115. package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionCreate.d.mts +10 -9
  116. package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.mts +6 -3
  117. package/dist/esm/api/resources/sources/client/Client.d.mts +24 -13
  118. package/dist/esm/api/resources/sources/client/Client.mjs +36 -11
  119. package/dist/esm/api/resources/webhooks/client/Client.d.mts +231 -0
  120. package/dist/esm/api/resources/webhooks/client/Client.mjs +652 -0
  121. package/dist/esm/api/resources/webhooks/client/index.d.mts +2 -0
  122. package/dist/esm/api/resources/webhooks/client/index.mjs +1 -0
  123. package/dist/esm/api/resources/webhooks/client/requests/CreateSubscriptionRequest.d.mts +19 -0
  124. package/dist/esm/api/resources/webhooks/client/requests/GetMessageWebhooksMessagesMessageIdGetRequest.d.mts +13 -0
  125. package/dist/esm/api/resources/webhooks/client/requests/GetMessagesWebhooksMessagesGetRequest.d.mts +11 -0
  126. package/dist/esm/api/resources/webhooks/client/requests/GetSubscriptionWebhooksSubscriptionsSubscriptionIdGetRequest.d.mts +13 -0
  127. package/dist/esm/api/resources/webhooks/client/requests/PatchSubscriptionRequest.d.mts +18 -0
  128. package/dist/esm/api/resources/webhooks/client/requests/RecoverMessagesRequest.d.mts +15 -0
  129. package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +6 -0
  130. package/dist/esm/api/resources/webhooks/client/requests/index.mjs +1 -0
  131. package/dist/esm/api/resources/webhooks/index.d.mts +1 -0
  132. package/dist/esm/api/resources/webhooks/index.mjs +1 -0
  133. package/dist/esm/api/types/AdminSearchDestination.d.mts +11 -0
  134. package/dist/esm/api/types/AdminSearchDestination.mjs +7 -0
  135. package/dist/esm/api/types/{SyncWithSourceConnection.d.mts → AdminSyncInfo.d.mts} +14 -3
  136. package/dist/esm/api/types/BehaviorConfig.d.mts +14 -0
  137. package/dist/esm/api/types/BodyResyncWithExecutionConfigAdminResyncSyncIdPost.d.mts +10 -0
  138. package/dist/esm/api/types/Collection.d.mts +4 -2
  139. package/dist/esm/api/types/ConfigField.d.mts +2 -0
  140. package/dist/esm/api/types/ConflictErrorResponse.d.mts +13 -0
  141. package/dist/esm/api/types/CursorConfig.d.mts +12 -0
  142. package/dist/esm/api/types/DeliveryAttempt.d.mts +28 -0
  143. package/dist/esm/api/types/DestinationConfig.d.mts +16 -0
  144. package/dist/esm/api/types/EventType.d.mts +24 -0
  145. package/dist/esm/api/types/EventType.mjs +16 -0
  146. package/dist/esm/api/types/FeatureFlag.d.mts +4 -1
  147. package/dist/esm/api/types/FeatureFlag.mjs +3 -0
  148. package/dist/esm/api/types/HandlerConfig.d.mts +14 -0
  149. package/dist/esm/api/types/LegacySearchRequest.d.mts +2 -2
  150. package/dist/esm/api/types/NotFoundErrorResponse.d.mts +10 -0
  151. package/dist/esm/api/types/RateLimitErrorResponse.d.mts +13 -0
  152. package/dist/esm/api/types/RecoveryTask.d.mts +16 -0
  153. package/dist/esm/api/types/S3ConfigRequest.d.mts +5 -9
  154. package/dist/esm/api/types/SearchRequest.d.mts +15 -12
  155. package/dist/esm/api/types/SearchResponse.d.mts +6 -3
  156. package/dist/esm/api/types/Source.d.mts +4 -0
  157. package/dist/esm/api/types/SourceConnection.d.mts +21 -3
  158. package/dist/esm/api/types/SourceConnectionJob.d.mts +16 -1
  159. package/dist/esm/api/types/SourceConnectionListItem.d.mts +13 -2
  160. package/dist/esm/api/types/Sync.d.mts +1 -0
  161. package/dist/esm/api/types/SyncConfig.d.mts +17 -0
  162. package/dist/esm/api/types/SyncCreate.d.mts +1 -0
  163. package/dist/esm/api/types/SyncJob.d.mts +2 -0
  164. package/dist/esm/api/types/SyncUpdate.d.mts +1 -0
  165. package/dist/esm/api/types/ValidationErrorDetail.d.mts +14 -0
  166. package/dist/esm/api/types/ValidationErrorResponse.d.mts +14 -0
  167. package/dist/esm/api/types/WebhookMessage.d.mts +22 -0
  168. package/dist/esm/api/types/WebhookMessageWithAttempts.d.mts +23 -0
  169. package/dist/esm/api/types/WebhookSubscription.d.mts +27 -0
  170. package/dist/esm/api/types/index.d.mts +19 -25
  171. package/dist/esm/api/types/index.mjs +19 -25
  172. package/dist/esm/version.d.mts +1 -1
  173. package/dist/esm/version.mjs +1 -1
  174. package/package.json +1 -1
  175. package/reference.md +891 -121
  176. package/dist/cjs/api/resources/collections/types/SearchCollectionsReadableIdSearchPostResponse.d.ts +0 -5
  177. package/dist/cjs/api/types/CollectionUpdate.d.ts +0 -13
  178. package/dist/cjs/api/types/DatetimeRange.d.ts +0 -34
  179. package/dist/cjs/api/types/FieldCondition.d.ts +0 -33
  180. package/dist/cjs/api/types/Filter.d.ts +0 -28
  181. package/dist/cjs/api/types/GeoBoundingBox.d.ts +0 -13
  182. package/dist/cjs/api/types/GeoLineString.d.ts +0 -11
  183. package/dist/cjs/api/types/GeoPoint.d.ts +0 -12
  184. package/dist/cjs/api/types/GeoPolygon.d.ts +0 -13
  185. package/dist/cjs/api/types/GeoRadius.d.ts +0 -13
  186. package/dist/cjs/api/types/HasIdCondition.d.ts +0 -16
  187. package/dist/cjs/api/types/HasVectorCondition.d.ts +0 -10
  188. package/dist/cjs/api/types/IsEmptyCondition.d.ts +0 -11
  189. package/dist/cjs/api/types/IsNullCondition.d.ts +0 -11
  190. package/dist/cjs/api/types/MatchAny.d.ts +0 -16
  191. package/dist/cjs/api/types/MatchExcept.d.ts +0 -16
  192. package/dist/cjs/api/types/MatchPhrase.d.ts +0 -10
  193. package/dist/cjs/api/types/MatchText.d.ts +0 -10
  194. package/dist/cjs/api/types/MatchValue.d.ts +0 -16
  195. package/dist/cjs/api/types/MinShould.d.ts +0 -16
  196. package/dist/cjs/api/types/Nested.d.ts +0 -13
  197. package/dist/cjs/api/types/NestedCondition.d.ts +0 -8
  198. package/dist/cjs/api/types/PayloadField.d.ts +0 -10
  199. package/dist/cjs/api/types/Range.d.ts +0 -16
  200. package/dist/cjs/api/types/SyncWithSourceConnection.js +0 -5
  201. package/dist/cjs/api/types/ValuesCount.d.ts +0 -16
  202. package/dist/cjs/api/types/ValuesCount.js +0 -5
  203. package/dist/esm/api/resources/collections/types/SearchCollectionsReadableIdSearchPostResponse.d.mts +0 -5
  204. package/dist/esm/api/types/CollectionUpdate.d.mts +0 -13
  205. package/dist/esm/api/types/DatetimeRange.d.mts +0 -34
  206. package/dist/esm/api/types/FieldCondition.d.mts +0 -33
  207. package/dist/esm/api/types/Filter.d.mts +0 -28
  208. package/dist/esm/api/types/GeoBoundingBox.d.mts +0 -13
  209. package/dist/esm/api/types/GeoLineString.d.mts +0 -11
  210. package/dist/esm/api/types/GeoPoint.d.mts +0 -12
  211. package/dist/esm/api/types/GeoPolygon.d.mts +0 -13
  212. package/dist/esm/api/types/GeoRadius.d.mts +0 -13
  213. package/dist/esm/api/types/HasIdCondition.d.mts +0 -16
  214. package/dist/esm/api/types/HasVectorCondition.d.mts +0 -10
  215. package/dist/esm/api/types/IsEmptyCondition.d.mts +0 -11
  216. package/dist/esm/api/types/IsNullCondition.d.mts +0 -11
  217. package/dist/esm/api/types/MatchAny.d.mts +0 -16
  218. package/dist/esm/api/types/MatchExcept.d.mts +0 -16
  219. package/dist/esm/api/types/MatchPhrase.d.mts +0 -10
  220. package/dist/esm/api/types/MatchText.d.mts +0 -10
  221. package/dist/esm/api/types/MatchValue.d.mts +0 -16
  222. package/dist/esm/api/types/MinShould.d.mts +0 -16
  223. package/dist/esm/api/types/Nested.d.mts +0 -13
  224. package/dist/esm/api/types/NestedCondition.d.mts +0 -8
  225. package/dist/esm/api/types/PayloadField.d.mts +0 -10
  226. package/dist/esm/api/types/Range.d.mts +0 -16
  227. package/dist/esm/api/types/SyncWithSourceConnection.mjs +0 -4
  228. package/dist/esm/api/types/ValuesCount.d.mts +0 -16
  229. package/dist/esm/api/types/ValuesCount.mjs +0 -4
  230. /package/dist/cjs/api/{types → resources/collections/client/requests}/CollectionUpdate.js +0 -0
  231. /package/dist/cjs/api/resources/{collections/types/SearchCollectionsReadableIdSearchPostResponse.js → webhooks/client/requests/CreateSubscriptionRequest.js} +0 -0
  232. /package/dist/cjs/api/{types/DatetimeRange.js → resources/webhooks/client/requests/GetMessageWebhooksMessagesMessageIdGetRequest.js} +0 -0
  233. /package/dist/cjs/api/{types/FieldCondition.js → resources/webhooks/client/requests/GetMessagesWebhooksMessagesGetRequest.js} +0 -0
  234. /package/dist/cjs/api/{types/Filter.js → resources/webhooks/client/requests/GetSubscriptionWebhooksSubscriptionsSubscriptionIdGetRequest.js} +0 -0
  235. /package/dist/cjs/api/{types/GeoBoundingBox.js → resources/webhooks/client/requests/PatchSubscriptionRequest.js} +0 -0
  236. /package/dist/cjs/api/{types/GeoLineString.js → resources/webhooks/client/requests/RecoverMessagesRequest.js} +0 -0
  237. /package/dist/cjs/api/types/{GeoPoint.js → AdminSyncInfo.js} +0 -0
  238. /package/dist/cjs/api/types/{GeoPolygon.js → BehaviorConfig.js} +0 -0
  239. /package/dist/cjs/api/types/{GeoRadius.js → BodyResyncWithExecutionConfigAdminResyncSyncIdPost.js} +0 -0
  240. /package/dist/cjs/api/types/{HasIdCondition.js → ConflictErrorResponse.js} +0 -0
  241. /package/dist/cjs/api/types/{HasVectorCondition.js → CursorConfig.js} +0 -0
  242. /package/dist/cjs/api/types/{IsEmptyCondition.js → DeliveryAttempt.js} +0 -0
  243. /package/dist/cjs/api/types/{IsNullCondition.js → DestinationConfig.js} +0 -0
  244. /package/dist/cjs/api/types/{MatchAny.js → HandlerConfig.js} +0 -0
  245. /package/dist/cjs/api/types/{MatchExcept.js → NotFoundErrorResponse.js} +0 -0
  246. /package/dist/cjs/api/types/{MatchPhrase.js → RateLimitErrorResponse.js} +0 -0
  247. /package/dist/cjs/api/types/{MatchText.js → RecoveryTask.js} +0 -0
  248. /package/dist/cjs/api/types/{MatchValue.js → SyncConfig.js} +0 -0
  249. /package/dist/cjs/api/types/{MinShould.js → ValidationErrorDetail.js} +0 -0
  250. /package/dist/cjs/api/types/{Nested.js → ValidationErrorResponse.js} +0 -0
  251. /package/dist/cjs/api/types/{NestedCondition.js → WebhookMessage.js} +0 -0
  252. /package/dist/cjs/api/types/{PayloadField.js → WebhookMessageWithAttempts.js} +0 -0
  253. /package/dist/cjs/api/types/{Range.js → WebhookSubscription.js} +0 -0
  254. /package/dist/esm/api/{types → resources/collections/client/requests}/CollectionUpdate.mjs +0 -0
  255. /package/dist/esm/api/resources/{collections/types/SearchCollectionsReadableIdSearchPostResponse.mjs → webhooks/client/requests/CreateSubscriptionRequest.mjs} +0 -0
  256. /package/dist/esm/api/{types/DatetimeRange.mjs → resources/webhooks/client/requests/GetMessageWebhooksMessagesMessageIdGetRequest.mjs} +0 -0
  257. /package/dist/esm/api/{types/FieldCondition.mjs → resources/webhooks/client/requests/GetMessagesWebhooksMessagesGetRequest.mjs} +0 -0
  258. /package/dist/esm/api/{types/Filter.mjs → resources/webhooks/client/requests/GetSubscriptionWebhooksSubscriptionsSubscriptionIdGetRequest.mjs} +0 -0
  259. /package/dist/esm/api/{types/GeoBoundingBox.mjs → resources/webhooks/client/requests/PatchSubscriptionRequest.mjs} +0 -0
  260. /package/dist/esm/api/{types/GeoLineString.mjs → resources/webhooks/client/requests/RecoverMessagesRequest.mjs} +0 -0
  261. /package/dist/esm/api/types/{GeoPoint.mjs → AdminSyncInfo.mjs} +0 -0
  262. /package/dist/esm/api/types/{GeoPolygon.mjs → BehaviorConfig.mjs} +0 -0
  263. /package/dist/esm/api/types/{GeoRadius.mjs → BodyResyncWithExecutionConfigAdminResyncSyncIdPost.mjs} +0 -0
  264. /package/dist/esm/api/types/{HasIdCondition.mjs → ConflictErrorResponse.mjs} +0 -0
  265. /package/dist/esm/api/types/{HasVectorCondition.mjs → CursorConfig.mjs} +0 -0
  266. /package/dist/esm/api/types/{IsEmptyCondition.mjs → DeliveryAttempt.mjs} +0 -0
  267. /package/dist/esm/api/types/{IsNullCondition.mjs → DestinationConfig.mjs} +0 -0
  268. /package/dist/esm/api/types/{MatchAny.mjs → HandlerConfig.mjs} +0 -0
  269. /package/dist/esm/api/types/{MatchExcept.mjs → NotFoundErrorResponse.mjs} +0 -0
  270. /package/dist/esm/api/types/{MatchPhrase.mjs → RateLimitErrorResponse.mjs} +0 -0
  271. /package/dist/esm/api/types/{MatchText.mjs → RecoveryTask.mjs} +0 -0
  272. /package/dist/esm/api/types/{MatchValue.mjs → SyncConfig.mjs} +0 -0
  273. /package/dist/esm/api/types/{MinShould.mjs → ValidationErrorDetail.mjs} +0 -0
  274. /package/dist/esm/api/types/{Nested.mjs → ValidationErrorResponse.mjs} +0 -0
  275. /package/dist/esm/api/types/{NestedCondition.mjs → WebhookMessage.mjs} +0 -0
  276. /package/dist/esm/api/types/{PayloadField.mjs → WebhookMessageWithAttempts.mjs} +0 -0
  277. /package/dist/esm/api/types/{Range.mjs → WebhookSubscription.mjs} +0 -0
@@ -3,18 +3,29 @@
3
3
  */
4
4
  import * as AirweaveSDK from "../index.mjs";
5
5
  /**
6
- * Clean source connection for list views.
6
+ * Lightweight source connection representation for list views.
7
+ *
8
+ * Contains essential fields for display and navigation. For full details
9
+ * including sync history and configuration, use the GET /{id} endpoint.
7
10
  */
8
11
  export interface SourceConnectionListItem {
12
+ /** Unique identifier of the source connection */
9
13
  id: string;
14
+ /** Display name of the connection */
10
15
  name: string;
16
+ /** Source type identifier */
11
17
  short_name: string;
18
+ /** Collection this connection belongs to */
12
19
  readable_collection_id: string;
20
+ /** When the connection was created (ISO 8601) */
13
21
  created_at: string;
22
+ /** When the connection was last modified (ISO 8601) */
14
23
  modified_at: string;
24
+ /** Whether the connection has valid credentials */
15
25
  is_authenticated: boolean;
26
+ /** Total number of entities synced from this connection */
16
27
  entity_count?: number;
17
- /** Whether this source uses federated search */
28
+ /** Whether this source uses federated (real-time) search instead of syncing */
18
29
  federated_search?: boolean;
19
30
  /** Get authentication method from database value. */
20
31
  auth_method: AirweaveSDK.AuthenticationMethod;
@@ -15,6 +15,7 @@ export interface Sync {
15
15
  temporal_schedule_id?: string;
16
16
  sync_type?: string;
17
17
  sync_metadata?: Record<string, unknown>;
18
+ sync_config?: AirweaveSDK.SyncConfig;
18
19
  status: AirweaveSDK.SyncStatus;
19
20
  id: string;
20
21
  organization_id: string;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as AirweaveSDK from "../index.mjs";
5
+ /**
6
+ * Sync configuration with automatic env var loading.
7
+ *
8
+ * Env vars use double underscore as delimiter:
9
+ * SYNC_CONFIG__DESTINATIONS__SKIP_QDRANT=true
10
+ * SYNC_CONFIG__HANDLERS__ENABLE_VECTOR_HANDLERS=false
11
+ */
12
+ export interface SyncConfig {
13
+ destinations?: AirweaveSDK.DestinationConfig;
14
+ handlers?: AirweaveSDK.HandlerConfig;
15
+ cursor?: AirweaveSDK.CursorConfig;
16
+ behavior?: AirweaveSDK.BehaviorConfig;
17
+ }
@@ -15,6 +15,7 @@ export interface SyncCreate {
15
15
  temporal_schedule_id?: string;
16
16
  sync_type?: string;
17
17
  sync_metadata?: Record<string, unknown>;
18
+ sync_config?: AirweaveSDK.SyncConfig;
18
19
  status?: AirweaveSDK.SyncStatus;
19
20
  run_immediately?: boolean;
20
21
  }
@@ -20,6 +20,8 @@ export interface SyncJob {
20
20
  failed_at?: string;
21
21
  error?: string;
22
22
  access_token?: string;
23
+ sync_config?: AirweaveSDK.SyncConfig;
24
+ sync_metadata?: Record<string, unknown>;
23
25
  id: string;
24
26
  organization_id: string;
25
27
  created_by_email?: string;
@@ -10,6 +10,7 @@ export interface SyncUpdate {
10
10
  cron_schedule?: string;
11
11
  next_scheduled_run?: string;
12
12
  sync_metadata?: Record<string, unknown>;
13
+ sync_config?: AirweaveSDK.SyncConfig;
13
14
  status?: AirweaveSDK.SyncStatus;
14
15
  temporal_schedule_id?: string;
15
16
  sync_type?: string;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Details about a validation error for a specific field.
6
+ */
7
+ export interface ValidationErrorDetail {
8
+ /** Location of the error (e.g., ['body', 'url']) */
9
+ loc: string[];
10
+ /** Human-readable error message */
11
+ msg: string;
12
+ /** Error type identifier */
13
+ type: string;
14
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as AirweaveSDK from "../index.mjs";
5
+ /**
6
+ * Response returned when request validation fails (HTTP 422).
7
+ *
8
+ * This occurs when the request body contains invalid data, such as
9
+ * malformed URLs, invalid event types, or missing required fields.
10
+ */
11
+ export interface ValidationErrorResponse {
12
+ /** List of validation errors */
13
+ detail: AirweaveSDK.ValidationErrorDetail[];
14
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * A webhook message that was sent (or attempted) to webhook subscribers.
6
+ *
7
+ * The payload contains the actual event data matching the webhook delivery format.
8
+ */
9
+ export interface WebhookMessage {
10
+ /** Unique identifier for this message (UUID format) */
11
+ id: string;
12
+ /** The type of event (e.g., 'sync.completed', 'sync.failed') */
13
+ event_type: string;
14
+ /** The event payload data, matching what is delivered to webhooks. Structure varies by event_type. */
15
+ payload: Record<string, unknown>;
16
+ /** When this message was created (ISO 8601 format, UTC) */
17
+ timestamp: string;
18
+ /** Channels this message was sent to (typically matches the event type) */
19
+ channels?: string[];
20
+ /** Tags associated with this message for filtering */
21
+ tags?: string[];
22
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as AirweaveSDK from "../index.mjs";
5
+ /**
6
+ * A webhook message with delivery attempts.
7
+ */
8
+ export interface WebhookMessageWithAttempts {
9
+ /** Unique identifier for this message (UUID format) */
10
+ id: string;
11
+ /** The type of event (e.g., 'sync.completed', 'sync.failed') */
12
+ event_type: string;
13
+ /** The event payload data, matching what is delivered to webhooks. Structure varies by event_type. */
14
+ payload: Record<string, unknown>;
15
+ /** When this message was created (ISO 8601 format, UTC) */
16
+ timestamp: string;
17
+ /** Channels this message was sent to (typically matches the event type) */
18
+ channels?: string[];
19
+ /** Tags associated with this message for filtering */
20
+ tags?: string[];
21
+ /** Delivery attempts for this message. */
22
+ delivery_attempts?: AirweaveSDK.DeliveryAttempt[];
23
+ }
@@ -0,0 +1,27 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as AirweaveSDK from "../index.mjs";
5
+ /**
6
+ * A webhook subscription (endpoint) configuration.
7
+ */
8
+ export interface WebhookSubscription {
9
+ /** Unique identifier for this subscription (UUID format) */
10
+ id: string;
11
+ /** The URL where webhook events are delivered */
12
+ url: string;
13
+ /** Event types this subscription is filtered to receive. See EventType enum for all available types. */
14
+ filter_types?: string[];
15
+ /** Whether this subscription is currently disabled. Disabled subscriptions do not receive event deliveries. */
16
+ disabled?: boolean;
17
+ /** Optional human-readable description of this subscription */
18
+ description?: string;
19
+ /** When this subscription was created (ISO 8601 format, UTC) */
20
+ created_at: string;
21
+ /** When this subscription was last updated (ISO 8601 format, UTC) */
22
+ updated_at: string;
23
+ /** Recent delivery attempts for this subscription. Only included when fetching a single subscription via GET /subscriptions/{id}. */
24
+ delivery_attempts?: AirweaveSDK.DeliveryAttempt[];
25
+ /** The signing secret for webhook signature verification. Only included when include_secret=true is passed to the API. Keep this secret secure. */
26
+ secret?: string;
27
+ }
@@ -2,6 +2,8 @@ export * from "./ApiKey.mjs";
2
2
  export * from "./ApiKeyCreate.mjs";
3
3
  export * from "./ActionCheckRequest.mjs";
4
4
  export * from "./ActionCheckResponse.mjs";
5
+ export * from "./AdminSearchDestination.mjs";
6
+ export * from "./AdminSyncInfo.mjs";
5
7
  export * from "./AuthProvider.mjs";
6
8
  export * from "./AuthProviderAuthentication.mjs";
7
9
  export * from "./AuthProviderConnection.mjs";
@@ -9,6 +11,7 @@ export * from "./AuthProviderConnectionCreate.mjs";
9
11
  export * from "./AuthProviderConnectionUpdate.mjs";
10
12
  export * from "./AuthenticationDetails.mjs";
11
13
  export * from "./AuthenticationMethod.mjs";
14
+ export * from "./BehaviorConfig.mjs";
12
15
  export * from "./BillingPeriod.mjs";
13
16
  export * from "./BillingPeriodStatus.mjs";
14
17
  export * from "./BillingPeriodUsage.mjs";
@@ -16,19 +19,22 @@ export * from "./BillingPlan.mjs";
16
19
  export * from "./BillingStatus.mjs";
17
20
  export * from "./BillingTransition.mjs";
18
21
  export * from "./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.mjs";
22
+ export * from "./BodyResyncWithExecutionConfigAdminResyncSyncIdPost.mjs";
19
23
  export * from "./CheckoutSessionRequest.mjs";
20
24
  export * from "./CheckoutSessionResponse.mjs";
21
25
  export * from "./Collection.mjs";
22
26
  export * from "./CollectionStatus.mjs";
23
- export * from "./CollectionUpdate.mjs";
24
27
  export * from "./ConfigField.mjs";
25
28
  export * from "./ConfigValues.mjs";
29
+ export * from "./ConflictErrorResponse.mjs";
26
30
  export * from "./Connection.mjs";
27
31
  export * from "./ConnectionStatus.mjs";
32
+ export * from "./CursorConfig.mjs";
28
33
  export * from "./CustomerPortalRequest.mjs";
29
34
  export * from "./CustomerPortalResponse.mjs";
30
- export * from "./DatetimeRange.mjs";
35
+ export * from "./DeliveryAttempt.mjs";
31
36
  export * from "./Destination.mjs";
37
+ export * from "./DestinationConfig.mjs";
32
38
  export * from "./DestinationWithAuthenticationFields.mjs";
33
39
  export * from "./DirectAuthentication.mjs";
34
40
  export * from "./EmbeddingModel.mjs";
@@ -40,39 +46,22 @@ export * from "./EntityDefinitionCreate.mjs";
40
46
  export * from "./EntitySummary.mjs";
41
47
  export * from "./EntityType.mjs";
42
48
  export * from "./EntityTypeStats.mjs";
49
+ export * from "./EventType.mjs";
43
50
  export * from "./FeatureFlag.mjs";
44
- export * from "./Range.mjs";
45
- export * from "./FieldCondition.mjs";
46
51
  export * from "./Fields.mjs";
47
- export * from "./Filter.mjs";
48
- export * from "./GeoBoundingBox.mjs";
49
- export * from "./GeoLineString.mjs";
50
- export * from "./GeoPoint.mjs";
51
- export * from "./GeoPolygon.mjs";
52
- export * from "./GeoRadius.mjs";
53
52
  export * from "./HttpValidationError.mjs";
54
- export * from "./HasIdCondition.mjs";
55
- export * from "./HasVectorCondition.mjs";
53
+ export * from "./HandlerConfig.mjs";
56
54
  export * from "./IntegrationCredentialInDb.mjs";
57
55
  export * from "./IntegrationCredentialRawCreate.mjs";
58
56
  export * from "./IntegrationType.mjs";
59
57
  export * from "./InvitationCreate.mjs";
60
58
  export * from "./InvitationResponse.mjs";
61
- export * from "./IsEmptyCondition.mjs";
62
- export * from "./IsNullCondition.mjs";
63
59
  export * from "./LegacySearchRequest.mjs";
64
60
  export * from "./LegacySearchResponse.mjs";
65
- export * from "./MatchAny.mjs";
66
- export * from "./MatchExcept.mjs";
67
- export * from "./MatchPhrase.mjs";
68
- export * from "./MatchText.mjs";
69
- export * from "./MatchValue.mjs";
70
61
  export * from "./MemberResponse.mjs";
71
62
  export * from "./MessageResponse.mjs";
72
- export * from "./MinShould.mjs";
73
63
  export * from "./MinuteLevelScheduleConfig.mjs";
74
- export * from "./Nested.mjs";
75
- export * from "./NestedCondition.mjs";
64
+ export * from "./NotFoundErrorResponse.mjs";
76
65
  export * from "./OAuthBrowserAuthentication.mjs";
77
66
  export * from "./OAuthTokenAuthentication.mjs";
78
67
  export * from "./OAuthType.mjs";
@@ -81,8 +70,9 @@ export * from "./OrganizationBilling.mjs";
81
70
  export * from "./OrganizationCreate.mjs";
82
71
  export * from "./OrganizationMetrics.mjs";
83
72
  export * from "./OrganizationWithRole.mjs";
84
- export * from "./PayloadField.mjs";
85
73
  export * from "./QueryExpansionStrategy.mjs";
74
+ export * from "./RateLimitErrorResponse.mjs";
75
+ export * from "./RecoveryTask.mjs";
86
76
  export * from "./ResponseType.mjs";
87
77
  export * from "./RetrievalStrategy.mjs";
88
78
  export * from "./S3ConfigRequest.mjs";
@@ -104,6 +94,7 @@ export * from "./SourceRateLimitResponse.mjs";
104
94
  export * from "./SourceRateLimitUpdateRequest.mjs";
105
95
  export * from "./SubscriptionInfo.mjs";
106
96
  export * from "./Sync.mjs";
97
+ export * from "./SyncConfig.mjs";
107
98
  export * from "./SyncCreate.mjs";
108
99
  export * from "./SyncDetails.mjs";
109
100
  export * from "./SyncJob.mjs";
@@ -111,7 +102,6 @@ export * from "./SyncJobDetails.mjs";
111
102
  export * from "./SyncJobStatus.mjs";
112
103
  export * from "./SyncStatus.mjs";
113
104
  export * from "./SyncUpdate.mjs";
114
- export * from "./SyncWithSourceConnection.mjs";
115
105
  export * from "./Transformer.mjs";
116
106
  export * from "./TransformerCreate.mjs";
117
107
  export * from "./TransformerUpdate.mjs";
@@ -123,4 +113,8 @@ export * from "./User.mjs";
123
113
  export * from "./UserCreate.mjs";
124
114
  export * from "./UserOrganization.mjs";
125
115
  export * from "./ValidationError.mjs";
126
- export * from "./ValuesCount.mjs";
116
+ export * from "./ValidationErrorDetail.mjs";
117
+ export * from "./ValidationErrorResponse.mjs";
118
+ export * from "./WebhookMessage.mjs";
119
+ export * from "./WebhookMessageWithAttempts.mjs";
120
+ export * from "./WebhookSubscription.mjs";
@@ -2,6 +2,8 @@ export * from "./ApiKey.mjs";
2
2
  export * from "./ApiKeyCreate.mjs";
3
3
  export * from "./ActionCheckRequest.mjs";
4
4
  export * from "./ActionCheckResponse.mjs";
5
+ export * from "./AdminSearchDestination.mjs";
6
+ export * from "./AdminSyncInfo.mjs";
5
7
  export * from "./AuthProvider.mjs";
6
8
  export * from "./AuthProviderAuthentication.mjs";
7
9
  export * from "./AuthProviderConnection.mjs";
@@ -9,6 +11,7 @@ export * from "./AuthProviderConnectionCreate.mjs";
9
11
  export * from "./AuthProviderConnectionUpdate.mjs";
10
12
  export * from "./AuthenticationDetails.mjs";
11
13
  export * from "./AuthenticationMethod.mjs";
14
+ export * from "./BehaviorConfig.mjs";
12
15
  export * from "./BillingPeriod.mjs";
13
16
  export * from "./BillingPeriodStatus.mjs";
14
17
  export * from "./BillingPeriodUsage.mjs";
@@ -16,19 +19,22 @@ export * from "./BillingPlan.mjs";
16
19
  export * from "./BillingStatus.mjs";
17
20
  export * from "./BillingTransition.mjs";
18
21
  export * from "./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.mjs";
22
+ export * from "./BodyResyncWithExecutionConfigAdminResyncSyncIdPost.mjs";
19
23
  export * from "./CheckoutSessionRequest.mjs";
20
24
  export * from "./CheckoutSessionResponse.mjs";
21
25
  export * from "./Collection.mjs";
22
26
  export * from "./CollectionStatus.mjs";
23
- export * from "./CollectionUpdate.mjs";
24
27
  export * from "./ConfigField.mjs";
25
28
  export * from "./ConfigValues.mjs";
29
+ export * from "./ConflictErrorResponse.mjs";
26
30
  export * from "./Connection.mjs";
27
31
  export * from "./ConnectionStatus.mjs";
32
+ export * from "./CursorConfig.mjs";
28
33
  export * from "./CustomerPortalRequest.mjs";
29
34
  export * from "./CustomerPortalResponse.mjs";
30
- export * from "./DatetimeRange.mjs";
35
+ export * from "./DeliveryAttempt.mjs";
31
36
  export * from "./Destination.mjs";
37
+ export * from "./DestinationConfig.mjs";
32
38
  export * from "./DestinationWithAuthenticationFields.mjs";
33
39
  export * from "./DirectAuthentication.mjs";
34
40
  export * from "./EmbeddingModel.mjs";
@@ -40,39 +46,22 @@ export * from "./EntityDefinitionCreate.mjs";
40
46
  export * from "./EntitySummary.mjs";
41
47
  export * from "./EntityType.mjs";
42
48
  export * from "./EntityTypeStats.mjs";
49
+ export * from "./EventType.mjs";
43
50
  export * from "./FeatureFlag.mjs";
44
- export * from "./Range.mjs";
45
- export * from "./FieldCondition.mjs";
46
51
  export * from "./Fields.mjs";
47
- export * from "./Filter.mjs";
48
- export * from "./GeoBoundingBox.mjs";
49
- export * from "./GeoLineString.mjs";
50
- export * from "./GeoPoint.mjs";
51
- export * from "./GeoPolygon.mjs";
52
- export * from "./GeoRadius.mjs";
53
52
  export * from "./HttpValidationError.mjs";
54
- export * from "./HasIdCondition.mjs";
55
- export * from "./HasVectorCondition.mjs";
53
+ export * from "./HandlerConfig.mjs";
56
54
  export * from "./IntegrationCredentialInDb.mjs";
57
55
  export * from "./IntegrationCredentialRawCreate.mjs";
58
56
  export * from "./IntegrationType.mjs";
59
57
  export * from "./InvitationCreate.mjs";
60
58
  export * from "./InvitationResponse.mjs";
61
- export * from "./IsEmptyCondition.mjs";
62
- export * from "./IsNullCondition.mjs";
63
59
  export * from "./LegacySearchRequest.mjs";
64
60
  export * from "./LegacySearchResponse.mjs";
65
- export * from "./MatchAny.mjs";
66
- export * from "./MatchExcept.mjs";
67
- export * from "./MatchPhrase.mjs";
68
- export * from "./MatchText.mjs";
69
- export * from "./MatchValue.mjs";
70
61
  export * from "./MemberResponse.mjs";
71
62
  export * from "./MessageResponse.mjs";
72
- export * from "./MinShould.mjs";
73
63
  export * from "./MinuteLevelScheduleConfig.mjs";
74
- export * from "./Nested.mjs";
75
- export * from "./NestedCondition.mjs";
64
+ export * from "./NotFoundErrorResponse.mjs";
76
65
  export * from "./OAuthBrowserAuthentication.mjs";
77
66
  export * from "./OAuthTokenAuthentication.mjs";
78
67
  export * from "./OAuthType.mjs";
@@ -81,8 +70,9 @@ export * from "./OrganizationBilling.mjs";
81
70
  export * from "./OrganizationCreate.mjs";
82
71
  export * from "./OrganizationMetrics.mjs";
83
72
  export * from "./OrganizationWithRole.mjs";
84
- export * from "./PayloadField.mjs";
85
73
  export * from "./QueryExpansionStrategy.mjs";
74
+ export * from "./RateLimitErrorResponse.mjs";
75
+ export * from "./RecoveryTask.mjs";
86
76
  export * from "./ResponseType.mjs";
87
77
  export * from "./RetrievalStrategy.mjs";
88
78
  export * from "./S3ConfigRequest.mjs";
@@ -104,6 +94,7 @@ export * from "./SourceRateLimitResponse.mjs";
104
94
  export * from "./SourceRateLimitUpdateRequest.mjs";
105
95
  export * from "./SubscriptionInfo.mjs";
106
96
  export * from "./Sync.mjs";
97
+ export * from "./SyncConfig.mjs";
107
98
  export * from "./SyncCreate.mjs";
108
99
  export * from "./SyncDetails.mjs";
109
100
  export * from "./SyncJob.mjs";
@@ -111,7 +102,6 @@ export * from "./SyncJobDetails.mjs";
111
102
  export * from "./SyncJobStatus.mjs";
112
103
  export * from "./SyncStatus.mjs";
113
104
  export * from "./SyncUpdate.mjs";
114
- export * from "./SyncWithSourceConnection.mjs";
115
105
  export * from "./Transformer.mjs";
116
106
  export * from "./TransformerCreate.mjs";
117
107
  export * from "./TransformerUpdate.mjs";
@@ -123,4 +113,8 @@ export * from "./User.mjs";
123
113
  export * from "./UserCreate.mjs";
124
114
  export * from "./UserOrganization.mjs";
125
115
  export * from "./ValidationError.mjs";
126
- export * from "./ValuesCount.mjs";
116
+ export * from "./ValidationErrorDetail.mjs";
117
+ export * from "./ValidationErrorResponse.mjs";
118
+ export * from "./WebhookMessage.mjs";
119
+ export * from "./WebhookMessageWithAttempts.mjs";
120
+ export * from "./WebhookSubscription.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.7.20";
1
+ export declare const SDK_VERSION = "v0.8.77";
@@ -1 +1 @@
1
- export const SDK_VERSION = "v0.7.20";
1
+ export const SDK_VERSION = "v0.8.77";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airweave/sdk",
3
- "version": "v0.7.20",
3
+ "version": "v0.8.77",
4
4
  "private": false,
5
5
  "repository": "github:airweave-ai/typescript-sdk",
6
6
  "type": "commonjs",