@airweave/sdk 0.2.22 → 0.2.24

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 (483) hide show
  1. package/Client.d.ts +15 -0
  2. package/Client.js +37 -12
  3. package/README.md +7 -15
  4. package/api/resources/apiKeys/client/Client.d.ts +78 -5
  5. package/api/resources/apiKeys/client/Client.js +252 -10
  6. package/api/{types → resources/apiKeys/client/requests}/ApiKeyCreate.d.ts +2 -1
  7. package/api/resources/{sync/client/requests/GetSyncSyncSyncIdGetRequest.d.ts → apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.d.ts} +3 -3
  8. package/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.d.ts +11 -0
  9. package/api/resources/apiKeys/client/requests/index.d.ts +3 -1
  10. package/api/resources/chat/client/Client.d.ts +77 -0
  11. package/api/resources/chat/client/Client.js +227 -0
  12. package/api/resources/chat/client/index.d.ts +1 -0
  13. package/api/resources/chat/client/index.js +17 -0
  14. package/api/{types → resources/chat/client/requests}/ChatCreate.d.ts +5 -1
  15. package/api/resources/chat/client/requests/ListChatsChatGetRequest.d.ts +11 -0
  16. package/api/resources/chat/client/requests/index.d.ts +2 -0
  17. package/api/resources/chat/index.d.ts +1 -0
  18. package/api/resources/chat/index.js +17 -0
  19. package/api/resources/connections/client/Client.d.ts +20 -48
  20. package/api/resources/connections/client/Client.js +30 -107
  21. package/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +3 -8
  22. package/api/resources/connections/client/requests/index.d.ts +0 -8
  23. package/api/resources/dag/client/Client.d.ts +81 -0
  24. package/api/resources/dag/client/Client.js +276 -0
  25. package/api/resources/dag/client/index.d.ts +1 -0
  26. package/api/resources/dag/client/index.js +17 -0
  27. package/api/resources/dag/client/requests/SyncDagCreate.d.ts +26 -0
  28. package/{dist/api/types → api/resources/dag/client/requests}/SyncDagUpdate.d.ts +7 -3
  29. package/api/resources/dag/client/requests/index.d.ts +2 -0
  30. package/api/resources/dag/index.d.ts +1 -0
  31. package/api/resources/dag/index.js +17 -0
  32. package/api/resources/embeddingModels/client/Client.d.ts +4 -10
  33. package/api/resources/embeddingModels/client/Client.js +7 -21
  34. package/api/resources/embeddingModels/client/index.d.ts +1 -1
  35. package/api/resources/embeddingModels/client/index.js +0 -15
  36. package/api/resources/entities/client/Client.d.ts +119 -0
  37. package/api/resources/entities/client/Client.js +480 -0
  38. package/api/resources/entities/client/index.d.ts +1 -0
  39. package/api/resources/entities/client/index.js +17 -0
  40. package/api/{types → resources/entities/client/requests}/EntityDefinitionCreate.d.ts +9 -2
  41. package/{dist/api/types → api/resources/entities/client/requests}/EntityRelationCreate.d.ts +6 -1
  42. package/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +12 -0
  43. package/api/resources/entities/client/requests/index.d.ts +3 -0
  44. package/api/resources/entities/index.d.ts +2 -0
  45. package/api/resources/entities/index.js +18 -0
  46. package/api/resources/entities/types/index.d.ts +1 -0
  47. package/api/resources/entities/types/index.js +17 -0
  48. package/api/resources/index.d.ts +10 -2
  49. package/api/resources/index.js +11 -3
  50. package/api/resources/search/client/Client.d.ts +1 -2
  51. package/api/resources/search/client/Client.js +5 -7
  52. package/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +1 -3
  53. package/api/resources/sources/client/Client.d.ts +4 -10
  54. package/api/resources/sources/client/Client.js +7 -21
  55. package/api/resources/sources/client/index.d.ts +1 -1
  56. package/api/resources/sources/client/index.js +0 -15
  57. package/api/resources/sync/client/Client.d.ts +19 -59
  58. package/api/resources/sync/client/Client.js +43 -125
  59. package/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts +1 -4
  60. package/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +1 -4
  61. package/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +1 -4
  62. package/api/resources/sync/client/requests/SyncCreate.d.ts +1 -12
  63. package/api/resources/sync/client/requests/SyncUpdate.d.ts +1 -11
  64. package/api/resources/sync/client/requests/index.d.ts +0 -5
  65. package/api/resources/transformers/client/Client.d.ts +58 -0
  66. package/api/resources/transformers/client/Client.js +199 -0
  67. package/api/resources/transformers/client/index.d.ts +1 -0
  68. package/api/resources/transformers/client/index.js +17 -0
  69. package/{dist/api/types → api/resources/transformers/client/requests}/TransformerCreate.d.ts +8 -1
  70. package/api/resources/transformers/client/requests/index.d.ts +1 -0
  71. package/api/resources/transformers/index.d.ts +1 -0
  72. package/api/resources/transformers/index.js +17 -0
  73. package/api/resources/users/client/Client.d.ts +48 -0
  74. package/api/resources/users/client/Client.js +135 -0
  75. package/api/resources/users/client/index.d.ts +1 -0
  76. package/api/resources/users/client/index.js +2 -0
  77. package/api/resources/users/index.d.ts +1 -0
  78. package/api/resources/users/index.js +17 -0
  79. package/api/resources/whiteLabels/client/Client.d.ts +15 -40
  80. package/api/resources/whiteLabels/client/Client.js +28 -96
  81. package/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +0 -2
  82. package/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -8
  83. package/api/resources/whiteLabels/client/requests/index.d.ts +0 -6
  84. package/api/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +2 -0
  85. package/api/types/{DestinationWithConfigFields.d.ts → DestinationWithAuthenticationFields.d.ts} +2 -2
  86. package/api/types/{EmbeddingModelWithConfigFields.d.ts → EmbeddingModelWithAuthenticationFields.d.ts} +2 -2
  87. package/api/types/{SourceWithConfigFields.d.ts → SourceWithAuthenticationFields.d.ts} +2 -2
  88. package/api/types/index.d.ts +3 -11
  89. package/api/types/index.js +3 -11
  90. package/dist/Client.d.ts +15 -0
  91. package/dist/Client.js +37 -12
  92. package/dist/api/resources/apiKeys/client/Client.d.ts +78 -5
  93. package/dist/api/resources/apiKeys/client/Client.js +252 -10
  94. package/dist/api/{types → resources/apiKeys/client/requests}/ApiKeyCreate.d.ts +2 -1
  95. package/dist/api/resources/{sync/client/requests/GetSyncSyncSyncIdGetRequest.d.ts → apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.d.ts} +3 -3
  96. package/dist/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.d.ts +11 -0
  97. package/dist/api/resources/apiKeys/client/requests/index.d.ts +3 -1
  98. package/dist/api/resources/chat/client/Client.d.ts +77 -0
  99. package/dist/api/resources/chat/client/Client.js +227 -0
  100. package/dist/api/resources/chat/client/index.d.ts +1 -0
  101. package/dist/api/resources/chat/client/index.js +17 -0
  102. package/dist/api/{types → resources/chat/client/requests}/ChatCreate.d.ts +5 -1
  103. package/dist/api/resources/chat/client/requests/ListChatsChatGetRequest.d.ts +11 -0
  104. package/dist/api/resources/chat/client/requests/index.d.ts +2 -0
  105. package/dist/api/resources/chat/client/requests/index.js +2 -0
  106. package/dist/api/resources/chat/index.d.ts +1 -0
  107. package/dist/api/resources/chat/index.js +17 -0
  108. package/dist/api/resources/connections/client/Client.d.ts +20 -48
  109. package/dist/api/resources/connections/client/Client.js +30 -107
  110. package/dist/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +3 -8
  111. package/dist/api/resources/connections/client/requests/index.d.ts +0 -8
  112. package/dist/api/resources/dag/client/Client.d.ts +81 -0
  113. package/dist/api/resources/dag/client/Client.js +276 -0
  114. package/dist/api/resources/dag/client/index.d.ts +1 -0
  115. package/dist/api/resources/dag/client/index.js +17 -0
  116. package/dist/api/resources/dag/client/requests/SyncDagCreate.d.ts +26 -0
  117. package/{api/types → dist/api/resources/dag/client/requests}/SyncDagUpdate.d.ts +7 -3
  118. package/dist/api/resources/dag/client/requests/index.d.ts +2 -0
  119. package/dist/api/resources/dag/client/requests/index.js +2 -0
  120. package/dist/api/resources/dag/index.d.ts +1 -0
  121. package/dist/api/resources/dag/index.js +17 -0
  122. package/dist/api/resources/embeddingModels/client/Client.d.ts +4 -10
  123. package/dist/api/resources/embeddingModels/client/Client.js +7 -21
  124. package/dist/api/resources/embeddingModels/client/index.d.ts +1 -1
  125. package/dist/api/resources/embeddingModels/client/index.js +0 -15
  126. package/dist/api/resources/entities/client/Client.d.ts +119 -0
  127. package/dist/api/resources/entities/client/Client.js +480 -0
  128. package/dist/api/resources/entities/client/index.d.ts +1 -0
  129. package/dist/api/resources/entities/client/index.js +17 -0
  130. package/dist/api/{types → resources/entities/client/requests}/EntityDefinitionCreate.d.ts +9 -2
  131. package/{api/types → dist/api/resources/entities/client/requests}/EntityRelationCreate.d.ts +6 -1
  132. package/dist/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +12 -0
  133. package/dist/api/resources/entities/client/requests/index.d.ts +3 -0
  134. package/dist/api/resources/entities/client/requests/index.js +2 -0
  135. package/dist/api/resources/entities/index.d.ts +2 -0
  136. package/dist/api/resources/entities/index.js +18 -0
  137. package/dist/api/resources/entities/types/index.d.ts +1 -0
  138. package/dist/api/resources/entities/types/index.js +17 -0
  139. package/dist/api/resources/index.d.ts +10 -2
  140. package/dist/api/resources/index.js +11 -3
  141. package/dist/api/resources/search/client/Client.d.ts +1 -2
  142. package/dist/api/resources/search/client/Client.js +5 -7
  143. package/dist/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +1 -3
  144. package/dist/api/resources/sources/client/Client.d.ts +4 -10
  145. package/dist/api/resources/sources/client/Client.js +7 -21
  146. package/dist/api/resources/sources/client/index.d.ts +1 -1
  147. package/dist/api/resources/sources/client/index.js +0 -15
  148. package/dist/api/resources/sync/client/Client.d.ts +19 -59
  149. package/dist/api/resources/sync/client/Client.js +43 -125
  150. package/dist/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts +1 -4
  151. package/dist/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +1 -4
  152. package/dist/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +1 -4
  153. package/dist/api/resources/sync/client/requests/SyncCreate.d.ts +1 -12
  154. package/dist/api/resources/sync/client/requests/SyncUpdate.d.ts +1 -11
  155. package/dist/api/resources/sync/client/requests/index.d.ts +0 -5
  156. package/dist/api/resources/transformers/client/Client.d.ts +58 -0
  157. package/dist/api/resources/transformers/client/Client.js +199 -0
  158. package/dist/api/resources/transformers/client/index.d.ts +1 -0
  159. package/dist/api/resources/transformers/client/index.js +17 -0
  160. package/{api/types → dist/api/resources/transformers/client/requests}/TransformerCreate.d.ts +8 -1
  161. package/dist/api/resources/transformers/client/requests/index.d.ts +1 -0
  162. package/dist/api/resources/transformers/client/requests/index.js +2 -0
  163. package/dist/api/resources/transformers/index.d.ts +1 -0
  164. package/dist/api/resources/transformers/index.js +17 -0
  165. package/dist/api/resources/users/client/Client.d.ts +48 -0
  166. package/dist/api/resources/users/client/Client.js +135 -0
  167. package/dist/api/resources/users/client/index.d.ts +1 -0
  168. package/dist/api/resources/users/client/index.js +2 -0
  169. package/dist/api/resources/users/index.d.ts +1 -0
  170. package/dist/api/resources/users/index.js +17 -0
  171. package/dist/api/resources/whiteLabels/client/Client.d.ts +15 -40
  172. package/dist/api/resources/whiteLabels/client/Client.js +28 -96
  173. package/dist/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +0 -2
  174. package/dist/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -8
  175. package/dist/api/resources/whiteLabels/client/requests/index.d.ts +0 -6
  176. package/dist/api/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +2 -0
  177. package/dist/api/types/{DestinationWithConfigFields.d.ts → DestinationWithAuthenticationFields.d.ts} +2 -2
  178. package/dist/api/types/{EmbeddingModelWithConfigFields.d.ts → EmbeddingModelWithAuthenticationFields.d.ts} +2 -2
  179. package/dist/api/types/{SourceWithConfigFields.d.ts → SourceWithAuthenticationFields.d.ts} +2 -2
  180. package/dist/api/types/index.d.ts +3 -11
  181. package/dist/api/types/index.js +3 -11
  182. package/dist/serialization/resources/apiKeys/client/index.d.ts +2 -0
  183. package/dist/serialization/resources/apiKeys/client/index.js +41 -0
  184. package/dist/serialization/resources/apiKeys/client/readApiKeys.d.ts +11 -0
  185. package/dist/serialization/resources/apiKeys/client/readApiKeys.js +42 -0
  186. package/dist/serialization/resources/apiKeys/client/requests/ApiKeyCreate.d.ts +12 -0
  187. package/dist/serialization/{types → resources/apiKeys/client/requests}/ApiKeyCreate.js +1 -1
  188. package/dist/serialization/resources/apiKeys/client/requests/index.d.ts +1 -0
  189. package/dist/serialization/resources/apiKeys/client/requests/index.js +5 -0
  190. package/dist/serialization/resources/apiKeys/index.d.ts +1 -0
  191. package/dist/serialization/resources/apiKeys/index.js +17 -0
  192. package/dist/serialization/resources/chat/client/index.d.ts +2 -0
  193. package/dist/serialization/resources/chat/client/index.js +41 -0
  194. package/dist/serialization/resources/chat/client/listChats.d.ts +11 -0
  195. package/dist/serialization/resources/chat/client/listChats.js +42 -0
  196. package/{serialization/types → dist/serialization/resources/chat/client/requests}/ChatCreate.d.ts +4 -4
  197. package/{serialization/types → dist/serialization/resources/chat/client/requests}/ChatCreate.js +1 -1
  198. package/dist/serialization/resources/chat/client/requests/index.d.ts +1 -0
  199. package/dist/serialization/resources/chat/client/requests/index.js +5 -0
  200. package/dist/serialization/resources/chat/index.d.ts +1 -0
  201. package/dist/serialization/resources/chat/index.js +17 -0
  202. package/dist/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +2 -2
  203. package/dist/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js +1 -1
  204. package/dist/serialization/resources/dag/client/index.d.ts +1 -0
  205. package/dist/serialization/resources/dag/client/index.js +17 -0
  206. package/dist/serialization/resources/dag/client/requests/SyncDagCreate.d.ts +18 -0
  207. package/{serialization/types → dist/serialization/resources/dag/client/requests}/SyncDagCreate.js +4 -4
  208. package/dist/serialization/resources/dag/client/requests/SyncDagUpdate.d.ts +18 -0
  209. package/dist/serialization/{types → resources/dag/client/requests}/SyncDagUpdate.js +4 -4
  210. package/dist/serialization/resources/dag/client/requests/index.d.ts +2 -0
  211. package/dist/serialization/resources/dag/client/requests/index.js +7 -0
  212. package/dist/serialization/resources/dag/index.d.ts +1 -0
  213. package/dist/serialization/resources/dag/index.js +17 -0
  214. package/dist/serialization/resources/entities/client/getEntityDefinitionsByIds.d.ts +15 -0
  215. package/dist/serialization/resources/entities/client/getEntityDefinitionsByIds.js +43 -0
  216. package/dist/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.d.ts +11 -0
  217. package/dist/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.js +42 -0
  218. package/dist/serialization/resources/entities/client/index.d.ts +5 -0
  219. package/dist/serialization/resources/entities/client/index.js +44 -0
  220. package/dist/serialization/resources/entities/client/listEntityDefinitions.d.ts +11 -0
  221. package/dist/serialization/resources/entities/client/listEntityDefinitions.js +42 -0
  222. package/dist/serialization/resources/entities/client/listEntityRelations.d.ts +11 -0
  223. package/dist/serialization/resources/entities/client/listEntityRelations.js +42 -0
  224. package/dist/serialization/{types → resources/entities/client/requests}/EntityDefinitionCreate.d.ts +6 -6
  225. package/dist/serialization/{types → resources/entities/client/requests}/EntityDefinitionCreate.js +3 -3
  226. package/dist/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +15 -0
  227. package/{serialization/types → dist/serialization/resources/entities/client/requests}/EntityRelationCreate.js +1 -1
  228. package/dist/serialization/resources/entities/client/requests/index.d.ts +2 -0
  229. package/dist/serialization/resources/entities/client/requests/index.js +7 -0
  230. package/dist/serialization/resources/entities/index.d.ts +2 -0
  231. package/dist/serialization/resources/entities/index.js +18 -0
  232. package/dist/serialization/{types → resources/entities/types}/EntityDefinitionCreateEntitySchema.d.ts +3 -3
  233. package/dist/serialization/{types → resources/entities/types}/EntityDefinitionCreateEntitySchema.js +1 -1
  234. package/dist/serialization/resources/entities/types/index.d.ts +1 -0
  235. package/dist/serialization/resources/entities/types/index.js +17 -0
  236. package/dist/serialization/resources/index.d.ts +11 -0
  237. package/dist/serialization/resources/index.js +12 -1
  238. package/dist/serialization/resources/sync/client/requests/SyncCreate.d.ts +1 -1
  239. package/dist/serialization/resources/sync/client/requests/SyncUpdate.d.ts +1 -1
  240. package/dist/serialization/resources/transformers/client/index.d.ts +2 -0
  241. package/dist/serialization/resources/transformers/client/index.js +41 -0
  242. package/dist/serialization/resources/transformers/client/listTransformers.d.ts +11 -0
  243. package/dist/serialization/resources/transformers/client/listTransformers.js +42 -0
  244. package/dist/serialization/{types → resources/transformers/client/requests}/TransformerCreate.d.ts +4 -4
  245. package/dist/serialization/{types → resources/transformers/client/requests}/TransformerCreate.js +1 -1
  246. package/dist/serialization/resources/transformers/client/requests/index.d.ts +1 -0
  247. package/dist/serialization/resources/transformers/client/requests/index.js +5 -0
  248. package/dist/serialization/resources/transformers/index.d.ts +1 -0
  249. package/dist/serialization/resources/transformers/index.js +17 -0
  250. package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +1 -1
  251. package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -1
  252. package/dist/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +2 -0
  253. package/dist/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +2 -0
  254. package/dist/serialization/types/{DestinationWithConfigFields.d.ts → DestinationWithAuthenticationFields.d.ts} +3 -3
  255. package/{serialization/types/DestinationWithConfigFields.js → dist/serialization/types/DestinationWithAuthenticationFields.js} +3 -3
  256. package/{serialization/types/EmbeddingModelWithConfigFields.d.ts → dist/serialization/types/EmbeddingModelWithAuthenticationFields.d.ts} +3 -3
  257. package/{serialization/types/EmbeddingModelWithConfigFields.js → dist/serialization/types/EmbeddingModelWithAuthenticationFields.js} +3 -3
  258. package/dist/serialization/types/{SourceWithConfigFields.d.ts → SourceWithAuthenticationFields.d.ts} +3 -3
  259. package/dist/serialization/types/{SourceWithConfigFields.js → SourceWithAuthenticationFields.js} +3 -3
  260. package/dist/serialization/types/index.d.ts +3 -11
  261. package/dist/serialization/types/index.js +3 -11
  262. package/dist/version.d.ts +1 -1
  263. package/dist/version.js +1 -1
  264. package/package.json +1 -1
  265. package/reference.md +1530 -612
  266. package/serialization/resources/apiKeys/client/index.d.ts +2 -0
  267. package/serialization/resources/apiKeys/client/index.js +41 -0
  268. package/serialization/resources/apiKeys/client/readApiKeys.d.ts +11 -0
  269. package/serialization/resources/apiKeys/client/readApiKeys.js +42 -0
  270. package/serialization/resources/apiKeys/client/requests/ApiKeyCreate.d.ts +12 -0
  271. package/serialization/{types → resources/apiKeys/client/requests}/ApiKeyCreate.js +1 -1
  272. package/serialization/resources/apiKeys/client/requests/index.d.ts +1 -0
  273. package/serialization/resources/apiKeys/client/requests/index.js +5 -0
  274. package/serialization/resources/apiKeys/index.d.ts +1 -0
  275. package/serialization/resources/apiKeys/index.js +17 -0
  276. package/serialization/resources/chat/client/index.d.ts +2 -0
  277. package/serialization/resources/chat/client/index.js +41 -0
  278. package/serialization/resources/chat/client/listChats.d.ts +11 -0
  279. package/serialization/resources/chat/client/listChats.js +42 -0
  280. package/{dist/serialization/types → serialization/resources/chat/client/requests}/ChatCreate.d.ts +4 -4
  281. package/{dist/serialization/types → serialization/resources/chat/client/requests}/ChatCreate.js +1 -1
  282. package/serialization/resources/chat/client/requests/index.d.ts +1 -0
  283. package/serialization/resources/chat/client/requests/index.js +5 -0
  284. package/serialization/resources/chat/index.d.ts +1 -0
  285. package/serialization/resources/chat/index.js +17 -0
  286. package/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +2 -2
  287. package/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.js +1 -1
  288. package/serialization/resources/dag/client/index.d.ts +1 -0
  289. package/serialization/resources/dag/client/index.js +17 -0
  290. package/serialization/resources/dag/client/requests/SyncDagCreate.d.ts +18 -0
  291. package/{dist/serialization/types → serialization/resources/dag/client/requests}/SyncDagCreate.js +4 -4
  292. package/serialization/resources/dag/client/requests/SyncDagUpdate.d.ts +18 -0
  293. package/serialization/{types → resources/dag/client/requests}/SyncDagUpdate.js +4 -4
  294. package/serialization/resources/dag/client/requests/index.d.ts +2 -0
  295. package/serialization/resources/dag/client/requests/index.js +7 -0
  296. package/serialization/resources/dag/index.d.ts +1 -0
  297. package/serialization/resources/dag/index.js +17 -0
  298. package/serialization/resources/entities/client/getEntityDefinitionsByIds.d.ts +15 -0
  299. package/serialization/resources/entities/client/getEntityDefinitionsByIds.js +43 -0
  300. package/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.d.ts +11 -0
  301. package/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.js +42 -0
  302. package/serialization/resources/entities/client/index.d.ts +5 -0
  303. package/serialization/resources/entities/client/index.js +44 -0
  304. package/serialization/resources/entities/client/listEntityDefinitions.d.ts +11 -0
  305. package/serialization/resources/entities/client/listEntityDefinitions.js +42 -0
  306. package/serialization/resources/entities/client/listEntityRelations.d.ts +11 -0
  307. package/serialization/resources/entities/client/listEntityRelations.js +42 -0
  308. package/serialization/{types → resources/entities/client/requests}/EntityDefinitionCreate.d.ts +6 -6
  309. package/serialization/{types → resources/entities/client/requests}/EntityDefinitionCreate.js +3 -3
  310. package/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +15 -0
  311. package/{dist/serialization/types → serialization/resources/entities/client/requests}/EntityRelationCreate.js +1 -1
  312. package/serialization/resources/entities/client/requests/index.d.ts +2 -0
  313. package/serialization/resources/entities/client/requests/index.js +7 -0
  314. package/serialization/resources/entities/index.d.ts +2 -0
  315. package/serialization/resources/entities/index.js +18 -0
  316. package/serialization/{types → resources/entities/types}/EntityDefinitionCreateEntitySchema.d.ts +3 -3
  317. package/serialization/{types → resources/entities/types}/EntityDefinitionCreateEntitySchema.js +1 -1
  318. package/serialization/resources/entities/types/index.d.ts +1 -0
  319. package/serialization/resources/entities/types/index.js +17 -0
  320. package/serialization/resources/index.d.ts +11 -0
  321. package/serialization/resources/index.js +12 -1
  322. package/serialization/resources/sync/client/requests/SyncCreate.d.ts +1 -1
  323. package/serialization/resources/sync/client/requests/SyncUpdate.d.ts +1 -1
  324. package/serialization/resources/transformers/client/index.d.ts +2 -0
  325. package/serialization/resources/transformers/client/index.js +41 -0
  326. package/serialization/resources/transformers/client/listTransformers.d.ts +11 -0
  327. package/serialization/resources/transformers/client/listTransformers.js +42 -0
  328. package/serialization/{types → resources/transformers/client/requests}/TransformerCreate.d.ts +4 -4
  329. package/serialization/{types → resources/transformers/client/requests}/TransformerCreate.js +1 -1
  330. package/serialization/resources/transformers/client/requests/index.d.ts +1 -0
  331. package/serialization/resources/transformers/client/requests/index.js +5 -0
  332. package/serialization/resources/transformers/index.d.ts +1 -0
  333. package/serialization/resources/transformers/index.js +17 -0
  334. package/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +1 -1
  335. package/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -1
  336. package/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +2 -0
  337. package/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +2 -0
  338. package/serialization/types/{DestinationWithConfigFields.d.ts → DestinationWithAuthenticationFields.d.ts} +3 -3
  339. package/{dist/serialization/types/DestinationWithConfigFields.js → serialization/types/DestinationWithAuthenticationFields.js} +3 -3
  340. package/{dist/serialization/types/EmbeddingModelWithConfigFields.d.ts → serialization/types/EmbeddingModelWithAuthenticationFields.d.ts} +3 -3
  341. package/{dist/serialization/types/EmbeddingModelWithConfigFields.js → serialization/types/EmbeddingModelWithAuthenticationFields.js} +3 -3
  342. package/serialization/types/{SourceWithConfigFields.d.ts → SourceWithAuthenticationFields.d.ts} +3 -3
  343. package/serialization/types/{SourceWithConfigFields.js → SourceWithAuthenticationFields.js} +3 -3
  344. package/serialization/types/index.d.ts +3 -11
  345. package/serialization/types/index.js +3 -11
  346. package/version.d.ts +1 -1
  347. package/version.js +1 -1
  348. package/api/resources/apiKeys/client/requests/ReadApiKeyApiKeysIdGetRequest.d.ts +0 -12
  349. package/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.d.ts +0 -12
  350. package/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.d.ts +0 -12
  351. package/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.d.ts +0 -12
  352. package/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.d.ts +0 -12
  353. package/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.d.ts +0 -12
  354. package/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.d.ts +0 -12
  355. package/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.d.ts +0 -12
  356. package/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.d.ts +0 -14
  357. package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.d.ts +0 -12
  358. package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.d.ts +0 -12
  359. package/api/resources/embeddingModels/client/requests/index.d.ts +0 -2
  360. package/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.d.ts +0 -12
  361. package/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.d.ts +0 -12
  362. package/api/resources/sources/client/requests/index.d.ts +0 -2
  363. package/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.d.ts +0 -12
  364. package/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.d.ts +0 -12
  365. package/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.js +0 -5
  366. package/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.js +0 -5
  367. package/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.d.ts +0 -12
  368. package/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.js +0 -5
  369. package/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.d.ts +0 -12
  370. package/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.js +0 -5
  371. package/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.d.ts +0 -12
  372. package/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.js +0 -5
  373. package/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.d.ts +0 -14
  374. package/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.js +0 -5
  375. package/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.d.ts +0 -12
  376. package/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.js +0 -5
  377. package/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.d.ts +0 -12
  378. package/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.js +0 -5
  379. package/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.d.ts +0 -12
  380. package/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.js +0 -5
  381. package/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.d.ts +0 -12
  382. package/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.js +0 -5
  383. package/api/types/DestinationWithConfigFields.js +0 -5
  384. package/api/types/EmbeddingModelWithConfigFields.js +0 -5
  385. package/api/types/SourceWithConfigFields.js +0 -5
  386. package/api/types/SyncDagCreate.d.ts +0 -14
  387. package/dist/api/resources/apiKeys/client/requests/ReadApiKeyApiKeysIdGetRequest.d.ts +0 -12
  388. package/dist/api/resources/apiKeys/client/requests/ReadApiKeyApiKeysIdGetRequest.js +0 -5
  389. package/dist/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.d.ts +0 -12
  390. package/dist/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.js +0 -5
  391. package/dist/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.d.ts +0 -12
  392. package/dist/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.js +0 -5
  393. package/dist/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.d.ts +0 -12
  394. package/dist/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.js +0 -5
  395. package/dist/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.d.ts +0 -12
  396. package/dist/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.js +0 -5
  397. package/dist/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.d.ts +0 -12
  398. package/dist/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.js +0 -5
  399. package/dist/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.d.ts +0 -12
  400. package/dist/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.js +0 -5
  401. package/dist/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.d.ts +0 -12
  402. package/dist/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.js +0 -5
  403. package/dist/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.d.ts +0 -14
  404. package/dist/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.js +0 -5
  405. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.d.ts +0 -12
  406. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.js +0 -5
  407. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.d.ts +0 -12
  408. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.js +0 -5
  409. package/dist/api/resources/embeddingModels/client/requests/index.d.ts +0 -2
  410. package/dist/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.d.ts +0 -12
  411. package/dist/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.js +0 -5
  412. package/dist/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.d.ts +0 -12
  413. package/dist/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.js +0 -5
  414. package/dist/api/resources/sources/client/requests/index.d.ts +0 -2
  415. package/dist/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.d.ts +0 -12
  416. package/dist/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.js +0 -5
  417. package/dist/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.d.ts +0 -12
  418. package/dist/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.js +0 -5
  419. package/dist/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.js +0 -5
  420. package/dist/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.d.ts +0 -12
  421. package/dist/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.js +0 -5
  422. package/dist/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.d.ts +0 -12
  423. package/dist/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.js +0 -5
  424. package/dist/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.d.ts +0 -12
  425. package/dist/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.js +0 -5
  426. package/dist/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.d.ts +0 -14
  427. package/dist/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.js +0 -5
  428. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.d.ts +0 -12
  429. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.js +0 -5
  430. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.d.ts +0 -12
  431. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.js +0 -5
  432. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.d.ts +0 -12
  433. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.js +0 -5
  434. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.d.ts +0 -12
  435. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.js +0 -5
  436. package/dist/api/types/DestinationWithConfigFields.js +0 -5
  437. package/dist/api/types/EmbeddingModelWithConfigFields.js +0 -5
  438. package/dist/api/types/SourceWithConfigFields.js +0 -5
  439. package/dist/api/types/SyncDagCreate.d.ts +0 -14
  440. package/dist/serialization/types/ApiKeyCreate.d.ts +0 -12
  441. package/dist/serialization/types/EntityRelationCreate.d.ts +0 -15
  442. package/dist/serialization/types/SyncDagCreate.d.ts +0 -18
  443. package/dist/serialization/types/SyncDagUpdate.d.ts +0 -18
  444. package/serialization/types/ApiKeyCreate.d.ts +0 -12
  445. package/serialization/types/EntityRelationCreate.d.ts +0 -15
  446. package/serialization/types/SyncDagCreate.d.ts +0 -18
  447. package/serialization/types/SyncDagUpdate.d.ts +0 -18
  448. /package/api/{types → resources/apiKeys/client/requests}/ApiKeyCreate.js +0 -0
  449. /package/api/resources/apiKeys/client/requests/{ReadApiKeyApiKeysIdGetRequest.js → DeleteApiKeyApiKeysDeleteRequest.js} +0 -0
  450. /package/api/resources/{connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.js → apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.js} +0 -0
  451. /package/api/{types → resources/chat/client/requests}/ChatCreate.js +0 -0
  452. /package/api/resources/{connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.js → chat/client/requests/ListChatsChatGetRequest.js} +0 -0
  453. /package/api/resources/{embeddingModels → chat}/client/requests/index.js +0 -0
  454. /package/api/{types → resources/dag/client/requests}/SyncDagCreate.js +0 -0
  455. /package/api/{types → resources/dag/client/requests}/SyncDagUpdate.js +0 -0
  456. /package/api/resources/{sources → dag}/client/requests/index.js +0 -0
  457. /package/api/{types → resources/entities/client/requests}/EntityDefinitionCreate.js +0 -0
  458. /package/api/{types → resources/entities/client/requests}/EntityRelationCreate.js +0 -0
  459. /package/api/resources/{connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.js → entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.js} +0 -0
  460. /package/{dist/api/resources/embeddingModels → api/resources/entities}/client/requests/index.js +0 -0
  461. /package/api/{types → resources/entities/types}/EntityDefinitionCreateEntitySchema.d.ts +0 -0
  462. /package/api/{types → resources/entities/types}/EntityDefinitionCreateEntitySchema.js +0 -0
  463. /package/api/{types → resources/transformers/client/requests}/TransformerCreate.js +0 -0
  464. /package/{dist/api/resources/sources → api/resources/transformers}/client/requests/index.js +0 -0
  465. /package/api/{resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.js → types/DestinationWithAuthenticationFields.js} +0 -0
  466. /package/api/{resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.js → types/EmbeddingModelWithAuthenticationFields.js} +0 -0
  467. /package/api/{resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.js → types/SourceWithAuthenticationFields.js} +0 -0
  468. /package/dist/api/{types → resources/apiKeys/client/requests}/ApiKeyCreate.js +0 -0
  469. /package/{api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.js → dist/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.js} +0 -0
  470. /package/{api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.js → dist/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.js} +0 -0
  471. /package/dist/api/{types → resources/chat/client/requests}/ChatCreate.js +0 -0
  472. /package/{api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.js → dist/api/resources/chat/client/requests/ListChatsChatGetRequest.js} +0 -0
  473. /package/dist/api/{types → resources/dag/client/requests}/SyncDagCreate.js +0 -0
  474. /package/dist/api/{types → resources/dag/client/requests}/SyncDagUpdate.js +0 -0
  475. /package/dist/api/{types → resources/entities/client/requests}/EntityDefinitionCreate.js +0 -0
  476. /package/dist/api/{types → resources/entities/client/requests}/EntityRelationCreate.js +0 -0
  477. /package/{api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.js → dist/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.js} +0 -0
  478. /package/dist/api/{types → resources/entities/types}/EntityDefinitionCreateEntitySchema.d.ts +0 -0
  479. /package/dist/api/{types → resources/entities/types}/EntityDefinitionCreateEntitySchema.js +0 -0
  480. /package/dist/api/{types → resources/transformers/client/requests}/TransformerCreate.js +0 -0
  481. /package/{api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.js → dist/api/types/DestinationWithAuthenticationFields.js} +0 -0
  482. /package/{api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.js → dist/api/types/EmbeddingModelWithAuthenticationFields.js} +0 -0
  483. /package/{api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.js → dist/api/types/SourceWithAuthenticationFields.js} +0 -0
@@ -44,17 +44,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
44
44
  step((generator = generator.apply(thisArg, _arguments || [])).next());
45
45
  });
46
46
  };
47
- var __rest = (this && this.__rest) || function (s, e) {
48
- var t = {};
49
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
- t[p] = s[p];
51
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
54
- t[p[i]] = s[p[i]];
55
- }
56
- return t;
57
- };
58
47
  var __importDefault = (this && this.__importDefault) || function (mod) {
59
48
  return (mod && mod.__esModule) ? mod : { "default": mod };
60
49
  };
@@ -91,14 +80,12 @@ class Sync {
91
80
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
92
81
  *
93
82
  * @example
94
- * await client.sync.listSyncs({
95
- * creds: "creds"
96
- * })
83
+ * await client.sync.listSyncs()
97
84
  */
98
- listSyncs(request, requestOptions) {
99
- return __awaiter(this, void 0, void 0, function* () {
85
+ listSyncs() {
86
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
100
87
  var _a;
101
- const { skip, limit, withSourceConnection, creds } = request;
88
+ const { skip, limit, withSourceConnection } = request;
102
89
  const _queryParams = {};
103
90
  if (skip != null) {
104
91
  _queryParams["skip"] = skip.toString();
@@ -109,13 +96,12 @@ class Sync {
109
96
  if (withSourceConnection != null) {
110
97
  _queryParams["with_source_connection"] = withSourceConnection.toString();
111
98
  }
112
- _queryParams["creds"] = creds;
113
99
  const _response = yield core.fetcher({
114
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sync/"),
100
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sync"),
115
101
  method: "GET",
116
102
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
117
103
  ? yield core.Supplier.get(this._options.apiKey)
118
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.22", "User-Agent": "@airweave/sdk/v0.2.22", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
104
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.24", "User-Agent": "@airweave/sdk/v0.2.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
119
105
  contentType: "application/json",
120
106
  queryParameters: _queryParams,
121
107
  requestType: "json",
@@ -154,7 +140,7 @@ class Sync {
154
140
  body: _response.error.rawBody,
155
141
  });
156
142
  case "timeout":
157
- throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /sync/.");
143
+ throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling GET /sync.");
158
144
  case "unknown":
159
145
  throw new errors.AirweaveSDKError({
160
146
  message: _response.error.errorMessage,
@@ -183,37 +169,23 @@ class Sync {
183
169
  *
184
170
  * @example
185
171
  * await client.sync.createSync({
186
- * creds: "creds",
187
172
  * name: "name",
188
173
  * sourceConnectionId: "source_connection_id",
189
- * embeddingModelConnectionId: undefined,
190
- * destinationConnectionIds: ["destination_connection_ids", "destination_connection_ids"],
191
- * description: undefined,
192
- * cronSchedule: undefined,
193
- * nextScheduledRun: undefined,
194
- * whiteLabelId: undefined,
195
- * whiteLabelUserIdentifier: undefined,
196
- * syncMetadata: undefined,
197
- * status: undefined,
198
- * runImmediately: undefined
174
+ * destinationConnectionIds: ["destination_connection_ids"]
199
175
  * })
200
176
  */
201
177
  createSync(request, requestOptions) {
202
178
  return __awaiter(this, void 0, void 0, function* () {
203
179
  var _a;
204
- const { creds } = request, _body = __rest(request, ["creds"]);
205
- const _queryParams = {};
206
- _queryParams["creds"] = creds;
207
180
  const _response = yield core.fetcher({
208
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sync/"),
181
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sync"),
209
182
  method: "POST",
210
183
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
211
184
  ? yield core.Supplier.get(this._options.apiKey)
212
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.22", "User-Agent": "@airweave/sdk/v0.2.22", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
185
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.24", "User-Agent": "@airweave/sdk/v0.2.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
186
  contentType: "application/json",
214
- queryParameters: _queryParams,
215
187
  requestType: "json",
216
- body: serializers.SyncCreate.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
188
+ body: serializers.SyncCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
217
189
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
218
190
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
219
191
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -249,7 +221,7 @@ class Sync {
249
221
  body: _response.error.rawBody,
250
222
  });
251
223
  case "timeout":
252
- throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling POST /sync/.");
224
+ throw new errors.AirweaveSDKTimeoutError("Timeout exceeded when calling POST /sync.");
253
225
  case "unknown":
254
226
  throw new errors.AirweaveSDKError({
255
227
  message: _response.error.errorMessage,
@@ -278,14 +250,12 @@ class Sync {
278
250
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
279
251
  *
280
252
  * @example
281
- * await client.sync.listAllJobs({
282
- * creds: "creds"
283
- * })
253
+ * await client.sync.listAllJobs()
284
254
  */
285
- listAllJobs(request, requestOptions) {
286
- return __awaiter(this, void 0, void 0, function* () {
255
+ listAllJobs() {
256
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
287
257
  var _a;
288
- const { skip, limit, status, creds } = request;
258
+ const { skip, limit, status } = request;
289
259
  const _queryParams = {};
290
260
  if (skip != null) {
291
261
  _queryParams["skip"] = skip.toString();
@@ -301,13 +271,12 @@ class Sync {
301
271
  _queryParams["status"] = status;
302
272
  }
303
273
  }
304
- _queryParams["creds"] = creds;
305
274
  const _response = yield core.fetcher({
306
275
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sync/jobs"),
307
276
  method: "GET",
308
277
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
309
278
  ? yield core.Supplier.get(this._options.apiKey)
310
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.22", "User-Agent": "@airweave/sdk/v0.2.22", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
279
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.24", "User-Agent": "@airweave/sdk/v0.2.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
311
280
  contentType: "application/json",
312
281
  queryParameters: _queryParams,
313
282
  requestType: "json",
@@ -368,30 +337,23 @@ class Sync {
368
337
  * sync (schemas.Sync): The sync
369
338
  *
370
339
  * @param {string} syncId
371
- * @param {AirweaveSDK.GetSyncSyncSyncIdGetRequest} request
372
340
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
373
341
  *
374
342
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
375
343
  *
376
344
  * @example
377
- * await client.sync.getSync("sync_id", {
378
- * creds: "creds"
379
- * })
345
+ * await client.sync.getSync("sync_id")
380
346
  */
381
- getSync(syncId, request, requestOptions) {
347
+ getSync(syncId, requestOptions) {
382
348
  return __awaiter(this, void 0, void 0, function* () {
383
349
  var _a;
384
- const { creds } = request;
385
- const _queryParams = {};
386
- _queryParams["creds"] = creds;
387
350
  const _response = yield core.fetcher({
388
351
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sync/${encodeURIComponent(syncId)}`),
389
352
  method: "GET",
390
353
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
391
354
  ? yield core.Supplier.get(this._options.apiKey)
392
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.22", "User-Agent": "@airweave/sdk/v0.2.22", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
355
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.24", "User-Agent": "@airweave/sdk/v0.2.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
393
356
  contentType: "application/json",
394
- queryParameters: _queryParams,
395
357
  requestType: "json",
396
358
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
397
359
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -457,25 +419,22 @@ class Sync {
457
419
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
458
420
  *
459
421
  * @example
460
- * await client.sync.deleteSync("sync_id", {
461
- * creds: "creds"
462
- * })
422
+ * await client.sync.deleteSync("sync_id")
463
423
  */
464
- deleteSync(syncId, request, requestOptions) {
465
- return __awaiter(this, void 0, void 0, function* () {
424
+ deleteSync(syncId_1) {
425
+ return __awaiter(this, arguments, void 0, function* (syncId, request = {}, requestOptions) {
466
426
  var _a;
467
- const { deleteData, creds } = request;
427
+ const { deleteData } = request;
468
428
  const _queryParams = {};
469
429
  if (deleteData != null) {
470
430
  _queryParams["delete_data"] = deleteData.toString();
471
431
  }
472
- _queryParams["creds"] = creds;
473
432
  const _response = yield core.fetcher({
474
433
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sync/${encodeURIComponent(syncId)}`),
475
434
  method: "DELETE",
476
435
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
477
436
  ? yield core.Supplier.get(this._options.apiKey)
478
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.22", "User-Agent": "@airweave/sdk/v0.2.22", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
437
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.24", "User-Agent": "@airweave/sdk/v0.2.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
479
438
  contentType: "application/json",
480
439
  queryParameters: _queryParams,
481
440
  requestType: "json",
@@ -543,33 +502,20 @@ class Sync {
543
502
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
544
503
  *
545
504
  * @example
546
- * await client.sync.updateSync("sync_id", {
547
- * creds: "creds",
548
- * name: undefined,
549
- * cronSchedule: undefined,
550
- * nextScheduledRun: undefined,
551
- * whiteLabelId: undefined,
552
- * whiteLabelUserIdentifier: undefined,
553
- * syncMetadata: undefined,
554
- * status: undefined
555
- * })
505
+ * await client.sync.updateSync("sync_id")
556
506
  */
557
- updateSync(syncId, request, requestOptions) {
558
- return __awaiter(this, void 0, void 0, function* () {
507
+ updateSync(syncId_1) {
508
+ return __awaiter(this, arguments, void 0, function* (syncId, request = {}, requestOptions) {
559
509
  var _a;
560
- const { creds } = request, _body = __rest(request, ["creds"]);
561
- const _queryParams = {};
562
- _queryParams["creds"] = creds;
563
510
  const _response = yield core.fetcher({
564
511
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sync/${encodeURIComponent(syncId)}`),
565
512
  method: "PATCH",
566
513
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
567
514
  ? yield core.Supplier.get(this._options.apiKey)
568
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.22", "User-Agent": "@airweave/sdk/v0.2.22", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
515
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.24", "User-Agent": "@airweave/sdk/v0.2.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
569
516
  contentType: "application/json",
570
- queryParameters: _queryParams,
571
517
  requestType: "json",
572
- body: serializers.SyncUpdate.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
518
+ body: serializers.SyncUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
573
519
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
574
520
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
575
521
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -628,30 +574,23 @@ class Sync {
628
574
  * sync_job (schemas.SyncJob): The sync job
629
575
  *
630
576
  * @param {string} syncId
631
- * @param {AirweaveSDK.RunSyncSyncSyncIdRunPostRequest} request
632
577
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
633
578
  *
634
579
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
635
580
  *
636
581
  * @example
637
- * await client.sync.runSync("sync_id", {
638
- * creds: "creds"
639
- * })
582
+ * await client.sync.runSync("sync_id")
640
583
  */
641
- runSync(syncId, request, requestOptions) {
584
+ runSync(syncId, requestOptions) {
642
585
  return __awaiter(this, void 0, void 0, function* () {
643
586
  var _a;
644
- const { creds } = request;
645
- const _queryParams = {};
646
- _queryParams["creds"] = creds;
647
587
  const _response = yield core.fetcher({
648
588
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sync/${encodeURIComponent(syncId)}/run`),
649
589
  method: "POST",
650
590
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
651
591
  ? yield core.Supplier.get(this._options.apiKey)
652
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.22", "User-Agent": "@airweave/sdk/v0.2.22", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
592
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.24", "User-Agent": "@airweave/sdk/v0.2.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
653
593
  contentType: "application/json",
654
- queryParameters: _queryParams,
655
594
  requestType: "json",
656
595
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
657
596
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -710,30 +649,23 @@ class Sync {
710
649
  * list[schemas.SyncJob]: A list of sync jobs
711
650
  *
712
651
  * @param {string} syncId
713
- * @param {AirweaveSDK.ListSyncJobsSyncSyncIdJobsGetRequest} request
714
652
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
715
653
  *
716
654
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
717
655
  *
718
656
  * @example
719
- * await client.sync.listSyncJobs("sync_id", {
720
- * creds: "creds"
721
- * })
657
+ * await client.sync.listSyncJobs("sync_id")
722
658
  */
723
- listSyncJobs(syncId, request, requestOptions) {
659
+ listSyncJobs(syncId, requestOptions) {
724
660
  return __awaiter(this, void 0, void 0, function* () {
725
661
  var _a;
726
- const { creds } = request;
727
- const _queryParams = {};
728
- _queryParams["creds"] = creds;
729
662
  const _response = yield core.fetcher({
730
663
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sync/${encodeURIComponent(syncId)}/jobs`),
731
664
  method: "GET",
732
665
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
733
666
  ? yield core.Supplier.get(this._options.apiKey)
734
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.22", "User-Agent": "@airweave/sdk/v0.2.22", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
667
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.24", "User-Agent": "@airweave/sdk/v0.2.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
735
668
  contentType: "application/json",
736
- queryParameters: _queryParams,
737
669
  requestType: "json",
738
670
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
739
671
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -794,30 +726,23 @@ class Sync {
794
726
  *
795
727
  * @param {string} syncId
796
728
  * @param {string} jobId
797
- * @param {AirweaveSDK.GetSyncJobSyncSyncIdJobJobIdGetRequest} request
798
729
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
799
730
  *
800
731
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
801
732
  *
802
733
  * @example
803
- * await client.sync.getSyncJob("sync_id", "job_id", {
804
- * creds: "creds"
805
- * })
734
+ * await client.sync.getSyncJob("sync_id", "job_id")
806
735
  */
807
- getSyncJob(syncId, jobId, request, requestOptions) {
736
+ getSyncJob(syncId, jobId, requestOptions) {
808
737
  return __awaiter(this, void 0, void 0, function* () {
809
738
  var _a;
810
- const { creds } = request;
811
- const _queryParams = {};
812
- _queryParams["creds"] = creds;
813
739
  const _response = yield core.fetcher({
814
740
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sync/${encodeURIComponent(syncId)}/job/${encodeURIComponent(jobId)}`),
815
741
  method: "GET",
816
742
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
817
743
  ? yield core.Supplier.get(this._options.apiKey)
818
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.22", "User-Agent": "@airweave/sdk/v0.2.22", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
744
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.24", "User-Agent": "@airweave/sdk/v0.2.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
819
745
  contentType: "application/json",
820
- queryParameters: _queryParams,
821
746
  requestType: "json",
822
747
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
823
748
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -891,7 +816,7 @@ class Sync {
891
816
  method: "GET",
892
817
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
893
818
  ? yield core.Supplier.get(this._options.apiKey)
894
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.22", "User-Agent": "@airweave/sdk/v0.2.22", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
819
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.24", "User-Agent": "@airweave/sdk/v0.2.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
895
820
  contentType: "application/json",
896
821
  requestType: "json",
897
822
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -936,30 +861,23 @@ class Sync {
936
861
  * Get the DAG for a specific sync.
937
862
  *
938
863
  * @param {string} syncId
939
- * @param {AirweaveSDK.GetSyncDagSyncSyncIdDagGetRequest} request
940
864
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
941
865
  *
942
866
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
943
867
  *
944
868
  * @example
945
- * await client.sync.getSyncDag("sync_id", {
946
- * creds: "creds"
947
- * })
869
+ * await client.sync.getSyncDag("sync_id")
948
870
  */
949
- getSyncDag(syncId, request, requestOptions) {
871
+ getSyncDag(syncId, requestOptions) {
950
872
  return __awaiter(this, void 0, void 0, function* () {
951
873
  var _a;
952
- const { creds } = request;
953
- const _queryParams = {};
954
- _queryParams["creds"] = creds;
955
874
  const _response = yield core.fetcher({
956
875
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sync/${encodeURIComponent(syncId)}/dag`),
957
876
  method: "GET",
958
877
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
959
878
  ? yield core.Supplier.get(this._options.apiKey)
960
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.22", "User-Agent": "@airweave/sdk/v0.2.22", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
879
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.24", "User-Agent": "@airweave/sdk/v0.2.24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
961
880
  contentType: "application/json",
962
- queryParameters: _queryParams,
963
881
  requestType: "json",
964
882
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
965
883
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -3,11 +3,8 @@
3
3
  */
4
4
  /**
5
5
  * @example
6
- * {
7
- * creds: "creds"
8
- * }
6
+ * {}
9
7
  */
10
8
  export interface DeleteSyncSyncSyncIdDeleteRequest {
11
9
  deleteData?: boolean;
12
- creds: string;
13
10
  }
@@ -3,9 +3,7 @@
3
3
  */
4
4
  /**
5
5
  * @example
6
- * {
7
- * creds: "creds"
8
- * }
6
+ * {}
9
7
  */
10
8
  export interface ListAllJobsSyncJobsGetRequest {
11
9
  skip?: number;
@@ -14,5 +12,4 @@ export interface ListAllJobsSyncJobsGetRequest {
14
12
  * Filter by job status
15
13
  */
16
14
  status?: string | string[];
17
- creds: string;
18
15
  }
@@ -3,13 +3,10 @@
3
3
  */
4
4
  /**
5
5
  * @example
6
- * {
7
- * creds: "creds"
8
- * }
6
+ * {}
9
7
  */
10
8
  export interface ListSyncsSyncGetRequest {
11
9
  skip?: number;
12
10
  limit?: number;
13
11
  withSourceConnection?: boolean;
14
- creds: string;
15
12
  }
@@ -5,23 +5,12 @@ import * as AirweaveSDK from "../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {
8
- * creds: "creds",
9
8
  * name: "name",
10
9
  * sourceConnectionId: "source_connection_id",
11
- * embeddingModelConnectionId: undefined,
12
- * destinationConnectionIds: ["destination_connection_ids", "destination_connection_ids"],
13
- * description: undefined,
14
- * cronSchedule: undefined,
15
- * nextScheduledRun: undefined,
16
- * whiteLabelId: undefined,
17
- * whiteLabelUserIdentifier: undefined,
18
- * syncMetadata: undefined,
19
- * status: undefined,
20
- * runImmediately: undefined
10
+ * destinationConnectionIds: ["destination_connection_ids"]
21
11
  * }
22
12
  */
23
13
  export interface SyncCreate {
24
- creds: string;
25
14
  name: string;
26
15
  sourceConnectionId: string;
27
16
  embeddingModelConnectionId?: string;
@@ -4,19 +4,9 @@
4
4
  import * as AirweaveSDK from "../../../../index";
5
5
  /**
6
6
  * @example
7
- * {
8
- * creds: "creds",
9
- * name: undefined,
10
- * cronSchedule: undefined,
11
- * nextScheduledRun: undefined,
12
- * whiteLabelId: undefined,
13
- * whiteLabelUserIdentifier: undefined,
14
- * syncMetadata: undefined,
15
- * status: undefined
16
- * }
7
+ * {}
17
8
  */
18
9
  export interface SyncUpdate {
19
- creds: string;
20
10
  name?: string;
21
11
  cronSchedule?: string;
22
12
  nextScheduledRun?: Date;
@@ -1,10 +1,5 @@
1
1
  export { type ListSyncsSyncGetRequest } from "./ListSyncsSyncGetRequest";
2
2
  export { type SyncCreate } from "./SyncCreate";
3
3
  export { type ListAllJobsSyncJobsGetRequest } from "./ListAllJobsSyncJobsGetRequest";
4
- export { type GetSyncSyncSyncIdGetRequest } from "./GetSyncSyncSyncIdGetRequest";
5
4
  export { type DeleteSyncSyncSyncIdDeleteRequest } from "./DeleteSyncSyncSyncIdDeleteRequest";
6
5
  export { type SyncUpdate } from "./SyncUpdate";
7
- export { type RunSyncSyncSyncIdRunPostRequest } from "./RunSyncSyncSyncIdRunPostRequest";
8
- export { type ListSyncJobsSyncSyncIdJobsGetRequest } from "./ListSyncJobsSyncSyncIdJobsGetRequest";
9
- export { type GetSyncJobSyncSyncIdJobJobIdGetRequest } from "./GetSyncJobSyncSyncIdJobJobIdGetRequest";
10
- export { type GetSyncDagSyncSyncIdDagGetRequest } from "./GetSyncDagSyncSyncIdDagGetRequest";
@@ -0,0 +1,58 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../environments";
5
+ import * as core from "../../../../core";
6
+ import * as AirweaveSDK from "../../../index";
7
+ export declare namespace Transformers {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.AirweaveSDKEnvironment | string>;
10
+ /** Override the x-api-key header */
11
+ apiKey?: core.Supplier<string | undefined>;
12
+ }
13
+ interface RequestOptions {
14
+ /** The maximum time to wait for a response in seconds. */
15
+ timeoutInSeconds?: number;
16
+ /** The number of times to retry the request. Defaults to 2. */
17
+ maxRetries?: number;
18
+ /** A hook to abort the request. */
19
+ abortSignal?: AbortSignal;
20
+ /** Override the x-api-key header */
21
+ apiKey?: string | undefined;
22
+ /** Additional headers to include in the request. */
23
+ headers?: Record<string, string>;
24
+ }
25
+ }
26
+ export declare class Transformers {
27
+ protected readonly _options: Transformers.Options;
28
+ constructor(_options?: Transformers.Options);
29
+ /**
30
+ * List all transformers for the current user's organization.
31
+ *
32
+ * @param {Transformers.RequestOptions} requestOptions - Request-specific configuration.
33
+ *
34
+ * @throws {@link AirweaveSDK.UnprocessableEntityError}
35
+ *
36
+ * @example
37
+ * await client.transformers.listTransformers()
38
+ */
39
+ listTransformers(requestOptions?: Transformers.RequestOptions): Promise<AirweaveSDK.Transformer[]>;
40
+ /**
41
+ * Create a new transformer.
42
+ *
43
+ * @param {AirweaveSDK.TransformerCreate} request
44
+ * @param {Transformers.RequestOptions} requestOptions - Request-specific configuration.
45
+ *
46
+ * @throws {@link AirweaveSDK.UnprocessableEntityError}
47
+ *
48
+ * @example
49
+ * await client.transformers.createTransformer({
50
+ * name: "name",
51
+ * methodName: "method_name",
52
+ * moduleName: "module_name",
53
+ * inputEntityDefinitionIds: ["input_entity_definition_ids"],
54
+ * outputEntityDefinitionIds: ["output_entity_definition_ids"]
55
+ * })
56
+ */
57
+ createTransformer(request: AirweaveSDK.TransformerCreate, requestOptions?: Transformers.RequestOptions): Promise<AirweaveSDK.Transformer>;
58
+ }