@airweave/sdk 0.1.45 → 0.1.48

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