@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.
- package/Client.d.ts +12 -0
- package/Client.js +20 -0
- package/api/resources/connections/client/Client.js +12 -12
- package/api/resources/cursorDevelopment/client/Client.d.ts +78 -0
- package/api/resources/cursorDevelopment/client/Client.js +218 -0
- package/api/resources/cursorDevelopment/client/index.d.ts +1 -0
- package/api/resources/cursorDevelopment/client/index.js +2 -0
- package/api/resources/cursorDevelopment/index.d.ts +1 -0
- package/api/resources/cursorDevelopment/index.js +17 -0
- package/api/resources/dag/client/Client.d.ts +95 -0
- package/api/resources/dag/client/Client.js +347 -0
- package/api/resources/dag/client/index.d.ts +1 -0
- package/api/resources/dag/client/index.js +17 -0
- package/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.d.ts +12 -0
- package/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.js +5 -0
- package/api/resources/dag/client/requests/SyncDagCreate.d.ts +26 -0
- package/api/resources/dag/client/requests/SyncDagCreate.js +5 -0
- package/api/resources/dag/client/requests/SyncDagUpdate.d.ts +18 -0
- package/api/resources/dag/client/requests/SyncDagUpdate.js +5 -0
- package/api/resources/dag/client/requests/index.d.ts +3 -0
- package/api/resources/dag/client/requests/index.js +2 -0
- package/api/resources/dag/index.d.ts +1 -0
- package/api/resources/dag/index.js +17 -0
- package/api/resources/destinations/client/Client.js +2 -2
- package/api/resources/embeddingModels/client/Client.js +2 -2
- package/api/resources/entities/client/Client.d.ts +141 -0
- package/api/resources/entities/client/Client.js +553 -0
- package/api/resources/entities/client/index.d.ts +1 -0
- package/api/resources/entities/client/index.js +17 -0
- package/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +23 -0
- package/api/resources/entities/client/requests/EntityDefinitionCreate.js +5 -0
- package/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +23 -0
- package/api/resources/entities/client/requests/EntityDefinitionUpdate.js +5 -0
- package/api/resources/entities/client/requests/EntityRelationCreate.d.ts +17 -0
- package/api/resources/entities/client/requests/EntityRelationCreate.js +5 -0
- package/api/resources/entities/client/requests/EntityRelationUpdate.d.ts +17 -0
- package/api/resources/entities/client/requests/EntityRelationUpdate.js +5 -0
- package/api/resources/entities/client/requests/index.d.ts +4 -0
- package/api/resources/entities/client/requests/index.js +2 -0
- package/api/resources/entities/index.d.ts +2 -0
- package/api/resources/entities/index.js +18 -0
- package/api/resources/entities/types/EntityDefinitionCreateEntitySchema.d.ts +4 -0
- package/api/resources/entities/types/EntityDefinitionCreateEntitySchema.js +5 -0
- package/api/resources/entities/types/EntityDefinitionUpdateEntitySchema.d.ts +4 -0
- package/api/resources/entities/types/EntityDefinitionUpdateEntitySchema.js +5 -0
- package/api/resources/entities/types/index.d.ts +2 -0
- package/api/resources/entities/types/index.js +18 -0
- package/api/resources/index.d.ts +8 -0
- package/api/resources/index.js +9 -1
- package/api/resources/sources/client/Client.js +2 -2
- package/api/resources/sync/client/Client.d.ts +36 -0
- package/api/resources/sync/client/Client.js +151 -8
- package/api/resources/sync/client/requests/SyncCreate.d.ts +3 -0
- package/api/resources/sync/client/requests/SyncUpdate.d.ts +21 -0
- package/api/resources/sync/client/requests/SyncUpdate.js +5 -0
- package/api/resources/sync/client/requests/index.d.ts +1 -0
- package/api/resources/transformers/client/Client.d.ts +77 -0
- package/api/resources/transformers/client/Client.js +272 -0
- package/api/resources/transformers/client/index.d.ts +1 -0
- package/api/resources/transformers/client/index.js +17 -0
- package/api/resources/transformers/client/requests/TransformerCreate.d.ts +22 -0
- package/api/resources/transformers/client/requests/TransformerCreate.js +5 -0
- package/api/resources/transformers/client/requests/TransformerUpdate.d.ts +22 -0
- package/api/resources/transformers/client/requests/TransformerUpdate.js +5 -0
- package/api/resources/transformers/client/requests/index.d.ts +2 -0
- package/api/resources/transformers/client/requests/index.js +2 -0
- package/api/resources/transformers/index.d.ts +1 -0
- package/api/resources/transformers/index.js +17 -0
- package/api/resources/users/client/Client.js +1 -1
- package/api/resources/whiteLabels/client/Client.js +8 -8
- package/api/types/DagEdge.d.ts +15 -0
- package/api/types/DagEdge.js +5 -0
- package/api/types/DagEdgeCreate.d.ts +10 -0
- package/api/types/DagEdgeCreate.js +5 -0
- package/api/types/DagNode.d.ts +20 -0
- package/api/types/DagNode.js +5 -0
- package/api/types/DagNodeCreate.d.ts +17 -0
- package/api/types/DagNodeCreate.js +5 -0
- package/api/types/Destination.d.ts +3 -0
- package/api/types/DestinationWithConfigFields.d.ts +3 -0
- package/api/types/EntityDefinition.d.ts +20 -0
- package/api/types/EntityDefinition.js +5 -0
- package/api/types/EntityDefinitionEntitySchema.d.ts +4 -0
- package/api/types/EntityDefinitionEntitySchema.js +5 -0
- package/api/types/EntityRelation.d.ts +16 -0
- package/api/types/EntityRelation.js +5 -0
- package/api/types/EntityType.d.ts +11 -0
- package/api/types/EntityType.js +10 -0
- package/api/types/NodeType.d.ts +13 -0
- package/api/types/NodeType.js +12 -0
- package/api/types/Source.d.ts +3 -0
- package/api/types/SourceWithConfigFields.d.ts +3 -0
- package/api/types/Sync.d.ts +2 -1
- package/api/types/SyncDag.d.ts +29 -0
- package/api/types/SyncDag.js +5 -0
- package/api/types/SyncWithSourceConnection.d.ts +2 -1
- package/api/types/Transformer.d.ts +19 -0
- package/api/types/Transformer.js +5 -0
- package/api/types/index.d.ts +11 -0
- package/api/types/index.js +11 -0
- package/dist/Client.d.ts +12 -0
- package/dist/Client.js +20 -0
- package/dist/api/resources/connections/client/Client.js +12 -12
- package/dist/api/resources/cursorDevelopment/client/Client.d.ts +78 -0
- package/dist/api/resources/cursorDevelopment/client/Client.js +218 -0
- package/dist/api/resources/cursorDevelopment/client/index.d.ts +1 -0
- package/dist/api/resources/cursorDevelopment/client/index.js +2 -0
- package/dist/api/resources/cursorDevelopment/index.d.ts +1 -0
- package/dist/api/resources/cursorDevelopment/index.js +17 -0
- package/dist/api/resources/dag/client/Client.d.ts +95 -0
- package/dist/api/resources/dag/client/Client.js +347 -0
- package/dist/api/resources/dag/client/index.d.ts +1 -0
- package/dist/api/resources/dag/client/index.js +17 -0
- package/dist/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.d.ts +12 -0
- package/dist/api/resources/dag/client/requests/InitializeDagDagInitGetRequest.js +5 -0
- package/dist/api/resources/dag/client/requests/SyncDagCreate.d.ts +26 -0
- package/dist/api/resources/dag/client/requests/SyncDagCreate.js +5 -0
- package/dist/api/resources/dag/client/requests/SyncDagUpdate.d.ts +18 -0
- package/dist/api/resources/dag/client/requests/SyncDagUpdate.js +5 -0
- package/dist/api/resources/dag/client/requests/index.d.ts +3 -0
- package/dist/api/resources/dag/client/requests/index.js +2 -0
- package/dist/api/resources/dag/index.d.ts +1 -0
- package/dist/api/resources/dag/index.js +17 -0
- package/dist/api/resources/destinations/client/Client.js +2 -2
- package/dist/api/resources/embeddingModels/client/Client.js +2 -2
- package/dist/api/resources/entities/client/Client.d.ts +141 -0
- package/dist/api/resources/entities/client/Client.js +553 -0
- package/dist/api/resources/entities/client/index.d.ts +1 -0
- package/dist/api/resources/entities/client/index.js +17 -0
- package/dist/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +23 -0
- package/dist/api/resources/entities/client/requests/EntityDefinitionCreate.js +5 -0
- package/dist/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +23 -0
- package/dist/api/resources/entities/client/requests/EntityDefinitionUpdate.js +5 -0
- package/dist/api/resources/entities/client/requests/EntityRelationCreate.d.ts +17 -0
- package/dist/api/resources/entities/client/requests/EntityRelationCreate.js +5 -0
- package/dist/api/resources/entities/client/requests/EntityRelationUpdate.d.ts +17 -0
- package/dist/api/resources/entities/client/requests/EntityRelationUpdate.js +5 -0
- package/dist/api/resources/entities/client/requests/index.d.ts +4 -0
- package/dist/api/resources/entities/client/requests/index.js +2 -0
- package/dist/api/resources/entities/index.d.ts +2 -0
- package/dist/api/resources/entities/index.js +18 -0
- package/dist/api/resources/entities/types/EntityDefinitionCreateEntitySchema.d.ts +4 -0
- package/dist/api/resources/entities/types/EntityDefinitionCreateEntitySchema.js +5 -0
- package/dist/api/resources/entities/types/EntityDefinitionUpdateEntitySchema.d.ts +4 -0
- package/dist/api/resources/entities/types/EntityDefinitionUpdateEntitySchema.js +5 -0
- package/dist/api/resources/entities/types/index.d.ts +2 -0
- package/dist/api/resources/entities/types/index.js +18 -0
- package/dist/api/resources/index.d.ts +8 -0
- package/dist/api/resources/index.js +9 -1
- package/dist/api/resources/sources/client/Client.js +2 -2
- package/dist/api/resources/sync/client/Client.d.ts +36 -0
- package/dist/api/resources/sync/client/Client.js +151 -8
- package/dist/api/resources/sync/client/requests/SyncCreate.d.ts +3 -0
- package/dist/api/resources/sync/client/requests/SyncUpdate.d.ts +21 -0
- package/dist/api/resources/sync/client/requests/SyncUpdate.js +5 -0
- package/dist/api/resources/sync/client/requests/index.d.ts +1 -0
- package/dist/api/resources/transformers/client/Client.d.ts +77 -0
- package/dist/api/resources/transformers/client/Client.js +272 -0
- package/dist/api/resources/transformers/client/index.d.ts +1 -0
- package/dist/api/resources/transformers/client/index.js +17 -0
- package/dist/api/resources/transformers/client/requests/TransformerCreate.d.ts +22 -0
- package/dist/api/resources/transformers/client/requests/TransformerCreate.js +5 -0
- package/dist/api/resources/transformers/client/requests/TransformerUpdate.d.ts +22 -0
- package/dist/api/resources/transformers/client/requests/TransformerUpdate.js +5 -0
- package/dist/api/resources/transformers/client/requests/index.d.ts +2 -0
- package/dist/api/resources/transformers/client/requests/index.js +2 -0
- package/dist/api/resources/transformers/index.d.ts +1 -0
- package/dist/api/resources/transformers/index.js +17 -0
- package/dist/api/resources/users/client/Client.js +1 -1
- package/dist/api/resources/whiteLabels/client/Client.js +8 -8
- package/dist/api/types/DagEdge.d.ts +15 -0
- package/dist/api/types/DagEdge.js +5 -0
- package/dist/api/types/DagEdgeCreate.d.ts +10 -0
- package/dist/api/types/DagEdgeCreate.js +5 -0
- package/dist/api/types/DagNode.d.ts +20 -0
- package/dist/api/types/DagNode.js +5 -0
- package/dist/api/types/DagNodeCreate.d.ts +17 -0
- package/dist/api/types/DagNodeCreate.js +5 -0
- package/dist/api/types/Destination.d.ts +3 -0
- package/dist/api/types/DestinationWithConfigFields.d.ts +3 -0
- package/dist/api/types/EntityDefinition.d.ts +20 -0
- package/dist/api/types/EntityDefinition.js +5 -0
- package/dist/api/types/EntityDefinitionEntitySchema.d.ts +4 -0
- package/dist/api/types/EntityDefinitionEntitySchema.js +5 -0
- package/dist/api/types/EntityRelation.d.ts +16 -0
- package/dist/api/types/EntityRelation.js +5 -0
- package/dist/api/types/EntityType.d.ts +11 -0
- package/dist/api/types/EntityType.js +10 -0
- package/dist/api/types/NodeType.d.ts +13 -0
- package/dist/api/types/NodeType.js +12 -0
- package/dist/api/types/Source.d.ts +3 -0
- package/dist/api/types/SourceWithConfigFields.d.ts +3 -0
- package/dist/api/types/Sync.d.ts +2 -1
- package/dist/api/types/SyncDag.d.ts +29 -0
- package/dist/api/types/SyncDag.js +5 -0
- package/dist/api/types/SyncWithSourceConnection.d.ts +2 -1
- package/dist/api/types/Transformer.d.ts +19 -0
- package/dist/api/types/Transformer.js +5 -0
- package/dist/api/types/index.d.ts +11 -0
- package/dist/api/types/index.js +11 -0
- package/dist/serialization/resources/cursorDevelopment/client/checkConnectionStatus.d.ts +11 -0
- package/dist/serialization/resources/cursorDevelopment/client/checkConnectionStatus.js +42 -0
- package/dist/serialization/resources/cursorDevelopment/client/index.d.ts +1 -0
- package/dist/serialization/resources/cursorDevelopment/client/index.js +37 -0
- package/dist/serialization/resources/cursorDevelopment/index.d.ts +1 -0
- package/dist/serialization/resources/cursorDevelopment/index.js +17 -0
- package/dist/serialization/resources/dag/client/index.d.ts +1 -0
- package/dist/serialization/resources/dag/client/index.js +17 -0
- package/dist/serialization/resources/dag/client/requests/SyncDagCreate.d.ts +18 -0
- package/dist/serialization/resources/dag/client/requests/SyncDagCreate.js +49 -0
- package/dist/serialization/resources/dag/client/requests/SyncDagUpdate.d.ts +18 -0
- package/dist/serialization/resources/dag/client/requests/SyncDagUpdate.js +49 -0
- package/dist/serialization/resources/dag/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/dag/client/requests/index.js +7 -0
- package/dist/serialization/resources/dag/index.d.ts +1 -0
- package/dist/serialization/resources/dag/index.js +17 -0
- package/dist/serialization/resources/entities/client/getEntityDefinitionsByIds.d.ts +15 -0
- package/dist/serialization/resources/entities/client/getEntityDefinitionsByIds.js +43 -0
- package/dist/serialization/resources/entities/client/index.d.ts +4 -0
- package/dist/serialization/resources/entities/client/index.js +43 -0
- package/dist/serialization/resources/entities/client/listEntityDefinitions.d.ts +11 -0
- package/dist/serialization/resources/entities/client/listEntityDefinitions.js +42 -0
- package/dist/serialization/resources/entities/client/listEntityRelations.d.ts +11 -0
- package/dist/serialization/resources/entities/client/listEntityRelations.js +42 -0
- package/dist/serialization/resources/entities/client/requests/EntityDefinitionCreate.d.ts +20 -0
- package/dist/serialization/resources/entities/client/requests/EntityDefinitionCreate.js +51 -0
- package/dist/serialization/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +20 -0
- package/dist/serialization/resources/entities/client/requests/EntityDefinitionUpdate.js +51 -0
- package/dist/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +15 -0
- package/dist/serialization/resources/entities/client/requests/EntityRelationCreate.js +46 -0
- package/dist/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +15 -0
- package/dist/serialization/resources/entities/client/requests/EntityRelationUpdate.js +46 -0
- package/dist/serialization/resources/entities/client/requests/index.d.ts +4 -0
- package/dist/serialization/resources/entities/client/requests/index.js +11 -0
- package/dist/serialization/resources/entities/index.d.ts +2 -0
- package/dist/serialization/resources/entities/index.js +18 -0
- package/dist/serialization/resources/entities/types/EntityDefinitionCreateEntitySchema.d.ts +10 -0
- package/dist/serialization/resources/entities/types/EntityDefinitionCreateEntitySchema.js +44 -0
- package/dist/serialization/resources/entities/types/EntityDefinitionUpdateEntitySchema.d.ts +10 -0
- package/dist/serialization/resources/entities/types/EntityDefinitionUpdateEntitySchema.js +44 -0
- package/dist/serialization/resources/entities/types/index.d.ts +2 -0
- package/dist/serialization/resources/entities/types/index.js +18 -0
- package/dist/serialization/resources/index.d.ts +8 -0
- package/dist/serialization/resources/index.js +9 -1
- package/dist/serialization/resources/sync/client/requests/SyncCreate.d.ts +3 -0
- package/dist/serialization/resources/sync/client/requests/SyncCreate.js +3 -0
- package/dist/serialization/resources/sync/client/requests/SyncUpdate.d.ts +23 -0
- package/dist/serialization/resources/sync/client/requests/SyncUpdate.js +54 -0
- package/dist/serialization/resources/sync/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/sync/client/requests/index.js +3 -1
- package/dist/serialization/resources/transformers/client/index.d.ts +2 -0
- package/dist/serialization/resources/transformers/client/index.js +41 -0
- package/dist/serialization/resources/transformers/client/listTransformers.d.ts +11 -0
- package/dist/serialization/resources/transformers/client/listTransformers.js +42 -0
- package/dist/serialization/resources/transformers/client/requests/TransformerCreate.d.ts +18 -0
- package/dist/serialization/resources/transformers/client/requests/TransformerCreate.js +49 -0
- package/dist/serialization/resources/transformers/client/requests/TransformerUpdate.d.ts +18 -0
- package/dist/serialization/resources/transformers/client/requests/TransformerUpdate.js +49 -0
- package/dist/serialization/resources/transformers/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/transformers/client/requests/index.js +7 -0
- package/dist/serialization/resources/transformers/index.d.ts +1 -0
- package/dist/serialization/resources/transformers/index.js +17 -0
- package/dist/serialization/types/DagEdge.d.ts +18 -0
- package/dist/serialization/types/DagEdge.js +49 -0
- package/dist/serialization/types/DagEdgeCreate.d.ts +13 -0
- package/dist/serialization/types/DagEdgeCreate.js +44 -0
- package/dist/serialization/types/DagNode.d.ts +23 -0
- package/dist/serialization/types/DagNode.js +54 -0
- package/dist/serialization/types/DagNodeCreate.d.ts +19 -0
- package/dist/serialization/types/DagNodeCreate.js +50 -0
- package/dist/serialization/types/Destination.d.ts +3 -0
- package/dist/serialization/types/Destination.js +3 -0
- package/dist/serialization/types/DestinationWithConfigFields.d.ts +3 -0
- package/dist/serialization/types/DestinationWithConfigFields.js +3 -0
- package/dist/serialization/types/EntityDefinition.d.ts +24 -0
- package/dist/serialization/types/EntityDefinition.js +55 -0
- package/dist/serialization/types/EntityDefinitionEntitySchema.d.ts +10 -0
- package/dist/serialization/types/EntityDefinitionEntitySchema.js +44 -0
- package/dist/serialization/types/EntityRelation.d.ts +19 -0
- package/dist/serialization/types/EntityRelation.js +50 -0
- package/dist/serialization/types/EntityType.d.ts +10 -0
- package/dist/serialization/types/EntityType.js +41 -0
- package/dist/serialization/types/NodeType.d.ts +10 -0
- package/dist/serialization/types/NodeType.js +41 -0
- package/dist/serialization/types/Source.d.ts +3 -0
- package/dist/serialization/types/Source.js +3 -0
- package/dist/serialization/types/SourceWithConfigFields.d.ts +3 -0
- package/dist/serialization/types/SourceWithConfigFields.js +3 -0
- package/dist/serialization/types/Sync.d.ts +2 -1
- package/dist/serialization/types/Sync.js +2 -1
- package/dist/serialization/types/SyncDag.d.ts +22 -0
- package/dist/serialization/types/SyncDag.js +53 -0
- package/dist/serialization/types/SyncWithSourceConnection.d.ts +2 -1
- package/dist/serialization/types/SyncWithSourceConnection.js +2 -1
- package/dist/serialization/types/Transformer.d.ts +22 -0
- package/dist/serialization/types/Transformer.js +53 -0
- package/dist/serialization/types/index.d.ts +11 -0
- package/dist/serialization/types/index.js +11 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1262 -0
- package/serialization/resources/cursorDevelopment/client/checkConnectionStatus.d.ts +11 -0
- package/serialization/resources/cursorDevelopment/client/checkConnectionStatus.js +42 -0
- package/serialization/resources/cursorDevelopment/client/index.d.ts +1 -0
- package/serialization/resources/cursorDevelopment/client/index.js +37 -0
- package/serialization/resources/cursorDevelopment/index.d.ts +1 -0
- package/serialization/resources/cursorDevelopment/index.js +17 -0
- package/serialization/resources/dag/client/index.d.ts +1 -0
- package/serialization/resources/dag/client/index.js +17 -0
- package/serialization/resources/dag/client/requests/SyncDagCreate.d.ts +18 -0
- package/serialization/resources/dag/client/requests/SyncDagCreate.js +49 -0
- package/serialization/resources/dag/client/requests/SyncDagUpdate.d.ts +18 -0
- package/serialization/resources/dag/client/requests/SyncDagUpdate.js +49 -0
- package/serialization/resources/dag/client/requests/index.d.ts +2 -0
- package/serialization/resources/dag/client/requests/index.js +7 -0
- package/serialization/resources/dag/index.d.ts +1 -0
- package/serialization/resources/dag/index.js +17 -0
- package/serialization/resources/entities/client/getEntityDefinitionsByIds.d.ts +15 -0
- package/serialization/resources/entities/client/getEntityDefinitionsByIds.js +43 -0
- package/serialization/resources/entities/client/index.d.ts +4 -0
- package/serialization/resources/entities/client/index.js +43 -0
- package/serialization/resources/entities/client/listEntityDefinitions.d.ts +11 -0
- package/serialization/resources/entities/client/listEntityDefinitions.js +42 -0
- package/serialization/resources/entities/client/listEntityRelations.d.ts +11 -0
- package/serialization/resources/entities/client/listEntityRelations.js +42 -0
- package/serialization/resources/entities/client/requests/EntityDefinitionCreate.d.ts +20 -0
- package/serialization/resources/entities/client/requests/EntityDefinitionCreate.js +51 -0
- package/serialization/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +20 -0
- package/serialization/resources/entities/client/requests/EntityDefinitionUpdate.js +51 -0
- package/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +15 -0
- package/serialization/resources/entities/client/requests/EntityRelationCreate.js +46 -0
- package/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +15 -0
- package/serialization/resources/entities/client/requests/EntityRelationUpdate.js +46 -0
- package/serialization/resources/entities/client/requests/index.d.ts +4 -0
- package/serialization/resources/entities/client/requests/index.js +11 -0
- package/serialization/resources/entities/index.d.ts +2 -0
- package/serialization/resources/entities/index.js +18 -0
- package/serialization/resources/entities/types/EntityDefinitionCreateEntitySchema.d.ts +10 -0
- package/serialization/resources/entities/types/EntityDefinitionCreateEntitySchema.js +44 -0
- package/serialization/resources/entities/types/EntityDefinitionUpdateEntitySchema.d.ts +10 -0
- package/serialization/resources/entities/types/EntityDefinitionUpdateEntitySchema.js +44 -0
- package/serialization/resources/entities/types/index.d.ts +2 -0
- package/serialization/resources/entities/types/index.js +18 -0
- package/serialization/resources/index.d.ts +8 -0
- package/serialization/resources/index.js +9 -1
- package/serialization/resources/sync/client/requests/SyncCreate.d.ts +3 -0
- package/serialization/resources/sync/client/requests/SyncCreate.js +3 -0
- package/serialization/resources/sync/client/requests/SyncUpdate.d.ts +23 -0
- package/serialization/resources/sync/client/requests/SyncUpdate.js +54 -0
- package/serialization/resources/sync/client/requests/index.d.ts +1 -0
- package/serialization/resources/sync/client/requests/index.js +3 -1
- package/serialization/resources/transformers/client/index.d.ts +2 -0
- package/serialization/resources/transformers/client/index.js +41 -0
- package/serialization/resources/transformers/client/listTransformers.d.ts +11 -0
- package/serialization/resources/transformers/client/listTransformers.js +42 -0
- package/serialization/resources/transformers/client/requests/TransformerCreate.d.ts +18 -0
- package/serialization/resources/transformers/client/requests/TransformerCreate.js +49 -0
- package/serialization/resources/transformers/client/requests/TransformerUpdate.d.ts +18 -0
- package/serialization/resources/transformers/client/requests/TransformerUpdate.js +49 -0
- package/serialization/resources/transformers/client/requests/index.d.ts +2 -0
- package/serialization/resources/transformers/client/requests/index.js +7 -0
- package/serialization/resources/transformers/index.d.ts +1 -0
- package/serialization/resources/transformers/index.js +17 -0
- package/serialization/types/DagEdge.d.ts +18 -0
- package/serialization/types/DagEdge.js +49 -0
- package/serialization/types/DagEdgeCreate.d.ts +13 -0
- package/serialization/types/DagEdgeCreate.js +44 -0
- package/serialization/types/DagNode.d.ts +23 -0
- package/serialization/types/DagNode.js +54 -0
- package/serialization/types/DagNodeCreate.d.ts +19 -0
- package/serialization/types/DagNodeCreate.js +50 -0
- package/serialization/types/Destination.d.ts +3 -0
- package/serialization/types/Destination.js +3 -0
- package/serialization/types/DestinationWithConfigFields.d.ts +3 -0
- package/serialization/types/DestinationWithConfigFields.js +3 -0
- package/serialization/types/EntityDefinition.d.ts +24 -0
- package/serialization/types/EntityDefinition.js +55 -0
- package/serialization/types/EntityDefinitionEntitySchema.d.ts +10 -0
- package/serialization/types/EntityDefinitionEntitySchema.js +44 -0
- package/serialization/types/EntityRelation.d.ts +19 -0
- package/serialization/types/EntityRelation.js +50 -0
- package/serialization/types/EntityType.d.ts +10 -0
- package/serialization/types/EntityType.js +41 -0
- package/serialization/types/NodeType.d.ts +10 -0
- package/serialization/types/NodeType.js +41 -0
- package/serialization/types/Source.d.ts +3 -0
- package/serialization/types/Source.js +3 -0
- package/serialization/types/SourceWithConfigFields.d.ts +3 -0
- package/serialization/types/SourceWithConfigFields.js +3 -0
- package/serialization/types/Sync.d.ts +2 -1
- package/serialization/types/Sync.js +2 -1
- package/serialization/types/SyncDag.d.ts +22 -0
- package/serialization/types/SyncDag.js +53 -0
- package/serialization/types/SyncWithSourceConnection.d.ts +2 -1
- package/serialization/types/SyncWithSourceConnection.js +2 -1
- package/serialization/types/Transformer.d.ts +22 -0
- package/serialization/types/Transformer.js +53 -0
- package/serialization/types/index.d.ts +11 -0
- package/serialization/types/index.js +11 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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
|
+
export declare const TransformerCreate: core.serialization.Schema<serializers.TransformerCreate.Raw, AirweaveSDK.TransformerCreate>;
|
|
8
|
+
export declare namespace TransformerCreate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
description?: string | null;
|
|
12
|
+
method_name: string;
|
|
13
|
+
module_name: string;
|
|
14
|
+
input_entity_definition_ids: string[];
|
|
15
|
+
output_entity_definition_ids: string[];
|
|
16
|
+
config_schema?: Record<string, unknown> | 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.TransformerCreate = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.TransformerCreate = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
description: core.serialization.string().optional(),
|
|
44
|
+
methodName: core.serialization.property("method_name", core.serialization.string()),
|
|
45
|
+
moduleName: core.serialization.property("module_name", core.serialization.string()),
|
|
46
|
+
inputEntityDefinitionIds: core.serialization.property("input_entity_definition_ids", core.serialization.list(core.serialization.string())),
|
|
47
|
+
outputEntityDefinitionIds: core.serialization.property("output_entity_definition_ids", core.serialization.list(core.serialization.string())),
|
|
48
|
+
configSchema: core.serialization.property("config_schema", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
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
|
+
export declare const TransformerUpdate: core.serialization.Schema<serializers.TransformerUpdate.Raw, AirweaveSDK.TransformerUpdate>;
|
|
8
|
+
export declare namespace TransformerUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
description?: string | null;
|
|
12
|
+
method_name: string;
|
|
13
|
+
module_name: string;
|
|
14
|
+
input_entity_definition_ids: string[];
|
|
15
|
+
output_entity_definition_ids: string[];
|
|
16
|
+
config_schema?: Record<string, unknown> | 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.TransformerUpdate = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.TransformerUpdate = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
description: core.serialization.string().optional(),
|
|
44
|
+
methodName: core.serialization.property("method_name", core.serialization.string()),
|
|
45
|
+
moduleName: core.serialization.property("module_name", core.serialization.string()),
|
|
46
|
+
inputEntityDefinitionIds: core.serialization.property("input_entity_definition_ids", core.serialization.list(core.serialization.string())),
|
|
47
|
+
outputEntityDefinitionIds: core.serialization.property("output_entity_definition_ids", core.serialization.list(core.serialization.string())),
|
|
48
|
+
configSchema: core.serialization.property("config_schema", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
49
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TransformerUpdate = exports.TransformerCreate = void 0;
|
|
4
|
+
var TransformerCreate_1 = require("./TransformerCreate");
|
|
5
|
+
Object.defineProperty(exports, "TransformerCreate", { enumerable: true, get: function () { return TransformerCreate_1.TransformerCreate; } });
|
|
6
|
+
var TransformerUpdate_1 = require("./TransformerUpdate");
|
|
7
|
+
Object.defineProperty(exports, "TransformerUpdate", { enumerable: true, get: function () { return TransformerUpdate_1.TransformerUpdate; } });
|
|
@@ -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,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
|
+
export declare const DagEdge: core.serialization.ObjectSchema<serializers.DagEdge.Raw, AirweaveSDK.DagEdge>;
|
|
8
|
+
export declare namespace DagEdge {
|
|
9
|
+
interface Raw {
|
|
10
|
+
from_node_id: string;
|
|
11
|
+
to_node_id: string;
|
|
12
|
+
id: string;
|
|
13
|
+
dag_id: string;
|
|
14
|
+
organization_id: string;
|
|
15
|
+
created_by_email: string;
|
|
16
|
+
modified_by_email: string;
|
|
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.DagEdge = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.DagEdge = core.serialization.object({
|
|
42
|
+
fromNodeId: core.serialization.property("from_node_id", core.serialization.string()),
|
|
43
|
+
toNodeId: core.serialization.property("to_node_id", core.serialization.string()),
|
|
44
|
+
id: core.serialization.string(),
|
|
45
|
+
dagId: core.serialization.property("dag_id", core.serialization.string()),
|
|
46
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
47
|
+
createdByEmail: core.serialization.property("created_by_email", core.serialization.string()),
|
|
48
|
+
modifiedByEmail: core.serialization.property("modified_by_email", core.serialization.string()),
|
|
49
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
export declare const DagEdgeCreate: core.serialization.ObjectSchema<serializers.DagEdgeCreate.Raw, AirweaveSDK.DagEdgeCreate>;
|
|
8
|
+
export declare namespace DagEdgeCreate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
from_node_id: string;
|
|
11
|
+
to_node_id: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.DagEdgeCreate = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.DagEdgeCreate = core.serialization.object({
|
|
42
|
+
fromNodeId: core.serialization.property("from_node_id", core.serialization.string()),
|
|
43
|
+
toNodeId: core.serialization.property("to_node_id", core.serialization.string()),
|
|
44
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { NodeType } from "./NodeType";
|
|
8
|
+
export declare const DagNode: core.serialization.ObjectSchema<serializers.DagNode.Raw, AirweaveSDK.DagNode>;
|
|
9
|
+
export declare namespace DagNode {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: NodeType.Raw;
|
|
12
|
+
name: string;
|
|
13
|
+
config?: Record<string, unknown> | null;
|
|
14
|
+
connection_id?: string | null;
|
|
15
|
+
entity_definition_id?: string | null;
|
|
16
|
+
transformer_id?: string | null;
|
|
17
|
+
id: string;
|
|
18
|
+
dag_id: string;
|
|
19
|
+
organization_id: string;
|
|
20
|
+
created_by_email: string;
|
|
21
|
+
modified_by_email: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.DagNode = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const NodeType_1 = require("./NodeType");
|
|
42
|
+
exports.DagNode = core.serialization.object({
|
|
43
|
+
type: NodeType_1.NodeType,
|
|
44
|
+
name: core.serialization.string(),
|
|
45
|
+
config: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
46
|
+
connectionId: core.serialization.property("connection_id", core.serialization.string().optional()),
|
|
47
|
+
entityDefinitionId: core.serialization.property("entity_definition_id", core.serialization.string().optional()),
|
|
48
|
+
transformerId: core.serialization.property("transformer_id", core.serialization.string().optional()),
|
|
49
|
+
id: core.serialization.string(),
|
|
50
|
+
dagId: core.serialization.property("dag_id", core.serialization.string()),
|
|
51
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
52
|
+
createdByEmail: core.serialization.property("created_by_email", core.serialization.string()),
|
|
53
|
+
modifiedByEmail: core.serialization.property("modified_by_email", core.serialization.string()),
|
|
54
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { NodeType } from "./NodeType";
|
|
8
|
+
export declare const DagNodeCreate: core.serialization.ObjectSchema<serializers.DagNodeCreate.Raw, AirweaveSDK.DagNodeCreate>;
|
|
9
|
+
export declare namespace DagNodeCreate {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: NodeType.Raw;
|
|
12
|
+
name: string;
|
|
13
|
+
config?: Record<string, unknown> | null;
|
|
14
|
+
connection_id?: string | null;
|
|
15
|
+
entity_definition_id?: string | null;
|
|
16
|
+
transformer_id?: string | null;
|
|
17
|
+
id?: string | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.DagNodeCreate = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const NodeType_1 = require("./NodeType");
|
|
42
|
+
exports.DagNodeCreate = core.serialization.object({
|
|
43
|
+
type: NodeType_1.NodeType,
|
|
44
|
+
name: core.serialization.string(),
|
|
45
|
+
config: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
46
|
+
connectionId: core.serialization.property("connection_id", core.serialization.string().optional()),
|
|
47
|
+
entityDefinitionId: core.serialization.property("entity_definition_id", core.serialization.string().optional()),
|
|
48
|
+
transformerId: core.serialization.property("transformer_id", core.serialization.string().optional()),
|
|
49
|
+
id: core.serialization.string().optional(),
|
|
50
|
+
});
|
|
@@ -14,6 +14,9 @@ export declare namespace Destination {
|
|
|
14
14
|
class_name: string;
|
|
15
15
|
auth_type?: AuthType.Raw | null;
|
|
16
16
|
auth_config_class?: string | null;
|
|
17
|
+
input_entity_definition_ids?: string[] | null;
|
|
18
|
+
organization_id?: string | null;
|
|
19
|
+
config_schema?: Record<string, unknown> | null;
|
|
17
20
|
id: string;
|
|
18
21
|
created_at: string;
|
|
19
22
|
modified_at: string;
|
|
@@ -46,6 +46,9 @@ exports.Destination = core.serialization.object({
|
|
|
46
46
|
className: core.serialization.property("class_name", core.serialization.string()),
|
|
47
47
|
authType: core.serialization.property("auth_type", AuthType_1.AuthType.optional()),
|
|
48
48
|
authConfigClass: core.serialization.property("auth_config_class", core.serialization.string().optional()),
|
|
49
|
+
inputEntityDefinitionIds: core.serialization.property("input_entity_definition_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
50
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string().optional()),
|
|
51
|
+
configSchema: core.serialization.property("config_schema", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
49
52
|
id: core.serialization.string(),
|
|
50
53
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
51
54
|
modifiedAt: core.serialization.property("modified_at", core.serialization.date()),
|
|
@@ -15,6 +15,9 @@ export declare namespace DestinationWithConfigFields {
|
|
|
15
15
|
class_name: string;
|
|
16
16
|
auth_type?: AuthType.Raw | null;
|
|
17
17
|
auth_config_class?: string | null;
|
|
18
|
+
input_entity_definition_ids?: string[] | null;
|
|
19
|
+
organization_id?: string | null;
|
|
20
|
+
config_schema?: Record<string, unknown> | null;
|
|
18
21
|
id: string;
|
|
19
22
|
created_at: string;
|
|
20
23
|
modified_at: string;
|
|
@@ -47,6 +47,9 @@ exports.DestinationWithConfigFields = core.serialization.object({
|
|
|
47
47
|
className: core.serialization.property("class_name", core.serialization.string()),
|
|
48
48
|
authType: core.serialization.property("auth_type", AuthType_1.AuthType.optional()),
|
|
49
49
|
authConfigClass: core.serialization.property("auth_config_class", core.serialization.string().optional()),
|
|
50
|
+
inputEntityDefinitionIds: core.serialization.property("input_entity_definition_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
51
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string().optional()),
|
|
52
|
+
configSchema: core.serialization.property("config_schema", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
50
53
|
id: core.serialization.string(),
|
|
51
54
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
52
55
|
modifiedAt: core.serialization.property("modified_at", core.serialization.date()),
|
|
@@ -0,0 +1,24 @@
|
|
|
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 "./EntityType";
|
|
8
|
+
import { EntityDefinitionEntitySchema } from "./EntityDefinitionEntitySchema";
|
|
9
|
+
export declare const EntityDefinition: core.serialization.ObjectSchema<serializers.EntityDefinition.Raw, AirweaveSDK.EntityDefinition>;
|
|
10
|
+
export declare namespace EntityDefinition {
|
|
11
|
+
interface Raw {
|
|
12
|
+
name: string;
|
|
13
|
+
description?: string | null;
|
|
14
|
+
type: EntityType.Raw;
|
|
15
|
+
entity_schema: EntityDefinitionEntitySchema.Raw;
|
|
16
|
+
parent_id?: string | null;
|
|
17
|
+
module_name: string;
|
|
18
|
+
class_name: string;
|
|
19
|
+
id: string;
|
|
20
|
+
organization_id: string;
|
|
21
|
+
created_by_email: string;
|
|
22
|
+
modified_by_email: string;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.EntityDefinition = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const EntityType_1 = require("./EntityType");
|
|
42
|
+
const EntityDefinitionEntitySchema_1 = require("./EntityDefinitionEntitySchema");
|
|
43
|
+
exports.EntityDefinition = 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", EntityDefinitionEntitySchema_1.EntityDefinitionEntitySchema),
|
|
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
|
+
id: core.serialization.string(),
|
|
52
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
53
|
+
createdByEmail: core.serialization.property("created_by_email", core.serialization.string()),
|
|
54
|
+
modifiedByEmail: core.serialization.property("modified_by_email", core.serialization.string()),
|
|
55
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
export declare const EntityDefinitionEntitySchema: core.serialization.Schema<serializers.EntityDefinitionEntitySchema.Raw, AirweaveSDK.EntityDefinitionEntitySchema>;
|
|
8
|
+
export declare namespace EntityDefinitionEntitySchema {
|
|
9
|
+
type Raw = string[] | Record<string, unknown>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.EntityDefinitionEntitySchema = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.EntityDefinitionEntitySchema = core.serialization.undiscriminatedUnion([
|
|
42
|
+
core.serialization.list(core.serialization.string()),
|
|
43
|
+
core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
44
|
+
]);
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
export declare const EntityRelation: core.serialization.ObjectSchema<serializers.EntityRelation.Raw, AirweaveSDK.EntityRelation>;
|
|
8
|
+
export declare namespace EntityRelation {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
description?: string | null;
|
|
12
|
+
from_entity_id: string;
|
|
13
|
+
to_entity_id: string;
|
|
14
|
+
id: string;
|
|
15
|
+
organization_id: string;
|
|
16
|
+
created_by_email: string;
|
|
17
|
+
modified_by_email: string;
|
|
18
|
+
}
|
|
19
|
+
}
|