@airweave/sdk 0.1.24 → 0.1.25

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 (402) hide show
  1. package/Client.d.ts +12 -0
  2. package/Client.js +20 -0
  3. package/api/resources/connections/client/Client.js +12 -12
  4. package/api/resources/cursorDevelopment/client/Client.d.ts +78 -0
  5. package/api/resources/cursorDevelopment/client/Client.js +218 -0
  6. package/api/resources/cursorDevelopment/client/index.d.ts +1 -0
  7. package/api/resources/cursorDevelopment/client/index.js +2 -0
  8. package/api/resources/cursorDevelopment/index.d.ts +1 -0
  9. package/api/resources/cursorDevelopment/index.js +17 -0
  10. package/api/resources/dag/client/Client.d.ts +95 -0
  11. package/api/resources/dag/client/Client.js +347 -0
  12. package/api/resources/dag/client/index.d.ts +1 -0
  13. package/api/resources/dag/client/index.js +17 -0
  14. package/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.d.ts +12 -0
  15. package/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.js +5 -0
  16. package/api/resources/dag/client/requests/SyncDagCreate.d.ts +26 -0
  17. package/api/resources/dag/client/requests/SyncDagCreate.js +5 -0
  18. package/api/resources/dag/client/requests/SyncDagUpdate.d.ts +18 -0
  19. package/api/resources/dag/client/requests/SyncDagUpdate.js +5 -0
  20. package/api/resources/dag/client/requests/index.d.ts +3 -0
  21. package/api/resources/dag/client/requests/index.js +2 -0
  22. package/api/resources/dag/index.d.ts +1 -0
  23. package/api/resources/dag/index.js +17 -0
  24. package/api/resources/destinations/client/Client.js +2 -2
  25. package/api/resources/embeddingModels/client/Client.js +2 -2
  26. package/api/resources/entities/client/Client.d.ts +141 -0
  27. package/api/resources/entities/client/Client.js +553 -0
  28. package/api/resources/entities/client/index.d.ts +1 -0
  29. package/api/resources/entities/client/index.js +17 -0
  30. package/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +23 -0
  31. package/api/resources/entities/client/requests/EntityDefinitionCreate.js +5 -0
  32. package/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +23 -0
  33. package/api/resources/entities/client/requests/EntityDefinitionUpdate.js +5 -0
  34. package/api/resources/entities/client/requests/EntityRelationCreate.d.ts +17 -0
  35. package/api/resources/entities/client/requests/EntityRelationCreate.js +5 -0
  36. package/api/resources/entities/client/requests/EntityRelationUpdate.d.ts +17 -0
  37. package/api/resources/entities/client/requests/EntityRelationUpdate.js +5 -0
  38. package/api/resources/entities/client/requests/index.d.ts +4 -0
  39. package/api/resources/entities/client/requests/index.js +2 -0
  40. package/api/resources/entities/index.d.ts +2 -0
  41. package/api/resources/entities/index.js +18 -0
  42. package/api/resources/entities/types/EntityDefinitionCreateEntitySchema.d.ts +4 -0
  43. package/api/resources/entities/types/EntityDefinitionCreateEntitySchema.js +5 -0
  44. package/api/resources/entities/types/EntityDefinitionUpdateEntitySchema.d.ts +4 -0
  45. package/api/resources/entities/types/EntityDefinitionUpdateEntitySchema.js +5 -0
  46. package/api/resources/entities/types/index.d.ts +2 -0
  47. package/api/resources/entities/types/index.js +18 -0
  48. package/api/resources/index.d.ts +8 -0
  49. package/api/resources/index.js +9 -1
  50. package/api/resources/sources/client/Client.js +2 -2
  51. package/api/resources/sync/client/Client.d.ts +36 -0
  52. package/api/resources/sync/client/Client.js +151 -8
  53. package/api/resources/sync/client/requests/SyncCreate.d.ts +3 -0
  54. package/api/resources/sync/client/requests/SyncUpdate.d.ts +21 -0
  55. package/api/resources/sync/client/requests/SyncUpdate.js +5 -0
  56. package/api/resources/sync/client/requests/index.d.ts +1 -0
  57. package/api/resources/transformers/client/Client.d.ts +77 -0
  58. package/api/resources/transformers/client/Client.js +272 -0
  59. package/api/resources/transformers/client/index.d.ts +1 -0
  60. package/api/resources/transformers/client/index.js +17 -0
  61. package/api/resources/transformers/client/requests/TransformerCreate.d.ts +22 -0
  62. package/api/resources/transformers/client/requests/TransformerCreate.js +5 -0
  63. package/api/resources/transformers/client/requests/TransformerUpdate.d.ts +22 -0
  64. package/api/resources/transformers/client/requests/TransformerUpdate.js +5 -0
  65. package/api/resources/transformers/client/requests/index.d.ts +2 -0
  66. package/api/resources/transformers/client/requests/index.js +2 -0
  67. package/api/resources/transformers/index.d.ts +1 -0
  68. package/api/resources/transformers/index.js +17 -0
  69. package/api/resources/users/client/Client.js +1 -1
  70. package/api/resources/whiteLabels/client/Client.js +8 -8
  71. package/api/types/DagEdge.d.ts +15 -0
  72. package/api/types/DagEdge.js +5 -0
  73. package/api/types/DagEdgeCreate.d.ts +10 -0
  74. package/api/types/DagEdgeCreate.js +5 -0
  75. package/api/types/DagNode.d.ts +20 -0
  76. package/api/types/DagNode.js +5 -0
  77. package/api/types/DagNodeCreate.d.ts +17 -0
  78. package/api/types/DagNodeCreate.js +5 -0
  79. package/api/types/Destination.d.ts +3 -0
  80. package/api/types/DestinationWithConfigFields.d.ts +3 -0
  81. package/api/types/EntityDefinition.d.ts +20 -0
  82. package/api/types/EntityDefinition.js +5 -0
  83. package/api/types/EntityDefinitionEntitySchema.d.ts +4 -0
  84. package/api/types/EntityDefinitionEntitySchema.js +5 -0
  85. package/api/types/EntityRelation.d.ts +16 -0
  86. package/api/types/EntityRelation.js +5 -0
  87. package/api/types/EntityType.d.ts +11 -0
  88. package/api/types/EntityType.js +10 -0
  89. package/api/types/NodeType.d.ts +13 -0
  90. package/api/types/NodeType.js +12 -0
  91. package/api/types/Source.d.ts +3 -0
  92. package/api/types/SourceWithConfigFields.d.ts +3 -0
  93. package/api/types/Sync.d.ts +2 -1
  94. package/api/types/SyncDag.d.ts +29 -0
  95. package/api/types/SyncDag.js +5 -0
  96. package/api/types/SyncWithSourceConnection.d.ts +2 -1
  97. package/api/types/Transformer.d.ts +19 -0
  98. package/api/types/Transformer.js +5 -0
  99. package/api/types/index.d.ts +11 -0
  100. package/api/types/index.js +11 -0
  101. package/dist/Client.d.ts +12 -0
  102. package/dist/Client.js +20 -0
  103. package/dist/api/resources/connections/client/Client.js +12 -12
  104. package/dist/api/resources/cursorDevelopment/client/Client.d.ts +78 -0
  105. package/dist/api/resources/cursorDevelopment/client/Client.js +218 -0
  106. package/dist/api/resources/cursorDevelopment/client/index.d.ts +1 -0
  107. package/dist/api/resources/cursorDevelopment/client/index.js +2 -0
  108. package/dist/api/resources/cursorDevelopment/index.d.ts +1 -0
  109. package/dist/api/resources/cursorDevelopment/index.js +17 -0
  110. package/dist/api/resources/dag/client/Client.d.ts +95 -0
  111. package/dist/api/resources/dag/client/Client.js +347 -0
  112. package/dist/api/resources/dag/client/index.d.ts +1 -0
  113. package/dist/api/resources/dag/client/index.js +17 -0
  114. package/dist/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.d.ts +12 -0
  115. package/dist/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.js +5 -0
  116. package/dist/api/resources/dag/client/requests/SyncDagCreate.d.ts +26 -0
  117. package/dist/api/resources/dag/client/requests/SyncDagCreate.js +5 -0
  118. package/dist/api/resources/dag/client/requests/SyncDagUpdate.d.ts +18 -0
  119. package/dist/api/resources/dag/client/requests/SyncDagUpdate.js +5 -0
  120. package/dist/api/resources/dag/client/requests/index.d.ts +3 -0
  121. package/dist/api/resources/dag/client/requests/index.js +2 -0
  122. package/dist/api/resources/dag/index.d.ts +1 -0
  123. package/dist/api/resources/dag/index.js +17 -0
  124. package/dist/api/resources/destinations/client/Client.js +2 -2
  125. package/dist/api/resources/embeddingModels/client/Client.js +2 -2
  126. package/dist/api/resources/entities/client/Client.d.ts +141 -0
  127. package/dist/api/resources/entities/client/Client.js +553 -0
  128. package/dist/api/resources/entities/client/index.d.ts +1 -0
  129. package/dist/api/resources/entities/client/index.js +17 -0
  130. package/dist/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +23 -0
  131. package/dist/api/resources/entities/client/requests/EntityDefinitionCreate.js +5 -0
  132. package/dist/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +23 -0
  133. package/dist/api/resources/entities/client/requests/EntityDefinitionUpdate.js +5 -0
  134. package/dist/api/resources/entities/client/requests/EntityRelationCreate.d.ts +17 -0
  135. package/dist/api/resources/entities/client/requests/EntityRelationCreate.js +5 -0
  136. package/dist/api/resources/entities/client/requests/EntityRelationUpdate.d.ts +17 -0
  137. package/dist/api/resources/entities/client/requests/EntityRelationUpdate.js +5 -0
  138. package/dist/api/resources/entities/client/requests/index.d.ts +4 -0
  139. package/dist/api/resources/entities/client/requests/index.js +2 -0
  140. package/dist/api/resources/entities/index.d.ts +2 -0
  141. package/dist/api/resources/entities/index.js +18 -0
  142. package/dist/api/resources/entities/types/EntityDefinitionCreateEntitySchema.d.ts +4 -0
  143. package/dist/api/resources/entities/types/EntityDefinitionCreateEntitySchema.js +5 -0
  144. package/dist/api/resources/entities/types/EntityDefinitionUpdateEntitySchema.d.ts +4 -0
  145. package/dist/api/resources/entities/types/EntityDefinitionUpdateEntitySchema.js +5 -0
  146. package/dist/api/resources/entities/types/index.d.ts +2 -0
  147. package/dist/api/resources/entities/types/index.js +18 -0
  148. package/dist/api/resources/index.d.ts +8 -0
  149. package/dist/api/resources/index.js +9 -1
  150. package/dist/api/resources/sources/client/Client.js +2 -2
  151. package/dist/api/resources/sync/client/Client.d.ts +36 -0
  152. package/dist/api/resources/sync/client/Client.js +151 -8
  153. package/dist/api/resources/sync/client/requests/SyncCreate.d.ts +3 -0
  154. package/dist/api/resources/sync/client/requests/SyncUpdate.d.ts +21 -0
  155. package/dist/api/resources/sync/client/requests/SyncUpdate.js +5 -0
  156. package/dist/api/resources/sync/client/requests/index.d.ts +1 -0
  157. package/dist/api/resources/transformers/client/Client.d.ts +77 -0
  158. package/dist/api/resources/transformers/client/Client.js +272 -0
  159. package/dist/api/resources/transformers/client/index.d.ts +1 -0
  160. package/dist/api/resources/transformers/client/index.js +17 -0
  161. package/dist/api/resources/transformers/client/requests/TransformerCreate.d.ts +22 -0
  162. package/dist/api/resources/transformers/client/requests/TransformerCreate.js +5 -0
  163. package/dist/api/resources/transformers/client/requests/TransformerUpdate.d.ts +22 -0
  164. package/dist/api/resources/transformers/client/requests/TransformerUpdate.js +5 -0
  165. package/dist/api/resources/transformers/client/requests/index.d.ts +2 -0
  166. package/dist/api/resources/transformers/client/requests/index.js +2 -0
  167. package/dist/api/resources/transformers/index.d.ts +1 -0
  168. package/dist/api/resources/transformers/index.js +17 -0
  169. package/dist/api/resources/users/client/Client.js +1 -1
  170. package/dist/api/resources/whiteLabels/client/Client.js +8 -8
  171. package/dist/api/types/DagEdge.d.ts +15 -0
  172. package/dist/api/types/DagEdge.js +5 -0
  173. package/dist/api/types/DagEdgeCreate.d.ts +10 -0
  174. package/dist/api/types/DagEdgeCreate.js +5 -0
  175. package/dist/api/types/DagNode.d.ts +20 -0
  176. package/dist/api/types/DagNode.js +5 -0
  177. package/dist/api/types/DagNodeCreate.d.ts +17 -0
  178. package/dist/api/types/DagNodeCreate.js +5 -0
  179. package/dist/api/types/Destination.d.ts +3 -0
  180. package/dist/api/types/DestinationWithConfigFields.d.ts +3 -0
  181. package/dist/api/types/EntityDefinition.d.ts +20 -0
  182. package/dist/api/types/EntityDefinition.js +5 -0
  183. package/dist/api/types/EntityDefinitionEntitySchema.d.ts +4 -0
  184. package/dist/api/types/EntityDefinitionEntitySchema.js +5 -0
  185. package/dist/api/types/EntityRelation.d.ts +16 -0
  186. package/dist/api/types/EntityRelation.js +5 -0
  187. package/dist/api/types/EntityType.d.ts +11 -0
  188. package/dist/api/types/EntityType.js +10 -0
  189. package/dist/api/types/NodeType.d.ts +13 -0
  190. package/dist/api/types/NodeType.js +12 -0
  191. package/dist/api/types/Source.d.ts +3 -0
  192. package/dist/api/types/SourceWithConfigFields.d.ts +3 -0
  193. package/dist/api/types/Sync.d.ts +2 -1
  194. package/dist/api/types/SyncDag.d.ts +29 -0
  195. package/dist/api/types/SyncDag.js +5 -0
  196. package/dist/api/types/SyncWithSourceConnection.d.ts +2 -1
  197. package/dist/api/types/Transformer.d.ts +19 -0
  198. package/dist/api/types/Transformer.js +5 -0
  199. package/dist/api/types/index.d.ts +11 -0
  200. package/dist/api/types/index.js +11 -0
  201. package/dist/serialization/resources/cursorDevelopment/client/checkConnectionStatus.d.ts +11 -0
  202. package/dist/serialization/resources/cursorDevelopment/client/checkConnectionStatus.js +42 -0
  203. package/dist/serialization/resources/cursorDevelopment/client/index.d.ts +1 -0
  204. package/dist/serialization/resources/cursorDevelopment/client/index.js +37 -0
  205. package/dist/serialization/resources/cursorDevelopment/index.d.ts +1 -0
  206. package/dist/serialization/resources/cursorDevelopment/index.js +17 -0
  207. package/dist/serialization/resources/dag/client/index.d.ts +1 -0
  208. package/dist/serialization/resources/dag/client/index.js +17 -0
  209. package/dist/serialization/resources/dag/client/requests/SyncDagCreate.d.ts +18 -0
  210. package/dist/serialization/resources/dag/client/requests/SyncDagCreate.js +49 -0
  211. package/dist/serialization/resources/dag/client/requests/SyncDagUpdate.d.ts +18 -0
  212. package/dist/serialization/resources/dag/client/requests/SyncDagUpdate.js +49 -0
  213. package/dist/serialization/resources/dag/client/requests/index.d.ts +2 -0
  214. package/dist/serialization/resources/dag/client/requests/index.js +7 -0
  215. package/dist/serialization/resources/dag/index.d.ts +1 -0
  216. package/dist/serialization/resources/dag/index.js +17 -0
  217. package/dist/serialization/resources/entities/client/getEntityDefinitionsByIds.d.ts +15 -0
  218. package/dist/serialization/resources/entities/client/getEntityDefinitionsByIds.js +43 -0
  219. package/dist/serialization/resources/entities/client/index.d.ts +4 -0
  220. package/dist/serialization/resources/entities/client/index.js +43 -0
  221. package/dist/serialization/resources/entities/client/listEntityDefinitions.d.ts +11 -0
  222. package/dist/serialization/resources/entities/client/listEntityDefinitions.js +42 -0
  223. package/dist/serialization/resources/entities/client/listEntityRelations.d.ts +11 -0
  224. package/dist/serialization/resources/entities/client/listEntityRelations.js +42 -0
  225. package/dist/serialization/resources/entities/client/requests/EntityDefinitionCreate.d.ts +20 -0
  226. package/dist/serialization/resources/entities/client/requests/EntityDefinitionCreate.js +51 -0
  227. package/dist/serialization/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +20 -0
  228. package/dist/serialization/resources/entities/client/requests/EntityDefinitionUpdate.js +51 -0
  229. package/dist/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +15 -0
  230. package/dist/serialization/resources/entities/client/requests/EntityRelationCreate.js +46 -0
  231. package/dist/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +15 -0
  232. package/dist/serialization/resources/entities/client/requests/EntityRelationUpdate.js +46 -0
  233. package/dist/serialization/resources/entities/client/requests/index.d.ts +4 -0
  234. package/dist/serialization/resources/entities/client/requests/index.js +11 -0
  235. package/dist/serialization/resources/entities/index.d.ts +2 -0
  236. package/dist/serialization/resources/entities/index.js +18 -0
  237. package/dist/serialization/resources/entities/types/EntityDefinitionCreateEntitySchema.d.ts +10 -0
  238. package/dist/serialization/resources/entities/types/EntityDefinitionCreateEntitySchema.js +44 -0
  239. package/dist/serialization/resources/entities/types/EntityDefinitionUpdateEntitySchema.d.ts +10 -0
  240. package/dist/serialization/resources/entities/types/EntityDefinitionUpdateEntitySchema.js +44 -0
  241. package/dist/serialization/resources/entities/types/index.d.ts +2 -0
  242. package/dist/serialization/resources/entities/types/index.js +18 -0
  243. package/dist/serialization/resources/index.d.ts +8 -0
  244. package/dist/serialization/resources/index.js +9 -1
  245. package/dist/serialization/resources/sync/client/requests/SyncCreate.d.ts +3 -0
  246. package/dist/serialization/resources/sync/client/requests/SyncCreate.js +3 -0
  247. package/dist/serialization/resources/sync/client/requests/SyncUpdate.d.ts +23 -0
  248. package/dist/serialization/resources/sync/client/requests/SyncUpdate.js +54 -0
  249. package/dist/serialization/resources/sync/client/requests/index.d.ts +1 -0
  250. package/dist/serialization/resources/sync/client/requests/index.js +3 -1
  251. package/dist/serialization/resources/transformers/client/index.d.ts +2 -0
  252. package/dist/serialization/resources/transformers/client/index.js +41 -0
  253. package/dist/serialization/resources/transformers/client/listTransformers.d.ts +11 -0
  254. package/dist/serialization/resources/transformers/client/listTransformers.js +42 -0
  255. package/dist/serialization/resources/transformers/client/requests/TransformerCreate.d.ts +18 -0
  256. package/dist/serialization/resources/transformers/client/requests/TransformerCreate.js +49 -0
  257. package/dist/serialization/resources/transformers/client/requests/TransformerUpdate.d.ts +18 -0
  258. package/dist/serialization/resources/transformers/client/requests/TransformerUpdate.js +49 -0
  259. package/dist/serialization/resources/transformers/client/requests/index.d.ts +2 -0
  260. package/dist/serialization/resources/transformers/client/requests/index.js +7 -0
  261. package/dist/serialization/resources/transformers/index.d.ts +1 -0
  262. package/dist/serialization/resources/transformers/index.js +17 -0
  263. package/dist/serialization/types/DagEdge.d.ts +18 -0
  264. package/dist/serialization/types/DagEdge.js +49 -0
  265. package/dist/serialization/types/DagEdgeCreate.d.ts +13 -0
  266. package/dist/serialization/types/DagEdgeCreate.js +44 -0
  267. package/dist/serialization/types/DagNode.d.ts +23 -0
  268. package/dist/serialization/types/DagNode.js +54 -0
  269. package/dist/serialization/types/DagNodeCreate.d.ts +19 -0
  270. package/dist/serialization/types/DagNodeCreate.js +50 -0
  271. package/dist/serialization/types/Destination.d.ts +3 -0
  272. package/dist/serialization/types/Destination.js +3 -0
  273. package/dist/serialization/types/DestinationWithConfigFields.d.ts +3 -0
  274. package/dist/serialization/types/DestinationWithConfigFields.js +3 -0
  275. package/dist/serialization/types/EntityDefinition.d.ts +24 -0
  276. package/dist/serialization/types/EntityDefinition.js +55 -0
  277. package/dist/serialization/types/EntityDefinitionEntitySchema.d.ts +10 -0
  278. package/dist/serialization/types/EntityDefinitionEntitySchema.js +44 -0
  279. package/dist/serialization/types/EntityRelation.d.ts +19 -0
  280. package/dist/serialization/types/EntityRelation.js +50 -0
  281. package/dist/serialization/types/EntityType.d.ts +10 -0
  282. package/dist/serialization/types/EntityType.js +41 -0
  283. package/dist/serialization/types/NodeType.d.ts +10 -0
  284. package/dist/serialization/types/NodeType.js +41 -0
  285. package/dist/serialization/types/Source.d.ts +3 -0
  286. package/dist/serialization/types/Source.js +3 -0
  287. package/dist/serialization/types/SourceWithConfigFields.d.ts +3 -0
  288. package/dist/serialization/types/SourceWithConfigFields.js +3 -0
  289. package/dist/serialization/types/Sync.d.ts +2 -1
  290. package/dist/serialization/types/Sync.js +2 -1
  291. package/dist/serialization/types/SyncDag.d.ts +22 -0
  292. package/dist/serialization/types/SyncDag.js +53 -0
  293. package/dist/serialization/types/SyncWithSourceConnection.d.ts +2 -1
  294. package/dist/serialization/types/SyncWithSourceConnection.js +2 -1
  295. package/dist/serialization/types/Transformer.d.ts +22 -0
  296. package/dist/serialization/types/Transformer.js +53 -0
  297. package/dist/serialization/types/index.d.ts +11 -0
  298. package/dist/serialization/types/index.js +11 -0
  299. package/dist/version.d.ts +1 -1
  300. package/dist/version.js +1 -1
  301. package/package.json +1 -1
  302. package/reference.md +1262 -0
  303. package/serialization/resources/cursorDevelopment/client/checkConnectionStatus.d.ts +11 -0
  304. package/serialization/resources/cursorDevelopment/client/checkConnectionStatus.js +42 -0
  305. package/serialization/resources/cursorDevelopment/client/index.d.ts +1 -0
  306. package/serialization/resources/cursorDevelopment/client/index.js +37 -0
  307. package/serialization/resources/cursorDevelopment/index.d.ts +1 -0
  308. package/serialization/resources/cursorDevelopment/index.js +17 -0
  309. package/serialization/resources/dag/client/index.d.ts +1 -0
  310. package/serialization/resources/dag/client/index.js +17 -0
  311. package/serialization/resources/dag/client/requests/SyncDagCreate.d.ts +18 -0
  312. package/serialization/resources/dag/client/requests/SyncDagCreate.js +49 -0
  313. package/serialization/resources/dag/client/requests/SyncDagUpdate.d.ts +18 -0
  314. package/serialization/resources/dag/client/requests/SyncDagUpdate.js +49 -0
  315. package/serialization/resources/dag/client/requests/index.d.ts +2 -0
  316. package/serialization/resources/dag/client/requests/index.js +7 -0
  317. package/serialization/resources/dag/index.d.ts +1 -0
  318. package/serialization/resources/dag/index.js +17 -0
  319. package/serialization/resources/entities/client/getEntityDefinitionsByIds.d.ts +15 -0
  320. package/serialization/resources/entities/client/getEntityDefinitionsByIds.js +43 -0
  321. package/serialization/resources/entities/client/index.d.ts +4 -0
  322. package/serialization/resources/entities/client/index.js +43 -0
  323. package/serialization/resources/entities/client/listEntityDefinitions.d.ts +11 -0
  324. package/serialization/resources/entities/client/listEntityDefinitions.js +42 -0
  325. package/serialization/resources/entities/client/listEntityRelations.d.ts +11 -0
  326. package/serialization/resources/entities/client/listEntityRelations.js +42 -0
  327. package/serialization/resources/entities/client/requests/EntityDefinitionCreate.d.ts +20 -0
  328. package/serialization/resources/entities/client/requests/EntityDefinitionCreate.js +51 -0
  329. package/serialization/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +20 -0
  330. package/serialization/resources/entities/client/requests/EntityDefinitionUpdate.js +51 -0
  331. package/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +15 -0
  332. package/serialization/resources/entities/client/requests/EntityRelationCreate.js +46 -0
  333. package/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +15 -0
  334. package/serialization/resources/entities/client/requests/EntityRelationUpdate.js +46 -0
  335. package/serialization/resources/entities/client/requests/index.d.ts +4 -0
  336. package/serialization/resources/entities/client/requests/index.js +11 -0
  337. package/serialization/resources/entities/index.d.ts +2 -0
  338. package/serialization/resources/entities/index.js +18 -0
  339. package/serialization/resources/entities/types/EntityDefinitionCreateEntitySchema.d.ts +10 -0
  340. package/serialization/resources/entities/types/EntityDefinitionCreateEntitySchema.js +44 -0
  341. package/serialization/resources/entities/types/EntityDefinitionUpdateEntitySchema.d.ts +10 -0
  342. package/serialization/resources/entities/types/EntityDefinitionUpdateEntitySchema.js +44 -0
  343. package/serialization/resources/entities/types/index.d.ts +2 -0
  344. package/serialization/resources/entities/types/index.js +18 -0
  345. package/serialization/resources/index.d.ts +8 -0
  346. package/serialization/resources/index.js +9 -1
  347. package/serialization/resources/sync/client/requests/SyncCreate.d.ts +3 -0
  348. package/serialization/resources/sync/client/requests/SyncCreate.js +3 -0
  349. package/serialization/resources/sync/client/requests/SyncUpdate.d.ts +23 -0
  350. package/serialization/resources/sync/client/requests/SyncUpdate.js +54 -0
  351. package/serialization/resources/sync/client/requests/index.d.ts +1 -0
  352. package/serialization/resources/sync/client/requests/index.js +3 -1
  353. package/serialization/resources/transformers/client/index.d.ts +2 -0
  354. package/serialization/resources/transformers/client/index.js +41 -0
  355. package/serialization/resources/transformers/client/listTransformers.d.ts +11 -0
  356. package/serialization/resources/transformers/client/listTransformers.js +42 -0
  357. package/serialization/resources/transformers/client/requests/TransformerCreate.d.ts +18 -0
  358. package/serialization/resources/transformers/client/requests/TransformerCreate.js +49 -0
  359. package/serialization/resources/transformers/client/requests/TransformerUpdate.d.ts +18 -0
  360. package/serialization/resources/transformers/client/requests/TransformerUpdate.js +49 -0
  361. package/serialization/resources/transformers/client/requests/index.d.ts +2 -0
  362. package/serialization/resources/transformers/client/requests/index.js +7 -0
  363. package/serialization/resources/transformers/index.d.ts +1 -0
  364. package/serialization/resources/transformers/index.js +17 -0
  365. package/serialization/types/DagEdge.d.ts +18 -0
  366. package/serialization/types/DagEdge.js +49 -0
  367. package/serialization/types/DagEdgeCreate.d.ts +13 -0
  368. package/serialization/types/DagEdgeCreate.js +44 -0
  369. package/serialization/types/DagNode.d.ts +23 -0
  370. package/serialization/types/DagNode.js +54 -0
  371. package/serialization/types/DagNodeCreate.d.ts +19 -0
  372. package/serialization/types/DagNodeCreate.js +50 -0
  373. package/serialization/types/Destination.d.ts +3 -0
  374. package/serialization/types/Destination.js +3 -0
  375. package/serialization/types/DestinationWithConfigFields.d.ts +3 -0
  376. package/serialization/types/DestinationWithConfigFields.js +3 -0
  377. package/serialization/types/EntityDefinition.d.ts +24 -0
  378. package/serialization/types/EntityDefinition.js +55 -0
  379. package/serialization/types/EntityDefinitionEntitySchema.d.ts +10 -0
  380. package/serialization/types/EntityDefinitionEntitySchema.js +44 -0
  381. package/serialization/types/EntityRelation.d.ts +19 -0
  382. package/serialization/types/EntityRelation.js +50 -0
  383. package/serialization/types/EntityType.d.ts +10 -0
  384. package/serialization/types/EntityType.js +41 -0
  385. package/serialization/types/NodeType.d.ts +10 -0
  386. package/serialization/types/NodeType.js +41 -0
  387. package/serialization/types/Source.d.ts +3 -0
  388. package/serialization/types/Source.js +3 -0
  389. package/serialization/types/SourceWithConfigFields.d.ts +3 -0
  390. package/serialization/types/SourceWithConfigFields.js +3 -0
  391. package/serialization/types/Sync.d.ts +2 -1
  392. package/serialization/types/Sync.js +2 -1
  393. package/serialization/types/SyncDag.d.ts +22 -0
  394. package/serialization/types/SyncDag.js +53 -0
  395. package/serialization/types/SyncWithSourceConnection.d.ts +2 -1
  396. package/serialization/types/SyncWithSourceConnection.js +2 -1
  397. package/serialization/types/Transformer.d.ts +22 -0
  398. package/serialization/types/Transformer.js +53 -0
  399. package/serialization/types/index.d.ts +11 -0
  400. package/serialization/types/index.js +11 -0
  401. package/version.d.ts +1 -1
  402. package/version.js +1 -1
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as AirweaveSDK from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { Connection } from "../../../types/Connection";
8
+ export declare const Response: core.serialization.Schema<serializers.cursorDevelopment.checkConnectionStatus.Response.Raw, AirweaveSDK.Connection[]>;
9
+ export declare namespace Response {
10
+ type Raw = Connection.Raw[];
11
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Response = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const Connection_1 = require("../../../types/Connection");
42
+ exports.Response = core.serialization.list(Connection_1.Connection);
@@ -0,0 +1 @@
1
+ export * as checkConnectionStatus from "./checkConnectionStatus";
@@ -0,0 +1,37 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.checkConnectionStatus = void 0;
37
+ exports.checkConnectionStatus = __importStar(require("./checkConnectionStatus"));
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index";
5
+ import * as AirweaveSDK from "../../../../../api/index";
6
+ import * as core from "../../../../../core";
7
+ import { DagNodeCreate } from "../../../../types/DagNodeCreate";
8
+ import { DagEdgeCreate } from "../../../../types/DagEdgeCreate";
9
+ export declare const SyncDagCreate: core.serialization.Schema<serializers.SyncDagCreate.Raw, AirweaveSDK.SyncDagCreate>;
10
+ export declare namespace SyncDagCreate {
11
+ interface Raw {
12
+ name: string;
13
+ description?: string | null;
14
+ sync_id: string;
15
+ nodes: DagNodeCreate.Raw[];
16
+ edges: DagEdgeCreate.Raw[];
17
+ }
18
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.SyncDagCreate = void 0;
40
+ const core = __importStar(require("../../../../../core"));
41
+ const DagNodeCreate_1 = require("../../../../types/DagNodeCreate");
42
+ const DagEdgeCreate_1 = require("../../../../types/DagEdgeCreate");
43
+ exports.SyncDagCreate = core.serialization.object({
44
+ name: core.serialization.string(),
45
+ description: core.serialization.string().optional(),
46
+ syncDagCreateSyncId: core.serialization.property("sync_id", core.serialization.string()),
47
+ nodes: core.serialization.list(DagNodeCreate_1.DagNodeCreate),
48
+ edges: core.serialization.list(DagEdgeCreate_1.DagEdgeCreate),
49
+ });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index";
5
+ import * as AirweaveSDK from "../../../../../api/index";
6
+ import * as core from "../../../../../core";
7
+ import { DagNodeCreate } from "../../../../types/DagNodeCreate";
8
+ import { DagEdgeCreate } from "../../../../types/DagEdgeCreate";
9
+ export declare const SyncDagUpdate: core.serialization.Schema<serializers.SyncDagUpdate.Raw, AirweaveSDK.SyncDagUpdate>;
10
+ export declare namespace SyncDagUpdate {
11
+ interface Raw {
12
+ name: string;
13
+ description?: string | null;
14
+ sync_id: string;
15
+ nodes?: DagNodeCreate.Raw[] | null;
16
+ edges?: DagEdgeCreate.Raw[] | null;
17
+ }
18
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.SyncDagUpdate = void 0;
40
+ const core = __importStar(require("../../../../../core"));
41
+ const DagNodeCreate_1 = require("../../../../types/DagNodeCreate");
42
+ const DagEdgeCreate_1 = require("../../../../types/DagEdgeCreate");
43
+ exports.SyncDagUpdate = core.serialization.object({
44
+ name: core.serialization.string(),
45
+ description: core.serialization.string().optional(),
46
+ syncDagUpdateSyncId: core.serialization.property("sync_id", core.serialization.string()),
47
+ nodes: core.serialization.list(DagNodeCreate_1.DagNodeCreate).optional(),
48
+ edges: core.serialization.list(DagEdgeCreate_1.DagEdgeCreate).optional(),
49
+ });
@@ -0,0 +1,2 @@
1
+ export { SyncDagCreate } from "./SyncDagCreate";
2
+ export { SyncDagUpdate } from "./SyncDagUpdate";
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SyncDagUpdate = exports.SyncDagCreate = void 0;
4
+ var SyncDagCreate_1 = require("./SyncDagCreate");
5
+ Object.defineProperty(exports, "SyncDagCreate", { enumerable: true, get: function () { return SyncDagCreate_1.SyncDagCreate; } });
6
+ var SyncDagUpdate_1 = require("./SyncDagUpdate");
7
+ Object.defineProperty(exports, "SyncDagUpdate", { enumerable: true, get: function () { return SyncDagUpdate_1.SyncDagUpdate; } });
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as core from "../../../../core";
6
+ import * as AirweaveSDK from "../../../../api/index";
7
+ import { EntityDefinition } from "../../../types/EntityDefinition";
8
+ export declare const Request: core.serialization.Schema<serializers.entities.getEntityDefinitionsByIds.Request.Raw, string[]>;
9
+ export declare namespace Request {
10
+ type Raw = string[];
11
+ }
12
+ export declare const Response: core.serialization.Schema<serializers.entities.getEntityDefinitionsByIds.Response.Raw, AirweaveSDK.EntityDefinition[]>;
13
+ export declare namespace Response {
14
+ type Raw = EntityDefinition.Raw[];
15
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Response = exports.Request = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const EntityDefinition_1 = require("../../../types/EntityDefinition");
42
+ exports.Request = core.serialization.list(core.serialization.string());
43
+ exports.Response = core.serialization.list(EntityDefinition_1.EntityDefinition);
@@ -0,0 +1,4 @@
1
+ export * as listEntityDefinitions from "./listEntityDefinitions";
2
+ export * as listEntityRelations from "./listEntityRelations";
3
+ export * as getEntityDefinitionsByIds from "./getEntityDefinitionsByIds";
4
+ export * from "./requests";
@@ -0,0 +1,43 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.getEntityDefinitionsByIds = exports.listEntityRelations = exports.listEntityDefinitions = void 0;
40
+ exports.listEntityDefinitions = __importStar(require("./listEntityDefinitions"));
41
+ exports.listEntityRelations = __importStar(require("./listEntityRelations"));
42
+ exports.getEntityDefinitionsByIds = __importStar(require("./getEntityDefinitionsByIds"));
43
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as AirweaveSDK from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { EntityDefinition } from "../../../types/EntityDefinition";
8
+ export declare const Response: core.serialization.Schema<serializers.entities.listEntityDefinitions.Response.Raw, AirweaveSDK.EntityDefinition[]>;
9
+ export declare namespace Response {
10
+ type Raw = EntityDefinition.Raw[];
11
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Response = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const EntityDefinition_1 = require("../../../types/EntityDefinition");
42
+ exports.Response = core.serialization.list(EntityDefinition_1.EntityDefinition);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as AirweaveSDK from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { EntityRelation } from "../../../types/EntityRelation";
8
+ export declare const Response: core.serialization.Schema<serializers.entities.listEntityRelations.Response.Raw, AirweaveSDK.EntityRelation[]>;
9
+ export declare namespace Response {
10
+ type Raw = EntityRelation.Raw[];
11
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Response = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const EntityRelation_1 = require("../../../types/EntityRelation");
42
+ exports.Response = core.serialization.list(EntityRelation_1.EntityRelation);
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index";
5
+ import * as AirweaveSDK from "../../../../../api/index";
6
+ import * as core from "../../../../../core";
7
+ import { EntityType } from "../../../../types/EntityType";
8
+ import { EntityDefinitionCreateEntitySchema } from "../../types/EntityDefinitionCreateEntitySchema";
9
+ export declare const EntityDefinitionCreate: core.serialization.Schema<serializers.EntityDefinitionCreate.Raw, AirweaveSDK.EntityDefinitionCreate>;
10
+ export declare namespace EntityDefinitionCreate {
11
+ interface Raw {
12
+ name: string;
13
+ description?: string | null;
14
+ type: EntityType.Raw;
15
+ entity_schema: EntityDefinitionCreateEntitySchema.Raw;
16
+ parent_id?: string | null;
17
+ module_name: string;
18
+ class_name: string;
19
+ }
20
+ }
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.EntityDefinitionCreate = void 0;
40
+ const core = __importStar(require("../../../../../core"));
41
+ const EntityType_1 = require("../../../../types/EntityType");
42
+ const EntityDefinitionCreateEntitySchema_1 = require("../../types/EntityDefinitionCreateEntitySchema");
43
+ exports.EntityDefinitionCreate = core.serialization.object({
44
+ name: core.serialization.string(),
45
+ description: core.serialization.string().optional(),
46
+ type: EntityType_1.EntityType,
47
+ entitySchema: core.serialization.property("entity_schema", EntityDefinitionCreateEntitySchema_1.EntityDefinitionCreateEntitySchema),
48
+ parentId: core.serialization.property("parent_id", core.serialization.string().optional()),
49
+ moduleName: core.serialization.property("module_name", core.serialization.string()),
50
+ className: core.serialization.property("class_name", core.serialization.string()),
51
+ });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index";
5
+ import * as AirweaveSDK from "../../../../../api/index";
6
+ import * as core from "../../../../../core";
7
+ import { EntityType } from "../../../../types/EntityType";
8
+ import { EntityDefinitionUpdateEntitySchema } from "../../types/EntityDefinitionUpdateEntitySchema";
9
+ export declare const EntityDefinitionUpdate: core.serialization.Schema<serializers.EntityDefinitionUpdate.Raw, AirweaveSDK.EntityDefinitionUpdate>;
10
+ export declare namespace EntityDefinitionUpdate {
11
+ interface Raw {
12
+ name: string;
13
+ description?: string | null;
14
+ type: EntityType.Raw;
15
+ entity_schema: EntityDefinitionUpdateEntitySchema.Raw;
16
+ parent_id?: string | null;
17
+ module_name: string;
18
+ class_name: string;
19
+ }
20
+ }