@airweave/sdk 0.6.0 → 0.6.26

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 (257) hide show
  1. package/README.md +14 -3
  2. package/dist/cjs/Client.d.ts +4 -8
  3. package/dist/cjs/Client.js +6 -16
  4. package/dist/cjs/api/resources/collections/client/Client.d.ts +14 -27
  5. package/dist/cjs/api/resources/collections/client/Client.js +37 -85
  6. package/dist/cjs/api/resources/collections/client/requests/ListCollectionsGetRequest.d.ts +6 -7
  7. package/dist/cjs/api/resources/collections/client/requests/SearchCollectionsReadableIdSearchGetRequest.d.ts +10 -16
  8. package/dist/cjs/api/resources/collections/client/requests/index.d.ts +0 -1
  9. package/dist/cjs/api/resources/index.d.ts +0 -4
  10. package/dist/cjs/api/resources/index.js +1 -5
  11. package/dist/cjs/api/resources/sourceConnections/client/Client.d.ts +60 -80
  12. package/dist/cjs/api/resources/sourceConnections/client/Client.js +104 -157
  13. package/dist/cjs/api/resources/sourceConnections/client/requests/GetSourceConnectionJobsSourceConnectionsSourceConnectionIdJobsGetRequest.d.ts +12 -0
  14. package/dist/cjs/api/resources/sourceConnections/client/requests/ListSourceConnectionsGetRequest.d.ts +6 -10
  15. package/dist/cjs/api/resources/sourceConnections/client/requests/SourceConnectionCreate.d.ts +21 -20
  16. package/dist/cjs/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +7 -18
  17. package/dist/cjs/api/resources/sourceConnections/client/requests/index.d.ts +1 -2
  18. package/dist/cjs/api/resources/sources/client/Client.d.ts +17 -17
  19. package/dist/cjs/api/resources/sources/client/Client.js +24 -20
  20. package/dist/cjs/api/types/ActionCheckRequest.d.ts +10 -0
  21. package/dist/cjs/api/types/ActionCheckResponse.d.ts +3 -16
  22. package/dist/cjs/api/types/ActionCheckResponse.js +0 -8
  23. package/dist/cjs/api/types/AuthProvider.d.ts +0 -2
  24. package/dist/cjs/api/types/AuthProviderAuthentication.d.ts +12 -0
  25. package/dist/cjs/api/types/AuthProviderConnection.d.ts +2 -0
  26. package/dist/cjs/api/{resources/authProviders/client/requests → types}/AuthProviderConnectionCreate.d.ts +2 -10
  27. package/dist/cjs/api/types/AuthenticationDetails.d.ts +19 -0
  28. package/dist/cjs/api/types/AuthenticationMethod.d.ts +14 -0
  29. package/dist/cjs/api/types/AuthenticationMethod.js +13 -0
  30. package/dist/cjs/api/{resources/collections/client/requests → types}/CollectionUpdate.d.ts +4 -4
  31. package/dist/cjs/api/types/Destination.d.ts +0 -2
  32. package/dist/cjs/api/types/DestinationWithAuthenticationFields.d.ts +0 -1
  33. package/dist/cjs/api/types/DirectAuthentication.d.ts +10 -0
  34. package/dist/cjs/api/types/EmbeddingModel.d.ts +0 -2
  35. package/dist/cjs/api/types/EmbeddingModelWithAuthenticationFields.d.ts +0 -1
  36. package/dist/cjs/api/types/EntityCountWithDefinition.d.ts +1 -0
  37. package/dist/cjs/api/types/EntitySummary.d.ts +11 -0
  38. package/dist/cjs/api/types/EntityTypeStats.d.ts +10 -0
  39. package/dist/cjs/api/types/FieldCondition.d.ts +3 -3
  40. package/dist/cjs/api/types/IntegrationCredentialInDb.d.ts +2 -1
  41. package/dist/cjs/api/types/IntegrationCredentialRawCreate.d.ts +2 -1
  42. package/dist/cjs/api/types/MatchPhrase.d.ts +10 -0
  43. package/dist/cjs/api/types/OAuthBrowserAuthentication.d.ts +14 -0
  44. package/dist/cjs/api/types/OAuthTokenAuthentication.d.ts +14 -0
  45. package/dist/cjs/api/types/OAuthType.d.ts +12 -0
  46. package/dist/cjs/api/types/OAuthType.js +11 -0
  47. package/dist/cjs/api/types/ScheduleConfig.d.ts +14 -0
  48. package/dist/cjs/api/types/ScheduleDetails.d.ts +13 -0
  49. package/dist/cjs/api/types/SingleActionCheckResponse.d.ts +23 -0
  50. package/dist/cjs/api/types/SingleActionCheckResponse.js +13 -0
  51. package/dist/cjs/api/types/Source.d.ts +13 -9
  52. package/dist/cjs/api/types/SourceConnection.d.ts +9 -52
  53. package/dist/cjs/api/types/SourceConnectionJob.d.ts +9 -34
  54. package/dist/cjs/api/types/SourceConnectionListItem.d.ts +8 -16
  55. package/dist/cjs/api/types/SourceConnectionStatus.d.ts +7 -4
  56. package/dist/cjs/api/types/SourceConnectionStatus.js +5 -2
  57. package/dist/cjs/api/types/SubscriptionInfo.d.ts +12 -0
  58. package/dist/cjs/api/types/Sync.d.ts +0 -1
  59. package/dist/cjs/api/types/SyncCreate.d.ts +0 -1
  60. package/dist/cjs/api/types/SyncDetails.d.ts +13 -0
  61. package/dist/cjs/api/types/SyncJobDetails.d.ts +20 -0
  62. package/dist/cjs/api/types/SyncJobStatus.d.ts +3 -2
  63. package/dist/cjs/api/types/SyncJobStatus.js +2 -1
  64. package/dist/cjs/api/types/SyncUpdate.d.ts +0 -1
  65. package/dist/cjs/api/types/SyncWithSourceConnection.d.ts +0 -1
  66. package/dist/cjs/api/types/UpdatePlanRequest.d.ts +2 -0
  67. package/dist/cjs/api/types/UsageSnapshot.d.ts +4 -8
  68. package/dist/cjs/api/types/index.d.ts +18 -10
  69. package/dist/cjs/api/types/index.js +18 -10
  70. package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
  71. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
  72. package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
  73. package/dist/cjs/core/fetcher/Fetcher.d.ts +5 -3
  74. package/dist/cjs/core/fetcher/Fetcher.js +4 -3
  75. package/dist/cjs/core/fetcher/index.d.ts +7 -5
  76. package/dist/cjs/core/fetcher/index.js +7 -5
  77. package/dist/cjs/core/fetcher/requestWithRetries.js +44 -8
  78. package/dist/cjs/core/headers.d.ts +2 -3
  79. package/dist/cjs/version.d.ts +1 -1
  80. package/dist/cjs/version.js +1 -1
  81. package/dist/esm/Client.d.mts +4 -8
  82. package/dist/esm/Client.mjs +2 -12
  83. package/dist/esm/api/resources/collections/client/Client.d.mts +14 -27
  84. package/dist/esm/api/resources/collections/client/Client.mjs +37 -85
  85. package/dist/esm/api/resources/collections/client/requests/ListCollectionsGetRequest.d.mts +6 -7
  86. package/dist/esm/api/resources/collections/client/requests/SearchCollectionsReadableIdSearchGetRequest.d.mts +10 -16
  87. package/dist/esm/api/resources/collections/client/requests/index.d.mts +0 -1
  88. package/dist/esm/api/resources/index.d.mts +0 -4
  89. package/dist/esm/api/resources/index.mjs +0 -4
  90. package/dist/esm/api/resources/sourceConnections/client/Client.d.mts +60 -80
  91. package/dist/esm/api/resources/sourceConnections/client/Client.mjs +104 -157
  92. package/dist/esm/api/resources/sourceConnections/client/requests/GetSourceConnectionJobsSourceConnectionsSourceConnectionIdJobsGetRequest.d.mts +12 -0
  93. package/dist/esm/api/resources/sourceConnections/client/requests/ListSourceConnectionsGetRequest.d.mts +6 -10
  94. package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionCreate.d.mts +21 -20
  95. package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.mts +7 -18
  96. package/dist/esm/api/resources/sourceConnections/client/requests/index.d.mts +1 -2
  97. package/dist/esm/api/resources/sources/client/Client.d.mts +17 -17
  98. package/dist/esm/api/resources/sources/client/Client.mjs +24 -20
  99. package/dist/esm/api/types/ActionCheckRequest.d.mts +10 -0
  100. package/dist/esm/api/types/ActionCheckResponse.d.mts +3 -16
  101. package/dist/esm/api/types/ActionCheckResponse.mjs +1 -7
  102. package/dist/esm/api/types/AuthProvider.d.mts +0 -2
  103. package/dist/esm/api/types/AuthProviderAuthentication.d.mts +12 -0
  104. package/dist/esm/api/types/AuthProviderConnection.d.mts +2 -0
  105. package/dist/esm/api/{resources/authProviders/client/requests → types}/AuthProviderConnectionCreate.d.mts +2 -10
  106. package/dist/esm/api/types/AuthenticationDetails.d.mts +19 -0
  107. package/dist/esm/api/types/AuthenticationMethod.d.mts +14 -0
  108. package/dist/esm/api/types/AuthenticationMethod.mjs +10 -0
  109. package/dist/esm/api/{resources/collections/client/requests → types}/CollectionUpdate.d.mts +4 -4
  110. package/dist/esm/api/types/Destination.d.mts +0 -2
  111. package/dist/esm/api/types/DestinationWithAuthenticationFields.d.mts +0 -1
  112. package/dist/esm/api/types/DirectAuthentication.d.mts +10 -0
  113. package/dist/esm/api/types/EmbeddingModel.d.mts +0 -2
  114. package/dist/esm/api/types/EmbeddingModelWithAuthenticationFields.d.mts +0 -1
  115. package/dist/esm/api/types/EntityCountWithDefinition.d.mts +1 -0
  116. package/dist/esm/api/types/EntitySummary.d.mts +11 -0
  117. package/dist/esm/api/types/EntityTypeStats.d.mts +10 -0
  118. package/dist/esm/api/types/FieldCondition.d.mts +3 -3
  119. package/dist/esm/api/types/IntegrationCredentialInDb.d.mts +2 -1
  120. package/dist/esm/api/types/IntegrationCredentialRawCreate.d.mts +2 -1
  121. package/dist/esm/api/types/MatchPhrase.d.mts +10 -0
  122. package/dist/esm/api/types/OAuthBrowserAuthentication.d.mts +14 -0
  123. package/dist/esm/api/types/OAuthTokenAuthentication.d.mts +14 -0
  124. package/dist/esm/api/types/OAuthType.d.mts +12 -0
  125. package/dist/esm/api/types/OAuthType.mjs +8 -0
  126. package/dist/esm/api/types/ScheduleConfig.d.mts +14 -0
  127. package/dist/esm/api/types/ScheduleDetails.d.mts +13 -0
  128. package/dist/esm/api/types/SingleActionCheckResponse.d.mts +23 -0
  129. package/dist/esm/api/types/SingleActionCheckResponse.mjs +10 -0
  130. package/dist/esm/api/types/Source.d.mts +13 -9
  131. package/dist/esm/api/types/SourceConnection.d.mts +9 -52
  132. package/dist/esm/api/types/SourceConnectionJob.d.mts +9 -34
  133. package/dist/esm/api/types/SourceConnectionListItem.d.mts +8 -16
  134. package/dist/esm/api/types/SourceConnectionStatus.d.mts +7 -4
  135. package/dist/esm/api/types/SourceConnectionStatus.mjs +5 -2
  136. package/dist/esm/api/types/SubscriptionInfo.d.mts +12 -0
  137. package/dist/esm/api/types/Sync.d.mts +0 -1
  138. package/dist/esm/api/types/SyncCreate.d.mts +0 -1
  139. package/dist/esm/api/types/SyncDetails.d.mts +13 -0
  140. package/dist/esm/api/types/SyncJobDetails.d.mts +20 -0
  141. package/dist/esm/api/types/SyncJobStatus.d.mts +3 -2
  142. package/dist/esm/api/types/SyncJobStatus.mjs +2 -1
  143. package/dist/esm/api/types/SyncUpdate.d.mts +0 -1
  144. package/dist/esm/api/types/SyncWithSourceConnection.d.mts +0 -1
  145. package/dist/esm/api/types/UpdatePlanRequest.d.mts +2 -0
  146. package/dist/esm/api/types/UsageSnapshot.d.mts +4 -8
  147. package/dist/esm/api/types/index.d.mts +18 -10
  148. package/dist/esm/api/types/index.mjs +18 -10
  149. package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
  150. package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
  151. package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
  152. package/dist/esm/core/fetcher/Fetcher.d.mts +5 -3
  153. package/dist/esm/core/fetcher/Fetcher.mjs +4 -3
  154. package/dist/esm/core/fetcher/index.d.mts +7 -5
  155. package/dist/esm/core/fetcher/index.mjs +3 -2
  156. package/dist/esm/core/fetcher/requestWithRetries.mjs +44 -8
  157. package/dist/esm/core/headers.d.mts +2 -3
  158. package/dist/esm/version.d.mts +1 -1
  159. package/dist/esm/version.mjs +1 -1
  160. package/package.json +8 -13
  161. package/reference.md +218 -1092
  162. package/dist/cjs/api/resources/authProviders/client/Client.d.ts +0 -90
  163. package/dist/cjs/api/resources/authProviders/client/Client.js +0 -213
  164. package/dist/cjs/api/resources/authProviders/client/index.d.ts +0 -2
  165. package/dist/cjs/api/resources/authProviders/client/index.js +0 -17
  166. package/dist/cjs/api/resources/authProviders/client/requests/index.d.ts +0 -1
  167. package/dist/cjs/api/resources/authProviders/index.d.ts +0 -1
  168. package/dist/cjs/api/resources/authProviders/index.js +0 -17
  169. package/dist/cjs/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionsSourceConnectionIdRunPost.d.ts +0 -11
  170. package/dist/cjs/api/resources/sourceConnections/client/requests/GetSourceConnectionsSourceConnectionIdGetRequest.d.ts +0 -13
  171. package/dist/cjs/api/resources/whiteLabels/client/Client.d.ts +0 -189
  172. package/dist/cjs/api/resources/whiteLabels/client/Client.js +0 -585
  173. package/dist/cjs/api/resources/whiteLabels/client/index.d.ts +0 -2
  174. package/dist/cjs/api/resources/whiteLabels/client/index.js +0 -17
  175. package/dist/cjs/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts +0 -16
  176. package/dist/cjs/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +0 -28
  177. package/dist/cjs/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +0 -23
  178. package/dist/cjs/api/resources/whiteLabels/client/requests/index.d.ts +0 -3
  179. package/dist/cjs/api/resources/whiteLabels/client/requests/index.js +0 -2
  180. package/dist/cjs/api/resources/whiteLabels/index.d.ts +0 -1
  181. package/dist/cjs/api/resources/whiteLabels/index.js +0 -17
  182. package/dist/cjs/api/types/AuthType.d.ts +0 -27
  183. package/dist/cjs/api/types/AuthType.js +0 -16
  184. package/dist/cjs/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +0 -13
  185. package/dist/cjs/api/types/CancelSubscriptionRequest.d.ts +0 -11
  186. package/dist/cjs/api/types/OAuth2AuthUrl.d.ts +0 -13
  187. package/dist/cjs/api/types/SourceConnectionContinuousResponse.d.ts +0 -67
  188. package/dist/cjs/api/types/SourceConnectionCreateContinuous.d.ts +0 -33
  189. package/dist/cjs/api/types/SourceConnectionCreateWithCredential.d.ts +0 -25
  190. package/dist/cjs/api/types/SourceConnectionCreateWithWhiteLabel.d.ts +0 -29
  191. package/dist/cjs/api/types/SourceConnectionMakeContinuous.d.ts +0 -14
  192. package/dist/cjs/api/types/WhiteLabel.d.ts +0 -32
  193. package/dist/esm/api/resources/authProviders/client/Client.d.mts +0 -90
  194. package/dist/esm/api/resources/authProviders/client/Client.mjs +0 -176
  195. package/dist/esm/api/resources/authProviders/client/index.d.mts +0 -2
  196. package/dist/esm/api/resources/authProviders/client/index.mjs +0 -1
  197. package/dist/esm/api/resources/authProviders/client/requests/index.d.mts +0 -1
  198. package/dist/esm/api/resources/authProviders/index.d.mts +0 -1
  199. package/dist/esm/api/resources/authProviders/index.mjs +0 -1
  200. package/dist/esm/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionsSourceConnectionIdRunPost.d.mts +0 -11
  201. package/dist/esm/api/resources/sourceConnections/client/requests/GetSourceConnectionsSourceConnectionIdGetRequest.d.mts +0 -13
  202. package/dist/esm/api/resources/whiteLabels/client/Client.d.mts +0 -189
  203. package/dist/esm/api/resources/whiteLabels/client/Client.mjs +0 -548
  204. package/dist/esm/api/resources/whiteLabels/client/index.d.mts +0 -2
  205. package/dist/esm/api/resources/whiteLabels/client/index.mjs +0 -1
  206. package/dist/esm/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.mts +0 -16
  207. package/dist/esm/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.mts +0 -28
  208. package/dist/esm/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.mts +0 -23
  209. package/dist/esm/api/resources/whiteLabels/client/requests/index.d.mts +0 -3
  210. package/dist/esm/api/resources/whiteLabels/client/requests/index.mjs +0 -1
  211. package/dist/esm/api/resources/whiteLabels/index.d.mts +0 -1
  212. package/dist/esm/api/resources/whiteLabels/index.mjs +0 -1
  213. package/dist/esm/api/types/AuthType.d.mts +0 -27
  214. package/dist/esm/api/types/AuthType.mjs +0 -13
  215. package/dist/esm/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.mts +0 -13
  216. package/dist/esm/api/types/CancelSubscriptionRequest.d.mts +0 -11
  217. package/dist/esm/api/types/OAuth2AuthUrl.d.mts +0 -13
  218. package/dist/esm/api/types/SourceConnectionContinuousResponse.d.mts +0 -67
  219. package/dist/esm/api/types/SourceConnectionCreateContinuous.d.mts +0 -33
  220. package/dist/esm/api/types/SourceConnectionCreateWithCredential.d.mts +0 -25
  221. package/dist/esm/api/types/SourceConnectionCreateWithWhiteLabel.d.mts +0 -29
  222. package/dist/esm/api/types/SourceConnectionMakeContinuous.d.mts +0 -14
  223. package/dist/esm/api/types/WhiteLabel.d.mts +0 -32
  224. /package/dist/cjs/api/resources/{authProviders/client/requests/AuthProviderConnectionCreate.js → sourceConnections/client/requests/GetSourceConnectionJobsSourceConnectionsSourceConnectionIdJobsGetRequest.js} +0 -0
  225. /package/dist/cjs/api/{resources/collections/client/requests/CollectionUpdate.js → types/ActionCheckRequest.js} +0 -0
  226. /package/dist/cjs/api/{resources/sourceConnections/client/requests/BodyRunSourceConnectionsSourceConnectionIdRunPost.js → types/AuthProviderAuthentication.js} +0 -0
  227. /package/dist/cjs/api/{resources/sourceConnections/client/requests/GetSourceConnectionsSourceConnectionIdGetRequest.js → types/AuthProviderConnectionCreate.js} +0 -0
  228. /package/dist/cjs/api/{resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js → types/AuthenticationDetails.js} +0 -0
  229. /package/dist/cjs/api/{resources/whiteLabels/client/requests/WhiteLabelCreate.js → types/CollectionUpdate.js} +0 -0
  230. /package/dist/cjs/api/{resources/whiteLabels/client/requests/WhiteLabelUpdate.js → types/DirectAuthentication.js} +0 -0
  231. /package/dist/cjs/api/types/{BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js → EntitySummary.js} +0 -0
  232. /package/dist/cjs/api/types/{CancelSubscriptionRequest.js → EntityTypeStats.js} +0 -0
  233. /package/dist/cjs/api/types/{OAuth2AuthUrl.js → MatchPhrase.js} +0 -0
  234. /package/dist/cjs/api/types/{SourceConnectionContinuousResponse.js → OAuthBrowserAuthentication.js} +0 -0
  235. /package/dist/cjs/api/types/{SourceConnectionCreateContinuous.js → OAuthTokenAuthentication.js} +0 -0
  236. /package/dist/cjs/api/types/{SourceConnectionCreateWithCredential.js → ScheduleConfig.js} +0 -0
  237. /package/dist/cjs/api/types/{SourceConnectionCreateWithWhiteLabel.js → ScheduleDetails.js} +0 -0
  238. /package/dist/cjs/api/types/{SourceConnectionMakeContinuous.js → SyncDetails.js} +0 -0
  239. /package/dist/cjs/api/types/{WhiteLabel.js → SyncJobDetails.js} +0 -0
  240. /package/dist/cjs/{api/resources/authProviders/client/requests/index.js → core/fetcher/EndpointMetadata.js} +0 -0
  241. /package/dist/esm/api/resources/{authProviders/client/requests/AuthProviderConnectionCreate.mjs → sourceConnections/client/requests/GetSourceConnectionJobsSourceConnectionsSourceConnectionIdJobsGetRequest.mjs} +0 -0
  242. /package/dist/esm/api/{resources/collections/client/requests/CollectionUpdate.mjs → types/ActionCheckRequest.mjs} +0 -0
  243. /package/dist/esm/api/{resources/sourceConnections/client/requests/BodyRunSourceConnectionsSourceConnectionIdRunPost.mjs → types/AuthProviderAuthentication.mjs} +0 -0
  244. /package/dist/esm/api/{resources/sourceConnections/client/requests/GetSourceConnectionsSourceConnectionIdGetRequest.mjs → types/AuthProviderConnectionCreate.mjs} +0 -0
  245. /package/dist/esm/api/{resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.mjs → types/AuthenticationDetails.mjs} +0 -0
  246. /package/dist/esm/api/{resources/whiteLabels/client/requests/WhiteLabelCreate.mjs → types/CollectionUpdate.mjs} +0 -0
  247. /package/dist/esm/api/{resources/whiteLabels/client/requests/WhiteLabelUpdate.mjs → types/DirectAuthentication.mjs} +0 -0
  248. /package/dist/esm/api/types/{BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.mjs → EntitySummary.mjs} +0 -0
  249. /package/dist/esm/api/types/{CancelSubscriptionRequest.mjs → EntityTypeStats.mjs} +0 -0
  250. /package/dist/esm/api/types/{OAuth2AuthUrl.mjs → MatchPhrase.mjs} +0 -0
  251. /package/dist/esm/api/types/{SourceConnectionContinuousResponse.mjs → OAuthBrowserAuthentication.mjs} +0 -0
  252. /package/dist/esm/api/types/{SourceConnectionCreateContinuous.mjs → OAuthTokenAuthentication.mjs} +0 -0
  253. /package/dist/esm/api/types/{SourceConnectionCreateWithCredential.mjs → ScheduleConfig.mjs} +0 -0
  254. /package/dist/esm/api/types/{SourceConnectionCreateWithWhiteLabel.mjs → ScheduleDetails.mjs} +0 -0
  255. /package/dist/esm/api/types/{SourceConnectionMakeContinuous.mjs → SyncDetails.mjs} +0 -0
  256. /package/dist/esm/api/types/{WhiteLabel.mjs → SyncJobDetails.mjs} +0 -0
  257. /package/dist/esm/{api/resources/authProviders/client/requests/index.mjs → core/fetcher/EndpointMetadata.mjs} +0 -0
@@ -10,30 +10,34 @@ export interface Source {
10
10
  name: string;
11
11
  /** Detailed description explaining what data this source can extract and its typical use cases. */
12
12
  description?: string;
13
- /** Type of authentication mechanism required by this source (e.g., 'oauth2'). */
14
- auth_type?: AirweaveSDK.AuthType;
15
- /** Python class name that defines the authentication configuration fields required for this source. */
16
- auth_config_class: string;
13
+ /** List of supported authentication methods (e.g., 'direct', 'oauth_browser'). */
14
+ auth_methods?: string[];
15
+ /** OAuth token type for OAuth sources (e.g., 'access_only', 'with_refresh'). */
16
+ oauth_type?: string;
17
+ /** Whether this OAuth source requires users to bring their own client. */
18
+ requires_byoc?: boolean;
19
+ /** Python class name that defines the authentication configuration fields required for this source (only for DIRECT auth). */
20
+ auth_config_class?: string;
17
21
  /** Python class name that defines the source-specific configuration options and parameters. */
18
- config_class: string;
22
+ config_class?: string;
19
23
  /** Technical identifier used internally to reference this source type. Must be unique across all sources. */
20
24
  short_name: string;
21
25
  /** Python class name of the source implementation that handles data extraction logic. */
22
26
  class_name: string;
23
27
  /** List of entity definition IDs that this source can produce. Defines the data schema and structure that this connector outputs. */
24
28
  output_entity_definition_ids?: string[];
25
- /** Organization identifier for custom source connectors. System sources have this set to null. */
26
- organization_id?: string;
27
29
  /** Categorization tags to help users discover and filter sources by domain or use case. */
28
30
  labels?: string[];
31
+ /** Whether this source supports cursor-based continuous syncing for incremental data extraction. Sources with this capability can track their sync position and resume from where they left off. */
32
+ supports_continuous?: boolean;
29
33
  /** Unique system identifier for this source type. Generated automatically when the source is registered. */
30
34
  id: string;
31
35
  /** Timestamp when this source type was registered in the system (ISO 8601 format). */
32
36
  created_at: string;
33
37
  /** Timestamp when this source type was last updated (ISO 8601 format). */
34
38
  modified_at: string;
35
- /** Schema definition for authentication fields required to connect to this source. Describes field types, validation rules, and user interface hints. */
36
- auth_fields: AirweaveSDK.Fields;
39
+ /** Schema definition for authentication fields required to connect to this source. Only present for sources using DIRECT authentication. OAuth sources handle authentication through browser flows. */
40
+ auth_fields?: AirweaveSDK.Fields;
37
41
  /** Schema definition for configuration fields required to customize this source. Describes field types, validation rules, and user interface hints. */
38
42
  config_fields: AirweaveSDK.Fields;
39
43
  }
@@ -3,63 +3,20 @@
3
3
  */
4
4
  import * as AirweaveSDK from "../index.js";
5
5
  /**
6
- * Complete source connection representation returned by the API.
6
+ * Complete source connection details.
7
7
  */
8
8
  export interface SourceConnection {
9
- /** Human-readable display name for the source connection. This helps you identify the connection in the UI and should clearly describe what data it connects to (e.g., 'Production Stripe Account', 'Customer Support Database'). */
9
+ id: string;
10
10
  name: string;
11
- /** Optional additional context about the data this connection provides. Use this to document the purpose, data types, or any special considerations for this connection. */
12
11
  description?: string;
13
- /** Source-specific configuration options that control data retrieval behavior. These vary by source type and control how data is retrieved (e.g., database queries, API filters, file paths). Check the documentation of a specific source (for example [Github](https://docs.airweave.ai/docs/connectors/github)) to see what is required. */
14
- config_fields?: AirweaveSDK.ConfigValues;
15
- /** Technical identifier of the source type (e.g., 'github', 'stripe', 'postgresql', 'slack'). This determines which connector Airweave uses to sync data. */
16
12
  short_name: string;
17
- /** Identifier for custom OAuth integrations. Only present for connections created through white label OAuth flows. */
18
- white_label_id?: string;
19
- /** Readable ID of the auth provider used to create this connection. Present only if the connection was created through an auth provider. */
20
- auth_provider?: string;
21
- /** Configuration used with the auth provider to create this connection. Present only if the connection was created through an auth provider. */
22
- auth_provider_config?: Record<string, unknown>;
23
- /** Unique system identifier for this source connection. This UUID is generated automatically and used for API operations. */
24
- id: string;
25
- /** Internal identifier for the sync configuration associated with this source connection. Managed automatically by the system. */
26
- sync_id?: string;
27
- /** Identifier of the organization that owns this source connection. Source connections are isolated per organization. */
28
- organization_id: string;
29
- /** Timestamp when the source connection was created (ISO 8601 format). */
13
+ readable_collection_id: string;
14
+ status: AirweaveSDK.SourceConnectionStatus;
30
15
  created_at: string;
31
- /** Timestamp when the source connection was last modified (ISO 8601 format). */
32
16
  modified_at: string;
33
- /** Internal identifier for the underlying connection object that manages authentication and configuration. */
34
- connection_id?: string;
35
- /** Readable ID of the collection where this source connection syncs its data. This creates the link between your data source and searchable content. */
36
- collection: string;
37
- /** Email address of the user who created this source connection. */
38
- created_by_email?: string;
39
- /** Email address of the user who last modified this source connection. */
40
- modified_by_email?: string;
41
- /** Authentication credentials for the data source. Returns '********' by default for security. */
42
- auth_fields?: SourceConnection.AuthFields;
43
- /** Current operational status of the source connection:<br/>• **active**: Connection is healthy and ready for data synchronization<br/>• **in_progress**: Currently syncing data from the source<br/>• **failing**: Recent sync attempts have failed and require attention */
44
- status?: AirweaveSDK.SourceConnectionStatus;
45
- /** Status of the most recent data synchronization job:<br/>• **completed**: Last sync finished successfully<br/>• **failed**: Last sync encountered errors<br/>• **in_progress**: Currently running a sync job<br/>• **pending**: Sync job is queued and waiting to start */
46
- latest_sync_job_status?: AirweaveSDK.SyncJobStatus;
47
- /** Unique identifier of the most recent sync job. Use this to track sync progress or retrieve detailed job information. */
48
- latest_sync_job_id?: string;
49
- /** Timestamp when the most recent sync job started (ISO 8601 format). */
50
- latest_sync_job_started_at?: string;
51
- /** Timestamp when the most recent sync job completed (ISO 8601 format). Null if the job is still running or failed. */
52
- latest_sync_job_completed_at?: string;
53
- /** Error message from the most recent sync job if it failed. Use this to diagnose and resolve sync issues. */
54
- latest_sync_job_error?: string;
55
- /** Cron expression defining when automatic data synchronization occurs. Null if automatic syncing is disabled and syncs must be triggered manually. */
56
- cron_schedule?: string;
57
- /** Timestamp when the next automatic sync is scheduled to run (ISO 8601 format). Null if no automatic schedule is configured. */
58
- next_scheduled_run?: string;
59
- }
60
- export declare namespace SourceConnection {
61
- /**
62
- * Authentication credentials for the data source. Returns '********' by default for security.
63
- */
64
- type AuthFields = AirweaveSDK.ConfigValues | string;
17
+ auth: AirweaveSDK.AuthenticationDetails;
18
+ config?: Record<string, unknown>;
19
+ schedule?: AirweaveSDK.ScheduleDetails;
20
+ sync?: AirweaveSDK.SyncDetails;
21
+ entities?: AirweaveSDK.EntitySummary;
65
22
  }
@@ -3,45 +3,20 @@
3
3
  */
4
4
  import * as AirweaveSDK from "../index.js";
5
5
  /**
6
- * Data synchronization job for a specific source connection.
6
+ * Individual sync job for a source connection.
7
7
  */
8
8
  export interface SourceConnectionJob {
9
- /** Unique identifier of the source connection for which this data refresh is running. */
10
- source_connection_id: string;
11
- /** Unique identifier for this specific data refresh operation. */
12
9
  id: string;
13
- /** Identifier of the organization that owns this data refresh operation. */
14
- organization_id: string;
15
- /** Email address of the user who initiated this data refresh (for manually triggered operations). */
16
- created_by_email?: string;
17
- /** Email address of the user who last modified this data refresh operation. */
18
- modified_by_email?: string;
19
- /** Timestamp when this data refresh was created and queued (ISO 8601 format). */
20
- created_at?: string;
21
- /** Timestamp when this data refresh was last modified (ISO 8601 format). */
22
- modified_at?: string;
23
- /** Current execution status of the data refresh:<br/>• **created**: Operation has been created but not yet queued<br/>• **pending**: Operation is queued and waiting to start<br/>• **in_progress**: Currently running and processing data<br/>• **completed**: Finished successfully with all data processed<br/>• **failed**: Encountered errors and could not complete<br/>• **cancelled**: Manually cancelled before completion */
24
- status?: AirweaveSDK.SyncJobStatus;
25
- /** Whether this data refresh was triggered by a schedule (true) or manually (false). */
26
- scheduled?: boolean;
27
- /** Number of new data entities that were added to the collection during this refresh. */
10
+ source_connection_id: string;
11
+ status: AirweaveSDK.SyncJobStatus;
12
+ started_at?: string;
13
+ completed_at?: string;
14
+ duration_seconds?: number;
15
+ entities_processed?: number;
28
16
  entities_inserted?: number;
29
- /** Number of existing entities that were modified and updated during this refresh. */
30
17
  entities_updated?: number;
31
- /** Number of entities that were removed from the collection because they no longer exist in the source. */
32
18
  entities_deleted?: number;
33
- /** Number of entities that were checked but required no changes because they were already up-to-date. */
34
- entities_kept?: number;
35
- /** Number of entities that were intentionally skipped due to filtering rules or processing decisions. */
36
- entities_skipped?: number;
37
- /** Detailed breakdown of entities processed by type or category. */
38
- entities_encountered?: Record<string, number | undefined>;
39
- /** Timestamp when the data refresh began active processing (ISO 8601 format). */
40
- started_at?: string;
41
- /** Timestamp when the data refresh finished successfully (ISO 8601 format). */
42
- completed_at?: string;
43
- /** Timestamp when the data refresh failed (ISO 8601 format). */
44
- failed_at?: string;
45
- /** Detailed error message if the data refresh failed. */
19
+ entities_failed?: number;
46
20
  error?: string;
21
+ error_details?: Record<string, unknown>;
47
22
  }
@@ -3,27 +3,19 @@
3
3
  */
4
4
  import * as AirweaveSDK from "../index.js";
5
5
  /**
6
- * Simplified source connection representation for list operations.
6
+ * Clean source connection for list views.
7
7
  */
8
8
  export interface SourceConnectionListItem {
9
- /** Unique identifier for the source connection. */
10
9
  id: string;
11
- /** Human-readable name of the source connection. */
12
10
  name: string;
13
- /** Brief description of what data this connection provides. */
14
- description?: string;
15
- /** Technical identifier of the source type (e.g., 'stripe', 'postgresql'). */
16
11
  short_name: string;
17
- /** Current operational status: active, in_progress, or failing. */
18
- status: AirweaveSDK.SourceConnectionStatus;
19
- /** When the source connection was created (ISO 8601 format). */
12
+ readable_collection_id: string;
20
13
  created_at: string;
21
- /** When the source connection was last modified (ISO 8601 format). */
22
14
  modified_at: string;
23
- /** Internal identifier for the sync configuration. */
24
- sync_id: string;
25
- /** Readable ID of the collection where this connection syncs data. */
26
- collection: string;
27
- /** Identifier for custom OAuth integrations, if applicable. */
28
- white_label_id?: string;
15
+ is_authenticated: boolean;
16
+ entity_count?: number;
17
+ /** Get authentication method from database value. */
18
+ auth_method: AirweaveSDK.AuthenticationMethod;
19
+ /** Compute connection status from current state. */
20
+ status: AirweaveSDK.SourceConnectionStatus;
29
21
  }
@@ -2,11 +2,14 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * Source connection status enum.
5
+ * Source connection status enum - represents overall connection state.
6
6
  */
7
- export type SourceConnectionStatus = "active" | "in_progress" | "failing";
7
+ export type SourceConnectionStatus = "active" | "pending_auth" | "syncing" | "error" | "inactive" | "pending_sync";
8
8
  export declare const SourceConnectionStatus: {
9
9
  readonly Active: "active";
10
- readonly InProgress: "in_progress";
11
- readonly Failing: "failing";
10
+ readonly PendingAuth: "pending_auth";
11
+ readonly Syncing: "syncing";
12
+ readonly Error: "error";
13
+ readonly Inactive: "inactive";
14
+ readonly PendingSync: "pending_sync";
12
15
  };
@@ -6,6 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.SourceConnectionStatus = void 0;
7
7
  exports.SourceConnectionStatus = {
8
8
  Active: "active",
9
- InProgress: "in_progress",
10
- Failing: "failing",
9
+ PendingAuth: "pending_auth",
10
+ Syncing: "syncing",
11
+ Error: "error",
12
+ Inactive: "inactive",
13
+ PendingSync: "pending_sync",
11
14
  };
@@ -37,4 +37,16 @@ export interface SubscriptionInfo {
37
37
  pending_plan_change?: string;
38
38
  /** When the pending plan change takes effect */
39
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;
40
52
  }
@@ -15,7 +15,6 @@ export interface Sync {
15
15
  next_scheduled_run?: string;
16
16
  temporal_schedule_id?: string;
17
17
  sync_type?: string;
18
- minute_level_cron_schedule?: string;
19
18
  sync_metadata?: Record<string, unknown>;
20
19
  status: AirweaveSDK.SyncStatus;
21
20
  id: string;
@@ -15,7 +15,6 @@ export interface SyncCreate {
15
15
  next_scheduled_run?: string;
16
16
  temporal_schedule_id?: string;
17
17
  sync_type?: string;
18
- minute_level_cron_schedule?: string;
19
18
  sync_metadata?: Record<string, unknown>;
20
19
  status?: AirweaveSDK.SyncStatus;
21
20
  run_immediately?: boolean;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as AirweaveSDK from "../index.js";
5
+ /**
6
+ * Sync execution details.
7
+ */
8
+ export interface SyncDetails {
9
+ total_runs?: number;
10
+ successful_runs?: number;
11
+ failed_runs?: number;
12
+ last_job?: AirweaveSDK.SyncJobDetails;
13
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as AirweaveSDK from "../index.js";
5
+ /**
6
+ * Sync job details.
7
+ */
8
+ export interface SyncJobDetails {
9
+ id: string;
10
+ status: AirweaveSDK.SyncJobStatus;
11
+ started_at?: string;
12
+ completed_at?: string;
13
+ duration_seconds?: number;
14
+ entities_processed?: number;
15
+ entities_inserted?: number;
16
+ entities_updated?: number;
17
+ entities_deleted?: number;
18
+ entities_failed?: number;
19
+ error?: string;
20
+ }
@@ -4,12 +4,13 @@
4
4
  /**
5
5
  * Sync job status enum.
6
6
  */
7
- export type SyncJobStatus = "created" | "pending" | "in_progress" | "completed" | "failed" | "cancelled";
7
+ export type SyncJobStatus = "created" | "pending" | "running" | "completed" | "failed" | "cancelling" | "cancelled";
8
8
  export declare const SyncJobStatus: {
9
9
  readonly Created: "created";
10
10
  readonly Pending: "pending";
11
- readonly InProgress: "in_progress";
11
+ readonly Running: "running";
12
12
  readonly Completed: "completed";
13
13
  readonly Failed: "failed";
14
+ readonly Cancelling: "cancelling";
14
15
  readonly Cancelled: "cancelled";
15
16
  };
@@ -7,8 +7,9 @@ exports.SyncJobStatus = void 0;
7
7
  exports.SyncJobStatus = {
8
8
  Created: "created",
9
9
  Pending: "pending",
10
- InProgress: "in_progress",
10
+ Running: "running",
11
11
  Completed: "completed",
12
12
  Failed: "failed",
13
+ Cancelling: "cancelling",
13
14
  Cancelled: "cancelled",
14
15
  };
@@ -13,5 +13,4 @@ export interface SyncUpdate {
13
13
  status?: AirweaveSDK.SyncStatus;
14
14
  temporal_schedule_id?: string;
15
15
  sync_type?: string;
16
- minute_level_cron_schedule?: string;
17
16
  }
@@ -15,7 +15,6 @@ export interface SyncWithSourceConnection {
15
15
  next_scheduled_run?: string;
16
16
  temporal_schedule_id?: string;
17
17
  sync_type?: string;
18
- minute_level_cron_schedule?: string;
19
18
  sync_metadata?: Record<string, unknown>;
20
19
  status: AirweaveSDK.SyncStatus;
21
20
  id: string;
@@ -7,4 +7,6 @@
7
7
  export interface UpdatePlanRequest {
8
8
  /** New plan (developer, startup) */
9
9
  plan: string;
10
+ /** Billing period for the plan: 'monthly' or 'yearly' */
11
+ period?: string;
10
12
  }
@@ -5,26 +5,22 @@
5
5
  * Point-in-time usage data with limits.
6
6
  */
7
7
  export interface UsageSnapshot {
8
- /** Number of syncs executed */
9
- syncs: number;
10
8
  /** Total entities processed */
11
9
  entities: number;
12
10
  /** Search queries executed */
13
11
  queries: number;
14
- /** Collections created */
15
- collections: number;
16
12
  /** Source connections configured */
17
13
  source_connections: number;
18
- /** Maximum syncs allowed */
19
- max_syncs?: number;
14
+ /** Team members in the organization */
15
+ team_members: number;
20
16
  /** Maximum entities allowed */
21
17
  max_entities?: number;
22
18
  /** Maximum queries allowed */
23
19
  max_queries?: number;
24
- /** Maximum collections allowed */
25
- max_collections?: number;
26
20
  /** Maximum source connections allowed */
27
21
  max_source_connections?: number;
22
+ /** Maximum team members allowed */
23
+ max_team_members?: number;
28
24
  /** When this snapshot was taken */
29
25
  timestamp: string;
30
26
  /** Associated billing period */
@@ -1,18 +1,21 @@
1
1
  export * from "./ApiKey.js";
2
2
  export * from "./ApiKeyCreate.js";
3
+ export * from "./ActionCheckRequest.js";
3
4
  export * from "./ActionCheckResponse.js";
4
5
  export * from "./AuthProvider.js";
6
+ export * from "./AuthProviderAuthentication.js";
5
7
  export * from "./AuthProviderConnection.js";
8
+ export * from "./AuthProviderConnectionCreate.js";
6
9
  export * from "./AuthProviderConnectionUpdate.js";
7
- export * from "./AuthType.js";
10
+ export * from "./AuthenticationDetails.js";
11
+ export * from "./AuthenticationMethod.js";
8
12
  export * from "./BillingPeriodUsage.js";
9
13
  export * from "./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js";
10
- export * from "./BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js";
11
- export * from "./CancelSubscriptionRequest.js";
12
14
  export * from "./CheckoutSessionRequest.js";
13
15
  export * from "./CheckoutSessionResponse.js";
14
16
  export * from "./Collection.js";
15
17
  export * from "./CollectionStatus.js";
18
+ export * from "./CollectionUpdate.js";
16
19
  export * from "./ConfigField.js";
17
20
  export * from "./ConfigValues.js";
18
21
  export * from "./Connection.js";
@@ -26,13 +29,16 @@ export * from "./DagNodeCreate.js";
26
29
  export * from "./DatetimeRange.js";
27
30
  export * from "./Destination.js";
28
31
  export * from "./DestinationWithAuthenticationFields.js";
32
+ export * from "./DirectAuthentication.js";
29
33
  export * from "./EmbeddingModel.js";
30
34
  export * from "./EmbeddingModelWithAuthenticationFields.js";
31
35
  export * from "./EntityCount.js";
32
36
  export * from "./EntityCountWithDefinition.js";
33
37
  export * from "./EntityDefinition.js";
34
38
  export * from "./EntityDefinitionCreate.js";
39
+ export * from "./EntitySummary.js";
35
40
  export * from "./EntityType.js";
41
+ export * from "./EntityTypeStats.js";
36
42
  export * from "./Range.js";
37
43
  export * from "./FieldCondition.js";
38
44
  export * from "./Fields.js";
@@ -54,6 +60,7 @@ export * from "./IsEmptyCondition.js";
54
60
  export * from "./IsNullCondition.js";
55
61
  export * from "./MatchAny.js";
56
62
  export * from "./MatchExcept.js";
63
+ export * from "./MatchPhrase.js";
57
64
  export * from "./MatchText.js";
58
65
  export * from "./MatchValue.js";
59
66
  export * from "./MemberResponse.js";
@@ -63,25 +70,25 @@ export * from "./MinuteLevelScheduleConfig.js";
63
70
  export * from "./Nested.js";
64
71
  export * from "./NestedCondition.js";
65
72
  export * from "./NodeType.js";
66
- export * from "./OAuth2AuthUrl.js";
73
+ export * from "./OAuthBrowserAuthentication.js";
74
+ export * from "./OAuthTokenAuthentication.js";
75
+ export * from "./OAuthType.js";
67
76
  export * from "./Organization.js";
68
77
  export * from "./OrganizationCreate.js";
69
78
  export * from "./OrganizationWithRole.js";
70
79
  export * from "./PayloadField.js";
71
80
  export * from "./QueryExpansionStrategy.js";
72
81
  export * from "./ResponseType.js";
82
+ export * from "./ScheduleConfig.js";
83
+ export * from "./ScheduleDetails.js";
73
84
  export * from "./ScheduleResponse.js";
74
85
  export * from "./SearchResponse.js";
75
86
  export * from "./SearchStatus.js";
87
+ export * from "./SingleActionCheckResponse.js";
76
88
  export * from "./Source.js";
77
89
  export * from "./SourceConnection.js";
78
- export * from "./SourceConnectionContinuousResponse.js";
79
- export * from "./SourceConnectionCreateContinuous.js";
80
- export * from "./SourceConnectionCreateWithCredential.js";
81
- export * from "./SourceConnectionCreateWithWhiteLabel.js";
82
90
  export * from "./SourceConnectionJob.js";
83
91
  export * from "./SourceConnectionListItem.js";
84
- export * from "./SourceConnectionMakeContinuous.js";
85
92
  export * from "./SourceConnectionStatus.js";
86
93
  export * from "./SubscriptionInfo.js";
87
94
  export * from "./Sync.js";
@@ -89,7 +96,9 @@ export * from "./SyncCreate.js";
89
96
  export * from "./SyncDag.js";
90
97
  export * from "./SyncDagCreate.js";
91
98
  export * from "./SyncDagUpdate.js";
99
+ export * from "./SyncDetails.js";
92
100
  export * from "./SyncJob.js";
101
+ export * from "./SyncJobDetails.js";
93
102
  export * from "./SyncJobStatus.js";
94
103
  export * from "./SyncStatus.js";
95
104
  export * from "./SyncUpdate.js";
@@ -106,4 +115,3 @@ export * from "./UserCreate.js";
106
115
  export * from "./UserOrganization.js";
107
116
  export * from "./ValidationError.js";
108
117
  export * from "./ValuesCount.js";
109
- export * from "./WhiteLabel.js";
@@ -16,19 +16,22 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ApiKey.js"), exports);
18
18
  __exportStar(require("./ApiKeyCreate.js"), exports);
19
+ __exportStar(require("./ActionCheckRequest.js"), exports);
19
20
  __exportStar(require("./ActionCheckResponse.js"), exports);
20
21
  __exportStar(require("./AuthProvider.js"), exports);
22
+ __exportStar(require("./AuthProviderAuthentication.js"), exports);
21
23
  __exportStar(require("./AuthProviderConnection.js"), exports);
24
+ __exportStar(require("./AuthProviderConnectionCreate.js"), exports);
22
25
  __exportStar(require("./AuthProviderConnectionUpdate.js"), exports);
23
- __exportStar(require("./AuthType.js"), exports);
26
+ __exportStar(require("./AuthenticationDetails.js"), exports);
27
+ __exportStar(require("./AuthenticationMethod.js"), exports);
24
28
  __exportStar(require("./BillingPeriodUsage.js"), exports);
25
29
  __exportStar(require("./BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js"), exports);
26
- __exportStar(require("./BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js"), exports);
27
- __exportStar(require("./CancelSubscriptionRequest.js"), exports);
28
30
  __exportStar(require("./CheckoutSessionRequest.js"), exports);
29
31
  __exportStar(require("./CheckoutSessionResponse.js"), exports);
30
32
  __exportStar(require("./Collection.js"), exports);
31
33
  __exportStar(require("./CollectionStatus.js"), exports);
34
+ __exportStar(require("./CollectionUpdate.js"), exports);
32
35
  __exportStar(require("./ConfigField.js"), exports);
33
36
  __exportStar(require("./ConfigValues.js"), exports);
34
37
  __exportStar(require("./Connection.js"), exports);
@@ -42,13 +45,16 @@ __exportStar(require("./DagNodeCreate.js"), exports);
42
45
  __exportStar(require("./DatetimeRange.js"), exports);
43
46
  __exportStar(require("./Destination.js"), exports);
44
47
  __exportStar(require("./DestinationWithAuthenticationFields.js"), exports);
48
+ __exportStar(require("./DirectAuthentication.js"), exports);
45
49
  __exportStar(require("./EmbeddingModel.js"), exports);
46
50
  __exportStar(require("./EmbeddingModelWithAuthenticationFields.js"), exports);
47
51
  __exportStar(require("./EntityCount.js"), exports);
48
52
  __exportStar(require("./EntityCountWithDefinition.js"), exports);
49
53
  __exportStar(require("./EntityDefinition.js"), exports);
50
54
  __exportStar(require("./EntityDefinitionCreate.js"), exports);
55
+ __exportStar(require("./EntitySummary.js"), exports);
51
56
  __exportStar(require("./EntityType.js"), exports);
57
+ __exportStar(require("./EntityTypeStats.js"), exports);
52
58
  __exportStar(require("./Range.js"), exports);
53
59
  __exportStar(require("./FieldCondition.js"), exports);
54
60
  __exportStar(require("./Fields.js"), exports);
@@ -70,6 +76,7 @@ __exportStar(require("./IsEmptyCondition.js"), exports);
70
76
  __exportStar(require("./IsNullCondition.js"), exports);
71
77
  __exportStar(require("./MatchAny.js"), exports);
72
78
  __exportStar(require("./MatchExcept.js"), exports);
79
+ __exportStar(require("./MatchPhrase.js"), exports);
73
80
  __exportStar(require("./MatchText.js"), exports);
74
81
  __exportStar(require("./MatchValue.js"), exports);
75
82
  __exportStar(require("./MemberResponse.js"), exports);
@@ -79,25 +86,25 @@ __exportStar(require("./MinuteLevelScheduleConfig.js"), exports);
79
86
  __exportStar(require("./Nested.js"), exports);
80
87
  __exportStar(require("./NestedCondition.js"), exports);
81
88
  __exportStar(require("./NodeType.js"), exports);
82
- __exportStar(require("./OAuth2AuthUrl.js"), exports);
89
+ __exportStar(require("./OAuthBrowserAuthentication.js"), exports);
90
+ __exportStar(require("./OAuthTokenAuthentication.js"), exports);
91
+ __exportStar(require("./OAuthType.js"), exports);
83
92
  __exportStar(require("./Organization.js"), exports);
84
93
  __exportStar(require("./OrganizationCreate.js"), exports);
85
94
  __exportStar(require("./OrganizationWithRole.js"), exports);
86
95
  __exportStar(require("./PayloadField.js"), exports);
87
96
  __exportStar(require("./QueryExpansionStrategy.js"), exports);
88
97
  __exportStar(require("./ResponseType.js"), exports);
98
+ __exportStar(require("./ScheduleConfig.js"), exports);
99
+ __exportStar(require("./ScheduleDetails.js"), exports);
89
100
  __exportStar(require("./ScheduleResponse.js"), exports);
90
101
  __exportStar(require("./SearchResponse.js"), exports);
91
102
  __exportStar(require("./SearchStatus.js"), exports);
103
+ __exportStar(require("./SingleActionCheckResponse.js"), exports);
92
104
  __exportStar(require("./Source.js"), exports);
93
105
  __exportStar(require("./SourceConnection.js"), exports);
94
- __exportStar(require("./SourceConnectionContinuousResponse.js"), exports);
95
- __exportStar(require("./SourceConnectionCreateContinuous.js"), exports);
96
- __exportStar(require("./SourceConnectionCreateWithCredential.js"), exports);
97
- __exportStar(require("./SourceConnectionCreateWithWhiteLabel.js"), exports);
98
106
  __exportStar(require("./SourceConnectionJob.js"), exports);
99
107
  __exportStar(require("./SourceConnectionListItem.js"), exports);
100
- __exportStar(require("./SourceConnectionMakeContinuous.js"), exports);
101
108
  __exportStar(require("./SourceConnectionStatus.js"), exports);
102
109
  __exportStar(require("./SubscriptionInfo.js"), exports);
103
110
  __exportStar(require("./Sync.js"), exports);
@@ -105,7 +112,9 @@ __exportStar(require("./SyncCreate.js"), exports);
105
112
  __exportStar(require("./SyncDag.js"), exports);
106
113
  __exportStar(require("./SyncDagCreate.js"), exports);
107
114
  __exportStar(require("./SyncDagUpdate.js"), exports);
115
+ __exportStar(require("./SyncDetails.js"), exports);
108
116
  __exportStar(require("./SyncJob.js"), exports);
117
+ __exportStar(require("./SyncJobDetails.js"), exports);
109
118
  __exportStar(require("./SyncJobStatus.js"), exports);
110
119
  __exportStar(require("./SyncStatus.js"), exports);
111
120
  __exportStar(require("./SyncUpdate.js"), exports);
@@ -122,4 +131,3 @@ __exportStar(require("./UserCreate.js"), exports);
122
131
  __exportStar(require("./UserOrganization.js"), exports);
123
132
  __exportStar(require("./ValidationError.js"), exports);
124
133
  __exportStar(require("./ValuesCount.js"), exports);
125
- __exportStar(require("./WhiteLabel.js"), exports);
@@ -0,0 +1,13 @@
1
+ export type SecuritySchemeKey = string;
2
+ /**
3
+ * A collection of security schemes, where the key is the name of the security scheme and the value is the list of scopes required for that scheme.
4
+ * All schemes in the collection must be satisfied for authentication to be successful.
5
+ */
6
+ export type SecuritySchemeCollection = Record<SecuritySchemeKey, AuthScope[]>;
7
+ export type AuthScope = string;
8
+ export type EndpointMetadata = {
9
+ /**
10
+ * An array of security scheme collections. Each collection represents an alternative way to authenticate.
11
+ */
12
+ security?: SecuritySchemeCollection[];
13
+ };
@@ -0,0 +1,12 @@
1
+ import { EndpointMetadata } from "./EndpointMetadata.js";
2
+ import { Supplier } from "./Supplier.js";
3
+ type EndpointSupplierFn<T> = (arg: {
4
+ endpointMetadata: EndpointMetadata;
5
+ }) => T | Promise<T>;
6
+ export type EndpointSupplier<T> = Supplier<T> | EndpointSupplierFn<T>;
7
+ export declare const EndpointSupplier: {
8
+ get: <T>(supplier: EndpointSupplier<T>, arg: {
9
+ endpointMetadata: EndpointMetadata;
10
+ }) => Promise<T>;
11
+ };
12
+ export {};