@airweave/sdk 0.1.45 → 0.1.46

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