Deletes the integration with the given ID.
The ID of the integration to delete.
A promise that resolves when the integration has been deleted.
Deletes multiple integrations by their IDs.
An array of integration IDs to delete.
A promise that resolves when all deletions are complete.
Discovers the schema of a data connection (database). Connects to the database and introspects its structure including tables, columns, and relationships.
The ID of the database integration.
A promise that resolves with the discovered schema and collection readiness information.
Discovers the schema of a GraphQL connection. Performs introspection on the GraphQL endpoint to discover types and operations.
The ID of the GraphQL integration.
The request containing GraphQL connection options.
A promise that resolves with the discovered GraphQL schema.
Discovers the schema from an OpenAPI specification URL. Fetches and parses the OpenAPI spec to discover endpoints and their schemas.
The ID of the API integration.
The request containing OpenAPI discovery options.
A promise that resolves with the discovered API schema.
Discovers the schema from an uploaded OpenAPI specification file. Parses the OpenAPI spec file that was previously uploaded to the integration.
The ID of the API integration with the uploaded spec file.
A promise that resolves with the discovered API schema.
Generates AI descriptions for associations (relationships) in a data schema. Uses AI to analyze entity relationships and generate meaningful descriptions.
The ID of the integration.
The request containing schema with associations and optional parameters.
A promise that resolves with the schema containing AI-generated association descriptions.
Generates AI descriptions for the data schema of an integration. Uses AI to analyze the schema structure and generate meaningful descriptions for collections and their fields.
The ID of the integration.
The request containing schema and optional parameters.
A promise that resolves with the schema containing AI-generated descriptions.
Generates AI descriptions for API endpoints in an API schema. Uses AI to analyze endpoints and generate meaningful descriptions.
The ID of the integration.
The request containing API schema with endpoints and optional parameters.
A promise that resolves with the schema containing AI-generated endpoint descriptions.
Generates AI descriptions for stored procedures in a data schema. Uses AI to analyze stored procedures and generate meaningful descriptions.
The ID of the integration.
The request containing schema with stored procedures and optional parameters.
A promise that resolves with the schema containing AI-generated stored procedure descriptions.
Retrieves the integration by its ID.
The ID of the integration to retrieve.
A promise that resolves with the integration info, or undefined if not found.
Retrieves the integration's schema by its ID.
The ID of the integration to retrieve.
A promise that resolves with the integration schema, or undefined if not found.
Lists all integrations for the current application.
Optionaltype: (Optional) Filter by integration type.
A promise that resolves with a list of integrations.
Sets the integration's schema by its ID.
The ID of the integration to update.
The schema to set for the integration.
A promise that resolves when the schema has been updated.
Creates or updates an integration.
The integration information to upsert.
A promise that resolves when the operation is complete.
IntegrationClient manages integrations within an application, providing methods for listing, retrieving, updating, and deleting integrations.