@airweave/sdk 0.2.53 → 0.3.41

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