@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
@@ -1,515 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
- return new (P || (P = Promise))(function (resolve, reject) {
41
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
- step((generator = generator.apply(thisArg, _arguments || [])).next());
45
- });
46
- };
47
- var __importDefault = (this && this.__importDefault) || function (mod) {
48
- return (mod && mod.__esModule) ? mod : { "default": mod };
49
- };
50
- Object.defineProperty(exports, "__esModule", { value: true });
51
- exports.WhiteLabels = void 0;
52
- const environments = __importStar(require("../../../../environments"));
53
- const core = __importStar(require("../../../../core"));
54
- const AirweaveSDK = __importStar(require("../../../index"));
55
- const url_join_1 = __importDefault(require("url-join"));
56
- const serializers = __importStar(require("../../../../serialization/index"));
57
- const errors = __importStar(require("../../../../errors/index"));
58
- class WhiteLabels {
59
- constructor(_options) {
60
- this._options = _options;
61
- }
62
- /**
63
- * List all white labels for the current user's organization.
64
- *
65
- * Args:
66
- * -----
67
- * db: The database session
68
- * current_user: The current user
69
- *
70
- * Returns:
71
- * --------
72
- * list[schemas.WhiteLabel]: A list of white labels
73
- *
74
- * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
75
- *
76
- * @throws {@link AirweaveSDK.UnprocessableEntityError}
77
- *
78
- * @example
79
- * await client.whiteLabels.listWhiteLabels()
80
- */
81
- listWhiteLabels(requestOptions) {
82
- return __awaiter(this, void 0, void 0, function* () {
83
- var _a;
84
- const _response = yield core.fetcher({
85
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "white_labels/list"),
86
- method: "GET",
87
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.1.45", "User-Agent": "@airweave/sdk/v0.1.45", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
- contentType: "application/json",
89
- requestType: "json",
90
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
91
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
92
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
93
- });
94
- if (_response.ok) {
95
- return serializers.whiteLabels.listWhiteLabels.Response.parseOrThrow(_response.body, {
96
- unrecognizedObjectKeys: "passthrough",
97
- allowUnrecognizedUnionMembers: true,
98
- allowUnrecognizedEnumValues: true,
99
- breadcrumbsPrefix: ["response"],
100
- });
101
- }
102
- if (_response.error.reason === "status-code") {
103
- switch (_response.error.statusCode) {
104
- case 422:
105
- throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
106
- unrecognizedObjectKeys: "passthrough",
107
- allowUnrecognizedUnionMembers: true,
108
- allowUnrecognizedEnumValues: true,
109
- breadcrumbsPrefix: ["response"],
110
- }));
111
- default:
112
- throw new errors.AirweaveSDKError({
113
- statusCode: _response.error.statusCode,
114
- body: _response.error.body,
115
- });
116
- }
117
- }
118
- switch (_response.error.reason) {
119
- case "non-json":
120
- throw new errors.AirweaveSDKError({
121
- statusCode: _response.error.statusCode,
122
- body: _response.error.rawBody,
123
- });
124
- case "timeout":
125
- throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /white_labels/list.");
126
- case "unknown":
127
- throw new errors.AirweaveSDKError({
128
- message: _response.error.errorMessage,
129
- });
130
- }
131
- });
132
- }
133
- /**
134
- * Create new white label integration.
135
- *
136
- * Args:
137
- * -----
138
- * db: The database session
139
- * current_user: The current user
140
- * white_label_in: The white label to create
141
- *
142
- * Returns:
143
- * --------
144
- * white_label (schemas.WhiteLabel): The created white label
145
- *
146
- * @param {AirweaveSDK.WhiteLabelCreate} request
147
- * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
148
- *
149
- * @throws {@link AirweaveSDK.UnprocessableEntityError}
150
- *
151
- * @example
152
- * await client.whiteLabels.createWhiteLabel({
153
- * name: "name",
154
- * sourceShortName: "source_short_name",
155
- * redirectUrl: "redirect_url",
156
- * clientId: "client_id",
157
- * clientSecret: "client_secret"
158
- * })
159
- */
160
- createWhiteLabel(request, requestOptions) {
161
- return __awaiter(this, void 0, void 0, function* () {
162
- var _a;
163
- const _response = yield core.fetcher({
164
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "white_labels"),
165
- method: "POST",
166
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.1.45", "User-Agent": "@airweave/sdk/v0.1.45", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
- contentType: "application/json",
168
- requestType: "json",
169
- body: serializers.WhiteLabelCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
170
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
171
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
172
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
173
- });
174
- if (_response.ok) {
175
- return serializers.WhiteLabel.parseOrThrow(_response.body, {
176
- unrecognizedObjectKeys: "passthrough",
177
- allowUnrecognizedUnionMembers: true,
178
- allowUnrecognizedEnumValues: true,
179
- breadcrumbsPrefix: ["response"],
180
- });
181
- }
182
- if (_response.error.reason === "status-code") {
183
- switch (_response.error.statusCode) {
184
- case 422:
185
- throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
186
- unrecognizedObjectKeys: "passthrough",
187
- allowUnrecognizedUnionMembers: true,
188
- allowUnrecognizedEnumValues: true,
189
- breadcrumbsPrefix: ["response"],
190
- }));
191
- default:
192
- throw new errors.AirweaveSDKError({
193
- statusCode: _response.error.statusCode,
194
- body: _response.error.body,
195
- });
196
- }
197
- }
198
- switch (_response.error.reason) {
199
- case "non-json":
200
- throw new errors.AirweaveSDKError({
201
- statusCode: _response.error.statusCode,
202
- body: _response.error.rawBody,
203
- });
204
- case "timeout":
205
- throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling POST /white_labels.");
206
- case "unknown":
207
- throw new errors.AirweaveSDKError({
208
- message: _response.error.errorMessage,
209
- });
210
- }
211
- });
212
- }
213
- /**
214
- * Get a specific white label integration.
215
- *
216
- * Args:
217
- * -----
218
- * db: The database session
219
- * white_label_id: The ID of the white label to get
220
- * current_user: The current user
221
- *
222
- * Returns:
223
- * --------
224
- * white_label (schemas.WhiteLabel): The white label
225
- *
226
- * @param {string} whiteLabelId
227
- * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
228
- *
229
- * @throws {@link AirweaveSDK.UnprocessableEntityError}
230
- *
231
- * @example
232
- * await client.whiteLabels.getWhiteLabel("white_label_id")
233
- */
234
- getWhiteLabel(whiteLabelId, requestOptions) {
235
- return __awaiter(this, void 0, void 0, function* () {
236
- var _a;
237
- const _response = yield core.fetcher({
238
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `white_labels/${encodeURIComponent(whiteLabelId)}`),
239
- method: "GET",
240
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.1.45", "User-Agent": "@airweave/sdk/v0.1.45", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
- contentType: "application/json",
242
- requestType: "json",
243
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
244
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
245
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
246
- });
247
- if (_response.ok) {
248
- return serializers.WhiteLabel.parseOrThrow(_response.body, {
249
- unrecognizedObjectKeys: "passthrough",
250
- allowUnrecognizedUnionMembers: true,
251
- allowUnrecognizedEnumValues: true,
252
- breadcrumbsPrefix: ["response"],
253
- });
254
- }
255
- if (_response.error.reason === "status-code") {
256
- switch (_response.error.statusCode) {
257
- case 422:
258
- throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
259
- unrecognizedObjectKeys: "passthrough",
260
- allowUnrecognizedUnionMembers: true,
261
- allowUnrecognizedEnumValues: true,
262
- breadcrumbsPrefix: ["response"],
263
- }));
264
- default:
265
- throw new errors.AirweaveSDKError({
266
- statusCode: _response.error.statusCode,
267
- body: _response.error.body,
268
- });
269
- }
270
- }
271
- switch (_response.error.reason) {
272
- case "non-json":
273
- throw new errors.AirweaveSDKError({
274
- statusCode: _response.error.statusCode,
275
- body: _response.error.rawBody,
276
- });
277
- case "timeout":
278
- throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /white_labels/{white_label_id}.");
279
- case "unknown":
280
- throw new errors.AirweaveSDKError({
281
- message: _response.error.errorMessage,
282
- });
283
- }
284
- });
285
- }
286
- /**
287
- * Update a white label integration.
288
- *
289
- * Args:
290
- * -----
291
- * db: The database session
292
- * current_user: The current user
293
- * white_label_id: The ID of the white label to update
294
- * white_label_in: The white label to update
295
- *
296
- * Returns:
297
- * --------
298
- * white_label (schemas.WhiteLabel): The updated white label
299
- *
300
- * @param {string} whiteLabelId
301
- * @param {AirweaveSDK.WhiteLabelUpdate} request
302
- * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
303
- *
304
- * @throws {@link AirweaveSDK.UnprocessableEntityError}
305
- *
306
- * @example
307
- * await client.whiteLabels.updateWhiteLabel("white_label_id")
308
- */
309
- updateWhiteLabel(whiteLabelId_1) {
310
- return __awaiter(this, arguments, void 0, function* (whiteLabelId, request = {}, requestOptions) {
311
- var _a;
312
- const _response = yield core.fetcher({
313
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `white_labels/${encodeURIComponent(whiteLabelId)}`),
314
- method: "PUT",
315
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.1.45", "User-Agent": "@airweave/sdk/v0.1.45", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
316
- contentType: "application/json",
317
- requestType: "json",
318
- body: serializers.WhiteLabelUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
319
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
320
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
321
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
322
- });
323
- if (_response.ok) {
324
- return serializers.WhiteLabel.parseOrThrow(_response.body, {
325
- unrecognizedObjectKeys: "passthrough",
326
- allowUnrecognizedUnionMembers: true,
327
- allowUnrecognizedEnumValues: true,
328
- breadcrumbsPrefix: ["response"],
329
- });
330
- }
331
- if (_response.error.reason === "status-code") {
332
- switch (_response.error.statusCode) {
333
- case 422:
334
- throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
335
- unrecognizedObjectKeys: "passthrough",
336
- allowUnrecognizedUnionMembers: true,
337
- allowUnrecognizedEnumValues: true,
338
- breadcrumbsPrefix: ["response"],
339
- }));
340
- default:
341
- throw new errors.AirweaveSDKError({
342
- statusCode: _response.error.statusCode,
343
- body: _response.error.body,
344
- });
345
- }
346
- }
347
- switch (_response.error.reason) {
348
- case "non-json":
349
- throw new errors.AirweaveSDKError({
350
- statusCode: _response.error.statusCode,
351
- body: _response.error.rawBody,
352
- });
353
- case "timeout":
354
- throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling PUT /white_labels/{white_label_id}.");
355
- case "unknown":
356
- throw new errors.AirweaveSDKError({
357
- message: _response.error.errorMessage,
358
- });
359
- }
360
- });
361
- }
362
- /**
363
- * Delete a white label integration.
364
- *
365
- * Args:
366
- * -----
367
- * db: The database session
368
- * current_user: The current user
369
- * white_label_id: The ID of the white label to delete
370
- *
371
- * Returns:
372
- * --------
373
- * white_label (schemas.WhiteLabel): The deleted white label
374
- *
375
- * @param {string} whiteLabelId
376
- * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
377
- *
378
- * @throws {@link AirweaveSDK.UnprocessableEntityError}
379
- *
380
- * @example
381
- * await client.whiteLabels.deleteWhiteLabel("white_label_id")
382
- */
383
- deleteWhiteLabel(whiteLabelId, requestOptions) {
384
- return __awaiter(this, void 0, void 0, function* () {
385
- var _a;
386
- const _response = yield core.fetcher({
387
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `white_labels/${encodeURIComponent(whiteLabelId)}`),
388
- method: "DELETE",
389
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.1.45", "User-Agent": "@airweave/sdk/v0.1.45", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
390
- contentType: "application/json",
391
- requestType: "json",
392
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
393
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
394
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
395
- });
396
- if (_response.ok) {
397
- return serializers.WhiteLabel.parseOrThrow(_response.body, {
398
- unrecognizedObjectKeys: "passthrough",
399
- allowUnrecognizedUnionMembers: true,
400
- allowUnrecognizedEnumValues: true,
401
- breadcrumbsPrefix: ["response"],
402
- });
403
- }
404
- if (_response.error.reason === "status-code") {
405
- switch (_response.error.statusCode) {
406
- case 422:
407
- throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
408
- unrecognizedObjectKeys: "passthrough",
409
- allowUnrecognizedUnionMembers: true,
410
- allowUnrecognizedEnumValues: true,
411
- breadcrumbsPrefix: ["response"],
412
- }));
413
- default:
414
- throw new errors.AirweaveSDKError({
415
- statusCode: _response.error.statusCode,
416
- body: _response.error.body,
417
- });
418
- }
419
- }
420
- switch (_response.error.reason) {
421
- case "non-json":
422
- throw new errors.AirweaveSDKError({
423
- statusCode: _response.error.statusCode,
424
- body: _response.error.rawBody,
425
- });
426
- case "timeout":
427
- throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling DELETE /white_labels/{white_label_id}.");
428
- case "unknown":
429
- throw new errors.AirweaveSDKError({
430
- message: _response.error.errorMessage,
431
- });
432
- }
433
- });
434
- }
435
- /**
436
- * List all syncs for a specific white label.
437
- *
438
- * Args:
439
- * -----
440
- * white_label_id: The ID of the white label to list syncs for
441
- * db: The database session
442
- * current_user: The current user
443
- *
444
- * Returns:
445
- * --------
446
- * list[schemas.Sync]: A list of syncs
447
- *
448
- * @param {string} whiteLabelId
449
- * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
450
- *
451
- * @throws {@link AirweaveSDK.UnprocessableEntityError}
452
- *
453
- * @example
454
- * await client.whiteLabels.listWhiteLabelSyncs("white_label_id")
455
- */
456
- listWhiteLabelSyncs(whiteLabelId, requestOptions) {
457
- return __awaiter(this, void 0, void 0, function* () {
458
- var _a;
459
- const _response = yield core.fetcher({
460
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `white_labels/${encodeURIComponent(whiteLabelId)}/syncs`),
461
- method: "GET",
462
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.1.45", "User-Agent": "@airweave/sdk/v0.1.45", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
463
- contentType: "application/json",
464
- requestType: "json",
465
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
466
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
467
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
468
- });
469
- if (_response.ok) {
470
- return serializers.whiteLabels.listWhiteLabelSyncs.Response.parseOrThrow(_response.body, {
471
- unrecognizedObjectKeys: "passthrough",
472
- allowUnrecognizedUnionMembers: true,
473
- allowUnrecognizedEnumValues: true,
474
- breadcrumbsPrefix: ["response"],
475
- });
476
- }
477
- if (_response.error.reason === "status-code") {
478
- switch (_response.error.statusCode) {
479
- case 422:
480
- throw new AirweaveSDK.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
481
- unrecognizedObjectKeys: "passthrough",
482
- allowUnrecognizedUnionMembers: true,
483
- allowUnrecognizedEnumValues: true,
484
- breadcrumbsPrefix: ["response"],
485
- }));
486
- default:
487
- throw new errors.AirweaveSDKError({
488
- statusCode: _response.error.statusCode,
489
- body: _response.error.body,
490
- });
491
- }
492
- }
493
- switch (_response.error.reason) {
494
- case "non-json":
495
- throw new errors.AirweaveSDKError({
496
- statusCode: _response.error.statusCode,
497
- body: _response.error.rawBody,
498
- });
499
- case "timeout":
500
- throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /white_labels/{white_label_id}/syncs.");
501
- case "unknown":
502
- throw new errors.AirweaveSDKError({
503
- message: _response.error.errorMessage,
504
- });
505
- }
506
- });
507
- }
508
- _getCustomAuthorizationHeaders() {
509
- return __awaiter(this, void 0, void 0, function* () {
510
- const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
511
- return { "x-api-key": apiKeyValue };
512
- });
513
- }
514
- }
515
- exports.WhiteLabels = WhiteLabels;
@@ -1 +0,0 @@
1
- export * from "./requests";
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./requests"), exports);
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * name: "name",
8
- * sourceShortName: "source_short_name",
9
- * redirectUrl: "redirect_url",
10
- * clientId: "client_id",
11
- * clientSecret: "client_secret"
12
- * }
13
- */
14
- export interface WhiteLabelCreate {
15
- name: string;
16
- sourceShortName: string;
17
- redirectUrl: string;
18
- clientId: string;
19
- clientSecret: string;
20
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {}
7
- */
8
- export interface WhiteLabelUpdate {
9
- name?: string;
10
- redirectUrl?: string;
11
- clientId?: string;
12
- clientSecret?: string;
13
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export { type WhiteLabelCreate } from "./WhiteLabelCreate";
2
- export { type WhiteLabelUpdate } from "./WhiteLabelUpdate";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from "./client";
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./client"), exports);
@@ -1,17 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for API keys returned to clients - includes decrypted key.
6
- */
7
- export interface ApiKey {
8
- id: string;
9
- organization: string;
10
- createdAt: Date;
11
- modifiedAt: Date;
12
- lastUsedDate?: Date;
13
- expirationDate: Date;
14
- createdByEmail: string;
15
- modifiedByEmail: string;
16
- decryptedKey: string;
17
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Schema for creating an APIKey object.
6
- */
7
- export interface ApiKeyCreate {
8
- /** Expiration date for the API key, defaults to 180 days from now */
9
- expirationDate?: Date;
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });