@airweave/sdk 0.2.19 → 0.2.23

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 (503) hide show
  1. package/Client.d.ts +3 -12
  2. package/Client.js +13 -28
  3. package/README.md +7 -12
  4. package/api/resources/apiKeys/client/Client.d.ts +131 -0
  5. package/{dist/api/resources/transformers → api/resources/apiKeys}/client/Client.js +161 -74
  6. package/api/{types → resources/apiKeys/client/requests}/ApiKeyCreate.d.ts +2 -1
  7. package/{dist/api/resources/users/client/requests/ReadUserUsersGetRequest.d.ts → api/resources/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 -0
  10. package/api/resources/connections/client/Client.d.ts +18 -78
  11. package/api/resources/connections/client/Client.js +28 -197
  12. package/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -6
  13. package/api/resources/connections/client/requests/index.d.ts +0 -9
  14. package/api/resources/embeddingModels/client/Client.d.ts +4 -10
  15. package/api/resources/embeddingModels/client/Client.js +6 -20
  16. package/api/resources/embeddingModels/client/index.d.ts +1 -1
  17. package/api/resources/embeddingModels/client/index.js +0 -15
  18. package/api/resources/index.d.ts +2 -11
  19. package/api/resources/index.js +3 -12
  20. package/api/resources/search/client/Client.d.ts +3 -5
  21. package/api/resources/search/client/Client.js +4 -10
  22. package/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +1 -8
  23. package/api/resources/sources/client/Client.d.ts +4 -10
  24. package/api/resources/sources/client/Client.js +6 -20
  25. package/api/resources/sources/client/index.d.ts +1 -1
  26. package/api/resources/sources/client/index.js +0 -15
  27. package/api/resources/sync/client/Client.d.ts +20 -61
  28. package/api/resources/sync/client/Client.js +40 -123
  29. package/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts +1 -4
  30. package/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +1 -4
  31. package/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +1 -4
  32. package/api/resources/sync/client/requests/SyncCreate.d.ts +1 -12
  33. package/api/resources/sync/client/requests/SyncUpdate.d.ts +1 -11
  34. package/api/resources/sync/client/requests/index.d.ts +0 -5
  35. package/api/resources/whiteLabels/client/Client.d.ts +15 -40
  36. package/api/resources/whiteLabels/client/Client.js +26 -94
  37. package/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +0 -2
  38. package/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -8
  39. package/api/resources/whiteLabels/client/requests/index.d.ts +0 -6
  40. package/api/{resources/connections/client/requests → types}/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -9
  41. package/api/types/EntityDefinitionCreate.d.ts +16 -0
  42. package/api/types/EntityDefinitionUpdate.d.ts +16 -0
  43. package/api/{resources/entities/client/requests → types}/EntityRelationCreate.d.ts +1 -9
  44. package/api/{resources/entities/client/requests → types}/EntityRelationUpdate.d.ts +1 -9
  45. package/api/types/TransformerCreate.d.ts +15 -0
  46. package/api/types/TransformerUpdate.d.ts +15 -0
  47. package/api/types/User.d.ts +1 -1
  48. package/api/types/index.d.ts +9 -2
  49. package/api/types/index.js +9 -2
  50. package/dist/Client.d.ts +3 -12
  51. package/dist/Client.js +13 -28
  52. package/dist/api/resources/apiKeys/client/Client.d.ts +131 -0
  53. package/{api/resources/transformers → dist/api/resources/apiKeys}/client/Client.js +161 -74
  54. package/dist/api/{types → resources/apiKeys/client/requests}/ApiKeyCreate.d.ts +2 -1
  55. package/{api/resources/users/client/requests/ReadUserUsersGetRequest.d.ts → dist/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.d.ts} +3 -3
  56. package/dist/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.d.ts +11 -0
  57. package/dist/api/resources/apiKeys/client/requests/index.d.ts +3 -0
  58. package/dist/api/resources/connections/client/Client.d.ts +18 -78
  59. package/dist/api/resources/connections/client/Client.js +28 -197
  60. package/dist/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -6
  61. package/dist/api/resources/connections/client/requests/index.d.ts +0 -9
  62. package/dist/api/resources/embeddingModels/client/Client.d.ts +4 -10
  63. package/dist/api/resources/embeddingModels/client/Client.js +6 -20
  64. package/dist/api/resources/embeddingModels/client/index.d.ts +1 -1
  65. package/dist/api/resources/embeddingModels/client/index.js +0 -15
  66. package/dist/api/resources/index.d.ts +2 -11
  67. package/dist/api/resources/index.js +3 -12
  68. package/dist/api/resources/search/client/Client.d.ts +3 -5
  69. package/dist/api/resources/search/client/Client.js +4 -10
  70. package/dist/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +1 -8
  71. package/dist/api/resources/sources/client/Client.d.ts +4 -10
  72. package/dist/api/resources/sources/client/Client.js +6 -20
  73. package/dist/api/resources/sources/client/index.d.ts +1 -1
  74. package/dist/api/resources/sources/client/index.js +0 -15
  75. package/dist/api/resources/sync/client/Client.d.ts +20 -61
  76. package/dist/api/resources/sync/client/Client.js +40 -123
  77. package/dist/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts +1 -4
  78. package/dist/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +1 -4
  79. package/dist/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +1 -4
  80. package/dist/api/resources/sync/client/requests/SyncCreate.d.ts +1 -12
  81. package/dist/api/resources/sync/client/requests/SyncUpdate.d.ts +1 -11
  82. package/dist/api/resources/sync/client/requests/index.d.ts +0 -5
  83. package/dist/api/resources/whiteLabels/client/Client.d.ts +15 -40
  84. package/dist/api/resources/whiteLabels/client/Client.js +26 -94
  85. package/dist/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +0 -2
  86. package/dist/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -8
  87. package/dist/api/resources/whiteLabels/client/requests/index.d.ts +0 -6
  88. package/dist/api/{resources/connections/client/requests → types}/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -9
  89. package/dist/api/types/EntityDefinitionCreate.d.ts +16 -0
  90. package/dist/api/types/EntityDefinitionUpdate.d.ts +16 -0
  91. package/dist/api/{resources/entities/client/requests → types}/EntityRelationCreate.d.ts +1 -9
  92. package/dist/api/{resources/entities/client/requests → types}/EntityRelationUpdate.d.ts +1 -9
  93. package/dist/api/types/TransformerCreate.d.ts +15 -0
  94. package/dist/api/types/TransformerUpdate.d.ts +15 -0
  95. package/dist/api/types/User.d.ts +1 -1
  96. package/dist/api/types/index.d.ts +9 -2
  97. package/dist/api/types/index.js +9 -2
  98. package/dist/serialization/resources/apiKeys/client/index.d.ts +2 -0
  99. package/dist/serialization/resources/{transformers → apiKeys}/client/index.js +2 -2
  100. package/dist/serialization/resources/{destinations/client/listDestinations.d.ts → apiKeys/client/readApiKeys.d.ts} +3 -3
  101. package/dist/serialization/resources/{transformers/client/listTransformers.js → apiKeys/client/readApiKeys.js} +2 -2
  102. package/dist/serialization/resources/apiKeys/client/requests/ApiKeyCreate.d.ts +12 -0
  103. package/dist/serialization/{types → resources/apiKeys/client/requests}/ApiKeyCreate.js +1 -1
  104. package/dist/serialization/resources/apiKeys/client/requests/index.d.ts +1 -0
  105. package/dist/serialization/resources/apiKeys/client/requests/index.js +5 -0
  106. package/dist/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -1
  107. package/dist/serialization/resources/connections/client/requests/index.d.ts +0 -1
  108. package/dist/serialization/resources/connections/client/requests/index.js +1 -3
  109. package/dist/serialization/resources/index.d.ts +2 -8
  110. package/dist/serialization/resources/index.js +3 -9
  111. package/dist/serialization/resources/search/client/search.d.ts +2 -2
  112. package/dist/serialization/resources/search/client/search.js +1 -1
  113. package/dist/serialization/resources/sync/client/requests/SyncCreate.d.ts +1 -1
  114. package/dist/serialization/resources/sync/client/requests/SyncUpdate.d.ts +1 -1
  115. package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +1 -1
  116. package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -1
  117. package/dist/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +13 -0
  118. package/dist/serialization/{resources/connections/client/requests → types}/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +1 -1
  119. package/dist/serialization/{resources/entities/client/requests → types}/EntityDefinitionCreate.d.ts +6 -6
  120. package/dist/serialization/{resources/entities/client/requests → types}/EntityDefinitionCreate.js +3 -3
  121. package/dist/serialization/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.d.ts +3 -3
  122. package/dist/serialization/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.js +1 -1
  123. package/dist/serialization/{resources/entities/client/requests → types}/EntityDefinitionUpdate.d.ts +6 -6
  124. package/dist/serialization/{resources/entities/client/requests → types}/EntityDefinitionUpdate.js +3 -3
  125. package/{serialization/resources/entities → dist/serialization}/types/EntityDefinitionUpdateEntitySchema.d.ts +3 -3
  126. package/dist/serialization/{resources/entities/types → types}/EntityDefinitionUpdateEntitySchema.js +1 -1
  127. package/dist/serialization/types/EntityRelationCreate.d.ts +15 -0
  128. package/dist/serialization/{resources/entities/client/requests → types}/EntityRelationCreate.js +1 -1
  129. package/dist/serialization/types/EntityRelationUpdate.d.ts +15 -0
  130. package/dist/serialization/{resources/entities/client/requests → types}/EntityRelationUpdate.js +1 -1
  131. package/dist/serialization/{resources/transformers/client/requests → types}/TransformerCreate.d.ts +4 -4
  132. package/{serialization/resources/transformers/client/requests → dist/serialization/types}/TransformerCreate.js +1 -1
  133. package/{serialization/resources/transformers/client/requests → dist/serialization/types}/TransformerUpdate.d.ts +4 -4
  134. package/{serialization/resources/transformers/client/requests → dist/serialization/types}/TransformerUpdate.js +1 -1
  135. package/dist/serialization/types/User.d.ts +1 -1
  136. package/dist/serialization/types/User.js +1 -1
  137. package/dist/serialization/types/index.d.ts +9 -2
  138. package/dist/serialization/types/index.js +9 -2
  139. package/dist/version.d.ts +1 -1
  140. package/dist/version.js +1 -1
  141. package/package.json +1 -1
  142. package/reference.md +117 -1252
  143. package/serialization/resources/apiKeys/client/index.d.ts +2 -0
  144. package/serialization/resources/{transformers → apiKeys}/client/index.js +2 -2
  145. package/serialization/resources/{transformers/client/listTransformers.d.ts → apiKeys/client/readApiKeys.d.ts} +3 -3
  146. package/{dist/serialization/resources/destinations/client/listDestinations.js → serialization/resources/apiKeys/client/readApiKeys.js} +2 -2
  147. package/serialization/resources/apiKeys/client/requests/ApiKeyCreate.d.ts +12 -0
  148. package/serialization/{types → resources/apiKeys/client/requests}/ApiKeyCreate.js +1 -1
  149. package/serialization/resources/apiKeys/client/requests/index.d.ts +1 -0
  150. package/serialization/resources/apiKeys/client/requests/index.js +5 -0
  151. package/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -1
  152. package/serialization/resources/connections/client/requests/index.d.ts +0 -1
  153. package/serialization/resources/connections/client/requests/index.js +1 -3
  154. package/serialization/resources/index.d.ts +2 -8
  155. package/serialization/resources/index.js +3 -9
  156. package/serialization/resources/search/client/search.d.ts +2 -2
  157. package/serialization/resources/search/client/search.js +1 -1
  158. package/serialization/resources/sync/client/requests/SyncCreate.d.ts +1 -1
  159. package/serialization/resources/sync/client/requests/SyncUpdate.d.ts +1 -1
  160. package/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +1 -1
  161. package/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -1
  162. package/serialization/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +13 -0
  163. package/serialization/{resources/connections/client/requests → types}/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +1 -1
  164. package/serialization/{resources/entities/client/requests → types}/EntityDefinitionCreate.d.ts +6 -6
  165. package/serialization/{resources/entities/client/requests → types}/EntityDefinitionCreate.js +3 -3
  166. package/serialization/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.d.ts +3 -3
  167. package/serialization/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.js +1 -1
  168. package/serialization/{resources/entities/client/requests → types}/EntityDefinitionUpdate.d.ts +6 -6
  169. package/serialization/{resources/entities/client/requests → types}/EntityDefinitionUpdate.js +3 -3
  170. package/{dist/serialization/resources/entities → serialization}/types/EntityDefinitionUpdateEntitySchema.d.ts +3 -3
  171. package/serialization/{resources/entities/types → types}/EntityDefinitionUpdateEntitySchema.js +1 -1
  172. package/serialization/types/EntityRelationCreate.d.ts +15 -0
  173. package/serialization/{resources/entities/client/requests → types}/EntityRelationCreate.js +1 -1
  174. package/serialization/types/EntityRelationUpdate.d.ts +15 -0
  175. package/serialization/{resources/entities/client/requests → types}/EntityRelationUpdate.js +1 -1
  176. package/serialization/{resources/transformers/client/requests → types}/TransformerCreate.d.ts +4 -4
  177. package/{dist/serialization/resources/transformers/client/requests → serialization/types}/TransformerCreate.js +1 -1
  178. package/{dist/serialization/resources/transformers/client/requests → serialization/types}/TransformerUpdate.d.ts +4 -4
  179. package/{dist/serialization/resources/transformers/client/requests → serialization/types}/TransformerUpdate.js +1 -1
  180. package/serialization/types/User.d.ts +1 -1
  181. package/serialization/types/User.js +1 -1
  182. package/serialization/types/index.d.ts +9 -2
  183. package/serialization/types/index.js +9 -2
  184. package/version.d.ts +1 -1
  185. package/version.js +1 -1
  186. package/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.d.ts +0 -12
  187. package/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.d.ts +0 -12
  188. package/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.d.ts +0 -12
  189. package/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.d.ts +0 -12
  190. package/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.d.ts +0 -12
  191. package/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.js +0 -5
  192. package/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.d.ts +0 -12
  193. package/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.js +0 -5
  194. package/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.d.ts +0 -12
  195. package/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.js +0 -5
  196. package/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.d.ts +0 -14
  197. package/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.js +0 -5
  198. package/api/resources/destinations/client/Client.d.ts +0 -77
  199. package/api/resources/destinations/client/Client.js +0 -225
  200. package/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.d.ts +0 -12
  201. package/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.js +0 -5
  202. package/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.d.ts +0 -12
  203. package/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.js +0 -5
  204. package/api/resources/destinations/client/requests/index.d.ts +0 -2
  205. package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.d.ts +0 -12
  206. package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.js +0 -5
  207. package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.d.ts +0 -12
  208. package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.js +0 -5
  209. package/api/resources/embeddingModels/client/requests/index.d.ts +0 -2
  210. package/api/resources/entities/client/Client.d.ts +0 -175
  211. package/api/resources/entities/client/Client.js +0 -684
  212. package/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +0 -27
  213. package/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +0 -27
  214. package/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.d.ts +0 -14
  215. package/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.js +0 -5
  216. package/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +0 -14
  217. package/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.js +0 -5
  218. package/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.d.ts +0 -12
  219. package/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.js +0 -5
  220. package/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.d.ts +0 -12
  221. package/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.js +0 -5
  222. package/api/resources/entities/client/requests/index.d.ts +0 -8
  223. package/api/resources/entities/client/requests/index.js +0 -2
  224. package/api/resources/entities/index.d.ts +0 -2
  225. package/api/resources/entities/index.js +0 -18
  226. package/api/resources/entities/types/index.d.ts +0 -2
  227. package/api/resources/entities/types/index.js +0 -18
  228. package/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.d.ts +0 -12
  229. package/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.js +0 -5
  230. package/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.d.ts +0 -12
  231. package/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.js +0 -5
  232. package/api/resources/sources/client/requests/index.d.ts +0 -2
  233. package/api/resources/sources/client/requests/index.js +0 -2
  234. package/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.d.ts +0 -12
  235. package/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.js +0 -5
  236. package/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.d.ts +0 -12
  237. package/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.js +0 -5
  238. package/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.d.ts +0 -12
  239. package/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.js +0 -5
  240. package/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.d.ts +0 -12
  241. package/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.js +0 -5
  242. package/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.d.ts +0 -12
  243. package/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.js +0 -5
  244. package/api/resources/transformers/client/Client.d.ts +0 -86
  245. package/api/resources/transformers/client/index.d.ts +0 -1
  246. package/api/resources/transformers/client/index.js +0 -17
  247. package/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.d.ts +0 -12
  248. package/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.js +0 -5
  249. package/api/resources/transformers/client/requests/TransformerCreate.d.ts +0 -26
  250. package/api/resources/transformers/client/requests/TransformerUpdate.d.ts +0 -26
  251. package/api/resources/transformers/client/requests/index.d.ts +0 -3
  252. package/api/resources/transformers/client/requests/index.js +0 -2
  253. package/api/resources/users/client/Client.d.ts +0 -81
  254. package/api/resources/users/client/Client.js +0 -241
  255. package/api/resources/users/client/index.d.ts +0 -1
  256. package/api/resources/users/client/index.js +0 -17
  257. package/api/resources/users/client/requests/ReadUserUsersGetRequest.js +0 -5
  258. package/api/resources/users/client/requests/UserCreate.d.ts +0 -18
  259. package/api/resources/users/client/requests/UserCreate.js +0 -5
  260. package/api/resources/users/client/requests/index.d.ts +0 -2
  261. package/api/resources/users/client/requests/index.js +0 -2
  262. package/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.d.ts +0 -12
  263. package/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.js +0 -5
  264. package/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.d.ts +0 -14
  265. package/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.js +0 -5
  266. package/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.d.ts +0 -12
  267. package/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.js +0 -5
  268. package/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.d.ts +0 -12
  269. package/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.js +0 -5
  270. package/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.d.ts +0 -12
  271. package/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.js +0 -5
  272. package/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.d.ts +0 -12
  273. package/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.js +0 -5
  274. package/api/types/ResponseType.d.ts +0 -11
  275. package/api/types/ResponseType.js +0 -10
  276. package/dist/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.d.ts +0 -12
  277. package/dist/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.js +0 -5
  278. package/dist/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.d.ts +0 -12
  279. package/dist/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.js +0 -5
  280. package/dist/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.d.ts +0 -12
  281. package/dist/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.js +0 -5
  282. package/dist/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.d.ts +0 -12
  283. package/dist/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.js +0 -5
  284. package/dist/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.d.ts +0 -12
  285. package/dist/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.js +0 -5
  286. package/dist/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.d.ts +0 -12
  287. package/dist/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.js +0 -5
  288. package/dist/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.d.ts +0 -12
  289. package/dist/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.js +0 -5
  290. package/dist/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.d.ts +0 -14
  291. package/dist/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.js +0 -5
  292. package/dist/api/resources/destinations/client/Client.d.ts +0 -77
  293. package/dist/api/resources/destinations/client/Client.js +0 -225
  294. package/dist/api/resources/destinations/client/index.d.ts +0 -1
  295. package/dist/api/resources/destinations/client/index.js +0 -17
  296. package/dist/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.d.ts +0 -12
  297. package/dist/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.js +0 -5
  298. package/dist/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.d.ts +0 -12
  299. package/dist/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.js +0 -5
  300. package/dist/api/resources/destinations/client/requests/index.d.ts +0 -2
  301. package/dist/api/resources/destinations/client/requests/index.js +0 -2
  302. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.d.ts +0 -12
  303. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.js +0 -5
  304. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.d.ts +0 -12
  305. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.js +0 -5
  306. package/dist/api/resources/embeddingModels/client/requests/index.d.ts +0 -2
  307. package/dist/api/resources/embeddingModels/client/requests/index.js +0 -2
  308. package/dist/api/resources/entities/client/Client.d.ts +0 -175
  309. package/dist/api/resources/entities/client/Client.js +0 -684
  310. package/dist/api/resources/entities/client/index.d.ts +0 -1
  311. package/dist/api/resources/entities/client/index.js +0 -17
  312. package/dist/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +0 -27
  313. package/dist/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +0 -27
  314. package/dist/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.d.ts +0 -14
  315. package/dist/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.js +0 -5
  316. package/dist/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +0 -14
  317. package/dist/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.js +0 -5
  318. package/dist/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.d.ts +0 -12
  319. package/dist/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.js +0 -5
  320. package/dist/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.d.ts +0 -12
  321. package/dist/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.js +0 -5
  322. package/dist/api/resources/entities/client/requests/index.d.ts +0 -8
  323. package/dist/api/resources/entities/client/requests/index.js +0 -2
  324. package/dist/api/resources/entities/index.d.ts +0 -2
  325. package/dist/api/resources/entities/index.js +0 -18
  326. package/dist/api/resources/entities/types/index.d.ts +0 -2
  327. package/dist/api/resources/entities/types/index.js +0 -18
  328. package/dist/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.d.ts +0 -12
  329. package/dist/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.js +0 -5
  330. package/dist/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.d.ts +0 -12
  331. package/dist/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.js +0 -5
  332. package/dist/api/resources/sources/client/requests/index.d.ts +0 -2
  333. package/dist/api/resources/sources/client/requests/index.js +0 -2
  334. package/dist/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.d.ts +0 -12
  335. package/dist/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.js +0 -5
  336. package/dist/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.d.ts +0 -12
  337. package/dist/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.js +0 -5
  338. package/dist/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.d.ts +0 -12
  339. package/dist/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.js +0 -5
  340. package/dist/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.d.ts +0 -12
  341. package/dist/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.js +0 -5
  342. package/dist/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.d.ts +0 -12
  343. package/dist/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.js +0 -5
  344. package/dist/api/resources/transformers/client/Client.d.ts +0 -86
  345. package/dist/api/resources/transformers/client/index.d.ts +0 -1
  346. package/dist/api/resources/transformers/client/index.js +0 -17
  347. package/dist/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.d.ts +0 -12
  348. package/dist/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.js +0 -5
  349. package/dist/api/resources/transformers/client/requests/TransformerCreate.d.ts +0 -26
  350. package/dist/api/resources/transformers/client/requests/TransformerUpdate.d.ts +0 -26
  351. package/dist/api/resources/transformers/client/requests/index.d.ts +0 -3
  352. package/dist/api/resources/transformers/client/requests/index.js +0 -2
  353. package/dist/api/resources/transformers/index.d.ts +0 -1
  354. package/dist/api/resources/transformers/index.js +0 -17
  355. package/dist/api/resources/users/client/Client.d.ts +0 -81
  356. package/dist/api/resources/users/client/Client.js +0 -241
  357. package/dist/api/resources/users/client/index.d.ts +0 -1
  358. package/dist/api/resources/users/client/index.js +0 -17
  359. package/dist/api/resources/users/client/requests/ReadUserUsersGetRequest.js +0 -5
  360. package/dist/api/resources/users/client/requests/UserCreate.d.ts +0 -18
  361. package/dist/api/resources/users/client/requests/UserCreate.js +0 -5
  362. package/dist/api/resources/users/client/requests/index.d.ts +0 -2
  363. package/dist/api/resources/users/client/requests/index.js +0 -2
  364. package/dist/api/resources/users/index.d.ts +0 -1
  365. package/dist/api/resources/users/index.js +0 -17
  366. package/dist/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.d.ts +0 -12
  367. package/dist/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.js +0 -5
  368. package/dist/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.d.ts +0 -14
  369. package/dist/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.js +0 -5
  370. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.d.ts +0 -12
  371. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.js +0 -5
  372. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.d.ts +0 -12
  373. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.js +0 -5
  374. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.d.ts +0 -12
  375. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.js +0 -5
  376. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.d.ts +0 -12
  377. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.js +0 -5
  378. package/dist/api/types/ResponseType.d.ts +0 -11
  379. package/dist/api/types/ResponseType.js +0 -10
  380. package/dist/serialization/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -13
  381. package/dist/serialization/resources/destinations/client/index.d.ts +0 -1
  382. package/dist/serialization/resources/destinations/client/index.js +0 -37
  383. package/dist/serialization/resources/destinations/index.d.ts +0 -1
  384. package/dist/serialization/resources/destinations/index.js +0 -17
  385. package/dist/serialization/resources/entities/client/getEntityDefinitionsByIds.d.ts +0 -15
  386. package/dist/serialization/resources/entities/client/getEntityDefinitionsByIds.js +0 -43
  387. package/dist/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.d.ts +0 -11
  388. package/dist/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.js +0 -42
  389. package/dist/serialization/resources/entities/client/index.d.ts +0 -5
  390. package/dist/serialization/resources/entities/client/index.js +0 -44
  391. package/dist/serialization/resources/entities/client/listEntityDefinitions.d.ts +0 -11
  392. package/dist/serialization/resources/entities/client/listEntityDefinitions.js +0 -42
  393. package/dist/serialization/resources/entities/client/listEntityRelations.d.ts +0 -11
  394. package/dist/serialization/resources/entities/client/listEntityRelations.js +0 -42
  395. package/dist/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +0 -15
  396. package/dist/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +0 -15
  397. package/dist/serialization/resources/entities/client/requests/index.d.ts +0 -4
  398. package/dist/serialization/resources/entities/client/requests/index.js +0 -11
  399. package/dist/serialization/resources/entities/index.d.ts +0 -2
  400. package/dist/serialization/resources/entities/index.js +0 -18
  401. package/dist/serialization/resources/entities/types/index.d.ts +0 -2
  402. package/dist/serialization/resources/entities/types/index.js +0 -18
  403. package/dist/serialization/resources/transformers/client/index.d.ts +0 -2
  404. package/dist/serialization/resources/transformers/client/listTransformers.d.ts +0 -11
  405. package/dist/serialization/resources/transformers/client/requests/index.d.ts +0 -2
  406. package/dist/serialization/resources/transformers/client/requests/index.js +0 -7
  407. package/dist/serialization/resources/transformers/index.d.ts +0 -1
  408. package/dist/serialization/resources/transformers/index.js +0 -17
  409. package/dist/serialization/resources/users/client/index.d.ts +0 -1
  410. package/dist/serialization/resources/users/client/index.js +0 -17
  411. package/dist/serialization/resources/users/client/requests/UserCreate.d.ts +0 -14
  412. package/dist/serialization/resources/users/client/requests/UserCreate.js +0 -45
  413. package/dist/serialization/resources/users/client/requests/index.d.ts +0 -1
  414. package/dist/serialization/resources/users/client/requests/index.js +0 -5
  415. package/dist/serialization/resources/users/index.d.ts +0 -1
  416. package/dist/serialization/resources/users/index.js +0 -17
  417. package/dist/serialization/types/ApiKeyCreate.d.ts +0 -12
  418. package/dist/serialization/types/ResponseType.d.ts +0 -10
  419. package/dist/serialization/types/ResponseType.js +0 -41
  420. package/serialization/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +0 -13
  421. package/serialization/resources/destinations/client/index.d.ts +0 -1
  422. package/serialization/resources/destinations/client/index.js +0 -37
  423. package/serialization/resources/destinations/client/listDestinations.d.ts +0 -11
  424. package/serialization/resources/destinations/client/listDestinations.js +0 -42
  425. package/serialization/resources/destinations/index.d.ts +0 -1
  426. package/serialization/resources/destinations/index.js +0 -17
  427. package/serialization/resources/entities/client/getEntityDefinitionsByIds.d.ts +0 -15
  428. package/serialization/resources/entities/client/getEntityDefinitionsByIds.js +0 -43
  429. package/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.d.ts +0 -11
  430. package/serialization/resources/entities/client/getEntityDefinitionsBySourceShortName.js +0 -42
  431. package/serialization/resources/entities/client/index.d.ts +0 -5
  432. package/serialization/resources/entities/client/index.js +0 -44
  433. package/serialization/resources/entities/client/listEntityDefinitions.d.ts +0 -11
  434. package/serialization/resources/entities/client/listEntityDefinitions.js +0 -42
  435. package/serialization/resources/entities/client/listEntityRelations.d.ts +0 -11
  436. package/serialization/resources/entities/client/listEntityRelations.js +0 -42
  437. package/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +0 -15
  438. package/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +0 -15
  439. package/serialization/resources/entities/client/requests/index.d.ts +0 -4
  440. package/serialization/resources/entities/client/requests/index.js +0 -11
  441. package/serialization/resources/entities/index.d.ts +0 -2
  442. package/serialization/resources/entities/index.js +0 -18
  443. package/serialization/resources/entities/types/index.d.ts +0 -2
  444. package/serialization/resources/entities/types/index.js +0 -18
  445. package/serialization/resources/transformers/client/index.d.ts +0 -2
  446. package/serialization/resources/transformers/client/listTransformers.js +0 -42
  447. package/serialization/resources/transformers/client/requests/index.d.ts +0 -2
  448. package/serialization/resources/transformers/client/requests/index.js +0 -7
  449. package/serialization/resources/transformers/index.d.ts +0 -1
  450. package/serialization/resources/transformers/index.js +0 -17
  451. package/serialization/resources/users/client/index.d.ts +0 -1
  452. package/serialization/resources/users/client/index.js +0 -17
  453. package/serialization/resources/users/client/requests/UserCreate.d.ts +0 -14
  454. package/serialization/resources/users/client/requests/UserCreate.js +0 -45
  455. package/serialization/resources/users/client/requests/index.d.ts +0 -1
  456. package/serialization/resources/users/client/requests/index.js +0 -5
  457. package/serialization/resources/users/index.d.ts +0 -1
  458. package/serialization/resources/users/index.js +0 -17
  459. package/serialization/types/ApiKeyCreate.d.ts +0 -12
  460. package/serialization/types/ResponseType.d.ts +0 -10
  461. package/serialization/types/ResponseType.js +0 -41
  462. /package/api/resources/{destinations → apiKeys}/client/index.d.ts +0 -0
  463. /package/api/resources/{destinations → apiKeys}/client/index.js +0 -0
  464. /package/api/{types → resources/apiKeys/client/requests}/ApiKeyCreate.js +0 -0
  465. /package/api/resources/{connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js → apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.js} +0 -0
  466. /package/api/resources/{connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.js → apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.js} +0 -0
  467. /package/api/resources/{destinations → apiKeys}/client/requests/index.js +0 -0
  468. /package/api/resources/{destinations → apiKeys}/index.d.ts +0 -0
  469. /package/api/resources/{destinations → apiKeys}/index.js +0 -0
  470. /package/{dist/api/resources/connections/client/requests → api/types}/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js +0 -0
  471. /package/api/{resources/entities/client/requests → types}/EntityDefinitionCreate.js +0 -0
  472. /package/api/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.d.ts +0 -0
  473. /package/api/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.js +0 -0
  474. /package/api/{resources/entities/client/requests → types}/EntityDefinitionUpdate.js +0 -0
  475. /package/api/{resources/entities/types → types}/EntityDefinitionUpdateEntitySchema.d.ts +0 -0
  476. /package/api/{resources/entities/types → types}/EntityDefinitionUpdateEntitySchema.js +0 -0
  477. /package/api/{resources/entities/client/requests → types}/EntityRelationCreate.js +0 -0
  478. /package/api/{resources/entities/client/requests → types}/EntityRelationUpdate.js +0 -0
  479. /package/api/{resources/transformers/client/requests → types}/TransformerCreate.js +0 -0
  480. /package/api/{resources/transformers/client/requests → types}/TransformerUpdate.js +0 -0
  481. /package/{api/resources/entities → dist/api/resources/apiKeys}/client/index.d.ts +0 -0
  482. /package/{api/resources/entities → dist/api/resources/apiKeys}/client/index.js +0 -0
  483. /package/dist/api/{types → resources/apiKeys/client/requests}/ApiKeyCreate.js +0 -0
  484. /package/{api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.js → dist/api/resources/apiKeys/client/requests/DeleteApiKeyApiKeysDeleteRequest.js} +0 -0
  485. /package/{api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.js → dist/api/resources/apiKeys/client/requests/ReadApiKeysApiKeysGetRequest.js} +0 -0
  486. /package/{api/resources/embeddingModels → dist/api/resources/apiKeys}/client/requests/index.js +0 -0
  487. /package/{api/resources/transformers → dist/api/resources/apiKeys}/index.d.ts +0 -0
  488. /package/{api/resources/transformers → dist/api/resources/apiKeys}/index.js +0 -0
  489. /package/{api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.js → dist/api/types/BodySendOauth2CodeConnectionsOauth2SourceCodePost.js} +0 -0
  490. /package/dist/api/{resources/entities/client/requests → types}/EntityDefinitionCreate.js +0 -0
  491. /package/dist/api/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.d.ts +0 -0
  492. /package/dist/api/{resources/entities/types → types}/EntityDefinitionCreateEntitySchema.js +0 -0
  493. /package/dist/api/{resources/entities/client/requests → types}/EntityDefinitionUpdate.js +0 -0
  494. /package/dist/api/{resources/entities/types → types}/EntityDefinitionUpdateEntitySchema.d.ts +0 -0
  495. /package/dist/api/{resources/entities/types → types}/EntityDefinitionUpdateEntitySchema.js +0 -0
  496. /package/dist/api/{resources/entities/client/requests → types}/EntityRelationCreate.js +0 -0
  497. /package/dist/api/{resources/entities/client/requests → types}/EntityRelationUpdate.js +0 -0
  498. /package/dist/api/{resources/transformers/client/requests → types}/TransformerCreate.js +0 -0
  499. /package/dist/api/{resources/transformers/client/requests → types}/TransformerUpdate.js +0 -0
  500. /package/{api/resources/users → dist/serialization/resources/apiKeys}/index.d.ts +0 -0
  501. /package/{api/resources/users → dist/serialization/resources/apiKeys}/index.js +0 -0
  502. /package/{dist/api/resources/destinations → serialization/resources/apiKeys}/index.d.ts +0 -0
  503. /package/{dist/api/resources/destinations → serialization/resources/apiKeys}/index.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
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.19", "User-Agent": "@airweave/sdk/v0.2.19", "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": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "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",
@@ -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
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.19", "User-Agent": "@airweave/sdk/v0.2.19", "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": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "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,
@@ -277,14 +249,12 @@ class Sync {
277
249
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
278
250
  *
279
251
  * @example
280
- * await client.sync.listAllJobs({
281
- * creds: "creds"
282
- * })
252
+ * await client.sync.listAllJobs()
283
253
  */
284
- listAllJobs(request, requestOptions) {
285
- return __awaiter(this, void 0, void 0, function* () {
254
+ listAllJobs() {
255
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
286
256
  var _a;
287
- const { skip, limit, creds } = request;
257
+ const { skip, limit } = request;
288
258
  const _queryParams = {};
289
259
  if (skip != null) {
290
260
  _queryParams["skip"] = skip.toString();
@@ -292,13 +262,12 @@ class Sync {
292
262
  if (limit != null) {
293
263
  _queryParams["limit"] = limit.toString();
294
264
  }
295
- _queryParams["creds"] = creds;
296
265
  const _response = yield core.fetcher({
297
266
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "sync/jobs"),
298
267
  method: "GET",
299
268
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
300
269
  ? yield core.Supplier.get(this._options.apiKey)
301
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.19", "User-Agent": "@airweave/sdk/v0.2.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
270
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
302
271
  contentType: "application/json",
303
272
  queryParameters: _queryParams,
304
273
  requestType: "json",
@@ -359,30 +328,23 @@ class Sync {
359
328
  * sync (schemas.Sync): The sync
360
329
  *
361
330
  * @param {string} syncId
362
- * @param {AirweaveSDK.GetSyncSyncSyncIdGetRequest} request
363
331
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
364
332
  *
365
333
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
366
334
  *
367
335
  * @example
368
- * await client.sync.getSync("sync_id", {
369
- * creds: "creds"
370
- * })
336
+ * await client.sync.getSync("sync_id")
371
337
  */
372
- getSync(syncId, request, requestOptions) {
338
+ getSync(syncId, requestOptions) {
373
339
  return __awaiter(this, void 0, void 0, function* () {
374
340
  var _a;
375
- const { creds } = request;
376
- const _queryParams = {};
377
- _queryParams["creds"] = creds;
378
341
  const _response = yield core.fetcher({
379
342
  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)}`),
380
343
  method: "GET",
381
344
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
382
345
  ? yield core.Supplier.get(this._options.apiKey)
383
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.19", "User-Agent": "@airweave/sdk/v0.2.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
346
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
384
347
  contentType: "application/json",
385
- queryParameters: _queryParams,
386
348
  requestType: "json",
387
349
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
388
350
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -448,25 +410,22 @@ class Sync {
448
410
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
449
411
  *
450
412
  * @example
451
- * await client.sync.deleteSync("sync_id", {
452
- * creds: "creds"
453
- * })
413
+ * await client.sync.deleteSync("sync_id")
454
414
  */
455
- deleteSync(syncId, request, requestOptions) {
456
- return __awaiter(this, void 0, void 0, function* () {
415
+ deleteSync(syncId_1) {
416
+ return __awaiter(this, arguments, void 0, function* (syncId, request = {}, requestOptions) {
457
417
  var _a;
458
- const { deleteData, creds } = request;
418
+ const { deleteData } = request;
459
419
  const _queryParams = {};
460
420
  if (deleteData != null) {
461
421
  _queryParams["delete_data"] = deleteData.toString();
462
422
  }
463
- _queryParams["creds"] = creds;
464
423
  const _response = yield core.fetcher({
465
424
  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)}`),
466
425
  method: "DELETE",
467
426
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
468
427
  ? yield core.Supplier.get(this._options.apiKey)
469
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.19", "User-Agent": "@airweave/sdk/v0.2.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
428
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
470
429
  contentType: "application/json",
471
430
  queryParameters: _queryParams,
472
431
  requestType: "json",
@@ -534,33 +493,20 @@ class Sync {
534
493
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
535
494
  *
536
495
  * @example
537
- * await client.sync.updateSync("sync_id", {
538
- * creds: "creds",
539
- * name: undefined,
540
- * cronSchedule: undefined,
541
- * nextScheduledRun: undefined,
542
- * whiteLabelId: undefined,
543
- * whiteLabelUserIdentifier: undefined,
544
- * syncMetadata: undefined,
545
- * status: undefined
546
- * })
496
+ * await client.sync.updateSync("sync_id")
547
497
  */
548
- updateSync(syncId, request, requestOptions) {
549
- return __awaiter(this, void 0, void 0, function* () {
498
+ updateSync(syncId_1) {
499
+ return __awaiter(this, arguments, void 0, function* (syncId, request = {}, requestOptions) {
550
500
  var _a;
551
- const { creds } = request, _body = __rest(request, ["creds"]);
552
- const _queryParams = {};
553
- _queryParams["creds"] = creds;
554
501
  const _response = yield core.fetcher({
555
502
  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)}`),
556
503
  method: "PATCH",
557
504
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
558
505
  ? yield core.Supplier.get(this._options.apiKey)
559
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.19", "User-Agent": "@airweave/sdk/v0.2.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
506
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
560
507
  contentType: "application/json",
561
- queryParameters: _queryParams,
562
508
  requestType: "json",
563
- body: serializers.SyncUpdate.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
509
+ body: serializers.SyncUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
564
510
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
565
511
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
566
512
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -619,30 +565,23 @@ class Sync {
619
565
  * sync_job (schemas.SyncJob): The sync job
620
566
  *
621
567
  * @param {string} syncId
622
- * @param {AirweaveSDK.RunSyncSyncSyncIdRunPostRequest} request
623
568
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
624
569
  *
625
570
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
626
571
  *
627
572
  * @example
628
- * await client.sync.runSync("sync_id", {
629
- * creds: "creds"
630
- * })
573
+ * await client.sync.runSync("sync_id")
631
574
  */
632
- runSync(syncId, request, requestOptions) {
575
+ runSync(syncId, requestOptions) {
633
576
  return __awaiter(this, void 0, void 0, function* () {
634
577
  var _a;
635
- const { creds } = request;
636
- const _queryParams = {};
637
- _queryParams["creds"] = creds;
638
578
  const _response = yield core.fetcher({
639
579
  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`),
640
580
  method: "POST",
641
581
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
642
582
  ? yield core.Supplier.get(this._options.apiKey)
643
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.19", "User-Agent": "@airweave/sdk/v0.2.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
583
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
644
584
  contentType: "application/json",
645
- queryParameters: _queryParams,
646
585
  requestType: "json",
647
586
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
648
587
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -701,30 +640,23 @@ class Sync {
701
640
  * list[schemas.SyncJob]: A list of sync jobs
702
641
  *
703
642
  * @param {string} syncId
704
- * @param {AirweaveSDK.ListSyncJobsSyncSyncIdJobsGetRequest} request
705
643
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
706
644
  *
707
645
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
708
646
  *
709
647
  * @example
710
- * await client.sync.listSyncJobs("sync_id", {
711
- * creds: "creds"
712
- * })
648
+ * await client.sync.listSyncJobs("sync_id")
713
649
  */
714
- listSyncJobs(syncId, request, requestOptions) {
650
+ listSyncJobs(syncId, requestOptions) {
715
651
  return __awaiter(this, void 0, void 0, function* () {
716
652
  var _a;
717
- const { creds } = request;
718
- const _queryParams = {};
719
- _queryParams["creds"] = creds;
720
653
  const _response = yield core.fetcher({
721
654
  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`),
722
655
  method: "GET",
723
656
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
724
657
  ? yield core.Supplier.get(this._options.apiKey)
725
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.19", "User-Agent": "@airweave/sdk/v0.2.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
658
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
726
659
  contentType: "application/json",
727
- queryParameters: _queryParams,
728
660
  requestType: "json",
729
661
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
730
662
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -785,30 +717,23 @@ class Sync {
785
717
  *
786
718
  * @param {string} syncId
787
719
  * @param {string} jobId
788
- * @param {AirweaveSDK.GetSyncJobSyncSyncIdJobJobIdGetRequest} request
789
720
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
790
721
  *
791
722
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
792
723
  *
793
724
  * @example
794
- * await client.sync.getSyncJob("sync_id", "job_id", {
795
- * creds: "creds"
796
- * })
725
+ * await client.sync.getSyncJob("sync_id", "job_id")
797
726
  */
798
- getSyncJob(syncId, jobId, request, requestOptions) {
727
+ getSyncJob(syncId, jobId, requestOptions) {
799
728
  return __awaiter(this, void 0, void 0, function* () {
800
729
  var _a;
801
- const { creds } = request;
802
- const _queryParams = {};
803
- _queryParams["creds"] = creds;
804
730
  const _response = yield core.fetcher({
805
731
  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)}`),
806
732
  method: "GET",
807
733
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
808
734
  ? yield core.Supplier.get(this._options.apiKey)
809
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.19", "User-Agent": "@airweave/sdk/v0.2.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
735
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
810
736
  contentType: "application/json",
811
- queryParameters: _queryParams,
812
737
  requestType: "json",
813
738
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
814
739
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -859,8 +784,7 @@ class Sync {
859
784
  * Args:
860
785
  * -----
861
786
  * job_id: The ID of the job to subscribe to
862
- * request: The request object
863
- * db: The database session
787
+ * user: The current user
864
788
  *
865
789
  * Returns:
866
790
  * --------
@@ -882,7 +806,7 @@ class Sync {
882
806
  method: "GET",
883
807
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
884
808
  ? yield core.Supplier.get(this._options.apiKey)
885
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.19", "User-Agent": "@airweave/sdk/v0.2.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
809
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
886
810
  contentType: "application/json",
887
811
  requestType: "json",
888
812
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -927,30 +851,23 @@ class Sync {
927
851
  * Get the DAG for a specific sync.
928
852
  *
929
853
  * @param {string} syncId
930
- * @param {AirweaveSDK.GetSyncDagSyncSyncIdDagGetRequest} request
931
854
  * @param {Sync.RequestOptions} requestOptions - Request-specific configuration.
932
855
  *
933
856
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
934
857
  *
935
858
  * @example
936
- * await client.sync.getSyncDag("sync_id", {
937
- * creds: "creds"
938
- * })
859
+ * await client.sync.getSyncDag("sync_id")
939
860
  */
940
- getSyncDag(syncId, request, requestOptions) {
861
+ getSyncDag(syncId, requestOptions) {
941
862
  return __awaiter(this, void 0, void 0, function* () {
942
863
  var _a;
943
- const { creds } = request;
944
- const _queryParams = {};
945
- _queryParams["creds"] = creds;
946
864
  const _response = yield core.fetcher({
947
865
  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`),
948
866
  method: "GET",
949
867
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
950
868
  ? yield core.Supplier.get(this._options.apiKey)
951
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.19", "User-Agent": "@airweave/sdk/v0.2.19", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
869
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "0.2.23", "User-Agent": "@airweave/sdk/0.2.23", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
952
870
  contentType: "application/json",
953
- queryParameters: _queryParams,
954
871
  requestType: "json",
955
872
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
956
873
  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,12 +3,9 @@
3
3
  */
4
4
  /**
5
5
  * @example
6
- * {
7
- * creds: "creds"
8
- * }
6
+ * {}
9
7
  */
10
8
  export interface ListAllJobsSyncJobsGetRequest {
11
9
  skip?: number;
12
10
  limit?: number;
13
- creds: string;
14
11
  }
@@ -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";
@@ -38,17 +38,14 @@ export declare class WhiteLabels {
38
38
  * --------
39
39
  * list[schemas.WhiteLabel]: A list of white labels
40
40
  *
41
- * @param {AirweaveSDK.ListWhiteLabelsWhiteLabelsListGetRequest} request
42
41
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
43
42
  *
44
43
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
45
44
  *
46
45
  * @example
47
- * await client.whiteLabels.listWhiteLabels({
48
- * creds: "creds"
49
- * })
46
+ * await client.whiteLabels.listWhiteLabels()
50
47
  */
51
- listWhiteLabels(request: AirweaveSDK.ListWhiteLabelsWhiteLabelsListGetRequest, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel[]>;
48
+ listWhiteLabels(requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel[]>;
52
49
  /**
53
50
  * Create new white label integration.
54
51
  *
@@ -69,7 +66,6 @@ export declare class WhiteLabels {
69
66
  *
70
67
  * @example
71
68
  * await client.whiteLabels.createWhiteLabel({
72
- * creds: "creds",
73
69
  * name: "name",
74
70
  * sourceShortName: "source_short_name",
75
71
  * redirectUrl: "redirect_url",
@@ -92,17 +88,14 @@ export declare class WhiteLabels {
92
88
  * white_label (schemas.WhiteLabel): The white label
93
89
  *
94
90
  * @param {string} whiteLabelId
95
- * @param {AirweaveSDK.GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest} request
96
91
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
97
92
  *
98
93
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
99
94
  *
100
95
  * @example
101
- * await client.whiteLabels.getWhiteLabel("white_label_id", {
102
- * creds: "creds"
103
- * })
96
+ * await client.whiteLabels.getWhiteLabel("white_label_id")
104
97
  */
105
- getWhiteLabel(whiteLabelId: string, request: AirweaveSDK.GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
98
+ getWhiteLabel(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
106
99
  /**
107
100
  * Update a white label integration.
108
101
  *
@@ -124,15 +117,9 @@ export declare class WhiteLabels {
124
117
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
125
118
  *
126
119
  * @example
127
- * await client.whiteLabels.updateWhiteLabel("white_label_id", {
128
- * creds: "creds",
129
- * name: undefined,
130
- * redirectUrl: undefined,
131
- * clientId: undefined,
132
- * clientSecret: undefined
133
- * })
120
+ * await client.whiteLabels.updateWhiteLabel("white_label_id")
134
121
  */
135
- updateWhiteLabel(whiteLabelId: string, request: AirweaveSDK.WhiteLabelUpdate, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
122
+ updateWhiteLabel(whiteLabelId: string, request?: AirweaveSDK.WhiteLabelUpdate, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
136
123
  /**
137
124
  * Delete a white label integration.
138
125
  *
@@ -147,17 +134,14 @@ export declare class WhiteLabels {
147
134
  * white_label (schemas.WhiteLabel): The deleted white label
148
135
  *
149
136
  * @param {string} whiteLabelId
150
- * @param {AirweaveSDK.DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest} request
151
137
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
152
138
  *
153
139
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
154
140
  *
155
141
  * @example
156
- * await client.whiteLabels.deleteWhiteLabel("white_label_id", {
157
- * creds: "creds"
158
- * })
142
+ * await client.whiteLabels.deleteWhiteLabel("white_label_id")
159
143
  */
160
- deleteWhiteLabel(whiteLabelId: string, request: AirweaveSDK.DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
144
+ deleteWhiteLabel(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
161
145
  /**
162
146
  * Generate the OAuth2 authorization URL by delegating to oauth2_service.
163
147
  *
@@ -172,17 +156,14 @@ export declare class WhiteLabels {
172
156
  * str: The OAuth2 authorization URL
173
157
  *
174
158
  * @param {string} whiteLabelId
175
- * @param {AirweaveSDK.GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest} request
176
159
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
177
160
  *
178
161
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
179
162
  *
180
163
  * @example
181
- * await client.whiteLabels.getWhiteLabelOauth2AuthUrl("white_label_id", {
182
- * creds: "creds"
183
- * })
164
+ * await client.whiteLabels.getWhiteLabelOauth2AuthUrl("white_label_id")
184
165
  */
185
- getWhiteLabelOauth2AuthUrl(whiteLabelId: string, request: AirweaveSDK.GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest, requestOptions?: WhiteLabels.RequestOptions): Promise<string>;
166
+ getWhiteLabelOauth2AuthUrl(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<string>;
186
167
  /**
187
168
  * Exchange OAuth2 code for tokens and create connection.
188
169
  *
@@ -198,18 +179,15 @@ export declare class WhiteLabels {
198
179
  * connection (schemas.Connection): The created connection
199
180
  *
200
181
  * @param {string} whiteLabelId
201
- * @param {AirweaveSDK.ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest} request
182
+ * @param {string} request
202
183
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
203
184
  *
204
185
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
205
186
  *
206
187
  * @example
207
- * await client.whiteLabels.exchangeWhiteLabelOauth2Code("white_label_id", {
208
- * creds: "creds",
209
- * body: "string"
210
- * })
188
+ * await client.whiteLabels.exchangeWhiteLabelOauth2Code("white_label_id", "string")
211
189
  */
212
- exchangeWhiteLabelOauth2Code(whiteLabelId: string, request: AirweaveSDK.ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.Connection>;
190
+ exchangeWhiteLabelOauth2Code(whiteLabelId: string, request: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.Connection>;
213
191
  /**
214
192
  * List all syncs for a specific white label.
215
193
  *
@@ -224,15 +202,12 @@ export declare class WhiteLabels {
224
202
  * list[schemas.Sync]: A list of syncs
225
203
  *
226
204
  * @param {string} whiteLabelId
227
- * @param {AirweaveSDK.ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest} request
228
205
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
229
206
  *
230
207
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
231
208
  *
232
209
  * @example
233
- * await client.whiteLabels.listWhiteLabelSyncs("white_label_id", {
234
- * creds: "creds"
235
- * })
210
+ * await client.whiteLabels.listWhiteLabelSyncs("white_label_id")
236
211
  */
237
- listWhiteLabelSyncs(whiteLabelId: string, request: AirweaveSDK.ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.Sync[]>;
212
+ listWhiteLabelSyncs(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.Sync[]>;
238
213
  }