@airweave/sdk 0.2.52 → 0.3.41

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 (1531) hide show
  1. package/README.md +20 -6
  2. package/dist/cjs/Client.d.ts +48 -0
  3. package/dist/cjs/Client.js +76 -0
  4. package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +9 -0
  5. package/dist/cjs/api/errors/UnprocessableEntityError.js +52 -0
  6. package/dist/cjs/api/errors/index.d.ts +1 -0
  7. package/dist/cjs/api/errors/index.js +17 -0
  8. package/dist/cjs/api/index.d.ts +3 -0
  9. package/dist/cjs/api/index.js +19 -0
  10. package/dist/cjs/api/resources/collections/client/Client.d.ts +158 -0
  11. package/dist/cjs/api/resources/collections/client/Client.js +537 -0
  12. package/dist/cjs/api/resources/collections/client/index.d.ts +2 -0
  13. package/dist/cjs/api/resources/collections/client/index.js +17 -0
  14. package/dist/cjs/api/resources/collections/client/requests/CollectionCreate.d.ts +16 -0
  15. package/dist/cjs/api/resources/collections/client/requests/CollectionUpdate.d.ts +13 -0
  16. package/dist/cjs/api/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.d.ts +13 -0
  17. package/dist/cjs/api/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.d.ts +17 -0
  18. package/dist/cjs/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.d.ts +20 -0
  19. package/dist/cjs/api/resources/collections/client/requests/index.d.ts +5 -0
  20. package/dist/cjs/api/resources/collections/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/collections/index.js +17 -0
  22. package/dist/cjs/api/resources/index.d.ts +7 -0
  23. package/dist/cjs/api/resources/index.js +46 -0
  24. package/dist/cjs/api/resources/sourceConnections/client/Client.d.ts +208 -0
  25. package/dist/cjs/api/resources/sourceConnections/client/Client.js +689 -0
  26. package/dist/cjs/api/resources/sourceConnections/client/index.d.ts +2 -0
  27. package/dist/cjs/api/resources/sourceConnections/client/index.js +17 -0
  28. package/dist/cjs/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.ts +11 -0
  29. package/dist/cjs/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.d.ts +13 -0
  30. package/dist/cjs/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.d.ts +13 -0
  31. package/dist/cjs/api/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.d.ts +21 -0
  32. package/dist/cjs/api/resources/sourceConnections/client/requests/SourceConnectionCreate.d.ts +29 -0
  33. package/dist/cjs/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +30 -0
  34. package/dist/cjs/api/resources/sourceConnections/client/requests/index.d.ts +6 -0
  35. package/dist/cjs/api/resources/sourceConnections/index.d.ts +1 -0
  36. package/dist/cjs/api/resources/sourceConnections/index.js +17 -0
  37. package/dist/cjs/api/resources/sources/client/Client.d.ts +65 -0
  38. package/dist/cjs/api/resources/sources/client/Client.js +181 -0
  39. package/dist/cjs/api/resources/sources/index.d.ts +1 -0
  40. package/dist/cjs/api/resources/sources/index.js +17 -0
  41. package/dist/cjs/api/resources/whiteLabels/client/Client.d.ts +190 -0
  42. package/dist/cjs/api/resources/whiteLabels/client/Client.js +600 -0
  43. package/dist/cjs/api/resources/whiteLabels/client/index.d.ts +2 -0
  44. package/dist/cjs/api/resources/whiteLabels/client/index.js +17 -0
  45. package/dist/cjs/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts +16 -0
  46. package/dist/cjs/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +28 -0
  47. package/dist/cjs/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +23 -0
  48. package/dist/cjs/api/resources/whiteLabels/client/requests/index.d.ts +3 -0
  49. package/dist/cjs/api/resources/whiteLabels/index.d.ts +1 -0
  50. package/dist/cjs/api/resources/whiteLabels/index.js +17 -0
  51. package/dist/cjs/api/types/ApiKey.d.ts +17 -0
  52. package/dist/cjs/api/types/ApiKeyCreate.d.ts +10 -0
  53. package/dist/cjs/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +13 -0
  54. package/dist/cjs/api/types/Collection.d.ts +30 -0
  55. package/dist/cjs/api/types/Connection.d.ts +18 -0
  56. package/dist/cjs/api/types/DagEdge.d.ts +15 -0
  57. package/dist/cjs/api/types/DagEdgeCreate.d.ts +10 -0
  58. package/dist/cjs/api/types/DagNode.d.ts +20 -0
  59. package/dist/cjs/api/types/DagNodeCreate.d.ts +17 -0
  60. package/dist/cjs/api/types/Destination.d.ts +22 -0
  61. package/dist/cjs/api/types/DestinationWithAuthenticationFields.d.ts +23 -0
  62. package/dist/cjs/api/types/EmbeddingModel.d.ts +20 -0
  63. package/dist/cjs/api/types/EmbeddingModelWithAuthenticationFields.d.ts +21 -0
  64. package/dist/cjs/api/types/EntityDefinition.d.ts +21 -0
  65. package/dist/cjs/api/types/EntityDefinitionCreate.d.ts +19 -0
  66. package/dist/cjs/api/types/EntityDefinitionUpdate.d.ts +19 -0
  67. package/dist/cjs/api/types/Fields.d.ts +10 -0
  68. package/dist/cjs/api/types/HttpValidationError.d.ts +7 -0
  69. package/dist/cjs/api/types/IntegrationCredentialInDb.d.ts +18 -0
  70. package/dist/cjs/api/types/IntegrationCredentialRawCreate.d.ts +19 -0
  71. package/dist/cjs/api/types/InvitationCreate.d.ts +10 -0
  72. package/dist/cjs/api/types/InvitationResponse.d.ts +13 -0
  73. package/dist/cjs/api/types/MemberResponse.d.ts +15 -0
  74. package/dist/cjs/api/types/Organization.d.ts +14 -0
  75. package/dist/cjs/api/types/OrganizationCreate.d.ts +14 -0
  76. package/dist/cjs/api/types/OrganizationWithRole.d.ts +16 -0
  77. package/dist/cjs/api/types/ResponseType.d.ts +11 -0
  78. package/dist/cjs/api/types/SearchResponse.d.ts +17 -0
  79. package/dist/cjs/api/types/SearchStatus.d.ts +12 -0
  80. package/dist/cjs/api/types/Source.d.ts +39 -0
  81. package/dist/cjs/api/types/SourceConnection.d.ts +61 -0
  82. package/dist/cjs/api/types/SourceConnectionCreateWithCredential.d.ts +25 -0
  83. package/dist/cjs/api/types/SourceConnectionCreateWithWhiteLabel.d.ts +29 -0
  84. package/dist/cjs/api/types/SourceConnectionJob.d.ts +45 -0
  85. package/dist/cjs/api/types/SourceConnectionListItem.d.ts +29 -0
  86. package/dist/cjs/api/types/Sync.d.ts +24 -0
  87. package/dist/cjs/api/types/SyncCreate.d.ts +19 -0
  88. package/dist/cjs/api/types/SyncDag.d.ts +29 -0
  89. package/dist/cjs/api/types/SyncDagCreate.d.ts +14 -0
  90. package/dist/cjs/api/types/SyncDagUpdate.d.ts +14 -0
  91. package/dist/cjs/api/types/SyncJob.d.ts +30 -0
  92. package/dist/cjs/api/types/SyncJobStatus.d.ts +15 -0
  93. package/dist/cjs/api/types/SyncJobStatus.js +14 -0
  94. package/dist/cjs/api/types/SyncUpdate.d.ts +14 -0
  95. package/dist/cjs/api/types/SyncWithSourceConnection.d.ts +25 -0
  96. package/dist/cjs/api/types/Transformer.d.ts +19 -0
  97. package/dist/cjs/api/types/TransformerCreate.d.ts +15 -0
  98. package/dist/cjs/api/types/TransformerUpdate.d.ts +15 -0
  99. package/dist/cjs/api/types/User.d.ts +15 -0
  100. package/dist/cjs/api/types/UserCreate.d.ts +11 -0
  101. package/dist/cjs/api/types/UserOrganization.d.ts +14 -0
  102. package/dist/cjs/api/types/ValidationError.d.ts +14 -0
  103. package/dist/cjs/api/types/WhiteLabel.d.ts +32 -0
  104. package/dist/cjs/api/types/index.d.ts +65 -0
  105. package/dist/cjs/api/types/index.js +81 -0
  106. package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
  107. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +17 -0
  108. package/dist/cjs/core/fetcher/BinaryResponse.js +14 -0
  109. package/dist/cjs/core/fetcher/Fetcher.d.ts +40 -0
  110. package/dist/cjs/core/fetcher/Fetcher.js +120 -0
  111. package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
  112. package/dist/cjs/core/fetcher/Headers.js +84 -0
  113. package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
  114. package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
  115. package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
  116. package/dist/cjs/core/fetcher/RawResponse.js +44 -0
  117. package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +4 -0
  118. package/dist/cjs/core/fetcher/ResponseWithBody.js +6 -0
  119. package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
  120. package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
  121. package/dist/cjs/core/fetcher/getFetchFn.js +68 -0
  122. package/dist/cjs/core/fetcher/getRequestBody.js +23 -0
  123. package/dist/cjs/core/fetcher/getResponseBody.js +55 -0
  124. package/dist/cjs/core/fetcher/index.d.ts +9 -0
  125. package/dist/cjs/core/fetcher/index.js +15 -0
  126. package/dist/cjs/core/fetcher/makeRequest.js +42 -0
  127. package/dist/cjs/core/fetcher/requestWithRetries.js +40 -0
  128. package/dist/cjs/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
  129. package/dist/cjs/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
  130. package/dist/cjs/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
  131. package/dist/cjs/core/fetcher/stream-wrappers/chooseStreamWrapper.js +59 -0
  132. package/dist/cjs/core/headers.d.ts +3 -0
  133. package/dist/cjs/core/headers.js +29 -0
  134. package/dist/cjs/core/index.d.ts +3 -0
  135. package/dist/cjs/core/index.js +42 -0
  136. package/dist/cjs/core/json.d.ts +15 -0
  137. package/dist/cjs/core/json.js +24 -0
  138. package/dist/cjs/core/runtime/index.d.ts +1 -0
  139. package/dist/cjs/core/runtime/index.js +5 -0
  140. package/dist/cjs/core/runtime/runtime.d.ts +9 -0
  141. package/dist/cjs/core/runtime/runtime.js +102 -0
  142. package/dist/cjs/core/url/index.d.ts +2 -0
  143. package/dist/cjs/core/url/index.js +7 -0
  144. package/dist/cjs/core/url/join.d.ts +1 -0
  145. package/dist/cjs/core/url/join.js +49 -0
  146. package/dist/cjs/core/url/qs.d.ts +6 -0
  147. package/dist/cjs/core/url/qs.js +64 -0
  148. package/dist/cjs/errors/AirweaveSDKError.d.ts +15 -0
  149. package/dist/cjs/errors/AirweaveSDKError.js +30 -0
  150. package/dist/cjs/errors/index.d.ts +2 -0
  151. package/dist/cjs/errors/index.js +7 -0
  152. package/dist/cjs/index.d.ts +4 -0
  153. package/dist/cjs/index.js +44 -0
  154. package/dist/cjs/version.d.ts +1 -0
  155. package/dist/cjs/version.js +4 -0
  156. package/dist/esm/Client.d.mts +48 -0
  157. package/dist/esm/Client.mjs +39 -0
  158. package/dist/esm/api/errors/UnprocessableEntityError.d.mts +9 -0
  159. package/dist/esm/api/errors/UnprocessableEntityError.mjs +15 -0
  160. package/dist/esm/api/errors/index.d.mts +1 -0
  161. package/dist/esm/api/errors/index.mjs +1 -0
  162. package/dist/esm/api/index.d.mts +3 -0
  163. package/dist/esm/api/index.mjs +3 -0
  164. package/dist/esm/api/resources/collections/client/Client.d.mts +158 -0
  165. package/dist/esm/api/resources/collections/client/Client.mjs +500 -0
  166. package/dist/esm/api/resources/collections/client/index.d.mts +2 -0
  167. package/dist/esm/api/resources/collections/client/index.mjs +1 -0
  168. package/dist/esm/api/resources/collections/client/requests/CollectionCreate.d.mts +16 -0
  169. package/dist/esm/api/resources/collections/client/requests/CollectionCreate.mjs +4 -0
  170. package/dist/esm/api/resources/collections/client/requests/CollectionUpdate.d.mts +13 -0
  171. package/dist/esm/api/resources/collections/client/requests/CollectionUpdate.mjs +4 -0
  172. package/dist/esm/api/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.d.mts +13 -0
  173. package/dist/esm/api/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.mjs +4 -0
  174. package/dist/esm/api/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.d.mts +17 -0
  175. package/dist/esm/api/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.mjs +4 -0
  176. package/dist/esm/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.d.mts +20 -0
  177. package/dist/esm/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.mjs +4 -0
  178. package/dist/esm/api/resources/collections/client/requests/index.d.mts +5 -0
  179. package/dist/esm/api/resources/collections/index.d.mts +1 -0
  180. package/dist/esm/api/resources/collections/index.mjs +1 -0
  181. package/dist/esm/api/resources/index.d.mts +7 -0
  182. package/dist/esm/api/resources/index.mjs +7 -0
  183. package/dist/esm/api/resources/sourceConnections/client/Client.d.mts +208 -0
  184. package/dist/esm/api/resources/sourceConnections/client/Client.mjs +652 -0
  185. package/dist/esm/api/resources/sourceConnections/client/index.d.mts +2 -0
  186. package/dist/esm/api/resources/sourceConnections/client/index.mjs +1 -0
  187. package/dist/esm/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.mts +11 -0
  188. package/dist/esm/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.mjs +4 -0
  189. package/dist/esm/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.d.mts +13 -0
  190. package/dist/esm/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.mjs +4 -0
  191. package/dist/esm/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.d.mts +13 -0
  192. package/dist/esm/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.mjs +4 -0
  193. package/dist/esm/api/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.d.mts +21 -0
  194. package/dist/esm/api/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.mjs +4 -0
  195. package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionCreate.d.mts +29 -0
  196. package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionCreate.mjs +4 -0
  197. package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.mts +30 -0
  198. package/dist/esm/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.mjs +4 -0
  199. package/dist/esm/api/resources/sourceConnections/client/requests/index.d.mts +6 -0
  200. package/dist/esm/api/resources/sourceConnections/client/requests/index.mjs +1 -0
  201. package/dist/esm/api/resources/sourceConnections/index.d.mts +1 -0
  202. package/dist/esm/api/resources/sourceConnections/index.mjs +1 -0
  203. package/dist/esm/api/resources/sources/client/Client.d.mts +65 -0
  204. package/dist/esm/api/resources/sources/client/Client.mjs +144 -0
  205. package/dist/esm/api/resources/sources/client/index.d.mts +1 -0
  206. package/dist/esm/api/resources/sources/client/index.mjs +1 -0
  207. package/dist/esm/api/resources/sources/index.d.mts +1 -0
  208. package/dist/esm/api/resources/sources/index.mjs +1 -0
  209. package/dist/esm/api/resources/whiteLabels/client/Client.d.mts +190 -0
  210. package/dist/esm/api/resources/whiteLabels/client/Client.mjs +563 -0
  211. package/dist/esm/api/resources/whiteLabels/client/index.d.mts +2 -0
  212. package/dist/esm/api/resources/whiteLabels/client/index.mjs +1 -0
  213. package/dist/esm/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.mts +16 -0
  214. package/dist/esm/api/resources/whiteLabels/client/requests/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.mjs +4 -0
  215. package/dist/esm/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.mts +28 -0
  216. package/dist/esm/api/resources/whiteLabels/client/requests/WhiteLabelCreate.mjs +4 -0
  217. package/dist/esm/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.mts +23 -0
  218. package/dist/esm/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.mjs +4 -0
  219. package/dist/esm/api/resources/whiteLabels/client/requests/index.d.mts +3 -0
  220. package/dist/esm/api/resources/whiteLabels/client/requests/index.mjs +1 -0
  221. package/dist/esm/api/resources/whiteLabels/index.d.mts +1 -0
  222. package/dist/esm/api/resources/whiteLabels/index.mjs +1 -0
  223. package/dist/esm/api/types/ApiKey.d.mts +17 -0
  224. package/dist/esm/api/types/ApiKey.mjs +4 -0
  225. package/dist/esm/api/types/ApiKeyCreate.d.mts +10 -0
  226. package/dist/esm/api/types/ApiKeyCreate.mjs +4 -0
  227. package/dist/esm/api/types/AuthType.mjs +13 -0
  228. package/dist/esm/api/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.mjs +4 -0
  229. package/dist/esm/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.mts +13 -0
  230. package/dist/esm/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.mjs +4 -0
  231. package/dist/esm/api/types/Collection.d.mts +30 -0
  232. package/dist/esm/api/types/Collection.mjs +4 -0
  233. package/dist/esm/api/types/CollectionStatus.mjs +9 -0
  234. package/dist/esm/api/types/ConfigField.mjs +4 -0
  235. package/dist/esm/api/types/ConfigValues.mjs +4 -0
  236. package/dist/esm/api/types/Connection.d.mts +18 -0
  237. package/dist/esm/api/types/Connection.mjs +4 -0
  238. package/dist/esm/api/types/ConnectionStatus.mjs +8 -0
  239. package/dist/esm/api/types/DagEdge.d.mts +15 -0
  240. package/dist/esm/api/types/DagEdge.mjs +4 -0
  241. package/dist/esm/api/types/DagEdgeCreate.d.mts +10 -0
  242. package/dist/esm/api/types/DagEdgeCreate.mjs +4 -0
  243. package/dist/esm/api/types/DagNode.d.mts +20 -0
  244. package/dist/esm/api/types/DagNode.mjs +4 -0
  245. package/dist/esm/api/types/DagNodeCreate.d.mts +17 -0
  246. package/dist/esm/api/types/DagNodeCreate.mjs +4 -0
  247. package/dist/esm/api/types/Destination.d.mts +22 -0
  248. package/dist/esm/api/types/Destination.mjs +4 -0
  249. package/dist/esm/api/types/DestinationWithAuthenticationFields.d.mts +23 -0
  250. package/dist/esm/api/types/DestinationWithAuthenticationFields.mjs +4 -0
  251. package/dist/esm/api/types/EmbeddingModel.d.mts +20 -0
  252. package/dist/esm/api/types/EmbeddingModel.mjs +4 -0
  253. package/dist/esm/api/types/EmbeddingModelWithAuthenticationFields.d.mts +21 -0
  254. package/dist/esm/api/types/EmbeddingModelWithAuthenticationFields.mjs +4 -0
  255. package/dist/esm/api/types/EntityCount.mjs +4 -0
  256. package/dist/esm/api/types/EntityDefinition.d.mts +21 -0
  257. package/dist/esm/api/types/EntityDefinition.mjs +4 -0
  258. package/dist/esm/api/types/EntityDefinitionCreate.d.mts +19 -0
  259. package/dist/esm/api/types/EntityDefinitionCreate.mjs +4 -0
  260. package/dist/esm/api/types/EntityDefinitionUpdate.d.mts +19 -0
  261. package/dist/esm/api/types/EntityDefinitionUpdate.mjs +4 -0
  262. package/dist/esm/api/types/EntityType.mjs +7 -0
  263. package/dist/esm/api/types/Fields.d.mts +10 -0
  264. package/dist/esm/api/types/Fields.mjs +4 -0
  265. package/dist/esm/api/types/HttpValidationError.d.mts +7 -0
  266. package/dist/esm/api/types/HttpValidationError.mjs +4 -0
  267. package/dist/esm/api/types/IntegrationCredentialInDb.d.mts +18 -0
  268. package/dist/esm/api/types/IntegrationCredentialInDb.mjs +4 -0
  269. package/dist/esm/api/types/IntegrationCredentialRawCreate.d.mts +19 -0
  270. package/dist/esm/api/types/IntegrationCredentialRawCreate.mjs +4 -0
  271. package/dist/esm/api/types/IntegrationType.mjs +8 -0
  272. package/dist/esm/api/types/InvitationCreate.d.mts +10 -0
  273. package/dist/esm/api/types/InvitationCreate.mjs +4 -0
  274. package/dist/esm/api/types/InvitationResponse.d.mts +13 -0
  275. package/dist/esm/api/types/InvitationResponse.mjs +4 -0
  276. package/dist/esm/api/types/MemberResponse.d.mts +15 -0
  277. package/dist/esm/api/types/MemberResponse.mjs +4 -0
  278. package/dist/esm/api/types/NodeType.mjs +9 -0
  279. package/dist/esm/api/types/OAuth2AuthUrl.mjs +4 -0
  280. package/dist/esm/api/types/Organization.d.mts +14 -0
  281. package/dist/esm/api/types/Organization.mjs +4 -0
  282. package/dist/esm/api/types/OrganizationCreate.d.mts +14 -0
  283. package/dist/esm/api/types/OrganizationCreate.mjs +4 -0
  284. package/dist/esm/api/types/OrganizationWithRole.d.mts +16 -0
  285. package/dist/esm/api/types/OrganizationWithRole.mjs +4 -0
  286. package/dist/esm/api/types/ResponseType.d.mts +11 -0
  287. package/dist/esm/api/types/ResponseType.mjs +7 -0
  288. package/dist/esm/api/types/SearchResponse.d.mts +17 -0
  289. package/dist/esm/api/types/SearchResponse.mjs +4 -0
  290. package/dist/esm/api/types/SearchStatus.d.mts +12 -0
  291. package/dist/esm/api/types/SearchStatus.mjs +8 -0
  292. package/dist/esm/api/types/Source.d.mts +39 -0
  293. package/dist/esm/api/types/Source.mjs +4 -0
  294. package/dist/esm/api/types/SourceConnection.d.mts +61 -0
  295. package/dist/esm/api/types/SourceConnection.mjs +4 -0
  296. package/dist/esm/api/types/SourceConnectionCreateWithCredential.d.mts +25 -0
  297. package/dist/esm/api/types/SourceConnectionCreateWithCredential.mjs +4 -0
  298. package/dist/esm/api/types/SourceConnectionCreateWithWhiteLabel.d.mts +29 -0
  299. package/dist/esm/api/types/SourceConnectionCreateWithWhiteLabel.mjs +4 -0
  300. package/dist/esm/api/types/SourceConnectionJob.d.mts +45 -0
  301. package/dist/esm/api/types/SourceConnectionJob.mjs +4 -0
  302. package/dist/esm/api/types/SourceConnectionListItem.d.mts +29 -0
  303. package/dist/esm/api/types/SourceConnectionListItem.mjs +4 -0
  304. package/dist/esm/api/types/SourceConnectionStatus.mjs +8 -0
  305. package/dist/esm/api/types/Sync.d.mts +24 -0
  306. package/dist/esm/api/types/Sync.mjs +4 -0
  307. package/dist/esm/api/types/SyncCreate.d.mts +19 -0
  308. package/dist/esm/api/types/SyncCreate.mjs +4 -0
  309. package/dist/esm/api/types/SyncDag.d.mts +29 -0
  310. package/dist/esm/api/types/SyncDag.mjs +4 -0
  311. package/dist/esm/api/types/SyncDagCreate.d.mts +14 -0
  312. package/dist/esm/api/types/SyncDagCreate.mjs +4 -0
  313. package/dist/esm/api/types/SyncDagUpdate.d.mts +14 -0
  314. package/dist/esm/api/types/SyncDagUpdate.mjs +4 -0
  315. package/dist/esm/api/types/SyncJob.d.mts +30 -0
  316. package/dist/esm/api/types/SyncJob.mjs +4 -0
  317. package/dist/esm/api/types/SyncJobStatus.d.mts +15 -0
  318. package/dist/esm/api/types/SyncJobStatus.mjs +11 -0
  319. package/dist/esm/api/types/SyncStatus.mjs +8 -0
  320. package/dist/esm/api/types/SyncUpdate.d.mts +14 -0
  321. package/dist/esm/api/types/SyncUpdate.mjs +4 -0
  322. package/dist/esm/api/types/SyncWithSourceConnection.d.mts +25 -0
  323. package/dist/esm/api/types/SyncWithSourceConnection.mjs +4 -0
  324. package/dist/esm/api/types/Transformer.d.mts +19 -0
  325. package/dist/esm/api/types/Transformer.mjs +4 -0
  326. package/dist/esm/api/types/TransformerCreate.d.mts +15 -0
  327. package/dist/esm/api/types/TransformerCreate.mjs +4 -0
  328. package/dist/esm/api/types/TransformerUpdate.d.mts +15 -0
  329. package/dist/esm/api/types/TransformerUpdate.mjs +4 -0
  330. package/dist/esm/api/types/User.d.mts +15 -0
  331. package/dist/esm/api/types/User.mjs +4 -0
  332. package/dist/esm/api/types/UserCreate.d.mts +11 -0
  333. package/dist/esm/api/types/UserCreate.mjs +4 -0
  334. package/dist/esm/api/types/UserOrganization.d.mts +14 -0
  335. package/dist/esm/api/types/UserOrganization.mjs +4 -0
  336. package/dist/esm/api/types/ValidationError.d.mts +14 -0
  337. package/dist/esm/api/types/ValidationError.mjs +4 -0
  338. package/dist/esm/api/types/WhiteLabel.d.mts +32 -0
  339. package/dist/esm/api/types/WhiteLabel.mjs +4 -0
  340. package/dist/esm/api/types/index.d.mts +65 -0
  341. package/dist/esm/api/types/index.mjs +65 -0
  342. package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
  343. package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
  344. package/dist/esm/core/fetcher/BinaryResponse.d.mts +17 -0
  345. package/dist/esm/core/fetcher/BinaryResponse.mjs +11 -0
  346. package/dist/esm/core/fetcher/Fetcher.d.mts +40 -0
  347. package/dist/esm/core/fetcher/Fetcher.mjs +116 -0
  348. package/dist/esm/core/fetcher/Headers.d.mts +2 -0
  349. package/dist/esm/core/fetcher/Headers.mjs +82 -0
  350. package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
  351. package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
  352. package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
  353. package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
  354. package/dist/esm/core/fetcher/ResponseWithBody.d.mts +4 -0
  355. package/dist/esm/core/fetcher/ResponseWithBody.mjs +3 -0
  356. package/dist/esm/core/fetcher/Supplier.mjs +19 -0
  357. package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
  358. package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
  359. package/dist/esm/core/fetcher/getFetchFn.mjs +32 -0
  360. package/dist/esm/core/fetcher/getHeader.mjs +8 -0
  361. package/dist/esm/core/fetcher/getRequestBody.mjs +20 -0
  362. package/dist/esm/core/fetcher/getResponseBody.mjs +52 -0
  363. package/dist/esm/core/fetcher/index.d.mts +9 -0
  364. package/dist/esm/core/fetcher/index.mjs +5 -0
  365. package/dist/esm/core/fetcher/makeRequest.mjs +38 -0
  366. package/dist/esm/core/fetcher/requestWithRetries.mjs +37 -0
  367. package/dist/esm/core/fetcher/signals.mjs +32 -0
  368. package/dist/esm/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.mts +30 -0
  369. package/dist/esm/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.mjs +243 -0
  370. package/dist/esm/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.mts +21 -0
  371. package/dist/esm/core/fetcher/stream-wrappers/NodePre18StreamWrapper.mjs +122 -0
  372. package/dist/esm/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.mts +31 -0
  373. package/dist/esm/core/fetcher/stream-wrappers/UndiciStreamWrapper.mjs +225 -0
  374. package/dist/esm/core/fetcher/stream-wrappers/chooseStreamWrapper.mjs +23 -0
  375. package/dist/esm/core/headers.d.mts +3 -0
  376. package/dist/esm/core/headers.mjs +25 -0
  377. package/dist/esm/core/index.d.mts +3 -0
  378. package/dist/esm/core/index.mjs +3 -0
  379. package/dist/esm/core/json.d.mts +15 -0
  380. package/dist/esm/core/json.mjs +19 -0
  381. package/dist/esm/core/runtime/index.d.mts +1 -0
  382. package/dist/esm/core/runtime/index.mjs +1 -0
  383. package/dist/esm/core/runtime/runtime.d.mts +9 -0
  384. package/dist/esm/core/runtime/runtime.mjs +99 -0
  385. package/dist/esm/core/url/index.d.mts +2 -0
  386. package/dist/esm/core/url/index.mjs +2 -0
  387. package/dist/esm/core/url/join.d.mts +1 -0
  388. package/dist/esm/core/url/join.mjs +46 -0
  389. package/dist/esm/core/url/qs.d.mts +6 -0
  390. package/dist/esm/core/url/qs.mjs +61 -0
  391. package/dist/esm/environments.mjs +7 -0
  392. package/dist/esm/errors/AirweaveSDKError.d.mts +15 -0
  393. package/dist/esm/errors/AirweaveSDKError.mjs +26 -0
  394. package/dist/esm/errors/AirweaveSDKTimeoutError.mjs +9 -0
  395. package/dist/esm/errors/index.d.mts +2 -0
  396. package/dist/esm/errors/index.mjs +2 -0
  397. package/dist/esm/index.d.mts +4 -0
  398. package/dist/esm/index.mjs +4 -0
  399. package/dist/esm/version.d.mts +1 -0
  400. package/dist/esm/version.mjs +1 -0
  401. package/package.json +39 -14
  402. package/reference.md +860 -127
  403. package/Client.d.ts +0 -37
  404. package/Client.js +0 -27
  405. package/api/errors/UnprocessableEntityError.d.ts +0 -8
  406. package/api/errors/UnprocessableEntityError.js +0 -51
  407. package/api/errors/index.d.ts +0 -1
  408. package/api/errors/index.js +0 -17
  409. package/api/index.d.ts +0 -3
  410. package/api/index.js +0 -19
  411. package/api/resources/collections/client/Client.d.ts +0 -135
  412. package/api/resources/collections/client/Client.js +0 -510
  413. package/api/resources/collections/client/index.d.ts +0 -1
  414. package/api/resources/collections/client/index.js +0 -17
  415. package/api/resources/collections/client/requests/CollectionCreate.d.ts +0 -15
  416. package/api/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.d.ts +0 -10
  417. package/api/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.d.ts +0 -11
  418. package/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.d.ts +0 -20
  419. package/api/resources/collections/client/requests/index.d.ts +0 -4
  420. package/api/resources/collections/index.d.ts +0 -1
  421. package/api/resources/collections/index.js +0 -17
  422. package/api/resources/index.d.ts +0 -6
  423. package/api/resources/index.js +0 -45
  424. package/api/resources/sourceConnections/client/Client.d.ts +0 -191
  425. package/api/resources/sourceConnections/client/Client.js +0 -625
  426. package/api/resources/sourceConnections/client/index.d.ts +0 -1
  427. package/api/resources/sourceConnections/client/index.js +0 -17
  428. package/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.ts +0 -10
  429. package/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.d.ts +0 -10
  430. package/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.d.ts +0 -10
  431. package/api/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.d.ts +0 -15
  432. package/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +0 -18
  433. package/api/resources/sourceConnections/client/requests/index.d.ts +0 -5
  434. package/api/resources/sourceConnections/index.d.ts +0 -2
  435. package/api/resources/sourceConnections/index.js +0 -18
  436. package/api/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.d.ts +0 -5
  437. package/api/resources/sourceConnections/types/index.d.ts +0 -1
  438. package/api/resources/sourceConnections/types/index.js +0 -17
  439. package/api/resources/sources/client/Client.d.ts +0 -68
  440. package/api/resources/sources/client/Client.js +0 -208
  441. package/api/resources/sources/index.d.ts +0 -1
  442. package/api/resources/sources/index.js +0 -17
  443. package/api/types/ApiKey.d.ts +0 -17
  444. package/api/types/ApiKeyCreate.d.ts +0 -10
  445. package/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +0 -9
  446. package/api/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts +0 -8
  447. package/api/types/Chat.d.ts +0 -22
  448. package/api/types/ChatCreate.d.ts +0 -14
  449. package/api/types/ChatMessage.d.ts +0 -18
  450. package/api/types/ChatMessageCreate.d.ts +0 -10
  451. package/api/types/ChatUpdate.d.ts +0 -12
  452. package/api/types/Collection.d.ts +0 -19
  453. package/api/types/CollectionUpdate.d.ts +0 -10
  454. package/api/types/Connection.d.ts +0 -18
  455. package/api/types/DagEdge.d.ts +0 -15
  456. package/api/types/DagEdgeCreate.d.ts +0 -10
  457. package/api/types/DagNode.d.ts +0 -20
  458. package/api/types/DagNodeCreate.d.ts +0 -17
  459. package/api/types/Destination.d.ts +0 -22
  460. package/api/types/DestinationWithAuthenticationFields.d.ts +0 -23
  461. package/api/types/EmbeddingModel.d.ts +0 -20
  462. package/api/types/EmbeddingModelWithAuthenticationFields.d.ts +0 -21
  463. package/api/types/EntityDefinition.d.ts +0 -18
  464. package/api/types/EntityDefinitionCreate.d.ts +0 -16
  465. package/api/types/EntityDefinitionCreateEntitySchema.d.ts +0 -4
  466. package/api/types/EntityDefinitionEntitySchema.d.ts +0 -4
  467. package/api/types/EntityDefinitionUpdate.d.ts +0 -16
  468. package/api/types/EntityDefinitionUpdateEntitySchema.d.ts +0 -4
  469. package/api/types/EntityDefinitionUpdateEntitySchema.js +0 -5
  470. package/api/types/EntityRelation.d.ts +0 -16
  471. package/api/types/EntityRelation.js +0 -5
  472. package/api/types/EntityRelationCreate.d.ts +0 -12
  473. package/api/types/EntityRelationCreate.js +0 -5
  474. package/api/types/EntityRelationUpdate.d.ts +0 -12
  475. package/api/types/EntityRelationUpdate.js +0 -5
  476. package/api/types/Fields.d.ts +0 -10
  477. package/api/types/HttpValidationError.d.ts +0 -7
  478. package/api/types/IntegrationCredentialInDb.d.ts +0 -18
  479. package/api/types/IntegrationCredentialRawCreate.d.ts +0 -19
  480. package/api/types/Organization.d.ts +0 -13
  481. package/api/types/ResponseType.d.ts +0 -11
  482. package/api/types/SearchResponse.d.ts +0 -13
  483. package/api/types/SearchStatus.d.ts +0 -12
  484. package/api/types/Source.d.ts +0 -25
  485. package/api/types/SourceConnection.d.ts +0 -33
  486. package/api/types/SourceConnectionAuthFields.d.ts +0 -5
  487. package/api/types/SourceConnectionAuthFields.js +0 -5
  488. package/api/types/SourceConnectionCreate.d.ts +0 -23
  489. package/api/types/SourceConnectionJob.d.ts +0 -30
  490. package/api/types/SourceConnectionListItem.d.ts +0 -22
  491. package/api/types/Sync.d.ts +0 -24
  492. package/api/types/SyncCreate.d.ts +0 -19
  493. package/api/types/SyncDag.d.ts +0 -29
  494. package/api/types/SyncDagCreate.d.ts +0 -14
  495. package/api/types/SyncDagUpdate.d.ts +0 -14
  496. package/api/types/SyncJob.d.ts +0 -30
  497. package/api/types/SyncJobStatus.d.ts +0 -13
  498. package/api/types/SyncJobStatus.js +0 -12
  499. package/api/types/SyncUpdate.d.ts +0 -14
  500. package/api/types/SyncWithSourceConnection.d.ts +0 -25
  501. package/api/types/Transformer.d.ts +0 -19
  502. package/api/types/TransformerCreate.d.ts +0 -15
  503. package/api/types/TransformerUpdate.d.ts +0 -15
  504. package/api/types/User.d.ts +0 -13
  505. package/api/types/UserCreate.d.ts +0 -11
  506. package/api/types/ValidationError.d.ts +0 -9
  507. package/api/types/ValidationErrorLocItem.d.ts +0 -4
  508. package/api/types/ValidationErrorLocItem.js +0 -5
  509. package/api/types/WhiteLabel.d.ts +0 -20
  510. package/api/types/WhiteLabelCreate.d.ts +0 -14
  511. package/api/types/WhiteLabelUpdate.d.ts +0 -13
  512. package/api/types/index.d.ts +0 -75
  513. package/api/types/index.js +0 -91
  514. package/core/fetcher/APIResponse.d.ts +0 -10
  515. package/core/fetcher/Fetcher.d.ts +0 -39
  516. package/core/fetcher/Fetcher.js +0 -99
  517. package/core/fetcher/createRequestUrl.d.ts +0 -1
  518. package/core/fetcher/createRequestUrl.js +0 -12
  519. package/core/fetcher/getFetchFn.js +0 -68
  520. package/core/fetcher/getRequestBody.js +0 -22
  521. package/core/fetcher/getResponseBody.js +0 -54
  522. package/core/fetcher/index.d.ts +0 -5
  523. package/core/fetcher/index.js +0 -9
  524. package/core/fetcher/makeRequest.js +0 -42
  525. package/core/fetcher/requestWithRetries.js +0 -40
  526. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  527. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  528. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  529. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  530. package/core/index.d.ts +0 -3
  531. package/core/index.js +0 -42
  532. package/core/runtime/index.d.ts +0 -1
  533. package/core/runtime/index.js +0 -5
  534. package/core/runtime/runtime.d.ts +0 -9
  535. package/core/runtime/runtime.js +0 -93
  536. package/core/schemas/Schema.d.ts +0 -85
  537. package/core/schemas/Schema.js +0 -22
  538. package/core/schemas/builders/bigint/bigint.d.ts +0 -2
  539. package/core/schemas/builders/bigint/bigint.js +0 -49
  540. package/core/schemas/builders/bigint/index.d.ts +0 -1
  541. package/core/schemas/builders/bigint/index.js +0 -5
  542. package/core/schemas/builders/date/date.d.ts +0 -2
  543. package/core/schemas/builders/date/date.js +0 -62
  544. package/core/schemas/builders/date/index.d.ts +0 -1
  545. package/core/schemas/builders/date/index.js +0 -5
  546. package/core/schemas/builders/enum/enum.d.ts +0 -2
  547. package/core/schemas/builders/enum/enum.js +0 -38
  548. package/core/schemas/builders/enum/index.d.ts +0 -1
  549. package/core/schemas/builders/enum/index.js +0 -5
  550. package/core/schemas/builders/index.d.ts +0 -14
  551. package/core/schemas/builders/index.js +0 -30
  552. package/core/schemas/builders/lazy/index.d.ts +0 -3
  553. package/core/schemas/builders/lazy/index.js +0 -7
  554. package/core/schemas/builders/lazy/lazy.d.ts +0 -5
  555. package/core/schemas/builders/lazy/lazy.js +0 -24
  556. package/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
  557. package/core/schemas/builders/lazy/lazyObject.js +0 -11
  558. package/core/schemas/builders/list/index.d.ts +0 -1
  559. package/core/schemas/builders/list/index.js +0 -5
  560. package/core/schemas/builders/list/list.d.ts +0 -2
  561. package/core/schemas/builders/list/list.js +0 -54
  562. package/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
  563. package/core/schemas/builders/literals/booleanLiteral.js +0 -28
  564. package/core/schemas/builders/literals/index.d.ts +0 -2
  565. package/core/schemas/builders/literals/index.js +0 -7
  566. package/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
  567. package/core/schemas/builders/literals/stringLiteral.js +0 -28
  568. package/core/schemas/builders/object/index.d.ts +0 -6
  569. package/core/schemas/builders/object/index.js +0 -11
  570. package/core/schemas/builders/object/object.d.ts +0 -3
  571. package/core/schemas/builders/object/object.js +0 -260
  572. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
  573. package/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
  574. package/core/schemas/builders/object/property.d.ts +0 -8
  575. package/core/schemas/builders/object/property.js +0 -15
  576. package/core/schemas/builders/object/types.d.ts +0 -31
  577. package/core/schemas/builders/object/types.js +0 -2
  578. package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
  579. package/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
  580. package/core/schemas/builders/object-like/index.d.ts +0 -2
  581. package/core/schemas/builders/object-like/index.js +0 -6
  582. package/core/schemas/builders/object-like/types.d.ts +0 -7
  583. package/core/schemas/builders/object-like/types.js +0 -2
  584. package/core/schemas/builders/primitives/any.d.ts +0 -1
  585. package/core/schemas/builders/primitives/any.js +0 -6
  586. package/core/schemas/builders/primitives/boolean.d.ts +0 -1
  587. package/core/schemas/builders/primitives/boolean.js +0 -25
  588. package/core/schemas/builders/primitives/index.d.ts +0 -5
  589. package/core/schemas/builders/primitives/index.js +0 -13
  590. package/core/schemas/builders/primitives/number.d.ts +0 -1
  591. package/core/schemas/builders/primitives/number.js +0 -25
  592. package/core/schemas/builders/primitives/string.d.ts +0 -1
  593. package/core/schemas/builders/primitives/string.js +0 -25
  594. package/core/schemas/builders/primitives/unknown.d.ts +0 -1
  595. package/core/schemas/builders/primitives/unknown.js +0 -6
  596. package/core/schemas/builders/record/index.d.ts +0 -2
  597. package/core/schemas/builders/record/index.js +0 -5
  598. package/core/schemas/builders/record/record.d.ts +0 -3
  599. package/core/schemas/builders/record/record.js +0 -94
  600. package/core/schemas/builders/record/types.d.ts +0 -4
  601. package/core/schemas/builders/record/types.js +0 -2
  602. package/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
  603. package/core/schemas/builders/schema-utils/JsonError.js +0 -12
  604. package/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
  605. package/core/schemas/builders/schema-utils/ParseError.js +0 -12
  606. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -17
  607. package/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -81
  608. package/core/schemas/builders/schema-utils/index.d.ts +0 -4
  609. package/core/schemas/builders/schema-utils/index.js +0 -11
  610. package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
  611. package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
  612. package/core/schemas/builders/set/index.d.ts +0 -1
  613. package/core/schemas/builders/set/index.js +0 -5
  614. package/core/schemas/builders/set/set.d.ts +0 -2
  615. package/core/schemas/builders/set/set.js +0 -43
  616. package/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
  617. package/core/schemas/builders/undiscriminated-union/index.js +0 -5
  618. package/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
  619. package/core/schemas/builders/undiscriminated-union/types.js +0 -2
  620. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
  621. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
  622. package/core/schemas/builders/union/discriminant.d.ts +0 -5
  623. package/core/schemas/builders/union/discriminant.js +0 -9
  624. package/core/schemas/builders/union/index.d.ts +0 -4
  625. package/core/schemas/builders/union/index.js +0 -7
  626. package/core/schemas/builders/union/types.d.ts +0 -13
  627. package/core/schemas/builders/union/types.js +0 -2
  628. package/core/schemas/builders/union/union.d.ts +0 -4
  629. package/core/schemas/builders/union/union.js +0 -129
  630. package/core/schemas/index.d.ts +0 -2
  631. package/core/schemas/index.js +0 -17
  632. package/core/schemas/utils/MaybePromise.d.ts +0 -1
  633. package/core/schemas/utils/MaybePromise.js +0 -2
  634. package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
  635. package/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
  636. package/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
  637. package/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
  638. package/core/schemas/utils/entries.d.ts +0 -1
  639. package/core/schemas/utils/entries.js +0 -6
  640. package/core/schemas/utils/filterObject.d.ts +0 -1
  641. package/core/schemas/utils/filterObject.js +0 -13
  642. package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
  643. package/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
  644. package/core/schemas/utils/isPlainObject.d.ts +0 -1
  645. package/core/schemas/utils/isPlainObject.js +0 -17
  646. package/core/schemas/utils/keys.d.ts +0 -1
  647. package/core/schemas/utils/keys.js +0 -6
  648. package/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
  649. package/core/schemas/utils/maybeSkipValidation.js +0 -27
  650. package/core/schemas/utils/partition.d.ts +0 -1
  651. package/core/schemas/utils/partition.js +0 -15
  652. package/dist/Client.d.ts +0 -37
  653. package/dist/Client.js +0 -27
  654. package/dist/api/errors/UnprocessableEntityError.d.ts +0 -8
  655. package/dist/api/errors/UnprocessableEntityError.js +0 -51
  656. package/dist/api/errors/index.d.ts +0 -1
  657. package/dist/api/errors/index.js +0 -17
  658. package/dist/api/index.d.ts +0 -3
  659. package/dist/api/index.js +0 -19
  660. package/dist/api/resources/collections/client/Client.d.ts +0 -135
  661. package/dist/api/resources/collections/client/Client.js +0 -510
  662. package/dist/api/resources/collections/client/index.d.ts +0 -1
  663. package/dist/api/resources/collections/client/index.js +0 -17
  664. package/dist/api/resources/collections/client/requests/CollectionCreate.d.ts +0 -15
  665. package/dist/api/resources/collections/client/requests/CollectionCreate.js +0 -5
  666. package/dist/api/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.d.ts +0 -10
  667. package/dist/api/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.js +0 -5
  668. package/dist/api/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.d.ts +0 -11
  669. package/dist/api/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.js +0 -5
  670. package/dist/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.d.ts +0 -20
  671. package/dist/api/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.js +0 -5
  672. package/dist/api/resources/collections/client/requests/index.d.ts +0 -4
  673. package/dist/api/resources/collections/index.d.ts +0 -1
  674. package/dist/api/resources/collections/index.js +0 -17
  675. package/dist/api/resources/index.d.ts +0 -6
  676. package/dist/api/resources/index.js +0 -45
  677. package/dist/api/resources/sourceConnections/client/Client.d.ts +0 -191
  678. package/dist/api/resources/sourceConnections/client/Client.js +0 -625
  679. package/dist/api/resources/sourceConnections/client/index.d.ts +0 -1
  680. package/dist/api/resources/sourceConnections/client/index.js +0 -17
  681. package/dist/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.ts +0 -10
  682. package/dist/api/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.js +0 -5
  683. package/dist/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.d.ts +0 -10
  684. package/dist/api/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.js +0 -5
  685. package/dist/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.d.ts +0 -10
  686. package/dist/api/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.js +0 -5
  687. package/dist/api/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.d.ts +0 -15
  688. package/dist/api/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.js +0 -5
  689. package/dist/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +0 -18
  690. package/dist/api/resources/sourceConnections/client/requests/SourceConnectionUpdate.js +0 -5
  691. package/dist/api/resources/sourceConnections/client/requests/index.d.ts +0 -5
  692. package/dist/api/resources/sourceConnections/client/requests/index.js +0 -2
  693. package/dist/api/resources/sourceConnections/index.d.ts +0 -2
  694. package/dist/api/resources/sourceConnections/index.js +0 -18
  695. package/dist/api/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.d.ts +0 -5
  696. package/dist/api/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.js +0 -5
  697. package/dist/api/resources/sourceConnections/types/index.d.ts +0 -1
  698. package/dist/api/resources/sourceConnections/types/index.js +0 -17
  699. package/dist/api/resources/sources/client/Client.d.ts +0 -68
  700. package/dist/api/resources/sources/client/Client.js +0 -208
  701. package/dist/api/resources/sources/client/index.js +0 -2
  702. package/dist/api/resources/sources/index.d.ts +0 -1
  703. package/dist/api/resources/sources/index.js +0 -17
  704. package/dist/api/types/ApiKey.d.ts +0 -17
  705. package/dist/api/types/ApiKey.js +0 -5
  706. package/dist/api/types/ApiKeyCreate.d.ts +0 -10
  707. package/dist/api/types/ApiKeyCreate.js +0 -5
  708. package/dist/api/types/AuthType.js +0 -16
  709. package/dist/api/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js +0 -5
  710. package/dist/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +0 -9
  711. package/dist/api/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js +0 -5
  712. package/dist/api/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts +0 -8
  713. package/dist/api/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js +0 -5
  714. package/dist/api/types/Chat.d.ts +0 -22
  715. package/dist/api/types/Chat.js +0 -5
  716. package/dist/api/types/ChatCreate.d.ts +0 -14
  717. package/dist/api/types/ChatCreate.js +0 -5
  718. package/dist/api/types/ChatMessage.d.ts +0 -18
  719. package/dist/api/types/ChatMessage.js +0 -5
  720. package/dist/api/types/ChatMessageCreate.d.ts +0 -10
  721. package/dist/api/types/ChatMessageCreate.js +0 -5
  722. package/dist/api/types/ChatUpdate.d.ts +0 -12
  723. package/dist/api/types/ChatUpdate.js +0 -5
  724. package/dist/api/types/Collection.d.ts +0 -19
  725. package/dist/api/types/Collection.js +0 -5
  726. package/dist/api/types/CollectionStatus.js +0 -12
  727. package/dist/api/types/CollectionUpdate.d.ts +0 -10
  728. package/dist/api/types/CollectionUpdate.js +0 -5
  729. package/dist/api/types/ConfigField.js +0 -5
  730. package/dist/api/types/ConfigValues.js +0 -5
  731. package/dist/api/types/Connection.d.ts +0 -18
  732. package/dist/api/types/Connection.js +0 -5
  733. package/dist/api/types/ConnectionStatus.js +0 -11
  734. package/dist/api/types/DagEdge.d.ts +0 -15
  735. package/dist/api/types/DagEdge.js +0 -5
  736. package/dist/api/types/DagEdgeCreate.d.ts +0 -10
  737. package/dist/api/types/DagEdgeCreate.js +0 -5
  738. package/dist/api/types/DagNode.d.ts +0 -20
  739. package/dist/api/types/DagNode.js +0 -5
  740. package/dist/api/types/DagNodeCreate.d.ts +0 -17
  741. package/dist/api/types/DagNodeCreate.js +0 -5
  742. package/dist/api/types/Destination.d.ts +0 -22
  743. package/dist/api/types/Destination.js +0 -5
  744. package/dist/api/types/DestinationWithAuthenticationFields.d.ts +0 -23
  745. package/dist/api/types/DestinationWithAuthenticationFields.js +0 -5
  746. package/dist/api/types/EmbeddingModel.d.ts +0 -20
  747. package/dist/api/types/EmbeddingModel.js +0 -5
  748. package/dist/api/types/EmbeddingModelWithAuthenticationFields.d.ts +0 -21
  749. package/dist/api/types/EmbeddingModelWithAuthenticationFields.js +0 -5
  750. package/dist/api/types/EntityCount.js +0 -5
  751. package/dist/api/types/EntityDefinition.d.ts +0 -18
  752. package/dist/api/types/EntityDefinition.js +0 -5
  753. package/dist/api/types/EntityDefinitionCreate.d.ts +0 -16
  754. package/dist/api/types/EntityDefinitionCreate.js +0 -5
  755. package/dist/api/types/EntityDefinitionCreateEntitySchema.d.ts +0 -4
  756. package/dist/api/types/EntityDefinitionCreateEntitySchema.js +0 -5
  757. package/dist/api/types/EntityDefinitionEntitySchema.d.ts +0 -4
  758. package/dist/api/types/EntityDefinitionEntitySchema.js +0 -5
  759. package/dist/api/types/EntityDefinitionUpdate.d.ts +0 -16
  760. package/dist/api/types/EntityDefinitionUpdate.js +0 -5
  761. package/dist/api/types/EntityDefinitionUpdateEntitySchema.d.ts +0 -4
  762. package/dist/api/types/EntityDefinitionUpdateEntitySchema.js +0 -5
  763. package/dist/api/types/EntityRelation.d.ts +0 -16
  764. package/dist/api/types/EntityRelation.js +0 -5
  765. package/dist/api/types/EntityRelationCreate.d.ts +0 -12
  766. package/dist/api/types/EntityRelationCreate.js +0 -5
  767. package/dist/api/types/EntityRelationUpdate.d.ts +0 -12
  768. package/dist/api/types/EntityRelationUpdate.js +0 -5
  769. package/dist/api/types/EntityType.js +0 -10
  770. package/dist/api/types/Fields.d.ts +0 -10
  771. package/dist/api/types/Fields.js +0 -5
  772. package/dist/api/types/HttpValidationError.d.ts +0 -7
  773. package/dist/api/types/HttpValidationError.js +0 -5
  774. package/dist/api/types/IntegrationCredentialInDb.d.ts +0 -18
  775. package/dist/api/types/IntegrationCredentialInDb.js +0 -5
  776. package/dist/api/types/IntegrationCredentialRawCreate.d.ts +0 -19
  777. package/dist/api/types/IntegrationCredentialRawCreate.js +0 -5
  778. package/dist/api/types/IntegrationType.js +0 -11
  779. package/dist/api/types/NodeType.js +0 -12
  780. package/dist/api/types/OAuth2AuthUrl.js +0 -5
  781. package/dist/api/types/Organization.d.ts +0 -13
  782. package/dist/api/types/Organization.js +0 -5
  783. package/dist/api/types/ResponseType.d.ts +0 -11
  784. package/dist/api/types/ResponseType.js +0 -10
  785. package/dist/api/types/SearchResponse.d.ts +0 -13
  786. package/dist/api/types/SearchResponse.js +0 -5
  787. package/dist/api/types/SearchStatus.d.ts +0 -12
  788. package/dist/api/types/SearchStatus.js +0 -11
  789. package/dist/api/types/Source.d.ts +0 -25
  790. package/dist/api/types/Source.js +0 -5
  791. package/dist/api/types/SourceConnection.d.ts +0 -33
  792. package/dist/api/types/SourceConnection.js +0 -5
  793. package/dist/api/types/SourceConnectionAuthFields.d.ts +0 -5
  794. package/dist/api/types/SourceConnectionAuthFields.js +0 -5
  795. package/dist/api/types/SourceConnectionCreate.d.ts +0 -23
  796. package/dist/api/types/SourceConnectionCreate.js +0 -5
  797. package/dist/api/types/SourceConnectionJob.d.ts +0 -30
  798. package/dist/api/types/SourceConnectionJob.js +0 -5
  799. package/dist/api/types/SourceConnectionListItem.d.ts +0 -22
  800. package/dist/api/types/SourceConnectionListItem.js +0 -5
  801. package/dist/api/types/SourceConnectionStatus.js +0 -11
  802. package/dist/api/types/Sync.d.ts +0 -24
  803. package/dist/api/types/Sync.js +0 -5
  804. package/dist/api/types/SyncCreate.d.ts +0 -19
  805. package/dist/api/types/SyncCreate.js +0 -5
  806. package/dist/api/types/SyncDag.d.ts +0 -29
  807. package/dist/api/types/SyncDag.js +0 -5
  808. package/dist/api/types/SyncDagCreate.d.ts +0 -14
  809. package/dist/api/types/SyncDagCreate.js +0 -5
  810. package/dist/api/types/SyncDagUpdate.d.ts +0 -14
  811. package/dist/api/types/SyncDagUpdate.js +0 -5
  812. package/dist/api/types/SyncJob.d.ts +0 -30
  813. package/dist/api/types/SyncJob.js +0 -5
  814. package/dist/api/types/SyncJobStatus.d.ts +0 -13
  815. package/dist/api/types/SyncJobStatus.js +0 -12
  816. package/dist/api/types/SyncStatus.js +0 -11
  817. package/dist/api/types/SyncUpdate.d.ts +0 -14
  818. package/dist/api/types/SyncUpdate.js +0 -5
  819. package/dist/api/types/SyncWithSourceConnection.d.ts +0 -25
  820. package/dist/api/types/SyncWithSourceConnection.js +0 -5
  821. package/dist/api/types/Transformer.d.ts +0 -19
  822. package/dist/api/types/Transformer.js +0 -5
  823. package/dist/api/types/TransformerCreate.d.ts +0 -15
  824. package/dist/api/types/TransformerCreate.js +0 -5
  825. package/dist/api/types/TransformerUpdate.d.ts +0 -15
  826. package/dist/api/types/TransformerUpdate.js +0 -5
  827. package/dist/api/types/User.d.ts +0 -13
  828. package/dist/api/types/User.js +0 -5
  829. package/dist/api/types/UserCreate.d.ts +0 -11
  830. package/dist/api/types/UserCreate.js +0 -5
  831. package/dist/api/types/ValidationError.d.ts +0 -9
  832. package/dist/api/types/ValidationError.js +0 -5
  833. package/dist/api/types/ValidationErrorLocItem.d.ts +0 -4
  834. package/dist/api/types/ValidationErrorLocItem.js +0 -5
  835. package/dist/api/types/WhiteLabel.d.ts +0 -20
  836. package/dist/api/types/WhiteLabel.js +0 -5
  837. package/dist/api/types/WhiteLabelCreate.d.ts +0 -14
  838. package/dist/api/types/WhiteLabelCreate.js +0 -5
  839. package/dist/api/types/WhiteLabelUpdate.d.ts +0 -13
  840. package/dist/api/types/WhiteLabelUpdate.js +0 -5
  841. package/dist/api/types/index.d.ts +0 -75
  842. package/dist/api/types/index.js +0 -91
  843. package/dist/core/fetcher/APIResponse.d.ts +0 -10
  844. package/dist/core/fetcher/APIResponse.js +0 -2
  845. package/dist/core/fetcher/Fetcher.d.ts +0 -39
  846. package/dist/core/fetcher/Fetcher.js +0 -99
  847. package/dist/core/fetcher/Supplier.js +0 -22
  848. package/dist/core/fetcher/createRequestUrl.d.ts +0 -1
  849. package/dist/core/fetcher/createRequestUrl.js +0 -12
  850. package/dist/core/fetcher/getFetchFn.js +0 -68
  851. package/dist/core/fetcher/getHeader.js +0 -11
  852. package/dist/core/fetcher/getRequestBody.js +0 -22
  853. package/dist/core/fetcher/getResponseBody.js +0 -54
  854. package/dist/core/fetcher/index.d.ts +0 -5
  855. package/dist/core/fetcher/index.js +0 -9
  856. package/dist/core/fetcher/makeRequest.js +0 -42
  857. package/dist/core/fetcher/requestWithRetries.js +0 -40
  858. package/dist/core/fetcher/signals.js +0 -36
  859. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  860. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  861. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  862. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  863. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  864. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  865. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  866. package/dist/core/index.d.ts +0 -3
  867. package/dist/core/index.js +0 -42
  868. package/dist/core/runtime/index.d.ts +0 -1
  869. package/dist/core/runtime/index.js +0 -5
  870. package/dist/core/runtime/runtime.d.ts +0 -9
  871. package/dist/core/runtime/runtime.js +0 -93
  872. package/dist/core/schemas/Schema.d.ts +0 -85
  873. package/dist/core/schemas/Schema.js +0 -22
  874. package/dist/core/schemas/builders/bigint/bigint.d.ts +0 -2
  875. package/dist/core/schemas/builders/bigint/bigint.js +0 -49
  876. package/dist/core/schemas/builders/bigint/index.d.ts +0 -1
  877. package/dist/core/schemas/builders/bigint/index.js +0 -5
  878. package/dist/core/schemas/builders/date/date.d.ts +0 -2
  879. package/dist/core/schemas/builders/date/date.js +0 -62
  880. package/dist/core/schemas/builders/date/index.d.ts +0 -1
  881. package/dist/core/schemas/builders/date/index.js +0 -5
  882. package/dist/core/schemas/builders/enum/enum.d.ts +0 -2
  883. package/dist/core/schemas/builders/enum/enum.js +0 -38
  884. package/dist/core/schemas/builders/enum/index.d.ts +0 -1
  885. package/dist/core/schemas/builders/enum/index.js +0 -5
  886. package/dist/core/schemas/builders/index.d.ts +0 -14
  887. package/dist/core/schemas/builders/index.js +0 -30
  888. package/dist/core/schemas/builders/lazy/index.d.ts +0 -3
  889. package/dist/core/schemas/builders/lazy/index.js +0 -7
  890. package/dist/core/schemas/builders/lazy/lazy.d.ts +0 -5
  891. package/dist/core/schemas/builders/lazy/lazy.js +0 -24
  892. package/dist/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
  893. package/dist/core/schemas/builders/lazy/lazyObject.js +0 -11
  894. package/dist/core/schemas/builders/list/index.d.ts +0 -1
  895. package/dist/core/schemas/builders/list/index.js +0 -5
  896. package/dist/core/schemas/builders/list/list.d.ts +0 -2
  897. package/dist/core/schemas/builders/list/list.js +0 -54
  898. package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
  899. package/dist/core/schemas/builders/literals/booleanLiteral.js +0 -28
  900. package/dist/core/schemas/builders/literals/index.d.ts +0 -2
  901. package/dist/core/schemas/builders/literals/index.js +0 -7
  902. package/dist/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
  903. package/dist/core/schemas/builders/literals/stringLiteral.js +0 -28
  904. package/dist/core/schemas/builders/object/index.d.ts +0 -6
  905. package/dist/core/schemas/builders/object/index.js +0 -11
  906. package/dist/core/schemas/builders/object/object.d.ts +0 -3
  907. package/dist/core/schemas/builders/object/object.js +0 -260
  908. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
  909. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
  910. package/dist/core/schemas/builders/object/property.d.ts +0 -8
  911. package/dist/core/schemas/builders/object/property.js +0 -15
  912. package/dist/core/schemas/builders/object/types.d.ts +0 -31
  913. package/dist/core/schemas/builders/object/types.js +0 -2
  914. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
  915. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
  916. package/dist/core/schemas/builders/object-like/index.d.ts +0 -2
  917. package/dist/core/schemas/builders/object-like/index.js +0 -6
  918. package/dist/core/schemas/builders/object-like/types.d.ts +0 -7
  919. package/dist/core/schemas/builders/object-like/types.js +0 -2
  920. package/dist/core/schemas/builders/primitives/any.d.ts +0 -1
  921. package/dist/core/schemas/builders/primitives/any.js +0 -6
  922. package/dist/core/schemas/builders/primitives/boolean.d.ts +0 -1
  923. package/dist/core/schemas/builders/primitives/boolean.js +0 -25
  924. package/dist/core/schemas/builders/primitives/index.d.ts +0 -5
  925. package/dist/core/schemas/builders/primitives/index.js +0 -13
  926. package/dist/core/schemas/builders/primitives/number.d.ts +0 -1
  927. package/dist/core/schemas/builders/primitives/number.js +0 -25
  928. package/dist/core/schemas/builders/primitives/string.d.ts +0 -1
  929. package/dist/core/schemas/builders/primitives/string.js +0 -25
  930. package/dist/core/schemas/builders/primitives/unknown.d.ts +0 -1
  931. package/dist/core/schemas/builders/primitives/unknown.js +0 -6
  932. package/dist/core/schemas/builders/record/index.d.ts +0 -2
  933. package/dist/core/schemas/builders/record/index.js +0 -5
  934. package/dist/core/schemas/builders/record/record.d.ts +0 -3
  935. package/dist/core/schemas/builders/record/record.js +0 -94
  936. package/dist/core/schemas/builders/record/types.d.ts +0 -4
  937. package/dist/core/schemas/builders/record/types.js +0 -2
  938. package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
  939. package/dist/core/schemas/builders/schema-utils/JsonError.js +0 -12
  940. package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
  941. package/dist/core/schemas/builders/schema-utils/ParseError.js +0 -12
  942. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -17
  943. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -81
  944. package/dist/core/schemas/builders/schema-utils/index.d.ts +0 -4
  945. package/dist/core/schemas/builders/schema-utils/index.js +0 -11
  946. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
  947. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
  948. package/dist/core/schemas/builders/set/index.d.ts +0 -1
  949. package/dist/core/schemas/builders/set/index.js +0 -5
  950. package/dist/core/schemas/builders/set/set.d.ts +0 -2
  951. package/dist/core/schemas/builders/set/set.js +0 -43
  952. package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
  953. package/dist/core/schemas/builders/undiscriminated-union/index.js +0 -5
  954. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
  955. package/dist/core/schemas/builders/undiscriminated-union/types.js +0 -2
  956. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
  957. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
  958. package/dist/core/schemas/builders/union/discriminant.d.ts +0 -5
  959. package/dist/core/schemas/builders/union/discriminant.js +0 -9
  960. package/dist/core/schemas/builders/union/index.d.ts +0 -4
  961. package/dist/core/schemas/builders/union/index.js +0 -7
  962. package/dist/core/schemas/builders/union/types.d.ts +0 -13
  963. package/dist/core/schemas/builders/union/types.js +0 -2
  964. package/dist/core/schemas/builders/union/union.d.ts +0 -4
  965. package/dist/core/schemas/builders/union/union.js +0 -129
  966. package/dist/core/schemas/index.d.ts +0 -2
  967. package/dist/core/schemas/index.js +0 -17
  968. package/dist/core/schemas/utils/MaybePromise.d.ts +0 -1
  969. package/dist/core/schemas/utils/MaybePromise.js +0 -2
  970. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
  971. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
  972. package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
  973. package/dist/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
  974. package/dist/core/schemas/utils/entries.d.ts +0 -1
  975. package/dist/core/schemas/utils/entries.js +0 -6
  976. package/dist/core/schemas/utils/filterObject.d.ts +0 -1
  977. package/dist/core/schemas/utils/filterObject.js +0 -13
  978. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
  979. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
  980. package/dist/core/schemas/utils/isPlainObject.d.ts +0 -1
  981. package/dist/core/schemas/utils/isPlainObject.js +0 -17
  982. package/dist/core/schemas/utils/keys.d.ts +0 -1
  983. package/dist/core/schemas/utils/keys.js +0 -6
  984. package/dist/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
  985. package/dist/core/schemas/utils/maybeSkipValidation.js +0 -27
  986. package/dist/core/schemas/utils/partition.d.ts +0 -1
  987. package/dist/core/schemas/utils/partition.js +0 -15
  988. package/dist/errors/AirweaveSDKError.d.ts +0 -12
  989. package/dist/errors/AirweaveSDKError.js +0 -32
  990. package/dist/errors/index.d.ts +0 -2
  991. package/dist/errors/index.js +0 -7
  992. package/dist/index.d.ts +0 -4
  993. package/dist/index.js +0 -44
  994. package/dist/serialization/index.d.ts +0 -2
  995. package/dist/serialization/index.js +0 -18
  996. package/dist/serialization/resources/collections/client/index.d.ts +0 -3
  997. package/dist/serialization/resources/collections/client/index.js +0 -42
  998. package/dist/serialization/resources/collections/client/listCollections.d.ts +0 -11
  999. package/dist/serialization/resources/collections/client/listCollections.js +0 -42
  1000. package/dist/serialization/resources/collections/client/refreshAllSourceConnections.d.ts +0 -11
  1001. package/dist/serialization/resources/collections/client/refreshAllSourceConnections.js +0 -42
  1002. package/dist/serialization/resources/collections/client/requests/CollectionCreate.d.ts +0 -13
  1003. package/dist/serialization/resources/collections/client/requests/CollectionCreate.js +0 -44
  1004. package/dist/serialization/resources/collections/client/requests/index.d.ts +0 -1
  1005. package/dist/serialization/resources/collections/client/requests/index.js +0 -5
  1006. package/dist/serialization/resources/collections/index.d.ts +0 -1
  1007. package/dist/serialization/resources/collections/index.js +0 -17
  1008. package/dist/serialization/resources/index.d.ts +0 -6
  1009. package/dist/serialization/resources/index.js +0 -45
  1010. package/dist/serialization/resources/sourceConnections/client/index.d.ts +0 -3
  1011. package/dist/serialization/resources/sourceConnections/client/index.js +0 -42
  1012. package/dist/serialization/resources/sourceConnections/client/listSourceConnectionJobs.d.ts +0 -11
  1013. package/dist/serialization/resources/sourceConnections/client/listSourceConnectionJobs.js +0 -42
  1014. package/dist/serialization/resources/sourceConnections/client/listSourceConnections.d.ts +0 -11
  1015. package/dist/serialization/resources/sourceConnections/client/listSourceConnections.js +0 -42
  1016. package/dist/serialization/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.ts +0 -12
  1017. package/dist/serialization/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.js +0 -43
  1018. package/dist/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +0 -20
  1019. package/dist/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.js +0 -51
  1020. package/dist/serialization/resources/sourceConnections/client/requests/index.d.ts +0 -2
  1021. package/dist/serialization/resources/sourceConnections/client/requests/index.js +0 -7
  1022. package/dist/serialization/resources/sourceConnections/index.d.ts +0 -2
  1023. package/dist/serialization/resources/sourceConnections/index.js +0 -18
  1024. package/dist/serialization/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.d.ts +0 -11
  1025. package/dist/serialization/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.js +0 -42
  1026. package/dist/serialization/resources/sourceConnections/types/index.d.ts +0 -1
  1027. package/dist/serialization/resources/sourceConnections/types/index.js +0 -17
  1028. package/dist/serialization/resources/sources/client/index.d.ts +0 -1
  1029. package/dist/serialization/resources/sources/client/index.js +0 -37
  1030. package/dist/serialization/resources/sources/client/readSources.d.ts +0 -11
  1031. package/dist/serialization/resources/sources/client/readSources.js +0 -42
  1032. package/dist/serialization/resources/sources/index.d.ts +0 -1
  1033. package/dist/serialization/resources/sources/index.js +0 -17
  1034. package/dist/serialization/types/ApiKey.d.ts +0 -20
  1035. package/dist/serialization/types/ApiKey.js +0 -51
  1036. package/dist/serialization/types/ApiKeyCreate.d.ts +0 -12
  1037. package/dist/serialization/types/ApiKeyCreate.js +0 -43
  1038. package/dist/serialization/types/AuthType.d.ts +0 -10
  1039. package/dist/serialization/types/AuthType.js +0 -50
  1040. package/dist/serialization/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.ts +0 -13
  1041. package/dist/serialization/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js +0 -44
  1042. package/dist/serialization/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +0 -15
  1043. package/dist/serialization/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js +0 -46
  1044. package/dist/serialization/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts +0 -14
  1045. package/dist/serialization/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js +0 -45
  1046. package/dist/serialization/types/Chat.d.ts +0 -25
  1047. package/dist/serialization/types/Chat.js +0 -56
  1048. package/dist/serialization/types/ChatCreate.d.ts +0 -17
  1049. package/dist/serialization/types/ChatCreate.js +0 -48
  1050. package/dist/serialization/types/ChatMessage.d.ts +0 -21
  1051. package/dist/serialization/types/ChatMessage.js +0 -52
  1052. package/dist/serialization/types/ChatMessageCreate.d.ts +0 -13
  1053. package/dist/serialization/types/ChatMessageCreate.js +0 -44
  1054. package/dist/serialization/types/ChatUpdate.d.ts +0 -15
  1055. package/dist/serialization/types/ChatUpdate.js +0 -46
  1056. package/dist/serialization/types/Collection.d.ts +0 -21
  1057. package/dist/serialization/types/Collection.js +0 -52
  1058. package/dist/serialization/types/CollectionStatus.d.ts +0 -10
  1059. package/dist/serialization/types/CollectionStatus.js +0 -41
  1060. package/dist/serialization/types/CollectionUpdate.d.ts +0 -12
  1061. package/dist/serialization/types/CollectionUpdate.js +0 -43
  1062. package/dist/serialization/types/ConfigField.d.ts +0 -15
  1063. package/dist/serialization/types/ConfigField.js +0 -46
  1064. package/dist/serialization/types/ConfigValues.d.ts +0 -10
  1065. package/dist/serialization/types/ConfigValues.js +0 -41
  1066. package/dist/serialization/types/Connection.d.ts +0 -22
  1067. package/dist/serialization/types/Connection.js +0 -53
  1068. package/dist/serialization/types/ConnectionStatus.d.ts +0 -10
  1069. package/dist/serialization/types/ConnectionStatus.js +0 -41
  1070. package/dist/serialization/types/DagEdge.d.ts +0 -18
  1071. package/dist/serialization/types/DagEdge.js +0 -49
  1072. package/dist/serialization/types/DagEdgeCreate.d.ts +0 -13
  1073. package/dist/serialization/types/DagEdgeCreate.js +0 -44
  1074. package/dist/serialization/types/DagNode.d.ts +0 -23
  1075. package/dist/serialization/types/DagNode.js +0 -54
  1076. package/dist/serialization/types/DagNodeCreate.d.ts +0 -19
  1077. package/dist/serialization/types/DagNodeCreate.js +0 -50
  1078. package/dist/serialization/types/Destination.d.ts +0 -25
  1079. package/dist/serialization/types/Destination.js +0 -56
  1080. package/dist/serialization/types/DestinationWithAuthenticationFields.d.ts +0 -27
  1081. package/dist/serialization/types/DestinationWithAuthenticationFields.js +0 -58
  1082. package/dist/serialization/types/EmbeddingModel.d.ts +0 -23
  1083. package/dist/serialization/types/EmbeddingModel.js +0 -54
  1084. package/dist/serialization/types/EmbeddingModelWithAuthenticationFields.d.ts +0 -25
  1085. package/dist/serialization/types/EmbeddingModelWithAuthenticationFields.js +0 -56
  1086. package/dist/serialization/types/EntityCount.d.ts +0 -12
  1087. package/dist/serialization/types/EntityCount.js +0 -43
  1088. package/dist/serialization/types/EntityDefinition.d.ts +0 -22
  1089. package/dist/serialization/types/EntityDefinition.js +0 -53
  1090. package/dist/serialization/types/EntityDefinitionCreate.d.ts +0 -20
  1091. package/dist/serialization/types/EntityDefinitionCreate.js +0 -51
  1092. package/dist/serialization/types/EntityDefinitionCreateEntitySchema.d.ts +0 -10
  1093. package/dist/serialization/types/EntityDefinitionCreateEntitySchema.js +0 -44
  1094. package/dist/serialization/types/EntityDefinitionEntitySchema.d.ts +0 -10
  1095. package/dist/serialization/types/EntityDefinitionEntitySchema.js +0 -44
  1096. package/dist/serialization/types/EntityDefinitionUpdate.d.ts +0 -20
  1097. package/dist/serialization/types/EntityDefinitionUpdate.js +0 -51
  1098. package/dist/serialization/types/EntityDefinitionUpdateEntitySchema.d.ts +0 -10
  1099. package/dist/serialization/types/EntityDefinitionUpdateEntitySchema.js +0 -44
  1100. package/dist/serialization/types/EntityRelation.d.ts +0 -19
  1101. package/dist/serialization/types/EntityRelation.js +0 -50
  1102. package/dist/serialization/types/EntityRelationCreate.d.ts +0 -15
  1103. package/dist/serialization/types/EntityRelationCreate.js +0 -46
  1104. package/dist/serialization/types/EntityRelationUpdate.d.ts +0 -15
  1105. package/dist/serialization/types/EntityRelationUpdate.js +0 -46
  1106. package/dist/serialization/types/EntityType.d.ts +0 -10
  1107. package/dist/serialization/types/EntityType.js +0 -41
  1108. package/dist/serialization/types/Fields.d.ts +0 -13
  1109. package/dist/serialization/types/Fields.js +0 -44
  1110. package/dist/serialization/types/HttpValidationError.d.ts +0 -13
  1111. package/dist/serialization/types/HttpValidationError.js +0 -44
  1112. package/dist/serialization/types/IntegrationCredentialInDb.d.ts +0 -22
  1113. package/dist/serialization/types/IntegrationCredentialInDb.js +0 -53
  1114. package/dist/serialization/types/IntegrationCredentialRawCreate.d.ts +0 -20
  1115. package/dist/serialization/types/IntegrationCredentialRawCreate.js +0 -51
  1116. package/dist/serialization/types/IntegrationType.d.ts +0 -10
  1117. package/dist/serialization/types/IntegrationType.js +0 -41
  1118. package/dist/serialization/types/NodeType.d.ts +0 -10
  1119. package/dist/serialization/types/NodeType.js +0 -41
  1120. package/dist/serialization/types/OAuth2AuthUrl.d.ts +0 -12
  1121. package/dist/serialization/types/OAuth2AuthUrl.js +0 -43
  1122. package/dist/serialization/types/Organization.d.ts +0 -16
  1123. package/dist/serialization/types/Organization.js +0 -47
  1124. package/dist/serialization/types/ResponseType.d.ts +0 -10
  1125. package/dist/serialization/types/ResponseType.js +0 -41
  1126. package/dist/serialization/types/SearchResponse.d.ts +0 -17
  1127. package/dist/serialization/types/SearchResponse.js +0 -48
  1128. package/dist/serialization/types/SearchStatus.d.ts +0 -10
  1129. package/dist/serialization/types/SearchStatus.js +0 -41
  1130. package/dist/serialization/types/Source.d.ts +0 -29
  1131. package/dist/serialization/types/Source.js +0 -60
  1132. package/dist/serialization/types/SourceConnection.d.ts +0 -38
  1133. package/dist/serialization/types/SourceConnection.js +0 -69
  1134. package/dist/serialization/types/SourceConnectionAuthFields.d.ts +0 -11
  1135. package/dist/serialization/types/SourceConnectionAuthFields.js +0 -42
  1136. package/dist/serialization/types/SourceConnectionCreate.d.ts +0 -22
  1137. package/dist/serialization/types/SourceConnectionCreate.js +0 -53
  1138. package/dist/serialization/types/SourceConnectionJob.d.ts +0 -30
  1139. package/dist/serialization/types/SourceConnectionJob.js +0 -61
  1140. package/dist/serialization/types/SourceConnectionListItem.d.ts +0 -22
  1141. package/dist/serialization/types/SourceConnectionListItem.js +0 -53
  1142. package/dist/serialization/types/SourceConnectionStatus.d.ts +0 -10
  1143. package/dist/serialization/types/SourceConnectionStatus.js +0 -41
  1144. package/dist/serialization/types/Sync.d.ts +0 -27
  1145. package/dist/serialization/types/Sync.js +0 -58
  1146. package/dist/serialization/types/SyncCreate.d.ts +0 -22
  1147. package/dist/serialization/types/SyncCreate.js +0 -53
  1148. package/dist/serialization/types/SyncDag.d.ts +0 -22
  1149. package/dist/serialization/types/SyncDag.js +0 -53
  1150. package/dist/serialization/types/SyncDagCreate.d.ts +0 -18
  1151. package/dist/serialization/types/SyncDagCreate.js +0 -49
  1152. package/dist/serialization/types/SyncDagUpdate.d.ts +0 -18
  1153. package/dist/serialization/types/SyncDagUpdate.js +0 -49
  1154. package/dist/serialization/types/SyncJob.d.ts +0 -32
  1155. package/dist/serialization/types/SyncJob.js +0 -63
  1156. package/dist/serialization/types/SyncJobStatus.d.ts +0 -10
  1157. package/dist/serialization/types/SyncJobStatus.js +0 -41
  1158. package/dist/serialization/types/SyncStatus.d.ts +0 -10
  1159. package/dist/serialization/types/SyncStatus.js +0 -41
  1160. package/dist/serialization/types/SyncUpdate.d.ts +0 -17
  1161. package/dist/serialization/types/SyncUpdate.js +0 -48
  1162. package/dist/serialization/types/SyncWithSourceConnection.d.ts +0 -29
  1163. package/dist/serialization/types/SyncWithSourceConnection.js +0 -60
  1164. package/dist/serialization/types/Transformer.d.ts +0 -22
  1165. package/dist/serialization/types/Transformer.js +0 -53
  1166. package/dist/serialization/types/TransformerCreate.d.ts +0 -18
  1167. package/dist/serialization/types/TransformerCreate.js +0 -49
  1168. package/dist/serialization/types/TransformerUpdate.d.ts +0 -18
  1169. package/dist/serialization/types/TransformerUpdate.js +0 -49
  1170. package/dist/serialization/types/User.d.ts +0 -16
  1171. package/dist/serialization/types/User.js +0 -47
  1172. package/dist/serialization/types/UserCreate.d.ts +0 -14
  1173. package/dist/serialization/types/UserCreate.js +0 -45
  1174. package/dist/serialization/types/ValidationError.d.ts +0 -15
  1175. package/dist/serialization/types/ValidationError.js +0 -46
  1176. package/dist/serialization/types/ValidationErrorLocItem.d.ts +0 -10
  1177. package/dist/serialization/types/ValidationErrorLocItem.js +0 -41
  1178. package/dist/serialization/types/WhiteLabel.d.ts +0 -23
  1179. package/dist/serialization/types/WhiteLabel.js +0 -54
  1180. package/dist/serialization/types/WhiteLabelCreate.d.ts +0 -17
  1181. package/dist/serialization/types/WhiteLabelCreate.js +0 -48
  1182. package/dist/serialization/types/WhiteLabelUpdate.d.ts +0 -16
  1183. package/dist/serialization/types/WhiteLabelUpdate.js +0 -47
  1184. package/dist/serialization/types/index.d.ts +0 -75
  1185. package/dist/serialization/types/index.js +0 -91
  1186. package/dist/version.d.ts +0 -1
  1187. package/dist/version.js +0 -4
  1188. package/environments.js +0 -10
  1189. package/errors/AirweaveSDKError.d.ts +0 -12
  1190. package/errors/AirweaveSDKError.js +0 -32
  1191. package/errors/AirweaveSDKTimeoutError.js +0 -13
  1192. package/errors/index.d.ts +0 -2
  1193. package/errors/index.js +0 -7
  1194. package/index.d.ts +0 -4
  1195. package/index.js +0 -44
  1196. package/jest.config.js +0 -5
  1197. package/serialization/index.d.ts +0 -2
  1198. package/serialization/index.js +0 -18
  1199. package/serialization/resources/collections/client/index.d.ts +0 -3
  1200. package/serialization/resources/collections/client/index.js +0 -42
  1201. package/serialization/resources/collections/client/listCollections.d.ts +0 -11
  1202. package/serialization/resources/collections/client/listCollections.js +0 -42
  1203. package/serialization/resources/collections/client/refreshAllSourceConnections.d.ts +0 -11
  1204. package/serialization/resources/collections/client/refreshAllSourceConnections.js +0 -42
  1205. package/serialization/resources/collections/client/requests/CollectionCreate.d.ts +0 -13
  1206. package/serialization/resources/collections/client/requests/CollectionCreate.js +0 -44
  1207. package/serialization/resources/collections/client/requests/index.d.ts +0 -1
  1208. package/serialization/resources/collections/client/requests/index.js +0 -5
  1209. package/serialization/resources/collections/index.d.ts +0 -1
  1210. package/serialization/resources/collections/index.js +0 -17
  1211. package/serialization/resources/index.d.ts +0 -6
  1212. package/serialization/resources/index.js +0 -45
  1213. package/serialization/resources/sourceConnections/client/index.d.ts +0 -3
  1214. package/serialization/resources/sourceConnections/client/index.js +0 -42
  1215. package/serialization/resources/sourceConnections/client/listSourceConnectionJobs.d.ts +0 -11
  1216. package/serialization/resources/sourceConnections/client/listSourceConnectionJobs.js +0 -42
  1217. package/serialization/resources/sourceConnections/client/listSourceConnections.d.ts +0 -11
  1218. package/serialization/resources/sourceConnections/client/listSourceConnections.js +0 -42
  1219. package/serialization/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.d.ts +0 -12
  1220. package/serialization/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.js +0 -43
  1221. package/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.d.ts +0 -20
  1222. package/serialization/resources/sourceConnections/client/requests/SourceConnectionUpdate.js +0 -51
  1223. package/serialization/resources/sourceConnections/client/requests/index.d.ts +0 -2
  1224. package/serialization/resources/sourceConnections/client/requests/index.js +0 -7
  1225. package/serialization/resources/sourceConnections/index.d.ts +0 -2
  1226. package/serialization/resources/sourceConnections/index.js +0 -18
  1227. package/serialization/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.d.ts +0 -11
  1228. package/serialization/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.js +0 -42
  1229. package/serialization/resources/sourceConnections/types/index.d.ts +0 -1
  1230. package/serialization/resources/sourceConnections/types/index.js +0 -17
  1231. package/serialization/resources/sources/client/index.d.ts +0 -1
  1232. package/serialization/resources/sources/client/index.js +0 -37
  1233. package/serialization/resources/sources/client/readSources.d.ts +0 -11
  1234. package/serialization/resources/sources/client/readSources.js +0 -42
  1235. package/serialization/resources/sources/index.d.ts +0 -1
  1236. package/serialization/resources/sources/index.js +0 -17
  1237. package/serialization/types/ApiKey.d.ts +0 -20
  1238. package/serialization/types/ApiKey.js +0 -51
  1239. package/serialization/types/ApiKeyCreate.d.ts +0 -12
  1240. package/serialization/types/ApiKeyCreate.js +0 -43
  1241. package/serialization/types/AuthType.d.ts +0 -10
  1242. package/serialization/types/AuthType.js +0 -50
  1243. package/serialization/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.ts +0 -13
  1244. package/serialization/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js +0 -44
  1245. package/serialization/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.d.ts +0 -15
  1246. package/serialization/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js +0 -46
  1247. package/serialization/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.d.ts +0 -14
  1248. package/serialization/types/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js +0 -45
  1249. package/serialization/types/Chat.d.ts +0 -25
  1250. package/serialization/types/Chat.js +0 -56
  1251. package/serialization/types/ChatCreate.d.ts +0 -17
  1252. package/serialization/types/ChatCreate.js +0 -48
  1253. package/serialization/types/ChatMessage.d.ts +0 -21
  1254. package/serialization/types/ChatMessage.js +0 -52
  1255. package/serialization/types/ChatMessageCreate.d.ts +0 -13
  1256. package/serialization/types/ChatMessageCreate.js +0 -44
  1257. package/serialization/types/ChatUpdate.d.ts +0 -15
  1258. package/serialization/types/ChatUpdate.js +0 -46
  1259. package/serialization/types/Collection.d.ts +0 -21
  1260. package/serialization/types/Collection.js +0 -52
  1261. package/serialization/types/CollectionStatus.d.ts +0 -10
  1262. package/serialization/types/CollectionStatus.js +0 -41
  1263. package/serialization/types/CollectionUpdate.d.ts +0 -12
  1264. package/serialization/types/CollectionUpdate.js +0 -43
  1265. package/serialization/types/ConfigField.d.ts +0 -15
  1266. package/serialization/types/ConfigField.js +0 -46
  1267. package/serialization/types/ConfigValues.d.ts +0 -10
  1268. package/serialization/types/ConfigValues.js +0 -41
  1269. package/serialization/types/Connection.d.ts +0 -22
  1270. package/serialization/types/Connection.js +0 -53
  1271. package/serialization/types/ConnectionStatus.d.ts +0 -10
  1272. package/serialization/types/ConnectionStatus.js +0 -41
  1273. package/serialization/types/DagEdge.d.ts +0 -18
  1274. package/serialization/types/DagEdge.js +0 -49
  1275. package/serialization/types/DagEdgeCreate.d.ts +0 -13
  1276. package/serialization/types/DagEdgeCreate.js +0 -44
  1277. package/serialization/types/DagNode.d.ts +0 -23
  1278. package/serialization/types/DagNode.js +0 -54
  1279. package/serialization/types/DagNodeCreate.d.ts +0 -19
  1280. package/serialization/types/DagNodeCreate.js +0 -50
  1281. package/serialization/types/Destination.d.ts +0 -25
  1282. package/serialization/types/Destination.js +0 -56
  1283. package/serialization/types/DestinationWithAuthenticationFields.d.ts +0 -27
  1284. package/serialization/types/DestinationWithAuthenticationFields.js +0 -58
  1285. package/serialization/types/EmbeddingModel.d.ts +0 -23
  1286. package/serialization/types/EmbeddingModel.js +0 -54
  1287. package/serialization/types/EmbeddingModelWithAuthenticationFields.d.ts +0 -25
  1288. package/serialization/types/EmbeddingModelWithAuthenticationFields.js +0 -56
  1289. package/serialization/types/EntityCount.d.ts +0 -12
  1290. package/serialization/types/EntityCount.js +0 -43
  1291. package/serialization/types/EntityDefinition.d.ts +0 -22
  1292. package/serialization/types/EntityDefinition.js +0 -53
  1293. package/serialization/types/EntityDefinitionCreate.d.ts +0 -20
  1294. package/serialization/types/EntityDefinitionCreate.js +0 -51
  1295. package/serialization/types/EntityDefinitionCreateEntitySchema.d.ts +0 -10
  1296. package/serialization/types/EntityDefinitionCreateEntitySchema.js +0 -44
  1297. package/serialization/types/EntityDefinitionEntitySchema.d.ts +0 -10
  1298. package/serialization/types/EntityDefinitionEntitySchema.js +0 -44
  1299. package/serialization/types/EntityDefinitionUpdate.d.ts +0 -20
  1300. package/serialization/types/EntityDefinitionUpdate.js +0 -51
  1301. package/serialization/types/EntityDefinitionUpdateEntitySchema.d.ts +0 -10
  1302. package/serialization/types/EntityDefinitionUpdateEntitySchema.js +0 -44
  1303. package/serialization/types/EntityRelation.d.ts +0 -19
  1304. package/serialization/types/EntityRelation.js +0 -50
  1305. package/serialization/types/EntityRelationCreate.d.ts +0 -15
  1306. package/serialization/types/EntityRelationCreate.js +0 -46
  1307. package/serialization/types/EntityRelationUpdate.d.ts +0 -15
  1308. package/serialization/types/EntityRelationUpdate.js +0 -46
  1309. package/serialization/types/EntityType.d.ts +0 -10
  1310. package/serialization/types/EntityType.js +0 -41
  1311. package/serialization/types/Fields.d.ts +0 -13
  1312. package/serialization/types/Fields.js +0 -44
  1313. package/serialization/types/HttpValidationError.d.ts +0 -13
  1314. package/serialization/types/HttpValidationError.js +0 -44
  1315. package/serialization/types/IntegrationCredentialInDb.d.ts +0 -22
  1316. package/serialization/types/IntegrationCredentialInDb.js +0 -53
  1317. package/serialization/types/IntegrationCredentialRawCreate.d.ts +0 -20
  1318. package/serialization/types/IntegrationCredentialRawCreate.js +0 -51
  1319. package/serialization/types/IntegrationType.d.ts +0 -10
  1320. package/serialization/types/IntegrationType.js +0 -41
  1321. package/serialization/types/NodeType.d.ts +0 -10
  1322. package/serialization/types/NodeType.js +0 -41
  1323. package/serialization/types/OAuth2AuthUrl.d.ts +0 -12
  1324. package/serialization/types/OAuth2AuthUrl.js +0 -43
  1325. package/serialization/types/Organization.d.ts +0 -16
  1326. package/serialization/types/Organization.js +0 -47
  1327. package/serialization/types/ResponseType.d.ts +0 -10
  1328. package/serialization/types/ResponseType.js +0 -41
  1329. package/serialization/types/SearchResponse.d.ts +0 -17
  1330. package/serialization/types/SearchResponse.js +0 -48
  1331. package/serialization/types/SearchStatus.d.ts +0 -10
  1332. package/serialization/types/SearchStatus.js +0 -41
  1333. package/serialization/types/Source.d.ts +0 -29
  1334. package/serialization/types/Source.js +0 -60
  1335. package/serialization/types/SourceConnection.d.ts +0 -38
  1336. package/serialization/types/SourceConnection.js +0 -69
  1337. package/serialization/types/SourceConnectionAuthFields.d.ts +0 -11
  1338. package/serialization/types/SourceConnectionAuthFields.js +0 -42
  1339. package/serialization/types/SourceConnectionCreate.d.ts +0 -22
  1340. package/serialization/types/SourceConnectionCreate.js +0 -53
  1341. package/serialization/types/SourceConnectionJob.d.ts +0 -30
  1342. package/serialization/types/SourceConnectionJob.js +0 -61
  1343. package/serialization/types/SourceConnectionListItem.d.ts +0 -22
  1344. package/serialization/types/SourceConnectionListItem.js +0 -53
  1345. package/serialization/types/SourceConnectionStatus.d.ts +0 -10
  1346. package/serialization/types/SourceConnectionStatus.js +0 -41
  1347. package/serialization/types/Sync.d.ts +0 -27
  1348. package/serialization/types/Sync.js +0 -58
  1349. package/serialization/types/SyncCreate.d.ts +0 -22
  1350. package/serialization/types/SyncCreate.js +0 -53
  1351. package/serialization/types/SyncDag.d.ts +0 -22
  1352. package/serialization/types/SyncDag.js +0 -53
  1353. package/serialization/types/SyncDagCreate.d.ts +0 -18
  1354. package/serialization/types/SyncDagCreate.js +0 -49
  1355. package/serialization/types/SyncDagUpdate.d.ts +0 -18
  1356. package/serialization/types/SyncDagUpdate.js +0 -49
  1357. package/serialization/types/SyncJob.d.ts +0 -32
  1358. package/serialization/types/SyncJob.js +0 -63
  1359. package/serialization/types/SyncJobStatus.d.ts +0 -10
  1360. package/serialization/types/SyncJobStatus.js +0 -41
  1361. package/serialization/types/SyncStatus.d.ts +0 -10
  1362. package/serialization/types/SyncStatus.js +0 -41
  1363. package/serialization/types/SyncUpdate.d.ts +0 -17
  1364. package/serialization/types/SyncUpdate.js +0 -48
  1365. package/serialization/types/SyncWithSourceConnection.d.ts +0 -29
  1366. package/serialization/types/SyncWithSourceConnection.js +0 -60
  1367. package/serialization/types/Transformer.d.ts +0 -22
  1368. package/serialization/types/Transformer.js +0 -53
  1369. package/serialization/types/TransformerCreate.d.ts +0 -18
  1370. package/serialization/types/TransformerCreate.js +0 -49
  1371. package/serialization/types/TransformerUpdate.d.ts +0 -18
  1372. package/serialization/types/TransformerUpdate.js +0 -49
  1373. package/serialization/types/User.d.ts +0 -16
  1374. package/serialization/types/User.js +0 -47
  1375. package/serialization/types/UserCreate.d.ts +0 -14
  1376. package/serialization/types/UserCreate.js +0 -45
  1377. package/serialization/types/ValidationError.d.ts +0 -15
  1378. package/serialization/types/ValidationError.js +0 -46
  1379. package/serialization/types/ValidationErrorLocItem.d.ts +0 -10
  1380. package/serialization/types/ValidationErrorLocItem.js +0 -41
  1381. package/serialization/types/WhiteLabel.d.ts +0 -23
  1382. package/serialization/types/WhiteLabel.js +0 -54
  1383. package/serialization/types/WhiteLabelCreate.d.ts +0 -17
  1384. package/serialization/types/WhiteLabelCreate.js +0 -48
  1385. package/serialization/types/WhiteLabelUpdate.d.ts +0 -16
  1386. package/serialization/types/WhiteLabelUpdate.js +0 -47
  1387. package/serialization/types/index.d.ts +0 -75
  1388. package/serialization/types/index.js +0 -91
  1389. package/version.d.ts +0 -1
  1390. package/version.js +0 -4
  1391. /package/{api → dist/cjs/api}/resources/collections/client/requests/CollectionCreate.js +0 -0
  1392. /package/{api/types → dist/cjs/api/resources/collections/client/requests}/CollectionUpdate.js +0 -0
  1393. /package/{api → dist/cjs/api}/resources/collections/client/requests/DeleteCollectionCollectionsReadableIdDeleteRequest.js +0 -0
  1394. /package/{api → dist/cjs/api}/resources/collections/client/requests/ListCollectionsCollectionsGetRequest.js +0 -0
  1395. /package/{api → dist/cjs/api}/resources/collections/client/requests/SearchCollectionCollectionsReadableIdSearchGetRequest.js +0 -0
  1396. /package/{api → dist/cjs/api}/resources/collections/client/requests/index.js +0 -0
  1397. /package/{api → dist/cjs/api}/resources/sourceConnections/client/requests/BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost.js +0 -0
  1398. /package/{api → dist/cjs/api}/resources/sourceConnections/client/requests/DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest.js +0 -0
  1399. /package/{api → dist/cjs/api}/resources/sourceConnections/client/requests/GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest.js +0 -0
  1400. /package/{api → dist/cjs/api}/resources/sourceConnections/client/requests/ListSourceConnectionsSourceConnectionsGetRequest.js +0 -0
  1401. /package/{api/types → dist/cjs/api/resources/sourceConnections/client/requests}/SourceConnectionCreate.js +0 -0
  1402. /package/{api → dist/cjs/api}/resources/sourceConnections/client/requests/SourceConnectionUpdate.js +0 -0
  1403. /package/{api → dist/cjs/api}/resources/sourceConnections/client/requests/index.js +0 -0
  1404. /package/{api → dist/cjs/api}/resources/sources/client/index.d.ts +0 -0
  1405. /package/{api → dist/cjs/api}/resources/sources/client/index.js +0 -0
  1406. /package/{api/types → dist/cjs/api/resources/whiteLabels/client/requests}/BodyExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodeOptions.js +0 -0
  1407. /package/{api/types → dist/cjs/api/resources/whiteLabels/client/requests}/WhiteLabelCreate.js +0 -0
  1408. /package/{api/types → dist/cjs/api/resources/whiteLabels/client/requests}/WhiteLabelUpdate.js +0 -0
  1409. /package/dist/{api/resources/collections → cjs/api/resources/whiteLabels}/client/requests/index.js +0 -0
  1410. /package/{api → dist/cjs/api}/types/ApiKey.js +0 -0
  1411. /package/{api → dist/cjs/api}/types/ApiKeyCreate.js +0 -0
  1412. /package/{api → dist/cjs/api}/types/AuthType.d.ts +0 -0
  1413. /package/{api → dist/cjs/api}/types/AuthType.js +0 -0
  1414. /package/{api → dist/cjs/api}/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.ts +0 -0
  1415. /package/{api → dist/cjs/api}/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.js +0 -0
  1416. /package/{api → dist/cjs/api}/types/BodyCreateCredentialsFromAuthorizationCodeSourceConnectionsSourceShortNameCodeToTokenCredentialsPost.js +0 -0
  1417. /package/{api → dist/cjs/api}/types/Collection.js +0 -0
  1418. /package/{api → dist/cjs/api}/types/CollectionStatus.d.ts +0 -0
  1419. /package/{api → dist/cjs/api}/types/CollectionStatus.js +0 -0
  1420. /package/{api → dist/cjs/api}/types/ConfigField.d.ts +0 -0
  1421. /package/{api → dist/cjs/api}/types/ConfigField.js +0 -0
  1422. /package/{api → dist/cjs/api}/types/ConfigValues.d.ts +0 -0
  1423. /package/{api → dist/cjs/api}/types/ConfigValues.js +0 -0
  1424. /package/{api → dist/cjs/api}/types/Connection.js +0 -0
  1425. /package/{api → dist/cjs/api}/types/ConnectionStatus.d.ts +0 -0
  1426. /package/{api → dist/cjs/api}/types/ConnectionStatus.js +0 -0
  1427. /package/{api → dist/cjs/api}/types/DagEdge.js +0 -0
  1428. /package/{api → dist/cjs/api}/types/DagEdgeCreate.js +0 -0
  1429. /package/{api → dist/cjs/api}/types/DagNode.js +0 -0
  1430. /package/{api → dist/cjs/api}/types/DagNodeCreate.js +0 -0
  1431. /package/{api → dist/cjs/api}/types/Destination.js +0 -0
  1432. /package/{api → dist/cjs/api}/types/DestinationWithAuthenticationFields.js +0 -0
  1433. /package/{api → dist/cjs/api}/types/EmbeddingModel.js +0 -0
  1434. /package/{api → dist/cjs/api}/types/EmbeddingModelWithAuthenticationFields.js +0 -0
  1435. /package/{api → dist/cjs/api}/types/EntityCount.d.ts +0 -0
  1436. /package/{api → dist/cjs/api}/types/EntityCount.js +0 -0
  1437. /package/{api → dist/cjs/api}/types/EntityDefinition.js +0 -0
  1438. /package/{api → dist/cjs/api}/types/EntityDefinitionCreate.js +0 -0
  1439. /package/{api → dist/cjs/api}/types/EntityDefinitionUpdate.js +0 -0
  1440. /package/{api → dist/cjs/api}/types/EntityType.d.ts +0 -0
  1441. /package/{api → dist/cjs/api}/types/EntityType.js +0 -0
  1442. /package/{api → dist/cjs/api}/types/Fields.js +0 -0
  1443. /package/{api → dist/cjs/api}/types/HttpValidationError.js +0 -0
  1444. /package/{api → dist/cjs/api}/types/IntegrationCredentialInDb.js +0 -0
  1445. /package/{api → dist/cjs/api}/types/IntegrationCredentialRawCreate.js +0 -0
  1446. /package/{api → dist/cjs/api}/types/IntegrationType.d.ts +0 -0
  1447. /package/{api → dist/cjs/api}/types/IntegrationType.js +0 -0
  1448. /package/{api/resources/sourceConnections/types/SourceConnectionUpdateAuthFields.js → dist/cjs/api/types/InvitationCreate.js} +0 -0
  1449. /package/{api/types/Chat.js → dist/cjs/api/types/InvitationResponse.js} +0 -0
  1450. /package/{api/types/ChatCreate.js → dist/cjs/api/types/MemberResponse.js} +0 -0
  1451. /package/{api → dist/cjs/api}/types/NodeType.d.ts +0 -0
  1452. /package/{api → dist/cjs/api}/types/NodeType.js +0 -0
  1453. /package/{api → dist/cjs/api}/types/OAuth2AuthUrl.d.ts +0 -0
  1454. /package/{api → dist/cjs/api}/types/OAuth2AuthUrl.js +0 -0
  1455. /package/{api → dist/cjs/api}/types/Organization.js +0 -0
  1456. /package/{api/types/ChatMessage.js → dist/cjs/api/types/OrganizationCreate.js} +0 -0
  1457. /package/{api/types/ChatMessageCreate.js → dist/cjs/api/types/OrganizationWithRole.js} +0 -0
  1458. /package/{api → dist/cjs/api}/types/ResponseType.js +0 -0
  1459. /package/{api → dist/cjs/api}/types/SearchResponse.js +0 -0
  1460. /package/{api → dist/cjs/api}/types/SearchStatus.js +0 -0
  1461. /package/{api → dist/cjs/api}/types/Source.js +0 -0
  1462. /package/{api → dist/cjs/api}/types/SourceConnection.js +0 -0
  1463. /package/{api/types/ChatUpdate.js → dist/cjs/api/types/SourceConnectionCreateWithCredential.js} +0 -0
  1464. /package/{api/types/EntityDefinitionCreateEntitySchema.js → dist/cjs/api/types/SourceConnectionCreateWithWhiteLabel.js} +0 -0
  1465. /package/{api → dist/cjs/api}/types/SourceConnectionJob.js +0 -0
  1466. /package/{api → dist/cjs/api}/types/SourceConnectionListItem.js +0 -0
  1467. /package/{api → dist/cjs/api}/types/SourceConnectionStatus.d.ts +0 -0
  1468. /package/{api → dist/cjs/api}/types/SourceConnectionStatus.js +0 -0
  1469. /package/{api → dist/cjs/api}/types/Sync.js +0 -0
  1470. /package/{api → dist/cjs/api}/types/SyncCreate.js +0 -0
  1471. /package/{api → dist/cjs/api}/types/SyncDag.js +0 -0
  1472. /package/{api → dist/cjs/api}/types/SyncDagCreate.js +0 -0
  1473. /package/{api → dist/cjs/api}/types/SyncDagUpdate.js +0 -0
  1474. /package/{api → dist/cjs/api}/types/SyncJob.js +0 -0
  1475. /package/{api → dist/cjs/api}/types/SyncStatus.d.ts +0 -0
  1476. /package/{api → dist/cjs/api}/types/SyncStatus.js +0 -0
  1477. /package/{api → dist/cjs/api}/types/SyncUpdate.js +0 -0
  1478. /package/{api → dist/cjs/api}/types/SyncWithSourceConnection.js +0 -0
  1479. /package/{api → dist/cjs/api}/types/Transformer.js +0 -0
  1480. /package/{api → dist/cjs/api}/types/TransformerCreate.js +0 -0
  1481. /package/{api → dist/cjs/api}/types/TransformerUpdate.js +0 -0
  1482. /package/{api → dist/cjs/api}/types/User.js +0 -0
  1483. /package/{api → dist/cjs/api}/types/UserCreate.js +0 -0
  1484. /package/{api/types/EntityDefinitionEntitySchema.js → dist/cjs/api/types/UserOrganization.js} +0 -0
  1485. /package/{api → dist/cjs/api}/types/ValidationError.js +0 -0
  1486. /package/{api → dist/cjs/api}/types/WhiteLabel.js +0 -0
  1487. /package/{core → dist/cjs/core}/fetcher/APIResponse.js +0 -0
  1488. /package/{core → dist/cjs/core}/fetcher/Supplier.d.ts +0 -0
  1489. /package/{core → dist/cjs/core}/fetcher/Supplier.js +0 -0
  1490. /package/{core → dist/cjs/core}/fetcher/getFetchFn.d.ts +0 -0
  1491. /package/{core → dist/cjs/core}/fetcher/getHeader.d.ts +0 -0
  1492. /package/{core → dist/cjs/core}/fetcher/getHeader.js +0 -0
  1493. /package/{core → dist/cjs/core}/fetcher/getRequestBody.d.ts +0 -0
  1494. /package/{core → dist/cjs/core}/fetcher/getResponseBody.d.ts +0 -0
  1495. /package/{core → dist/cjs/core}/fetcher/makeRequest.d.ts +0 -0
  1496. /package/{core → dist/cjs/core}/fetcher/requestWithRetries.d.ts +0 -0
  1497. /package/{core → dist/cjs/core}/fetcher/signals.d.ts +0 -0
  1498. /package/{core → dist/cjs/core}/fetcher/signals.js +0 -0
  1499. /package/{core → dist/cjs/core}/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -0
  1500. /package/{core → dist/cjs/core}/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -0
  1501. /package/{core → dist/cjs/core}/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -0
  1502. /package/{core → dist/cjs/core}/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -0
  1503. /package/dist/{environments.d.ts → cjs/environments.d.ts} +0 -0
  1504. /package/dist/{environments.js → cjs/environments.js} +0 -0
  1505. /package/dist/{errors → cjs/errors}/AirweaveSDKTimeoutError.d.ts +0 -0
  1506. /package/dist/{errors → cjs/errors}/AirweaveSDKTimeoutError.js +0 -0
  1507. /package/dist/{api/resources/sources/client/index.d.ts → esm/api/resources/collections/client/requests/index.mjs} +0 -0
  1508. /package/dist/{api/types/AuthType.d.ts → esm/api/types/AuthType.d.mts} +0 -0
  1509. /package/dist/{api/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.ts → esm/api/types/BodyConnectSlackWithTokenConnectionsDirectTokenSlackPost.d.mts} +0 -0
  1510. /package/dist/{api/types/CollectionStatus.d.ts → esm/api/types/CollectionStatus.d.mts} +0 -0
  1511. /package/dist/{api/types/ConfigField.d.ts → esm/api/types/ConfigField.d.mts} +0 -0
  1512. /package/dist/{api/types/ConfigValues.d.ts → esm/api/types/ConfigValues.d.mts} +0 -0
  1513. /package/dist/{api/types/ConnectionStatus.d.ts → esm/api/types/ConnectionStatus.d.mts} +0 -0
  1514. /package/dist/{api/types/EntityCount.d.ts → esm/api/types/EntityCount.d.mts} +0 -0
  1515. /package/dist/{api/types/EntityType.d.ts → esm/api/types/EntityType.d.mts} +0 -0
  1516. /package/dist/{api/types/IntegrationType.d.ts → esm/api/types/IntegrationType.d.mts} +0 -0
  1517. /package/dist/{api/types/NodeType.d.ts → esm/api/types/NodeType.d.mts} +0 -0
  1518. /package/dist/{api/types/OAuth2AuthUrl.d.ts → esm/api/types/OAuth2AuthUrl.d.mts} +0 -0
  1519. /package/dist/{api/types/SourceConnectionStatus.d.ts → esm/api/types/SourceConnectionStatus.d.mts} +0 -0
  1520. /package/dist/{api/types/SyncStatus.d.ts → esm/api/types/SyncStatus.d.mts} +0 -0
  1521. /package/dist/{core/fetcher/Supplier.d.ts → esm/core/fetcher/Supplier.d.mts} +0 -0
  1522. /package/dist/{core/fetcher/getFetchFn.d.ts → esm/core/fetcher/getFetchFn.d.mts} +0 -0
  1523. /package/dist/{core/fetcher/getHeader.d.ts → esm/core/fetcher/getHeader.d.mts} +0 -0
  1524. /package/dist/{core/fetcher/getRequestBody.d.ts → esm/core/fetcher/getRequestBody.d.mts} +0 -0
  1525. /package/dist/{core/fetcher/getResponseBody.d.ts → esm/core/fetcher/getResponseBody.d.mts} +0 -0
  1526. /package/dist/{core/fetcher/makeRequest.d.ts → esm/core/fetcher/makeRequest.d.mts} +0 -0
  1527. /package/dist/{core/fetcher/requestWithRetries.d.ts → esm/core/fetcher/requestWithRetries.d.mts} +0 -0
  1528. /package/dist/{core/fetcher/signals.d.ts → esm/core/fetcher/signals.d.mts} +0 -0
  1529. /package/dist/{core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts → esm/core/fetcher/stream-wrappers/chooseStreamWrapper.d.mts} +0 -0
  1530. /package/{environments.d.ts → dist/esm/environments.d.mts} +0 -0
  1531. /package/{errors/AirweaveSDKTimeoutError.d.ts → dist/esm/errors/AirweaveSDKTimeoutError.d.mts} +0 -0
@@ -0,0 +1,652 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
+ return new (P || (P = Promise))(function (resolve, reject) {
7
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
11
+ });
12
+ };
13
+ import * as environments from "../../../../environments.mjs";
14
+ import * as core from "../../../../core/index.mjs";
15
+ import * as AirweaveSDK from "../../../index.mjs";
16
+ import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
17
+ import * as errors from "../../../../errors/index.mjs";
18
+ export class SourceConnections {
19
+ constructor(_options = {}) {
20
+ this._options = _options;
21
+ }
22
+ /**
23
+ * List source connections across your organization.
24
+ *
25
+ * <br/><br/>
26
+ * By default, returns ALL source connections from every collection in your
27
+ * organization. Use the 'collection' parameter to filter results to a specific
28
+ * collection. This is useful for getting an overview of all your data sources
29
+ * or managing connections within a particular collection.
30
+ *
31
+ * @param {AirweaveSDK.ListSourceConnectionsSourceConnectionsGetRequest} request
32
+ * @param {SourceConnections.RequestOptions} requestOptions - Request-specific configuration.
33
+ *
34
+ * @throws {@link AirweaveSDK.UnprocessableEntityError}
35
+ *
36
+ * @example
37
+ * await client.sourceConnections.listSourceConnections()
38
+ */
39
+ listSourceConnections(request = {}, requestOptions) {
40
+ return core.HttpResponsePromise.fromPromise(this.__listSourceConnections(request, requestOptions));
41
+ }
42
+ __listSourceConnections() {
43
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
44
+ var _a, _b, _c;
45
+ const { collection, skip, limit } = request;
46
+ const _queryParams = {};
47
+ if (collection != null) {
48
+ _queryParams["collection"] = collection;
49
+ }
50
+ if (skip != null) {
51
+ _queryParams["skip"] = skip.toString();
52
+ }
53
+ if (limit != null) {
54
+ _queryParams["limit"] = limit.toString();
55
+ }
56
+ const _response = yield core.fetcher({
57
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirweaveSDKEnvironment.Production, "source-connections"),
58
+ method: "GET",
59
+ headers: mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({
60
+ "X-API-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey,
61
+ "X-Organization-ID": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
62
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
63
+ queryParameters: _queryParams,
64
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
65
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
66
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
67
+ });
68
+ if (_response.ok) {
69
+ return {
70
+ data: _response.body,
71
+ rawResponse: _response.rawResponse,
72
+ };
73
+ }
74
+ if (_response.error.reason === "status-code") {
75
+ switch (_response.error.statusCode) {
76
+ case 422:
77
+ throw new AirweaveSDK.UnprocessableEntityError(_response.error.body, _response.rawResponse);
78
+ default:
79
+ throw new errors.AirweaveSDKError({
80
+ statusCode: _response.error.statusCode,
81
+ body: _response.error.body,
82
+ rawResponse: _response.rawResponse,
83
+ });
84
+ }
85
+ }
86
+ switch (_response.error.reason) {
87
+ case "non-json":
88
+ throw new errors.AirweaveSDKError({
89
+ statusCode: _response.error.statusCode,
90
+ body: _response.error.rawBody,
91
+ rawResponse: _response.rawResponse,
92
+ });
93
+ case "timeout":
94
+ throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /source-connections.");
95
+ case "unknown":
96
+ throw new errors.AirweaveSDKError({
97
+ message: _response.error.errorMessage,
98
+ rawResponse: _response.rawResponse,
99
+ });
100
+ }
101
+ });
102
+ }
103
+ /**
104
+ * Create a new source connection to sync data into your collection.
105
+ *
106
+ * <br/><br/>
107
+ *
108
+ * **This endpoint only works for sources that do not use OAuth2.0.**
109
+ * Sources that do use OAuth2.0 like Google Drive, Slack, or HubSpot must be
110
+ * connected through the UI where you can complete the OAuth consent flow.<br/><br/>
111
+ *
112
+ * Credentials for a source have to be provided using the `auth_fields` field.
113
+ * Currently, it is not automatically checked if the provided credentials are valid.
114
+ * If they are not valid, the data synchronization will fail.<br/><br/>
115
+ *
116
+ * Check the documentation of a specific source (for example
117
+ * [Github](https://docs.airweave.ai/docs/connectors/github)) to see what kind
118
+ * of authentication is used.
119
+ *
120
+ * @param {AirweaveSDK.SourceConnectionCreate} request
121
+ * @param {SourceConnections.RequestOptions} requestOptions - Request-specific configuration.
122
+ *
123
+ * @throws {@link AirweaveSDK.UnprocessableEntityError}
124
+ *
125
+ * @example
126
+ * await client.sourceConnections.createSourceConnection({
127
+ * name: "Production Stripe Account",
128
+ * short_name: "stripe"
129
+ * })
130
+ */
131
+ createSourceConnection(request, requestOptions) {
132
+ return core.HttpResponsePromise.fromPromise(this.__createSourceConnection(request, requestOptions));
133
+ }
134
+ __createSourceConnection(request, requestOptions) {
135
+ return __awaiter(this, void 0, void 0, function* () {
136
+ var _a, _b, _c;
137
+ const _response = yield core.fetcher({
138
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirweaveSDKEnvironment.Production, "source-connections"),
139
+ method: "POST",
140
+ headers: mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({
141
+ "X-API-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey,
142
+ "X-Organization-ID": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
143
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
144
+ contentType: "application/json",
145
+ requestType: "json",
146
+ body: request,
147
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
148
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
149
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
150
+ });
151
+ if (_response.ok) {
152
+ return { data: _response.body, rawResponse: _response.rawResponse };
153
+ }
154
+ if (_response.error.reason === "status-code") {
155
+ switch (_response.error.statusCode) {
156
+ case 422:
157
+ throw new AirweaveSDK.UnprocessableEntityError(_response.error.body, _response.rawResponse);
158
+ default:
159
+ throw new errors.AirweaveSDKError({
160
+ statusCode: _response.error.statusCode,
161
+ body: _response.error.body,
162
+ rawResponse: _response.rawResponse,
163
+ });
164
+ }
165
+ }
166
+ switch (_response.error.reason) {
167
+ case "non-json":
168
+ throw new errors.AirweaveSDKError({
169
+ statusCode: _response.error.statusCode,
170
+ body: _response.error.rawBody,
171
+ rawResponse: _response.rawResponse,
172
+ });
173
+ case "timeout":
174
+ throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling POST /source-connections.");
175
+ case "unknown":
176
+ throw new errors.AirweaveSDKError({
177
+ message: _response.error.errorMessage,
178
+ rawResponse: _response.rawResponse,
179
+ });
180
+ }
181
+ });
182
+ }
183
+ /**
184
+ * Retrieve a specific source connection by its ID.
185
+ *
186
+ * @param {string} sourceConnectionId - The unique identifier of the source connection
187
+ * @param {AirweaveSDK.GetSourceConnectionSourceConnectionsSourceConnectionIdGetRequest} request
188
+ * @param {SourceConnections.RequestOptions} requestOptions - Request-specific configuration.
189
+ *
190
+ * @throws {@link AirweaveSDK.UnprocessableEntityError}
191
+ *
192
+ * @example
193
+ * await client.sourceConnections.getSourceConnection("source_connection_id")
194
+ */
195
+ getSourceConnection(sourceConnectionId, request = {}, requestOptions) {
196
+ return core.HttpResponsePromise.fromPromise(this.__getSourceConnection(sourceConnectionId, request, requestOptions));
197
+ }
198
+ __getSourceConnection(sourceConnectionId_1) {
199
+ return __awaiter(this, arguments, void 0, function* (sourceConnectionId, request = {}, requestOptions) {
200
+ var _a, _b, _c;
201
+ const { show_auth_fields: showAuthFields } = request;
202
+ const _queryParams = {};
203
+ if (showAuthFields != null) {
204
+ _queryParams["show_auth_fields"] = showAuthFields.toString();
205
+ }
206
+ const _response = yield core.fetcher({
207
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirweaveSDKEnvironment.Production, `source-connections/${encodeURIComponent(sourceConnectionId)}`),
208
+ method: "GET",
209
+ headers: mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({
210
+ "X-API-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey,
211
+ "X-Organization-ID": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
212
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
+ queryParameters: _queryParams,
214
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
215
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
216
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
217
+ });
218
+ if (_response.ok) {
219
+ return { data: _response.body, rawResponse: _response.rawResponse };
220
+ }
221
+ if (_response.error.reason === "status-code") {
222
+ switch (_response.error.statusCode) {
223
+ case 422:
224
+ throw new AirweaveSDK.UnprocessableEntityError(_response.error.body, _response.rawResponse);
225
+ default:
226
+ throw new errors.AirweaveSDKError({
227
+ statusCode: _response.error.statusCode,
228
+ body: _response.error.body,
229
+ rawResponse: _response.rawResponse,
230
+ });
231
+ }
232
+ }
233
+ switch (_response.error.reason) {
234
+ case "non-json":
235
+ throw new errors.AirweaveSDKError({
236
+ statusCode: _response.error.statusCode,
237
+ body: _response.error.rawBody,
238
+ rawResponse: _response.rawResponse,
239
+ });
240
+ case "timeout":
241
+ throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /source-connections/{source_connection_id}.");
242
+ case "unknown":
243
+ throw new errors.AirweaveSDKError({
244
+ message: _response.error.errorMessage,
245
+ rawResponse: _response.rawResponse,
246
+ });
247
+ }
248
+ });
249
+ }
250
+ /**
251
+ * Update a source connection's properties.
252
+ *
253
+ * <br/><br/>
254
+ *
255
+ * Modify the configuration of an existing source connection including its name,
256
+ * authentication credentials, configuration fields, sync schedule, or source-specific settings.
257
+ *
258
+ * @param {string} sourceConnectionId - The unique identifier of the source connection to update
259
+ * @param {AirweaveSDK.SourceConnectionUpdate} request
260
+ * @param {SourceConnections.RequestOptions} requestOptions - Request-specific configuration.
261
+ *
262
+ * @throws {@link AirweaveSDK.UnprocessableEntityError}
263
+ *
264
+ * @example
265
+ * await client.sourceConnections.updateSourceConnection("source_connection_id")
266
+ */
267
+ updateSourceConnection(sourceConnectionId, request = {}, requestOptions) {
268
+ return core.HttpResponsePromise.fromPromise(this.__updateSourceConnection(sourceConnectionId, request, requestOptions));
269
+ }
270
+ __updateSourceConnection(sourceConnectionId_1) {
271
+ return __awaiter(this, arguments, void 0, function* (sourceConnectionId, request = {}, requestOptions) {
272
+ var _a, _b, _c;
273
+ const _response = yield core.fetcher({
274
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirweaveSDKEnvironment.Production, `source-connections/${encodeURIComponent(sourceConnectionId)}`),
275
+ method: "PUT",
276
+ headers: mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({
277
+ "X-API-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey,
278
+ "X-Organization-ID": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
279
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
280
+ contentType: "application/json",
281
+ requestType: "json",
282
+ body: request,
283
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
284
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
285
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
286
+ });
287
+ if (_response.ok) {
288
+ return { data: _response.body, rawResponse: _response.rawResponse };
289
+ }
290
+ if (_response.error.reason === "status-code") {
291
+ switch (_response.error.statusCode) {
292
+ case 422:
293
+ throw new AirweaveSDK.UnprocessableEntityError(_response.error.body, _response.rawResponse);
294
+ default:
295
+ throw new errors.AirweaveSDKError({
296
+ statusCode: _response.error.statusCode,
297
+ body: _response.error.body,
298
+ rawResponse: _response.rawResponse,
299
+ });
300
+ }
301
+ }
302
+ switch (_response.error.reason) {
303
+ case "non-json":
304
+ throw new errors.AirweaveSDKError({
305
+ statusCode: _response.error.statusCode,
306
+ body: _response.error.rawBody,
307
+ rawResponse: _response.rawResponse,
308
+ });
309
+ case "timeout":
310
+ throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling PUT /source-connections/{source_connection_id}.");
311
+ case "unknown":
312
+ throw new errors.AirweaveSDKError({
313
+ message: _response.error.errorMessage,
314
+ rawResponse: _response.rawResponse,
315
+ });
316
+ }
317
+ });
318
+ }
319
+ /**
320
+ * Delete a source connection.
321
+ *
322
+ * <br/><br/>
323
+ *
324
+ * Permanently removes the source connection configuration and credentials.
325
+ * By default, previously synced data remains in your destination systems for continuity.
326
+ * Use delete_data=true to also remove all associated data from destination systems.
327
+ *
328
+ * @param {string} sourceConnectionId - The unique identifier of the source connection to delete
329
+ * @param {AirweaveSDK.DeleteSourceConnectionSourceConnectionsSourceConnectionIdDeleteRequest} request
330
+ * @param {SourceConnections.RequestOptions} requestOptions - Request-specific configuration.
331
+ *
332
+ * @throws {@link AirweaveSDK.UnprocessableEntityError}
333
+ *
334
+ * @example
335
+ * await client.sourceConnections.deleteSourceConnection("source_connection_id")
336
+ */
337
+ deleteSourceConnection(sourceConnectionId, request = {}, requestOptions) {
338
+ return core.HttpResponsePromise.fromPromise(this.__deleteSourceConnection(sourceConnectionId, request, requestOptions));
339
+ }
340
+ __deleteSourceConnection(sourceConnectionId_1) {
341
+ return __awaiter(this, arguments, void 0, function* (sourceConnectionId, request = {}, requestOptions) {
342
+ var _a, _b, _c;
343
+ const { delete_data: deleteData } = request;
344
+ const _queryParams = {};
345
+ if (deleteData != null) {
346
+ _queryParams["delete_data"] = deleteData.toString();
347
+ }
348
+ const _response = yield core.fetcher({
349
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirweaveSDKEnvironment.Production, `source-connections/${encodeURIComponent(sourceConnectionId)}`),
350
+ method: "DELETE",
351
+ headers: mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({
352
+ "X-API-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey,
353
+ "X-Organization-ID": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
354
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
355
+ queryParameters: _queryParams,
356
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
357
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
358
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
359
+ });
360
+ if (_response.ok) {
361
+ return { data: _response.body, rawResponse: _response.rawResponse };
362
+ }
363
+ if (_response.error.reason === "status-code") {
364
+ switch (_response.error.statusCode) {
365
+ case 422:
366
+ throw new AirweaveSDK.UnprocessableEntityError(_response.error.body, _response.rawResponse);
367
+ default:
368
+ throw new errors.AirweaveSDKError({
369
+ statusCode: _response.error.statusCode,
370
+ body: _response.error.body,
371
+ rawResponse: _response.rawResponse,
372
+ });
373
+ }
374
+ }
375
+ switch (_response.error.reason) {
376
+ case "non-json":
377
+ throw new errors.AirweaveSDKError({
378
+ statusCode: _response.error.statusCode,
379
+ body: _response.error.rawBody,
380
+ rawResponse: _response.rawResponse,
381
+ });
382
+ case "timeout":
383
+ throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling DELETE /source-connections/{source_connection_id}.");
384
+ case "unknown":
385
+ throw new errors.AirweaveSDKError({
386
+ message: _response.error.errorMessage,
387
+ rawResponse: _response.rawResponse,
388
+ });
389
+ }
390
+ });
391
+ }
392
+ /**
393
+ * Manually trigger a data sync for this source connection.
394
+ *
395
+ * <br/><br/>
396
+ * Starts an immediate synchronization job that extracts fresh data from your source,
397
+ * transforms it according to your configuration, and updates the destination systems.
398
+ * The job runs asynchronously and endpoint returns immediately with tracking information.
399
+ *
400
+ * @param {string} sourceConnectionId - The unique identifier of the source connection to sync
401
+ * @param {AirweaveSDK.BodyRunSourceConnectionSourceConnectionsSourceConnectionIdRunPost} request
402
+ * @param {SourceConnections.RequestOptions} requestOptions - Request-specific configuration.
403
+ *
404
+ * @throws {@link AirweaveSDK.UnprocessableEntityError}
405
+ *
406
+ * @example
407
+ * await client.sourceConnections.runSourceConnection("source_connection_id")
408
+ */
409
+ runSourceConnection(sourceConnectionId, request = {}, requestOptions) {
410
+ return core.HttpResponsePromise.fromPromise(this.__runSourceConnection(sourceConnectionId, request, requestOptions));
411
+ }
412
+ __runSourceConnection(sourceConnectionId_1) {
413
+ return __awaiter(this, arguments, void 0, function* (sourceConnectionId, request = {}, requestOptions) {
414
+ var _a, _b, _c;
415
+ const _response = yield core.fetcher({
416
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirweaveSDKEnvironment.Production, `source-connections/${encodeURIComponent(sourceConnectionId)}/run`),
417
+ method: "POST",
418
+ headers: mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({
419
+ "X-API-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey,
420
+ "X-Organization-ID": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
421
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
422
+ contentType: "application/json",
423
+ requestType: "json",
424
+ body: request,
425
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
426
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
427
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
428
+ });
429
+ if (_response.ok) {
430
+ return { data: _response.body, rawResponse: _response.rawResponse };
431
+ }
432
+ if (_response.error.reason === "status-code") {
433
+ switch (_response.error.statusCode) {
434
+ case 422:
435
+ throw new AirweaveSDK.UnprocessableEntityError(_response.error.body, _response.rawResponse);
436
+ default:
437
+ throw new errors.AirweaveSDKError({
438
+ statusCode: _response.error.statusCode,
439
+ body: _response.error.body,
440
+ rawResponse: _response.rawResponse,
441
+ });
442
+ }
443
+ }
444
+ switch (_response.error.reason) {
445
+ case "non-json":
446
+ throw new errors.AirweaveSDKError({
447
+ statusCode: _response.error.statusCode,
448
+ body: _response.error.rawBody,
449
+ rawResponse: _response.rawResponse,
450
+ });
451
+ case "timeout":
452
+ throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling POST /source-connections/{source_connection_id}/run.");
453
+ case "unknown":
454
+ throw new errors.AirweaveSDKError({
455
+ message: _response.error.errorMessage,
456
+ rawResponse: _response.rawResponse,
457
+ });
458
+ }
459
+ });
460
+ }
461
+ /**
462
+ * List all sync jobs for a source connection.
463
+ *
464
+ * <br/><br/>
465
+ * Returns the complete history of data synchronization jobs including successful syncs,
466
+ * failed attempts, and currently running operations.
467
+ *
468
+ * @param {string} sourceConnectionId - The unique identifier of the source connection
469
+ * @param {SourceConnections.RequestOptions} requestOptions - Request-specific configuration.
470
+ *
471
+ * @throws {@link AirweaveSDK.UnprocessableEntityError}
472
+ *
473
+ * @example
474
+ * await client.sourceConnections.listSourceConnectionJobs("source_connection_id")
475
+ */
476
+ listSourceConnectionJobs(sourceConnectionId, requestOptions) {
477
+ return core.HttpResponsePromise.fromPromise(this.__listSourceConnectionJobs(sourceConnectionId, requestOptions));
478
+ }
479
+ __listSourceConnectionJobs(sourceConnectionId, requestOptions) {
480
+ return __awaiter(this, void 0, void 0, function* () {
481
+ var _a, _b, _c;
482
+ const _response = yield core.fetcher({
483
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirweaveSDKEnvironment.Production, `source-connections/${encodeURIComponent(sourceConnectionId)}/jobs`),
484
+ method: "GET",
485
+ headers: mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({
486
+ "X-API-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey,
487
+ "X-Organization-ID": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
488
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
489
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
490
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
491
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
492
+ });
493
+ if (_response.ok) {
494
+ return { data: _response.body, rawResponse: _response.rawResponse };
495
+ }
496
+ if (_response.error.reason === "status-code") {
497
+ switch (_response.error.statusCode) {
498
+ case 422:
499
+ throw new AirweaveSDK.UnprocessableEntityError(_response.error.body, _response.rawResponse);
500
+ default:
501
+ throw new errors.AirweaveSDKError({
502
+ statusCode: _response.error.statusCode,
503
+ body: _response.error.body,
504
+ rawResponse: _response.rawResponse,
505
+ });
506
+ }
507
+ }
508
+ switch (_response.error.reason) {
509
+ case "non-json":
510
+ throw new errors.AirweaveSDKError({
511
+ statusCode: _response.error.statusCode,
512
+ body: _response.error.rawBody,
513
+ rawResponse: _response.rawResponse,
514
+ });
515
+ case "timeout":
516
+ throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /source-connections/{source_connection_id}/jobs.");
517
+ case "unknown":
518
+ throw new errors.AirweaveSDKError({
519
+ message: _response.error.errorMessage,
520
+ rawResponse: _response.rawResponse,
521
+ });
522
+ }
523
+ });
524
+ }
525
+ /**
526
+ * Get detailed information about a specific sync job.
527
+ *
528
+ * @param {string} sourceConnectionId - The unique identifier of the source connection
529
+ * @param {string} jobId - The unique identifier of the sync job
530
+ * @param {SourceConnections.RequestOptions} requestOptions - Request-specific configuration.
531
+ *
532
+ * @throws {@link AirweaveSDK.UnprocessableEntityError}
533
+ *
534
+ * @example
535
+ * await client.sourceConnections.getSourceConnectionJob("source_connection_id", "job_id")
536
+ */
537
+ getSourceConnectionJob(sourceConnectionId, jobId, requestOptions) {
538
+ return core.HttpResponsePromise.fromPromise(this.__getSourceConnectionJob(sourceConnectionId, jobId, requestOptions));
539
+ }
540
+ __getSourceConnectionJob(sourceConnectionId, jobId, requestOptions) {
541
+ return __awaiter(this, void 0, void 0, function* () {
542
+ var _a, _b, _c;
543
+ const _response = yield core.fetcher({
544
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirweaveSDKEnvironment.Production, `source-connections/${encodeURIComponent(sourceConnectionId)}/jobs/${encodeURIComponent(jobId)}`),
545
+ method: "GET",
546
+ headers: mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({
547
+ "X-API-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey,
548
+ "X-Organization-ID": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
549
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
550
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
551
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
552
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
553
+ });
554
+ if (_response.ok) {
555
+ return { data: _response.body, rawResponse: _response.rawResponse };
556
+ }
557
+ if (_response.error.reason === "status-code") {
558
+ switch (_response.error.statusCode) {
559
+ case 422:
560
+ throw new AirweaveSDK.UnprocessableEntityError(_response.error.body, _response.rawResponse);
561
+ default:
562
+ throw new errors.AirweaveSDKError({
563
+ statusCode: _response.error.statusCode,
564
+ body: _response.error.body,
565
+ rawResponse: _response.rawResponse,
566
+ });
567
+ }
568
+ }
569
+ switch (_response.error.reason) {
570
+ case "non-json":
571
+ throw new errors.AirweaveSDKError({
572
+ statusCode: _response.error.statusCode,
573
+ body: _response.error.rawBody,
574
+ rawResponse: _response.rawResponse,
575
+ });
576
+ case "timeout":
577
+ throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /source-connections/{source_connection_id}/jobs/{job_id}.");
578
+ case "unknown":
579
+ throw new errors.AirweaveSDKError({
580
+ message: _response.error.errorMessage,
581
+ rawResponse: _response.rawResponse,
582
+ });
583
+ }
584
+ });
585
+ }
586
+ /**
587
+ * Cancel a running sync job.
588
+ *
589
+ * <br/><br/>
590
+ * Sends a cancellation signal to stop an in-progress data synchronization.
591
+ * The job will complete its current operation and then terminate gracefully.
592
+ * Only jobs in 'created', 'pending', or 'in_progress' states can be cancelled.
593
+ *
594
+ * @param {string} sourceConnectionId - The unique identifier of the source connection
595
+ * @param {string} jobId - The unique identifier of the sync job to cancel
596
+ * @param {SourceConnections.RequestOptions} requestOptions - Request-specific configuration.
597
+ *
598
+ * @throws {@link AirweaveSDK.UnprocessableEntityError}
599
+ *
600
+ * @example
601
+ * await client.sourceConnections.cancelSourceConnectionJob("source_connection_id", "job_id")
602
+ */
603
+ cancelSourceConnectionJob(sourceConnectionId, jobId, requestOptions) {
604
+ return core.HttpResponsePromise.fromPromise(this.__cancelSourceConnectionJob(sourceConnectionId, jobId, requestOptions));
605
+ }
606
+ __cancelSourceConnectionJob(sourceConnectionId, jobId, requestOptions) {
607
+ return __awaiter(this, void 0, void 0, function* () {
608
+ var _a, _b, _c;
609
+ const _response = yield core.fetcher({
610
+ url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirweaveSDKEnvironment.Production, `source-connections/${encodeURIComponent(sourceConnectionId)}/jobs/${encodeURIComponent(jobId)}/cancel`),
611
+ method: "POST",
612
+ headers: mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({
613
+ "X-API-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey,
614
+ "X-Organization-ID": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
615
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
616
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
617
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
618
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
619
+ });
620
+ if (_response.ok) {
621
+ return { data: _response.body, rawResponse: _response.rawResponse };
622
+ }
623
+ if (_response.error.reason === "status-code") {
624
+ switch (_response.error.statusCode) {
625
+ case 422:
626
+ throw new AirweaveSDK.UnprocessableEntityError(_response.error.body, _response.rawResponse);
627
+ default:
628
+ throw new errors.AirweaveSDKError({
629
+ statusCode: _response.error.statusCode,
630
+ body: _response.error.body,
631
+ rawResponse: _response.rawResponse,
632
+ });
633
+ }
634
+ }
635
+ switch (_response.error.reason) {
636
+ case "non-json":
637
+ throw new errors.AirweaveSDKError({
638
+ statusCode: _response.error.statusCode,
639
+ body: _response.error.rawBody,
640
+ rawResponse: _response.rawResponse,
641
+ });
642
+ case "timeout":
643
+ throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling POST /source-connections/{source_connection_id}/jobs/{job_id}/cancel.");
644
+ case "unknown":
645
+ throw new errors.AirweaveSDKError({
646
+ message: _response.error.errorMessage,
647
+ rawResponse: _response.rawResponse,
648
+ });
649
+ }
650
+ });
651
+ }
652
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ export * from "./requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";