@airweave/sdk 0.2.8 → 0.2.9

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 (301) hide show
  1. package/README.md +11 -10
  2. package/api/resources/connections/client/Client.d.ts +47 -18
  3. package/api/resources/connections/client/Client.js +112 -30
  4. package/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +6 -1
  5. package/api/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +2 -0
  6. package/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.d.ts +12 -0
  7. package/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.js +5 -0
  8. package/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.d.ts +12 -0
  9. package/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.js +5 -0
  10. package/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.d.ts +12 -0
  11. package/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.js +5 -0
  12. package/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.d.ts +12 -0
  13. package/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.js +5 -0
  14. package/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.d.ts +12 -0
  15. package/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.js +5 -0
  16. package/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.d.ts +12 -0
  17. package/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.js +5 -0
  18. package/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.d.ts +12 -0
  19. package/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.js +5 -0
  20. package/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.d.ts +14 -0
  21. package/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.js +5 -0
  22. package/api/resources/connections/client/requests/index.d.ts +8 -0
  23. package/api/resources/destinations/client/Client.d.ts +10 -4
  24. package/api/resources/destinations/client/Client.js +20 -6
  25. package/api/resources/destinations/client/index.d.ts +1 -1
  26. package/api/resources/destinations/client/index.js +15 -0
  27. package/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.d.ts +12 -0
  28. package/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.js +5 -0
  29. package/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.d.ts +12 -0
  30. package/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.js +5 -0
  31. package/api/resources/destinations/client/requests/index.d.ts +2 -0
  32. package/api/resources/destinations/client/requests/index.js +2 -0
  33. package/api/resources/embeddingModels/client/Client.d.ts +10 -4
  34. package/api/resources/embeddingModels/client/Client.js +20 -6
  35. package/api/resources/embeddingModels/client/index.d.ts +1 -1
  36. package/api/resources/embeddingModels/client/index.js +15 -0
  37. package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.d.ts +12 -0
  38. package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.js +5 -0
  39. package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.d.ts +12 -0
  40. package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.js +5 -0
  41. package/api/resources/embeddingModels/client/requests/index.d.ts +2 -0
  42. package/api/resources/embeddingModels/client/requests/index.js +2 -0
  43. package/api/resources/entities/client/Client.d.ts +30 -10
  44. package/api/resources/entities/client/Client.js +83 -23
  45. package/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +5 -1
  46. package/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +5 -1
  47. package/api/resources/entities/client/requests/EntityRelationCreate.d.ts +3 -0
  48. package/api/resources/entities/client/requests/EntityRelationUpdate.d.ts +3 -0
  49. package/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.d.ts +14 -0
  50. package/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.js +5 -0
  51. package/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +3 -1
  52. package/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.d.ts +12 -0
  53. package/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.js +5 -0
  54. package/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.d.ts +12 -0
  55. package/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.js +5 -0
  56. package/api/resources/entities/client/requests/index.d.ts +3 -0
  57. package/api/resources/index.d.ts +4 -0
  58. package/api/resources/index.js +4 -0
  59. package/api/resources/search/client/Client.d.ts +2 -1
  60. package/api/resources/search/client/Client.js +5 -3
  61. package/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +3 -1
  62. package/api/resources/sources/client/Client.d.ts +10 -4
  63. package/api/resources/sources/client/Client.js +20 -6
  64. package/api/resources/sources/client/index.d.ts +1 -1
  65. package/api/resources/sources/client/index.js +15 -0
  66. package/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.d.ts +12 -0
  67. package/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.js +5 -0
  68. package/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.d.ts +12 -0
  69. package/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.js +5 -0
  70. package/api/resources/sources/client/requests/index.d.ts +2 -0
  71. package/api/resources/sources/client/requests/index.js +2 -0
  72. package/api/resources/sync/client/Client.d.ts +61 -20
  73. package/api/resources/sync/client/Client.js +123 -40
  74. package/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts +4 -1
  75. package/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.d.ts +12 -0
  76. package/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.js +5 -0
  77. package/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.d.ts +12 -0
  78. package/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.js +5 -0
  79. package/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.d.ts +12 -0
  80. package/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.js +5 -0
  81. package/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +4 -1
  82. package/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.d.ts +12 -0
  83. package/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.js +5 -0
  84. package/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +4 -1
  85. package/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.d.ts +12 -0
  86. package/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.js +5 -0
  87. package/api/resources/sync/client/requests/SyncCreate.d.ts +12 -1
  88. package/api/resources/sync/client/requests/SyncUpdate.d.ts +11 -1
  89. package/api/resources/sync/client/requests/index.d.ts +5 -0
  90. package/api/resources/transformers/client/Client.d.ts +15 -6
  91. package/api/resources/transformers/client/Client.js +43 -11
  92. package/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.d.ts +12 -0
  93. package/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.js +5 -0
  94. package/api/resources/transformers/client/requests/TransformerCreate.d.ts +6 -2
  95. package/api/resources/transformers/client/requests/TransformerUpdate.d.ts +6 -2
  96. package/api/resources/transformers/client/requests/index.d.ts +1 -0
  97. package/api/resources/users/client/Client.d.ts +35 -2
  98. package/api/resources/users/client/Client.js +109 -3
  99. package/api/resources/users/client/index.d.ts +1 -1
  100. package/api/resources/users/client/index.js +15 -0
  101. package/api/resources/users/client/requests/ReadUserUsersGetRequest.d.ts +12 -0
  102. package/api/resources/users/client/requests/ReadUserUsersGetRequest.js +5 -0
  103. package/api/resources/users/client/requests/UserCreate.d.ts +18 -0
  104. package/api/resources/users/client/requests/UserCreate.js +5 -0
  105. package/api/resources/users/client/requests/index.d.ts +2 -0
  106. package/api/resources/users/client/requests/index.js +2 -0
  107. package/api/resources/whiteLabels/client/Client.d.ts +40 -15
  108. package/api/resources/whiteLabels/client/Client.js +94 -26
  109. package/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.d.ts +12 -0
  110. package/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.js +5 -0
  111. package/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.d.ts +14 -0
  112. package/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.js +5 -0
  113. package/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.d.ts +12 -0
  114. package/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.js +5 -0
  115. package/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.d.ts +12 -0
  116. package/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.js +5 -0
  117. package/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.d.ts +12 -0
  118. package/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.js +5 -0
  119. package/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.d.ts +12 -0
  120. package/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.js +5 -0
  121. package/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +2 -0
  122. package/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +8 -1
  123. package/api/resources/whiteLabels/client/requests/index.d.ts +6 -0
  124. package/api/types/User.d.ts +1 -1
  125. package/dist/api/resources/connections/client/Client.d.ts +47 -18
  126. package/dist/api/resources/connections/client/Client.js +112 -30
  127. package/dist/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +6 -1
  128. package/dist/api/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +2 -0
  129. package/dist/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.d.ts +12 -0
  130. package/dist/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.js +5 -0
  131. package/dist/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.d.ts +12 -0
  132. package/dist/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.js +5 -0
  133. package/dist/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.d.ts +12 -0
  134. package/dist/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.js +5 -0
  135. package/dist/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.d.ts +12 -0
  136. package/dist/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.js +5 -0
  137. package/dist/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.d.ts +12 -0
  138. package/dist/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.js +5 -0
  139. package/dist/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.d.ts +12 -0
  140. package/dist/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.js +5 -0
  141. package/dist/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.d.ts +12 -0
  142. package/dist/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.js +5 -0
  143. package/dist/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.d.ts +14 -0
  144. package/dist/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.js +5 -0
  145. package/dist/api/resources/connections/client/requests/index.d.ts +8 -0
  146. package/dist/api/resources/destinations/client/Client.d.ts +10 -4
  147. package/dist/api/resources/destinations/client/Client.js +20 -6
  148. package/dist/api/resources/destinations/client/index.d.ts +1 -1
  149. package/dist/api/resources/destinations/client/index.js +15 -0
  150. package/dist/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.d.ts +12 -0
  151. package/dist/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.js +5 -0
  152. package/dist/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.d.ts +12 -0
  153. package/dist/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.js +5 -0
  154. package/dist/api/resources/destinations/client/requests/index.d.ts +2 -0
  155. package/dist/api/resources/destinations/client/requests/index.js +2 -0
  156. package/dist/api/resources/embeddingModels/client/Client.d.ts +10 -4
  157. package/dist/api/resources/embeddingModels/client/Client.js +20 -6
  158. package/dist/api/resources/embeddingModels/client/index.d.ts +1 -1
  159. package/dist/api/resources/embeddingModels/client/index.js +15 -0
  160. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.d.ts +12 -0
  161. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.js +5 -0
  162. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.d.ts +12 -0
  163. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.js +5 -0
  164. package/dist/api/resources/embeddingModels/client/requests/index.d.ts +2 -0
  165. package/dist/api/resources/embeddingModels/client/requests/index.js +2 -0
  166. package/dist/api/resources/entities/client/Client.d.ts +30 -10
  167. package/dist/api/resources/entities/client/Client.js +83 -23
  168. package/dist/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +5 -1
  169. package/dist/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +5 -1
  170. package/dist/api/resources/entities/client/requests/EntityRelationCreate.d.ts +3 -0
  171. package/dist/api/resources/entities/client/requests/EntityRelationUpdate.d.ts +3 -0
  172. package/dist/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.d.ts +14 -0
  173. package/dist/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.js +5 -0
  174. package/dist/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +3 -1
  175. package/dist/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.d.ts +12 -0
  176. package/dist/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.js +5 -0
  177. package/dist/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.d.ts +12 -0
  178. package/dist/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.js +5 -0
  179. package/dist/api/resources/entities/client/requests/index.d.ts +3 -0
  180. package/dist/api/resources/index.d.ts +4 -0
  181. package/dist/api/resources/index.js +4 -0
  182. package/dist/api/resources/search/client/Client.d.ts +2 -1
  183. package/dist/api/resources/search/client/Client.js +5 -3
  184. package/dist/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +3 -1
  185. package/dist/api/resources/sources/client/Client.d.ts +10 -4
  186. package/dist/api/resources/sources/client/Client.js +20 -6
  187. package/dist/api/resources/sources/client/index.d.ts +1 -1
  188. package/dist/api/resources/sources/client/index.js +15 -0
  189. package/dist/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.d.ts +12 -0
  190. package/dist/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.js +5 -0
  191. package/dist/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.d.ts +12 -0
  192. package/dist/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.js +5 -0
  193. package/dist/api/resources/sources/client/requests/index.d.ts +2 -0
  194. package/dist/api/resources/sources/client/requests/index.js +2 -0
  195. package/dist/api/resources/sync/client/Client.d.ts +61 -20
  196. package/dist/api/resources/sync/client/Client.js +123 -40
  197. package/dist/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts +4 -1
  198. package/dist/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.d.ts +12 -0
  199. package/dist/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.js +5 -0
  200. package/dist/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.d.ts +12 -0
  201. package/dist/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.js +5 -0
  202. package/dist/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.d.ts +12 -0
  203. package/dist/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.js +5 -0
  204. package/dist/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +4 -1
  205. package/dist/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.d.ts +12 -0
  206. package/dist/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.js +5 -0
  207. package/dist/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +4 -1
  208. package/dist/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.d.ts +12 -0
  209. package/dist/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.js +5 -0
  210. package/dist/api/resources/sync/client/requests/SyncCreate.d.ts +12 -1
  211. package/dist/api/resources/sync/client/requests/SyncUpdate.d.ts +11 -1
  212. package/dist/api/resources/sync/client/requests/index.d.ts +5 -0
  213. package/dist/api/resources/transformers/client/Client.d.ts +15 -6
  214. package/dist/api/resources/transformers/client/Client.js +43 -11
  215. package/dist/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.d.ts +12 -0
  216. package/dist/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.js +5 -0
  217. package/dist/api/resources/transformers/client/requests/TransformerCreate.d.ts +6 -2
  218. package/dist/api/resources/transformers/client/requests/TransformerUpdate.d.ts +6 -2
  219. package/dist/api/resources/transformers/client/requests/index.d.ts +1 -0
  220. package/dist/api/resources/users/client/Client.d.ts +35 -2
  221. package/dist/api/resources/users/client/Client.js +109 -3
  222. package/dist/api/resources/users/client/index.d.ts +1 -1
  223. package/dist/api/resources/users/client/index.js +15 -0
  224. package/dist/api/resources/users/client/requests/ReadUserUsersGetRequest.d.ts +12 -0
  225. package/dist/api/resources/users/client/requests/ReadUserUsersGetRequest.js +5 -0
  226. package/dist/api/resources/users/client/requests/UserCreate.d.ts +18 -0
  227. package/dist/api/resources/users/client/requests/UserCreate.js +5 -0
  228. package/dist/api/resources/users/client/requests/index.d.ts +2 -0
  229. package/dist/api/resources/users/client/requests/index.js +2 -0
  230. package/dist/api/resources/whiteLabels/client/Client.d.ts +40 -15
  231. package/dist/api/resources/whiteLabels/client/Client.js +94 -26
  232. package/dist/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.d.ts +12 -0
  233. package/dist/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.js +5 -0
  234. package/dist/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.d.ts +14 -0
  235. package/dist/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.js +5 -0
  236. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.d.ts +12 -0
  237. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.js +5 -0
  238. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.d.ts +12 -0
  239. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.js +5 -0
  240. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.d.ts +12 -0
  241. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.js +5 -0
  242. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.d.ts +12 -0
  243. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.js +5 -0
  244. package/dist/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +2 -0
  245. package/dist/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +8 -1
  246. package/dist/api/resources/whiteLabels/client/requests/index.d.ts +6 -0
  247. package/dist/api/types/User.d.ts +1 -1
  248. package/dist/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -1
  249. package/dist/serialization/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +1 -1
  250. package/dist/serialization/resources/entities/client/requests/EntityDefinitionCreate.d.ts +1 -1
  251. package/dist/serialization/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +1 -1
  252. package/dist/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +1 -1
  253. package/dist/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +1 -1
  254. package/dist/serialization/resources/index.d.ts +2 -0
  255. package/dist/serialization/resources/index.js +3 -1
  256. package/dist/serialization/resources/sync/client/requests/SyncCreate.d.ts +1 -1
  257. package/dist/serialization/resources/sync/client/requests/SyncUpdate.d.ts +1 -1
  258. package/dist/serialization/resources/transformers/client/requests/TransformerCreate.d.ts +1 -1
  259. package/dist/serialization/resources/transformers/client/requests/TransformerUpdate.d.ts +1 -1
  260. package/dist/serialization/resources/users/client/index.d.ts +1 -0
  261. package/dist/serialization/resources/users/client/index.js +17 -0
  262. package/dist/serialization/resources/users/client/requests/UserCreate.d.ts +14 -0
  263. package/dist/serialization/resources/users/client/requests/UserCreate.js +45 -0
  264. package/dist/serialization/resources/users/client/requests/index.d.ts +1 -0
  265. package/dist/serialization/resources/users/client/requests/index.js +5 -0
  266. package/dist/serialization/resources/users/index.d.ts +1 -0
  267. package/dist/serialization/resources/users/index.js +17 -0
  268. package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +1 -1
  269. package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -1
  270. package/dist/serialization/types/User.d.ts +1 -1
  271. package/dist/serialization/types/User.js +1 -1
  272. package/dist/version.d.ts +1 -1
  273. package/dist/version.js +1 -1
  274. package/package.json +1 -1
  275. package/reference.md +490 -74
  276. package/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -1
  277. package/serialization/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +1 -1
  278. package/serialization/resources/entities/client/requests/EntityDefinitionCreate.d.ts +1 -1
  279. package/serialization/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +1 -1
  280. package/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +1 -1
  281. package/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +1 -1
  282. package/serialization/resources/index.d.ts +2 -0
  283. package/serialization/resources/index.js +3 -1
  284. package/serialization/resources/sync/client/requests/SyncCreate.d.ts +1 -1
  285. package/serialization/resources/sync/client/requests/SyncUpdate.d.ts +1 -1
  286. package/serialization/resources/transformers/client/requests/TransformerCreate.d.ts +1 -1
  287. package/serialization/resources/transformers/client/requests/TransformerUpdate.d.ts +1 -1
  288. package/serialization/resources/users/client/index.d.ts +1 -0
  289. package/serialization/resources/users/client/index.js +17 -0
  290. package/serialization/resources/users/client/requests/UserCreate.d.ts +14 -0
  291. package/serialization/resources/users/client/requests/UserCreate.js +45 -0
  292. package/serialization/resources/users/client/requests/index.d.ts +1 -0
  293. package/serialization/resources/users/client/requests/index.js +5 -0
  294. package/serialization/resources/users/index.d.ts +1 -0
  295. package/serialization/resources/users/index.js +17 -0
  296. package/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +1 -1
  297. package/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -1
  298. package/serialization/types/User.d.ts +1 -1
  299. package/serialization/types/User.js +1 -1
  300. package/version.d.ts +1 -1
  301. package/version.js +1 -1
@@ -5,7 +5,8 @@
5
5
  * @example
6
6
  * {
7
7
  * syncId: "sync_id",
8
- * query: "query"
8
+ * query: "query",
9
+ * creds: "creds"
9
10
  * }
10
11
  */
11
12
  export interface SearchSearchGetRequest {
@@ -17,4 +18,5 @@ export interface SearchSearchGetRequest {
17
18
  * Search query text
18
19
  */
19
20
  query: string;
21
+ creds: string;
20
22
  }
@@ -40,14 +40,17 @@ export declare class Sources {
40
40
  * schemas.Source: The source object.
41
41
  *
42
42
  * @param {string} shortName
43
+ * @param {AirweaveSDK.ReadSourceSourcesDetailShortNameGetRequest} request
43
44
  * @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
44
45
  *
45
46
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
46
47
  *
47
48
  * @example
48
- * await client.sources.readSource("short_name")
49
+ * await client.sources.readSource("short_name", {
50
+ * creds: "creds"
51
+ * })
49
52
  */
50
- readSource(shortName: string, requestOptions?: Sources.RequestOptions): Promise<AirweaveSDK.SourceWithConfigFields>;
53
+ readSource(shortName: string, request: AirweaveSDK.ReadSourceSourcesDetailShortNameGetRequest, requestOptions?: Sources.RequestOptions): Promise<AirweaveSDK.SourceWithConfigFields>;
51
54
  /**
52
55
  * Get all sources for the current user.
53
56
  *
@@ -60,12 +63,15 @@ export declare class Sources {
60
63
  * --------
61
64
  * list[schemas.Source]: The list of sources.
62
65
  *
66
+ * @param {AirweaveSDK.ReadSourcesSourcesListGetRequest} request
63
67
  * @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
64
68
  *
65
69
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
66
70
  *
67
71
  * @example
68
- * await client.sources.readSources()
72
+ * await client.sources.readSources({
73
+ * creds: "creds"
74
+ * })
69
75
  */
70
- readSources(requestOptions?: Sources.RequestOptions): Promise<AirweaveSDK.Source[]>;
76
+ readSources(request: AirweaveSDK.ReadSourcesSourcesListGetRequest, requestOptions?: Sources.RequestOptions): Promise<AirweaveSDK.Source[]>;
71
77
  }
@@ -73,23 +73,30 @@ class Sources {
73
73
  * schemas.Source: The source object.
74
74
  *
75
75
  * @param {string} shortName
76
+ * @param {AirweaveSDK.ReadSourceSourcesDetailShortNameGetRequest} request
76
77
  * @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
77
78
  *
78
79
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
79
80
  *
80
81
  * @example
81
- * await client.sources.readSource("short_name")
82
+ * await client.sources.readSource("short_name", {
83
+ * creds: "creds"
84
+ * })
82
85
  */
83
- readSource(shortName, requestOptions) {
86
+ readSource(shortName, request, requestOptions) {
84
87
  return __awaiter(this, void 0, void 0, function* () {
85
88
  var _a;
89
+ const { creds } = request;
90
+ const _queryParams = {};
91
+ _queryParams["creds"] = creds;
86
92
  const _response = yield core.fetcher({
87
93
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `sources/detail/${encodeURIComponent(shortName)}`),
88
94
  method: "GET",
89
95
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
90
96
  ? yield core.Supplier.get(this._options.apiKey)
91
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.8", "User-Agent": "@airweave/sdk/v0.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.9", "User-Agent": "@airweave/sdk/v0.2.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
98
  contentType: "application/json",
99
+ queryParameters: _queryParams,
93
100
  requestType: "json",
94
101
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
95
102
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -146,23 +153,30 @@ class Sources {
146
153
  * --------
147
154
  * list[schemas.Source]: The list of sources.
148
155
  *
156
+ * @param {AirweaveSDK.ReadSourcesSourcesListGetRequest} request
149
157
  * @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
150
158
  *
151
159
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
152
160
  *
153
161
  * @example
154
- * await client.sources.readSources()
162
+ * await client.sources.readSources({
163
+ * creds: "creds"
164
+ * })
155
165
  */
156
- readSources(requestOptions) {
166
+ readSources(request, requestOptions) {
157
167
  return __awaiter(this, void 0, void 0, function* () {
158
168
  var _a;
169
+ const { creds } = request;
170
+ const _queryParams = {};
171
+ _queryParams["creds"] = creds;
159
172
  const _response = yield core.fetcher({
160
173
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sources/list"),
161
174
  method: "GET",
162
175
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
163
176
  ? yield core.Supplier.get(this._options.apiKey)
164
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.8", "User-Agent": "@airweave/sdk/v0.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
177
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.9", "User-Agent": "@airweave/sdk/v0.2.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
165
178
  contentType: "application/json",
179
+ queryParameters: _queryParams,
166
180
  requestType: "json",
167
181
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
168
182
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1 +1 @@
1
- export {};
1
+ export * from "./requests";
@@ -1,2 +1,17 @@
1
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
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * creds: "creds"
8
+ * }
9
+ */
10
+ export interface ReadSourceSourcesDetailShortNameGetRequest {
11
+ creds: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * creds: "creds"
8
+ * }
9
+ */
10
+ export interface ReadSourcesSourcesListGetRequest {
11
+ creds: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { type ReadSourceSourcesDetailShortNameGetRequest } from "./ReadSourceSourcesDetailShortNameGetRequest";
2
+ export { type ReadSourcesSourcesListGetRequest } from "./ReadSourcesSourcesListGetRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -47,9 +47,11 @@ export declare class Sync {
47
47
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
48
48
  *
49
49
  * @example
50
- * await client.sync.listSyncs()
50
+ * await client.sync.listSyncs({
51
+ * creds: "creds"
52
+ * })
51
53
  */
52
- listSyncs(request?: AirweaveSDK.ListSyncsSyncGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.ListSyncsSyncGetResponse>;
54
+ listSyncs(request: AirweaveSDK.ListSyncsSyncGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.ListSyncsSyncGetResponse>;
53
55
  /**
54
56
  * Create a new sync configuration.
55
57
  *
@@ -71,9 +73,19 @@ export declare class Sync {
71
73
  *
72
74
  * @example
73
75
  * await client.sync.createSync({
76
+ * creds: "creds",
74
77
  * name: "name",
75
78
  * sourceConnectionId: "source_connection_id",
76
- * destinationConnectionIds: ["destination_connection_ids"]
79
+ * embeddingModelConnectionId: undefined,
80
+ * destinationConnectionIds: ["destination_connection_ids", "destination_connection_ids"],
81
+ * description: undefined,
82
+ * cronSchedule: undefined,
83
+ * nextScheduledRun: undefined,
84
+ * whiteLabelId: undefined,
85
+ * whiteLabelUserIdentifier: undefined,
86
+ * syncMetadata: undefined,
87
+ * status: undefined,
88
+ * runImmediately: undefined
77
89
  * })
78
90
  */
79
91
  createSync(request: AirweaveSDK.SyncCreate, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
@@ -97,9 +109,11 @@ export declare class Sync {
97
109
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
98
110
  *
99
111
  * @example
100
- * await client.sync.listAllJobs()
112
+ * await client.sync.listAllJobs({
113
+ * creds: "creds"
114
+ * })
101
115
  */
102
- listAllJobs(request?: AirweaveSDK.ListAllJobsSyncJobsGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob[]>;
116
+ listAllJobs(request: AirweaveSDK.ListAllJobsSyncJobsGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob[]>;
103
117
  /**
104
118
  * Get a specific sync by ID.
105
119
  *
@@ -114,14 +128,17 @@ export declare class Sync {
114
128
  * sync (schemas.Sync): The sync
115
129
  *
116
130
  * @param {string} syncId
131
+ * @param {AirweaveSDK.GetSyncSyncSyncIdGetRequest} request
117
132
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
118
133
  *
119
134
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
120
135
  *
121
136
  * @example
122
- * await client.sync.getSync("sync_id")
137
+ * await client.sync.getSync("sync_id", {
138
+ * creds: "creds"
139
+ * })
123
140
  */
124
- getSync(syncId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
141
+ getSync(syncId: string, request: AirweaveSDK.GetSyncSyncSyncIdGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
125
142
  /**
126
143
  * Delete a sync configuration and optionally its associated data.
127
144
  *
@@ -143,9 +160,11 @@ export declare class Sync {
143
160
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
144
161
  *
145
162
  * @example
146
- * await client.sync.deleteSync("sync_id")
163
+ * await client.sync.deleteSync("sync_id", {
164
+ * creds: "creds"
165
+ * })
147
166
  */
148
- deleteSync(syncId: string, request?: AirweaveSDK.DeleteSyncSyncSyncIdDeleteRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
167
+ deleteSync(syncId: string, request: AirweaveSDK.DeleteSyncSyncSyncIdDeleteRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
149
168
  /**
150
169
  * Update a sync configuration.
151
170
  *
@@ -167,9 +186,18 @@ export declare class Sync {
167
186
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
168
187
  *
169
188
  * @example
170
- * await client.sync.updateSync("sync_id")
189
+ * await client.sync.updateSync("sync_id", {
190
+ * creds: "creds",
191
+ * name: undefined,
192
+ * cronSchedule: undefined,
193
+ * nextScheduledRun: undefined,
194
+ * whiteLabelId: undefined,
195
+ * whiteLabelUserIdentifier: undefined,
196
+ * syncMetadata: undefined,
197
+ * status: undefined
198
+ * })
171
199
  */
172
- updateSync(syncId: string, request?: AirweaveSDK.SyncUpdate, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
200
+ updateSync(syncId: string, request: AirweaveSDK.SyncUpdate, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.Sync>;
173
201
  /**
174
202
  * Trigger a sync run.
175
203
  *
@@ -185,14 +213,17 @@ export declare class Sync {
185
213
  * sync_job (schemas.SyncJob): The sync job
186
214
  *
187
215
  * @param {string} syncId
216
+ * @param {AirweaveSDK.RunSyncSyncSyncIdRunPostRequest} request
188
217
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
189
218
  *
190
219
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
191
220
  *
192
221
  * @example
193
- * await client.sync.runSync("sync_id")
222
+ * await client.sync.runSync("sync_id", {
223
+ * creds: "creds"
224
+ * })
194
225
  */
195
- runSync(syncId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob>;
226
+ runSync(syncId: string, request: AirweaveSDK.RunSyncSyncSyncIdRunPostRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob>;
196
227
  /**
197
228
  * List all jobs for a specific sync.
198
229
  *
@@ -207,14 +238,17 @@ export declare class Sync {
207
238
  * list[schemas.SyncJob]: A list of sync jobs
208
239
  *
209
240
  * @param {string} syncId
241
+ * @param {AirweaveSDK.ListSyncJobsSyncSyncIdJobsGetRequest} request
210
242
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
211
243
  *
212
244
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
213
245
  *
214
246
  * @example
215
- * await client.sync.listSyncJobs("sync_id")
247
+ * await client.sync.listSyncJobs("sync_id", {
248
+ * creds: "creds"
249
+ * })
216
250
  */
217
- listSyncJobs(syncId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob[]>;
251
+ listSyncJobs(syncId: string, request: AirweaveSDK.ListSyncJobsSyncSyncIdJobsGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob[]>;
218
252
  /**
219
253
  * Get details of a specific sync job.
220
254
  *
@@ -231,21 +265,25 @@ export declare class Sync {
231
265
  *
232
266
  * @param {string} syncId
233
267
  * @param {string} jobId
268
+ * @param {AirweaveSDK.GetSyncJobSyncSyncIdJobJobIdGetRequest} request
234
269
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
235
270
  *
236
271
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
237
272
  *
238
273
  * @example
239
- * await client.sync.getSyncJob("sync_id", "job_id")
274
+ * await client.sync.getSyncJob("sync_id", "job_id", {
275
+ * creds: "creds"
276
+ * })
240
277
  */
241
- getSyncJob(syncId: string, jobId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob>;
278
+ getSyncJob(syncId: string, jobId: string, request: AirweaveSDK.GetSyncJobSyncSyncIdJobJobIdGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncJob>;
242
279
  /**
243
280
  * Server-Sent Events (SSE) endpoint to subscribe to a sync job's progress.
244
281
  *
245
282
  * Args:
246
283
  * -----
247
284
  * job_id: The ID of the job to subscribe to
248
- * user: The current user
285
+ * request: The request object
286
+ * db: The database session
249
287
  *
250
288
  * Returns:
251
289
  * --------
@@ -264,12 +302,15 @@ export declare class Sync {
264
302
  * Get the DAG for a specific sync.
265
303
  *
266
304
  * @param {string} syncId
305
+ * @param {AirweaveSDK.GetSyncDagSyncSyncIdDagGetRequest} request
267
306
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
268
307
  *
269
308
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
270
309
  *
271
310
  * @example
272
- * await client.sync.getSyncDag("sync_id")
311
+ * await client.sync.getSyncDag("sync_id", {
312
+ * creds: "creds"
313
+ * })
273
314
  */
274
- getSyncDag(syncId: string, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncDag>;
315
+ getSyncDag(syncId: string, request: AirweaveSDK.GetSyncDagSyncSyncIdDagGetRequest, requestOptions?: Sync.RequestOptions): Promise<AirweaveSDK.SyncDag>;
275
316
  }