@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,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.EntityRelation = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.EntityRelation = core.serialization.object({
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
description: core.serialization.string().optional(),
|
|
44
|
+
fromEntityId: core.serialization.property("from_entity_id", core.serialization.string()),
|
|
45
|
+
toEntityId: core.serialization.property("to_entity_id", core.serialization.string()),
|
|
46
|
+
id: core.serialization.string(),
|
|
47
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
48
|
+
createdByEmail: core.serialization.property("created_by_email", core.serialization.string()),
|
|
49
|
+
modifiedByEmail: core.serialization.property("modified_by_email", core.serialization.string()),
|
|
50
|
+
});
|
|
@@ -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 EntityType: core.serialization.Schema<serializers.EntityType.Raw, AirweaveSDK.EntityType>;
|
|
8
|
+
export declare namespace EntityType {
|
|
9
|
+
type Raw = "file" | "json";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.EntityType = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.EntityType = core.serialization.enum_(["file", "json"]);
|
|
@@ -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 NodeType: core.serialization.Schema<serializers.NodeType.Raw, AirweaveSDK.NodeType>;
|
|
8
|
+
export declare namespace NodeType {
|
|
9
|
+
type Raw = "source" | "destination" | "transformer" | "entity";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.NodeType = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.NodeType = core.serialization.enum_(["source", "destination", "transformer", "entity"]);
|
|
@@ -14,6 +14,9 @@ export declare namespace Source {
|
|
|
14
14
|
auth_config_class?: string | null;
|
|
15
15
|
short_name: string;
|
|
16
16
|
class_name: string;
|
|
17
|
+
output_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.Source = core.serialization.object({
|
|
|
46
46
|
authConfigClass: core.serialization.property("auth_config_class", core.serialization.string().optional()),
|
|
47
47
|
shortName: core.serialization.property("short_name", core.serialization.string()),
|
|
48
48
|
className: core.serialization.property("class_name", core.serialization.string()),
|
|
49
|
+
outputEntityDefinitionIds: core.serialization.property("output_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 SourceWithConfigFields {
|
|
|
15
15
|
auth_config_class?: string | null;
|
|
16
16
|
short_name: string;
|
|
17
17
|
class_name: string;
|
|
18
|
+
output_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.SourceWithConfigFields = core.serialization.object({
|
|
|
47
47
|
authConfigClass: core.serialization.property("auth_config_class", core.serialization.string().optional()),
|
|
48
48
|
shortName: core.serialization.property("short_name", core.serialization.string()),
|
|
49
49
|
className: core.serialization.property("class_name", core.serialization.string()),
|
|
50
|
+
outputEntityDefinitionIds: core.serialization.property("output_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()),
|
|
@@ -14,15 +14,16 @@ export declare namespace Sync {
|
|
|
14
14
|
destination_connection_id?: string | null;
|
|
15
15
|
embedding_model_connection_id?: string | null;
|
|
16
16
|
cron_schedule?: string | null;
|
|
17
|
+
next_scheduled_run?: string | null;
|
|
17
18
|
white_label_id?: string | null;
|
|
18
19
|
white_label_user_identifier?: string | null;
|
|
19
20
|
sync_metadata?: Record<string, unknown> | null;
|
|
21
|
+
status: SyncStatus.Raw;
|
|
20
22
|
id: string;
|
|
21
23
|
organization_id: string;
|
|
22
24
|
created_at: string;
|
|
23
25
|
modified_at: string;
|
|
24
26
|
created_by_email: string;
|
|
25
27
|
modified_by_email: string;
|
|
26
|
-
status: SyncStatus.Raw;
|
|
27
28
|
}
|
|
28
29
|
}
|
|
@@ -46,14 +46,15 @@ exports.Sync = core.serialization.object({
|
|
|
46
46
|
destinationConnectionId: core.serialization.property("destination_connection_id", core.serialization.string().optional()),
|
|
47
47
|
embeddingModelConnectionId: core.serialization.property("embedding_model_connection_id", core.serialization.string().optional()),
|
|
48
48
|
cronSchedule: core.serialization.property("cron_schedule", core.serialization.string().optional()),
|
|
49
|
+
nextScheduledRun: core.serialization.property("next_scheduled_run", core.serialization.date().optional()),
|
|
49
50
|
whiteLabelId: core.serialization.property("white_label_id", core.serialization.string().optional()),
|
|
50
51
|
whiteLabelUserIdentifier: core.serialization.property("white_label_user_identifier", core.serialization.string().optional()),
|
|
51
52
|
syncMetadata: core.serialization.property("sync_metadata", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
53
|
+
status: SyncStatus_1.SyncStatus,
|
|
52
54
|
id: core.serialization.string(),
|
|
53
55
|
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
54
56
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
55
57
|
modifiedAt: core.serialization.property("modified_at", core.serialization.date()),
|
|
56
58
|
createdByEmail: core.serialization.property("created_by_email", core.serialization.string()),
|
|
57
59
|
modifiedByEmail: core.serialization.property("modified_by_email", core.serialization.string()),
|
|
58
|
-
status: SyncStatus_1.SyncStatus,
|
|
59
60
|
});
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { DagNode } from "./DagNode";
|
|
8
|
+
import { DagEdge } from "./DagEdge";
|
|
9
|
+
export declare const SyncDag: core.serialization.ObjectSchema<serializers.SyncDag.Raw, AirweaveSDK.SyncDag>;
|
|
10
|
+
export declare namespace SyncDag {
|
|
11
|
+
interface Raw {
|
|
12
|
+
name: string;
|
|
13
|
+
description?: string | null;
|
|
14
|
+
sync_id: string;
|
|
15
|
+
id: string;
|
|
16
|
+
organization_id: string;
|
|
17
|
+
created_by_email: string;
|
|
18
|
+
modified_by_email: string;
|
|
19
|
+
nodes: DagNode.Raw[];
|
|
20
|
+
edges: DagEdge.Raw[];
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.SyncDag = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const DagNode_1 = require("./DagNode");
|
|
42
|
+
const DagEdge_1 = require("./DagEdge");
|
|
43
|
+
exports.SyncDag = core.serialization.object({
|
|
44
|
+
name: core.serialization.string(),
|
|
45
|
+
description: core.serialization.string().optional(),
|
|
46
|
+
syncId: core.serialization.property("sync_id", core.serialization.string()),
|
|
47
|
+
id: core.serialization.string(),
|
|
48
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
49
|
+
createdByEmail: core.serialization.property("created_by_email", core.serialization.string()),
|
|
50
|
+
modifiedByEmail: core.serialization.property("modified_by_email", core.serialization.string()),
|
|
51
|
+
nodes: core.serialization.list(DagNode_1.DagNode),
|
|
52
|
+
edges: core.serialization.list(DagEdge_1.DagEdge),
|
|
53
|
+
});
|
|
@@ -15,16 +15,17 @@ export declare namespace SyncWithSourceConnection {
|
|
|
15
15
|
destination_connection_id?: string | null;
|
|
16
16
|
embedding_model_connection_id?: string | null;
|
|
17
17
|
cron_schedule?: string | null;
|
|
18
|
+
next_scheduled_run?: string | null;
|
|
18
19
|
white_label_id?: string | null;
|
|
19
20
|
white_label_user_identifier?: string | null;
|
|
20
21
|
sync_metadata?: Record<string, unknown> | null;
|
|
22
|
+
status: SyncStatus.Raw;
|
|
21
23
|
id: string;
|
|
22
24
|
organization_id: string;
|
|
23
25
|
created_at: string;
|
|
24
26
|
modified_at: string;
|
|
25
27
|
created_by_email: string;
|
|
26
28
|
modified_by_email: string;
|
|
27
|
-
status: SyncStatus.Raw;
|
|
28
29
|
source_connection?: Connection.Raw | null;
|
|
29
30
|
}
|
|
30
31
|
}
|
|
@@ -47,15 +47,16 @@ exports.SyncWithSourceConnection = core.serialization.object({
|
|
|
47
47
|
destinationConnectionId: core.serialization.property("destination_connection_id", core.serialization.string().optional()),
|
|
48
48
|
embeddingModelConnectionId: core.serialization.property("embedding_model_connection_id", core.serialization.string().optional()),
|
|
49
49
|
cronSchedule: core.serialization.property("cron_schedule", core.serialization.string().optional()),
|
|
50
|
+
nextScheduledRun: core.serialization.property("next_scheduled_run", core.serialization.date().optional()),
|
|
50
51
|
whiteLabelId: core.serialization.property("white_label_id", core.serialization.string().optional()),
|
|
51
52
|
whiteLabelUserIdentifier: core.serialization.property("white_label_user_identifier", core.serialization.string().optional()),
|
|
52
53
|
syncMetadata: core.serialization.property("sync_metadata", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
54
|
+
status: SyncStatus_1.SyncStatus,
|
|
53
55
|
id: core.serialization.string(),
|
|
54
56
|
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
55
57
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
56
58
|
modifiedAt: core.serialization.property("modified_at", core.serialization.date()),
|
|
57
59
|
createdByEmail: core.serialization.property("created_by_email", core.serialization.string()),
|
|
58
60
|
modifiedByEmail: core.serialization.property("modified_by_email", core.serialization.string()),
|
|
59
|
-
status: SyncStatus_1.SyncStatus,
|
|
60
61
|
sourceConnection: core.serialization.property("source_connection", Connection_1.Connection.optional()),
|
|
61
62
|
});
|
|
@@ -0,0 +1,22 @@
|
|
|
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 Transformer: core.serialization.ObjectSchema<serializers.Transformer.Raw, AirweaveSDK.Transformer>;
|
|
8
|
+
export declare namespace Transformer {
|
|
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
|
+
id: string;
|
|
18
|
+
organization_id: string;
|
|
19
|
+
created_by_email: string;
|
|
20
|
+
modified_by_email: string;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.Transformer = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.Transformer = 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
|
+
id: core.serialization.string(),
|
|
50
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
51
|
+
createdByEmail: core.serialization.property("created_by_email", core.serialization.string()),
|
|
52
|
+
modifiedByEmail: core.serialization.property("modified_by_email", core.serialization.string()),
|
|
53
|
+
});
|
|
@@ -10,20 +10,31 @@ export * from "./ChatUpdate";
|
|
|
10
10
|
export * from "./ConfigField";
|
|
11
11
|
export * from "./Connection";
|
|
12
12
|
export * from "./ConnectionStatus";
|
|
13
|
+
export * from "./DagEdge";
|
|
14
|
+
export * from "./DagEdgeCreate";
|
|
15
|
+
export * from "./DagNode";
|
|
16
|
+
export * from "./DagNodeCreate";
|
|
13
17
|
export * from "./Destination";
|
|
14
18
|
export * from "./DestinationWithConfigFields";
|
|
15
19
|
export * from "./EmbeddingModel";
|
|
16
20
|
export * from "./EmbeddingModelWithConfigFields";
|
|
21
|
+
export * from "./EntityDefinitionEntitySchema";
|
|
22
|
+
export * from "./EntityDefinition";
|
|
23
|
+
export * from "./EntityRelation";
|
|
24
|
+
export * from "./EntityType";
|
|
17
25
|
export * from "./Fields";
|
|
18
26
|
export * from "./HttpValidationError";
|
|
19
27
|
export * from "./IntegrationType";
|
|
28
|
+
export * from "./NodeType";
|
|
20
29
|
export * from "./Source";
|
|
21
30
|
export * from "./SourceWithConfigFields";
|
|
22
31
|
export * from "./Sync";
|
|
32
|
+
export * from "./SyncDag";
|
|
23
33
|
export * from "./SyncJob";
|
|
24
34
|
export * from "./SyncJobStatus";
|
|
25
35
|
export * from "./SyncStatus";
|
|
26
36
|
export * from "./SyncWithSourceConnection";
|
|
37
|
+
export * from "./Transformer";
|
|
27
38
|
export * from "./User";
|
|
28
39
|
export * from "./ValidationErrorLocItem";
|
|
29
40
|
export * from "./ValidationError";
|
|
@@ -26,20 +26,31 @@ __exportStar(require("./ChatUpdate"), exports);
|
|
|
26
26
|
__exportStar(require("./ConfigField"), exports);
|
|
27
27
|
__exportStar(require("./Connection"), exports);
|
|
28
28
|
__exportStar(require("./ConnectionStatus"), exports);
|
|
29
|
+
__exportStar(require("./DagEdge"), exports);
|
|
30
|
+
__exportStar(require("./DagEdgeCreate"), exports);
|
|
31
|
+
__exportStar(require("./DagNode"), exports);
|
|
32
|
+
__exportStar(require("./DagNodeCreate"), exports);
|
|
29
33
|
__exportStar(require("./Destination"), exports);
|
|
30
34
|
__exportStar(require("./DestinationWithConfigFields"), exports);
|
|
31
35
|
__exportStar(require("./EmbeddingModel"), exports);
|
|
32
36
|
__exportStar(require("./EmbeddingModelWithConfigFields"), exports);
|
|
37
|
+
__exportStar(require("./EntityDefinitionEntitySchema"), exports);
|
|
38
|
+
__exportStar(require("./EntityDefinition"), exports);
|
|
39
|
+
__exportStar(require("./EntityRelation"), exports);
|
|
40
|
+
__exportStar(require("./EntityType"), exports);
|
|
33
41
|
__exportStar(require("./Fields"), exports);
|
|
34
42
|
__exportStar(require("./HttpValidationError"), exports);
|
|
35
43
|
__exportStar(require("./IntegrationType"), exports);
|
|
44
|
+
__exportStar(require("./NodeType"), exports);
|
|
36
45
|
__exportStar(require("./Source"), exports);
|
|
37
46
|
__exportStar(require("./SourceWithConfigFields"), exports);
|
|
38
47
|
__exportStar(require("./Sync"), exports);
|
|
48
|
+
__exportStar(require("./SyncDag"), exports);
|
|
39
49
|
__exportStar(require("./SyncJob"), exports);
|
|
40
50
|
__exportStar(require("./SyncJobStatus"), exports);
|
|
41
51
|
__exportStar(require("./SyncStatus"), exports);
|
|
42
52
|
__exportStar(require("./SyncWithSourceConnection"), exports);
|
|
53
|
+
__exportStar(require("./Transformer"), exports);
|
|
43
54
|
__exportStar(require("./User"), exports);
|
|
44
55
|
__exportStar(require("./ValidationErrorLocItem"), exports);
|
|
45
56
|
__exportStar(require("./ValidationError"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.25";
|
package/version.js
CHANGED