@superblocksteam/sdk-api 2.0.93 → 2.0.94-next.0
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/README.md +137 -98
- package/dist/api/definition.d.ts +10 -0
- package/dist/api/definition.d.ts.map +1 -1
- package/dist/api/definition.js +17 -0
- package/dist/api/definition.js.map +1 -1
- package/dist/api/definition.test.d.ts +1 -1
- package/dist/api/definition.test.js +56 -3
- package/dist/api/definition.test.js.map +1 -1
- package/dist/api/index.d.ts +4 -4
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -2
- package/dist/api/index.js.map +1 -1
- package/dist/api/streaming.d.ts +17 -3
- package/dist/api/streaming.d.ts.map +1 -1
- package/dist/api/streaming.js +10 -7
- package/dist/api/streaming.js.map +1 -1
- package/dist/api/streaming.test.js +147 -80
- package/dist/api/streaming.test.js.map +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.js +5 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/integrations/airtable/client.d.ts +2 -2
- package/dist/integrations/airtable/client.d.ts.map +1 -1
- package/dist/integrations/airtable/client.js +1 -1
- package/dist/integrations/airtable/client.js.map +1 -1
- package/dist/integrations/airtable/index.d.ts +2 -2
- package/dist/integrations/airtable/index.js +1 -1
- package/dist/integrations/airtable/types.d.ts +5 -10
- package/dist/integrations/airtable/types.d.ts.map +1 -1
- package/dist/integrations/anthropic/client.d.ts +2 -2
- package/dist/integrations/anthropic/client.d.ts.map +1 -1
- package/dist/integrations/anthropic/client.js +1 -1
- package/dist/integrations/anthropic/client.js.map +1 -1
- package/dist/integrations/anthropic/index.d.ts +2 -2
- package/dist/integrations/anthropic/index.js +1 -1
- package/dist/integrations/anthropic/types.d.ts +5 -4
- package/dist/integrations/anthropic/types.d.ts.map +1 -1
- package/dist/integrations/asana/client.d.ts +2 -2
- package/dist/integrations/asana/client.d.ts.map +1 -1
- package/dist/integrations/asana/client.js +1 -1
- package/dist/integrations/asana/client.js.map +1 -1
- package/dist/integrations/asana/index.d.ts +2 -2
- package/dist/integrations/asana/index.js +1 -1
- package/dist/integrations/asana/types.d.ts +4 -3
- package/dist/integrations/asana/types.d.ts.map +1 -1
- package/dist/integrations/athena/client.d.ts +4 -4
- package/dist/integrations/athena/client.d.ts.map +1 -1
- package/dist/integrations/athena/client.js +8 -8
- package/dist/integrations/athena/client.js.map +1 -1
- package/dist/integrations/athena/index.d.ts +2 -2
- package/dist/integrations/athena/index.js +1 -1
- package/dist/integrations/athena/types.d.ts +4 -3
- package/dist/integrations/athena/types.d.ts.map +1 -1
- package/dist/integrations/base/graphql-integration-client.d.ts +3 -3
- package/dist/integrations/base/graphql-integration-client.js +3 -3
- package/dist/integrations/base/index.d.ts +4 -4
- package/dist/integrations/base/index.js +2 -2
- package/dist/integrations/base/rest-api-integration-client.d.ts.map +1 -1
- package/dist/integrations/base/rest-api-integration-client.js +1 -1
- package/dist/integrations/base/rest-api-integration-client.js.map +1 -1
- package/dist/integrations/base/types.d.ts +5 -10
- package/dist/integrations/base/types.d.ts.map +1 -1
- package/dist/integrations/bigquery/client.d.ts +4 -4
- package/dist/integrations/bigquery/client.d.ts.map +1 -1
- package/dist/integrations/bigquery/client.js +8 -8
- package/dist/integrations/bigquery/client.js.map +1 -1
- package/dist/integrations/bigquery/index.d.ts +2 -2
- package/dist/integrations/bigquery/index.js +1 -1
- package/dist/integrations/bigquery/types.d.ts +4 -3
- package/dist/integrations/bigquery/types.d.ts.map +1 -1
- package/dist/integrations/bitbucket/client.d.ts +2 -2
- package/dist/integrations/bitbucket/client.d.ts.map +1 -1
- package/dist/integrations/bitbucket/client.js +1 -1
- package/dist/integrations/bitbucket/client.js.map +1 -1
- package/dist/integrations/bitbucket/index.d.ts +2 -2
- package/dist/integrations/bitbucket/index.js +1 -1
- package/dist/integrations/bitbucket/types.d.ts +4 -3
- package/dist/integrations/bitbucket/types.d.ts.map +1 -1
- package/dist/integrations/box/client.d.ts +2 -2
- package/dist/integrations/box/client.d.ts.map +1 -1
- package/dist/integrations/box/client.js +1 -1
- package/dist/integrations/box/client.js.map +1 -1
- package/dist/integrations/box/index.d.ts +2 -2
- package/dist/integrations/box/index.js +1 -1
- package/dist/integrations/box/types.d.ts +4 -3
- package/dist/integrations/box/types.d.ts.map +1 -1
- package/dist/integrations/circleci/client.d.ts +2 -2
- package/dist/integrations/circleci/client.d.ts.map +1 -1
- package/dist/integrations/circleci/client.js +1 -1
- package/dist/integrations/circleci/client.js.map +1 -1
- package/dist/integrations/circleci/index.d.ts +2 -2
- package/dist/integrations/circleci/index.js +1 -1
- package/dist/integrations/circleci/types.d.ts +4 -3
- package/dist/integrations/circleci/types.d.ts.map +1 -1
- package/dist/integrations/cockroachdb/client.d.ts +4 -4
- package/dist/integrations/cockroachdb/client.d.ts.map +1 -1
- package/dist/integrations/cockroachdb/client.js +8 -8
- package/dist/integrations/cockroachdb/client.js.map +1 -1
- package/dist/integrations/cockroachdb/index.d.ts +2 -2
- package/dist/integrations/cockroachdb/index.js +1 -1
- package/dist/integrations/cockroachdb/types.d.ts +4 -3
- package/dist/integrations/cockroachdb/types.d.ts.map +1 -1
- package/dist/integrations/cohere/client.d.ts +2 -2
- package/dist/integrations/cohere/client.d.ts.map +1 -1
- package/dist/integrations/cohere/client.js +1 -1
- package/dist/integrations/cohere/client.js.map +1 -1
- package/dist/integrations/cohere/index.d.ts +2 -2
- package/dist/integrations/cohere/index.js +1 -1
- package/dist/integrations/cohere/types.d.ts +5 -10
- package/dist/integrations/cohere/types.d.ts.map +1 -1
- package/dist/integrations/confluence/client.d.ts +2 -2
- package/dist/integrations/confluence/client.d.ts.map +1 -1
- package/dist/integrations/confluence/client.js +1 -1
- package/dist/integrations/confluence/client.js.map +1 -1
- package/dist/integrations/confluence/index.d.ts +2 -2
- package/dist/integrations/confluence/index.js +1 -1
- package/dist/integrations/confluence/types.d.ts +4 -3
- package/dist/integrations/confluence/types.d.ts.map +1 -1
- package/dist/integrations/cosmosdb/client.d.ts +4 -4
- package/dist/integrations/cosmosdb/client.d.ts.map +1 -1
- package/dist/integrations/cosmosdb/client.js +23 -23
- package/dist/integrations/cosmosdb/client.js.map +1 -1
- package/dist/integrations/cosmosdb/index.d.ts +2 -2
- package/dist/integrations/cosmosdb/index.js +1 -1
- package/dist/integrations/cosmosdb/types.d.ts +4 -3
- package/dist/integrations/cosmosdb/types.d.ts.map +1 -1
- package/dist/integrations/couchbase/client.d.ts +4 -4
- package/dist/integrations/couchbase/client.d.ts.map +1 -1
- package/dist/integrations/couchbase/client.js +13 -13
- package/dist/integrations/couchbase/client.js.map +1 -1
- package/dist/integrations/couchbase/index.d.ts +2 -2
- package/dist/integrations/couchbase/index.js +1 -1
- package/dist/integrations/couchbase/types.d.ts +8 -7
- package/dist/integrations/couchbase/types.d.ts.map +1 -1
- package/dist/integrations/databricks/client.d.ts +4 -4
- package/dist/integrations/databricks/client.d.ts.map +1 -1
- package/dist/integrations/databricks/client.js +8 -8
- package/dist/integrations/databricks/client.js.map +1 -1
- package/dist/integrations/databricks/index.d.ts +2 -2
- package/dist/integrations/databricks/index.js +1 -1
- package/dist/integrations/databricks/types.d.ts +4 -3
- package/dist/integrations/databricks/types.d.ts.map +1 -1
- package/dist/integrations/datadog/client.d.ts +2 -2
- package/dist/integrations/datadog/client.d.ts.map +1 -1
- package/dist/integrations/datadog/client.js +1 -1
- package/dist/integrations/datadog/client.js.map +1 -1
- package/dist/integrations/datadog/index.d.ts +2 -2
- package/dist/integrations/datadog/index.js +1 -1
- package/dist/integrations/datadog/types.d.ts +4 -3
- package/dist/integrations/datadog/types.d.ts.map +1 -1
- package/dist/integrations/declarations.d.ts +130 -130
- package/dist/integrations/declarations.d.ts.map +1 -1
- package/dist/integrations/declarations.js +66 -66
- package/dist/integrations/declarations.js.map +1 -1
- package/dist/integrations/dropbox/client.d.ts +2 -2
- package/dist/integrations/dropbox/client.d.ts.map +1 -1
- package/dist/integrations/dropbox/client.js +1 -1
- package/dist/integrations/dropbox/client.js.map +1 -1
- package/dist/integrations/dropbox/index.d.ts +2 -2
- package/dist/integrations/dropbox/index.js +1 -1
- package/dist/integrations/dropbox/types.d.ts +4 -3
- package/dist/integrations/dropbox/types.d.ts.map +1 -1
- package/dist/integrations/dynamodb/client.d.ts +4 -4
- package/dist/integrations/dynamodb/client.d.ts.map +1 -1
- package/dist/integrations/dynamodb/client.js +30 -30
- package/dist/integrations/dynamodb/client.js.map +1 -1
- package/dist/integrations/dynamodb/index.d.ts +2 -2
- package/dist/integrations/dynamodb/index.js +1 -1
- package/dist/integrations/dynamodb/types.d.ts +10 -9
- package/dist/integrations/dynamodb/types.d.ts.map +1 -1
- package/dist/integrations/elasticsearch/client.d.ts +2 -2
- package/dist/integrations/elasticsearch/client.d.ts.map +1 -1
- package/dist/integrations/elasticsearch/client.js +1 -1
- package/dist/integrations/elasticsearch/client.js.map +1 -1
- package/dist/integrations/elasticsearch/index.d.ts +2 -2
- package/dist/integrations/elasticsearch/index.js +1 -1
- package/dist/integrations/elasticsearch/types.d.ts +4 -3
- package/dist/integrations/elasticsearch/types.d.ts.map +1 -1
- package/dist/integrations/fireworks/client.d.ts +2 -2
- package/dist/integrations/fireworks/client.d.ts.map +1 -1
- package/dist/integrations/fireworks/client.js +1 -1
- package/dist/integrations/fireworks/client.js.map +1 -1
- package/dist/integrations/fireworks/index.d.ts +2 -2
- package/dist/integrations/fireworks/index.js +1 -1
- package/dist/integrations/fireworks/types.d.ts +4 -3
- package/dist/integrations/fireworks/types.d.ts.map +1 -1
- package/dist/integrations/front/client.d.ts +2 -2
- package/dist/integrations/front/client.d.ts.map +1 -1
- package/dist/integrations/front/client.js +1 -1
- package/dist/integrations/front/client.js.map +1 -1
- package/dist/integrations/front/index.d.ts +2 -2
- package/dist/integrations/front/index.js +1 -1
- package/dist/integrations/front/types.d.ts +4 -3
- package/dist/integrations/front/types.d.ts.map +1 -1
- package/dist/integrations/gcs/client.d.ts +4 -4
- package/dist/integrations/gcs/client.js +20 -20
- package/dist/integrations/gcs/index.d.ts +2 -2
- package/dist/integrations/gcs/index.js +1 -1
- package/dist/integrations/gcs/types.d.ts +3 -3
- package/dist/integrations/gcs/types.d.ts.map +1 -1
- package/dist/integrations/gemini/client.d.ts +2 -2
- package/dist/integrations/gemini/client.d.ts.map +1 -1
- package/dist/integrations/gemini/client.js +1 -1
- package/dist/integrations/gemini/client.js.map +1 -1
- package/dist/integrations/gemini/index.d.ts +2 -2
- package/dist/integrations/gemini/index.js +1 -1
- package/dist/integrations/gemini/types.d.ts +4 -3
- package/dist/integrations/gemini/types.d.ts.map +1 -1
- package/dist/integrations/github/client.d.ts +2 -2
- package/dist/integrations/github/client.d.ts.map +1 -1
- package/dist/integrations/github/client.js +1 -1
- package/dist/integrations/github/client.js.map +1 -1
- package/dist/integrations/github/index.d.ts +2 -2
- package/dist/integrations/github/index.js +1 -1
- package/dist/integrations/github/types.d.ts +6 -5
- package/dist/integrations/github/types.d.ts.map +1 -1
- package/dist/integrations/googleanalytics/client.d.ts +2 -2
- package/dist/integrations/googleanalytics/client.d.ts.map +1 -1
- package/dist/integrations/googleanalytics/client.js +1 -1
- package/dist/integrations/googleanalytics/client.js.map +1 -1
- package/dist/integrations/googleanalytics/index.d.ts +2 -2
- package/dist/integrations/googleanalytics/index.js +1 -1
- package/dist/integrations/googleanalytics/types.d.ts +4 -3
- package/dist/integrations/googleanalytics/types.d.ts.map +1 -1
- package/dist/integrations/googledrive/client.d.ts +2 -2
- package/dist/integrations/googledrive/client.d.ts.map +1 -1
- package/dist/integrations/googledrive/client.js +1 -1
- package/dist/integrations/googledrive/client.js.map +1 -1
- package/dist/integrations/googledrive/index.d.ts +2 -2
- package/dist/integrations/googledrive/index.js +1 -1
- package/dist/integrations/googledrive/types.d.ts +4 -3
- package/dist/integrations/googledrive/types.d.ts.map +1 -1
- package/dist/integrations/graphql/client.d.ts +2 -2
- package/dist/integrations/graphql/client.d.ts.map +1 -1
- package/dist/integrations/graphql/client.js +1 -1
- package/dist/integrations/graphql/client.js.map +1 -1
- package/dist/integrations/graphql/index.d.ts +2 -2
- package/dist/integrations/graphql/index.js +1 -1
- package/dist/integrations/graphql/types.d.ts +4 -3
- package/dist/integrations/graphql/types.d.ts.map +1 -1
- package/dist/integrations/groq/client.d.ts +2 -2
- package/dist/integrations/groq/client.d.ts.map +1 -1
- package/dist/integrations/groq/client.js +1 -1
- package/dist/integrations/groq/client.js.map +1 -1
- package/dist/integrations/groq/index.d.ts +2 -2
- package/dist/integrations/groq/index.js +1 -1
- package/dist/integrations/groq/types.d.ts +4 -3
- package/dist/integrations/groq/types.d.ts.map +1 -1
- package/dist/integrations/gsheets/client.d.ts +4 -4
- package/dist/integrations/gsheets/client.d.ts.map +1 -1
- package/dist/integrations/gsheets/client.js +3 -3
- package/dist/integrations/gsheets/client.js.map +1 -1
- package/dist/integrations/gsheets/index.d.ts +2 -2
- package/dist/integrations/gsheets/index.js +1 -1
- package/dist/integrations/gsheets/types.d.ts +7 -6
- package/dist/integrations/gsheets/types.d.ts.map +1 -1
- package/dist/integrations/hubspot/client.d.ts +2 -2
- package/dist/integrations/hubspot/client.d.ts.map +1 -1
- package/dist/integrations/hubspot/client.js +1 -1
- package/dist/integrations/hubspot/client.js.map +1 -1
- package/dist/integrations/hubspot/index.d.ts +2 -2
- package/dist/integrations/hubspot/index.js +1 -1
- package/dist/integrations/hubspot/types.d.ts +4 -3
- package/dist/integrations/hubspot/types.d.ts.map +1 -1
- package/dist/integrations/index.d.ts +131 -131
- package/dist/integrations/index.d.ts.map +1 -1
- package/dist/integrations/index.js +66 -66
- package/dist/integrations/index.js.map +1 -1
- package/dist/integrations/intercom/client.d.ts +2 -2
- package/dist/integrations/intercom/client.d.ts.map +1 -1
- package/dist/integrations/intercom/client.js +1 -1
- package/dist/integrations/intercom/client.js.map +1 -1
- package/dist/integrations/intercom/index.d.ts +2 -2
- package/dist/integrations/intercom/index.js +1 -1
- package/dist/integrations/intercom/types.d.ts +4 -3
- package/dist/integrations/intercom/types.d.ts.map +1 -1
- package/dist/integrations/jira/client.d.ts +2 -2
- package/dist/integrations/jira/client.d.ts.map +1 -1
- package/dist/integrations/jira/client.js +1 -1
- package/dist/integrations/jira/client.js.map +1 -1
- package/dist/integrations/jira/index.d.ts +2 -2
- package/dist/integrations/jira/index.js +1 -1
- package/dist/integrations/jira/types.d.ts +4 -3
- package/dist/integrations/jira/types.d.ts.map +1 -1
- package/dist/integrations/kafka/client.d.ts +4 -4
- package/dist/integrations/kafka/client.d.ts.map +1 -1
- package/dist/integrations/kafka/client.js +19 -17
- package/dist/integrations/kafka/client.js.map +1 -1
- package/dist/integrations/kafka/index.d.ts +2 -2
- package/dist/integrations/kafka/index.js +1 -1
- package/dist/integrations/kafka/types.d.ts +8 -7
- package/dist/integrations/kafka/types.d.ts.map +1 -1
- package/dist/integrations/kinesis/client.d.ts +3 -3
- package/dist/integrations/kinesis/client.d.ts.map +1 -1
- package/dist/integrations/kinesis/client.js +5 -5
- package/dist/integrations/kinesis/client.js.map +1 -1
- package/dist/integrations/kinesis/index.d.ts +2 -2
- package/dist/integrations/kinesis/index.js +1 -1
- package/dist/integrations/kinesis/types.d.ts +5 -4
- package/dist/integrations/kinesis/types.d.ts.map +1 -1
- package/dist/integrations/lakebase/client.d.ts +4 -4
- package/dist/integrations/lakebase/client.d.ts.map +1 -1
- package/dist/integrations/lakebase/client.js +8 -8
- package/dist/integrations/lakebase/client.js.map +1 -1
- package/dist/integrations/lakebase/index.d.ts +2 -2
- package/dist/integrations/lakebase/index.js +1 -1
- package/dist/integrations/lakebase/types.d.ts +2 -2
- package/dist/integrations/lakebase/types.d.ts.map +1 -1
- package/dist/integrations/launchdarkly/client.d.ts +2 -2
- package/dist/integrations/launchdarkly/client.d.ts.map +1 -1
- package/dist/integrations/launchdarkly/client.js +1 -1
- package/dist/integrations/launchdarkly/client.js.map +1 -1
- package/dist/integrations/launchdarkly/index.d.ts +2 -2
- package/dist/integrations/launchdarkly/index.js +1 -1
- package/dist/integrations/launchdarkly/types.d.ts +4 -3
- package/dist/integrations/launchdarkly/types.d.ts.map +1 -1
- package/dist/integrations/mariadb/client.d.ts +4 -4
- package/dist/integrations/mariadb/client.d.ts.map +1 -1
- package/dist/integrations/mariadb/client.js +8 -8
- package/dist/integrations/mariadb/client.js.map +1 -1
- package/dist/integrations/mariadb/index.d.ts +2 -2
- package/dist/integrations/mariadb/index.js +1 -1
- package/dist/integrations/mariadb/types.d.ts +4 -3
- package/dist/integrations/mariadb/types.d.ts.map +1 -1
- package/dist/integrations/mistral/client.d.ts +2 -2
- package/dist/integrations/mistral/client.d.ts.map +1 -1
- package/dist/integrations/mistral/client.js +1 -1
- package/dist/integrations/mistral/client.js.map +1 -1
- package/dist/integrations/mistral/index.d.ts +2 -2
- package/dist/integrations/mistral/index.js +1 -1
- package/dist/integrations/mistral/types.d.ts +4 -3
- package/dist/integrations/mistral/types.d.ts.map +1 -1
- package/dist/integrations/mongodb/client.d.ts +4 -4
- package/dist/integrations/mongodb/client.d.ts.map +1 -1
- package/dist/integrations/mongodb/client.js +3 -3
- package/dist/integrations/mongodb/client.js.map +1 -1
- package/dist/integrations/mongodb/index.d.ts +2 -2
- package/dist/integrations/mongodb/index.js +1 -1
- package/dist/integrations/mongodb/types.d.ts +5 -4
- package/dist/integrations/mongodb/types.d.ts.map +1 -1
- package/dist/integrations/mssql/client.d.ts +4 -4
- package/dist/integrations/mssql/client.d.ts.map +1 -1
- package/dist/integrations/mssql/client.js +8 -8
- package/dist/integrations/mssql/client.js.map +1 -1
- package/dist/integrations/mssql/index.d.ts +2 -2
- package/dist/integrations/mssql/index.js +1 -1
- package/dist/integrations/mssql/types.d.ts +4 -3
- package/dist/integrations/mssql/types.d.ts.map +1 -1
- package/dist/integrations/mysql/client.d.ts +4 -4
- package/dist/integrations/mysql/client.d.ts.map +1 -1
- package/dist/integrations/mysql/client.js +8 -8
- package/dist/integrations/mysql/client.js.map +1 -1
- package/dist/integrations/mysql/index.d.ts +2 -2
- package/dist/integrations/mysql/index.js +1 -1
- package/dist/integrations/mysql/types.d.ts +4 -3
- package/dist/integrations/mysql/types.d.ts.map +1 -1
- package/dist/integrations/notion/client.d.ts +2 -2
- package/dist/integrations/notion/client.d.ts.map +1 -1
- package/dist/integrations/notion/client.js +1 -1
- package/dist/integrations/notion/client.js.map +1 -1
- package/dist/integrations/notion/index.d.ts +2 -2
- package/dist/integrations/notion/index.js +1 -1
- package/dist/integrations/notion/types.d.ts +6 -5
- package/dist/integrations/notion/types.d.ts.map +1 -1
- package/dist/integrations/openai_v2/client.d.ts +2 -2
- package/dist/integrations/openai_v2/client.d.ts.map +1 -1
- package/dist/integrations/openai_v2/client.js +1 -1
- package/dist/integrations/openai_v2/client.js.map +1 -1
- package/dist/integrations/openai_v2/index.d.ts +2 -2
- package/dist/integrations/openai_v2/index.js +1 -1
- package/dist/integrations/openai_v2/types.d.ts +5 -4
- package/dist/integrations/openai_v2/types.d.ts.map +1 -1
- package/dist/integrations/oracledb/client.d.ts +4 -4
- package/dist/integrations/oracledb/client.d.ts.map +1 -1
- package/dist/integrations/oracledb/client.js +8 -8
- package/dist/integrations/oracledb/client.js.map +1 -1
- package/dist/integrations/oracledb/index.d.ts +2 -2
- package/dist/integrations/oracledb/index.js +1 -1
- package/dist/integrations/oracledb/types.d.ts +4 -3
- package/dist/integrations/oracledb/types.d.ts.map +1 -1
- package/dist/integrations/pagerduty/client.d.ts +2 -2
- package/dist/integrations/pagerduty/client.d.ts.map +1 -1
- package/dist/integrations/pagerduty/client.js +1 -1
- package/dist/integrations/pagerduty/client.js.map +1 -1
- package/dist/integrations/pagerduty/index.d.ts +2 -2
- package/dist/integrations/pagerduty/index.js +1 -1
- package/dist/integrations/pagerduty/types.d.ts +4 -3
- package/dist/integrations/pagerduty/types.d.ts.map +1 -1
- package/dist/integrations/perplexity/client.d.ts +2 -2
- package/dist/integrations/perplexity/client.d.ts.map +1 -1
- package/dist/integrations/perplexity/client.js +1 -1
- package/dist/integrations/perplexity/client.js.map +1 -1
- package/dist/integrations/perplexity/index.d.ts +2 -2
- package/dist/integrations/perplexity/index.js +1 -1
- package/dist/integrations/perplexity/types.d.ts +4 -3
- package/dist/integrations/perplexity/types.d.ts.map +1 -1
- package/dist/integrations/postgres/client.d.ts +6 -6
- package/dist/integrations/postgres/client.d.ts.map +1 -1
- package/dist/integrations/postgres/client.js +8 -8
- package/dist/integrations/postgres/client.js.map +1 -1
- package/dist/integrations/postgres/index.d.ts +2 -2
- package/dist/integrations/postgres/index.js +1 -1
- package/dist/integrations/postgres/types.d.ts +8 -7
- package/dist/integrations/postgres/types.d.ts.map +1 -1
- package/dist/integrations/python/client.d.ts +6 -6
- package/dist/integrations/python/client.d.ts.map +1 -1
- package/dist/integrations/python/client.js +5 -5
- package/dist/integrations/python/client.js.map +1 -1
- package/dist/integrations/python/client.test.js +82 -63
- package/dist/integrations/python/client.test.js.map +1 -1
- package/dist/integrations/python/index.d.ts +2 -2
- package/dist/integrations/python/index.js +1 -1
- package/dist/integrations/python/types.d.ts +5 -5
- package/dist/integrations/redis/client.d.ts +4 -4
- package/dist/integrations/redis/client.d.ts.map +1 -1
- package/dist/integrations/redis/client.js +23 -23
- package/dist/integrations/redis/client.js.map +1 -1
- package/dist/integrations/redis/index.d.ts +2 -2
- package/dist/integrations/redis/index.js +1 -1
- package/dist/integrations/redis/types.d.ts +4 -3
- package/dist/integrations/redis/types.d.ts.map +1 -1
- package/dist/integrations/redshift/client.d.ts +4 -4
- package/dist/integrations/redshift/client.d.ts.map +1 -1
- package/dist/integrations/redshift/client.js +8 -8
- package/dist/integrations/redshift/client.js.map +1 -1
- package/dist/integrations/redshift/index.d.ts +2 -2
- package/dist/integrations/redshift/index.js +1 -1
- package/dist/integrations/redshift/types.d.ts +4 -3
- package/dist/integrations/redshift/types.d.ts.map +1 -1
- package/dist/integrations/registry.d.ts +2 -2
- package/dist/integrations/registry.d.ts.map +1 -1
- package/dist/integrations/registry.js +132 -132
- package/dist/integrations/registry.js.map +1 -1
- package/dist/integrations/registry.test.js +10 -10
- package/dist/integrations/registry.test.js.map +1 -1
- package/dist/integrations/s3/client.d.ts +4 -4
- package/dist/integrations/s3/client.d.ts.map +1 -1
- package/dist/integrations/s3/client.js +20 -20
- package/dist/integrations/s3/client.js.map +1 -1
- package/dist/integrations/s3/index.d.ts +2 -2
- package/dist/integrations/s3/index.js +1 -1
- package/dist/integrations/s3/types.d.ts +3 -3
- package/dist/integrations/s3/types.d.ts.map +1 -1
- package/dist/integrations/salesforce/client.d.ts +4 -4
- package/dist/integrations/salesforce/client.d.ts.map +1 -1
- package/dist/integrations/salesforce/client.js +22 -22
- package/dist/integrations/salesforce/client.js.map +1 -1
- package/dist/integrations/salesforce/index.d.ts +2 -2
- package/dist/integrations/salesforce/index.d.ts.map +1 -1
- package/dist/integrations/salesforce/index.js +1 -1
- package/dist/integrations/salesforce/index.js.map +1 -1
- package/dist/integrations/salesforce/types.d.ts +12 -11
- package/dist/integrations/salesforce/types.d.ts.map +1 -1
- package/dist/integrations/segment/client.d.ts +2 -2
- package/dist/integrations/segment/client.d.ts.map +1 -1
- package/dist/integrations/segment/client.js +1 -1
- package/dist/integrations/segment/client.js.map +1 -1
- package/dist/integrations/segment/index.d.ts +2 -2
- package/dist/integrations/segment/index.js +1 -1
- package/dist/integrations/segment/types.d.ts +4 -3
- package/dist/integrations/segment/types.d.ts.map +1 -1
- package/dist/integrations/sendgrid/client.d.ts +2 -2
- package/dist/integrations/sendgrid/client.d.ts.map +1 -1
- package/dist/integrations/sendgrid/client.js +1 -1
- package/dist/integrations/sendgrid/client.js.map +1 -1
- package/dist/integrations/sendgrid/index.d.ts +2 -2
- package/dist/integrations/sendgrid/index.js +1 -1
- package/dist/integrations/sendgrid/types.d.ts +4 -3
- package/dist/integrations/sendgrid/types.d.ts.map +1 -1
- package/dist/integrations/slack/client.d.ts.map +1 -1
- package/dist/integrations/slack/client.js.map +1 -1
- package/dist/integrations/slack/index.d.ts +2 -2
- package/dist/integrations/slack/index.js +1 -1
- package/dist/integrations/slack/types.d.ts +6 -12
- package/dist/integrations/slack/types.d.ts.map +1 -1
- package/dist/integrations/smtp/client.d.ts +3 -3
- package/dist/integrations/smtp/client.js +6 -6
- package/dist/integrations/smtp/index.d.ts +2 -2
- package/dist/integrations/smtp/index.js +1 -1
- package/dist/integrations/smtp/types.d.ts +1 -1
- package/dist/integrations/snowflake/client.d.ts.map +1 -1
- package/dist/integrations/snowflake/client.js.map +1 -1
- package/dist/integrations/snowflake/index.d.ts +2 -2
- package/dist/integrations/snowflake/index.js +1 -1
- package/dist/integrations/snowflake/types.d.ts +4 -3
- package/dist/integrations/snowflake/types.d.ts.map +1 -1
- package/dist/integrations/snowflakecortex/client.d.ts +2 -2
- package/dist/integrations/snowflakecortex/client.d.ts.map +1 -1
- package/dist/integrations/snowflakecortex/client.js +1 -1
- package/dist/integrations/snowflakecortex/client.js.map +1 -1
- package/dist/integrations/snowflakecortex/index.d.ts +2 -2
- package/dist/integrations/snowflakecortex/index.js +1 -1
- package/dist/integrations/snowflakecortex/types.d.ts +2 -2
- package/dist/integrations/snowflakecortex/types.d.ts.map +1 -1
- package/dist/integrations/snowflakepostgres/client.d.ts +2 -2
- package/dist/integrations/snowflakepostgres/client.js +1 -1
- package/dist/integrations/snowflakepostgres/index.d.ts +2 -2
- package/dist/integrations/snowflakepostgres/index.js +1 -1
- package/dist/integrations/snowflakepostgres/types.d.ts +2 -2
- package/dist/integrations/snowflakepostgres/types.d.ts.map +1 -1
- package/dist/integrations/stabilityai/client.d.ts +2 -2
- package/dist/integrations/stabilityai/client.d.ts.map +1 -1
- package/dist/integrations/stabilityai/client.js +1 -1
- package/dist/integrations/stabilityai/client.js.map +1 -1
- package/dist/integrations/stabilityai/index.d.ts +2 -2
- package/dist/integrations/stabilityai/index.js +1 -1
- package/dist/integrations/stabilityai/types.d.ts +4 -3
- package/dist/integrations/stabilityai/types.d.ts.map +1 -1
- package/dist/integrations/stripe/client.d.ts +2 -2
- package/dist/integrations/stripe/client.d.ts.map +1 -1
- package/dist/integrations/stripe/client.js +1 -1
- package/dist/integrations/stripe/client.js.map +1 -1
- package/dist/integrations/stripe/index.d.ts +2 -2
- package/dist/integrations/stripe/index.js +1 -1
- package/dist/integrations/stripe/types.d.ts +6 -5
- package/dist/integrations/stripe/types.d.ts.map +1 -1
- package/dist/integrations/superblocks-ocr/client.d.ts +2 -2
- package/dist/integrations/superblocks-ocr/client.d.ts.map +1 -1
- package/dist/integrations/superblocks-ocr/client.js +1 -1
- package/dist/integrations/superblocks-ocr/client.js.map +1 -1
- package/dist/integrations/superblocks-ocr/index.d.ts +2 -2
- package/dist/integrations/superblocks-ocr/index.js +1 -1
- package/dist/integrations/superblocks-ocr/types.d.ts +4 -3
- package/dist/integrations/superblocks-ocr/types.d.ts.map +1 -1
- package/dist/integrations/twilio/client.d.ts +2 -2
- package/dist/integrations/twilio/client.d.ts.map +1 -1
- package/dist/integrations/twilio/client.js +1 -1
- package/dist/integrations/twilio/client.js.map +1 -1
- package/dist/integrations/twilio/index.d.ts +2 -2
- package/dist/integrations/twilio/index.js +1 -1
- package/dist/integrations/twilio/types.d.ts +4 -3
- package/dist/integrations/twilio/types.d.ts.map +1 -1
- package/dist/integrations/types.d.ts +1 -1
- package/dist/integrations/utils.js +5 -5
- package/dist/integrations/zendesk/client.d.ts +2 -2
- package/dist/integrations/zendesk/client.d.ts.map +1 -1
- package/dist/integrations/zendesk/client.js +1 -1
- package/dist/integrations/zendesk/client.js.map +1 -1
- package/dist/integrations/zendesk/index.d.ts +2 -2
- package/dist/integrations/zendesk/index.js +1 -1
- package/dist/integrations/zendesk/types.d.ts +4 -3
- package/dist/integrations/zendesk/types.d.ts.map +1 -1
- package/dist/integrations/zoom/client.d.ts +2 -2
- package/dist/integrations/zoom/client.d.ts.map +1 -1
- package/dist/integrations/zoom/client.js +1 -1
- package/dist/integrations/zoom/client.js.map +1 -1
- package/dist/integrations/zoom/index.d.ts +2 -2
- package/dist/integrations/zoom/index.js +1 -1
- package/dist/integrations/zoom/types.d.ts +5 -4
- package/dist/integrations/zoom/types.d.ts.map +1 -1
- package/dist/runtime/context.d.ts +3 -3
- package/dist/runtime/context.d.ts.map +1 -1
- package/dist/runtime/context.js +3 -3
- package/dist/runtime/context.js.map +1 -1
- package/dist/runtime/errors.d.ts.map +1 -1
- package/dist/runtime/errors.js +17 -13
- package/dist/runtime/errors.js.map +1 -1
- package/dist/runtime/execute.d.ts +5 -5
- package/dist/runtime/execute.d.ts.map +1 -1
- package/dist/runtime/execute.js +3 -3
- package/dist/runtime/execute.js.map +1 -1
- package/dist/runtime/executor.d.ts +4 -4
- package/dist/runtime/executor.js +5 -5
- package/dist/runtime/index.d.ts +6 -6
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +6 -6
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/logger.d.ts +1 -1
- package/dist/runtime/logger.d.ts.map +1 -1
- package/dist/runtime/logger.js +5 -5
- package/dist/runtime/logger.js.map +1 -1
- package/dist/runtime/streaming-context.d.ts +3 -3
- package/dist/runtime/streaming-context.d.ts.map +1 -1
- package/dist/runtime/streaming-context.js +2 -2
- package/dist/runtime/streaming-context.js.map +1 -1
- package/dist/runtime/streaming-executor.d.ts +4 -4
- package/dist/runtime/streaming-executor.d.ts.map +1 -1
- package/dist/runtime/streaming-executor.js +5 -5
- package/dist/runtime/streaming-executor.js.map +1 -1
- package/dist/types.d.ts +10 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +11 -11
- package/src/api/definition.test.ts +65 -2
- package/src/api/definition.ts +33 -1
- package/src/api/index.ts +4 -4
- package/src/api/streaming.test.ts +166 -88
- package/src/api/streaming.ts +41 -13
- package/src/errors.ts +6 -6
- package/src/index.ts +14 -3
- package/src/integrations/airtable/README.md +46 -39
- package/src/integrations/airtable/client.ts +5 -3
- package/src/integrations/airtable/index.ts +2 -2
- package/src/integrations/airtable/types.ts +7 -11
- package/src/integrations/anthropic/README.md +57 -47
- package/src/integrations/anthropic/client.ts +5 -3
- package/src/integrations/anthropic/index.ts +2 -2
- package/src/integrations/anthropic/types.ts +12 -5
- package/src/integrations/asana/README.md +39 -37
- package/src/integrations/asana/client.ts +5 -3
- package/src/integrations/asana/index.ts +2 -2
- package/src/integrations/asana/types.ts +4 -3
- package/src/integrations/athena/README.md +23 -16
- package/src/integrations/athena/client.ts +18 -15
- package/src/integrations/athena/index.ts +2 -2
- package/src/integrations/athena/types.ts +9 -4
- package/src/integrations/base/graphql-integration-client.ts +9 -9
- package/src/integrations/base/index.ts +4 -4
- package/src/integrations/base/rest-api-integration-client.ts +15 -4
- package/src/integrations/base/types.ts +8 -11
- package/src/integrations/bigquery/README.md +24 -19
- package/src/integrations/bigquery/client.ts +21 -16
- package/src/integrations/bigquery/index.ts +2 -2
- package/src/integrations/bigquery/types.ts +9 -4
- package/src/integrations/bitbucket/README.md +56 -40
- package/src/integrations/bitbucket/client.ts +5 -3
- package/src/integrations/bitbucket/index.ts +2 -2
- package/src/integrations/bitbucket/types.ts +6 -4
- package/src/integrations/box/README.md +60 -53
- package/src/integrations/box/client.ts +5 -3
- package/src/integrations/box/index.ts +2 -2
- package/src/integrations/box/types.ts +4 -3
- package/src/integrations/circleci/README.md +70 -43
- package/src/integrations/circleci/client.ts +5 -3
- package/src/integrations/circleci/index.ts +2 -2
- package/src/integrations/circleci/types.ts +6 -4
- package/src/integrations/cockroachdb/README.md +26 -21
- package/src/integrations/cockroachdb/client.ts +18 -15
- package/src/integrations/cockroachdb/index.ts +2 -2
- package/src/integrations/cockroachdb/types.ts +9 -4
- package/src/integrations/cohere/README.md +30 -29
- package/src/integrations/cohere/client.ts +5 -3
- package/src/integrations/cohere/index.ts +2 -2
- package/src/integrations/cohere/types.ts +7 -11
- package/src/integrations/confluence/README.md +50 -46
- package/src/integrations/confluence/client.ts +5 -3
- package/src/integrations/confluence/index.ts +2 -2
- package/src/integrations/confluence/types.ts +6 -4
- package/src/integrations/cosmosdb/README.md +26 -23
- package/src/integrations/cosmosdb/client.ts +32 -30
- package/src/integrations/cosmosdb/index.ts +2 -2
- package/src/integrations/cosmosdb/types.ts +4 -3
- package/src/integrations/couchbase/README.md +37 -23
- package/src/integrations/couchbase/client.ts +28 -22
- package/src/integrations/couchbase/index.ts +2 -2
- package/src/integrations/couchbase/types.ts +14 -8
- package/src/integrations/databricks/README.md +25 -20
- package/src/integrations/databricks/client.ts +18 -15
- package/src/integrations/databricks/index.ts +2 -2
- package/src/integrations/databricks/types.ts +9 -4
- package/src/integrations/datadog/README.md +51 -38
- package/src/integrations/datadog/client.ts +5 -3
- package/src/integrations/datadog/index.ts +2 -2
- package/src/integrations/datadog/types.ts +6 -4
- package/src/integrations/declarations.ts +237 -199
- package/src/integrations/dropbox/README.md +42 -39
- package/src/integrations/dropbox/client.ts +5 -3
- package/src/integrations/dropbox/index.ts +2 -2
- package/src/integrations/dropbox/types.ts +6 -4
- package/src/integrations/dynamodb/README.md +92 -60
- package/src/integrations/dynamodb/client.ts +45 -36
- package/src/integrations/dynamodb/index.ts +2 -2
- package/src/integrations/dynamodb/types.ts +10 -9
- package/src/integrations/elasticsearch/README.md +72 -70
- package/src/integrations/elasticsearch/client.ts +5 -3
- package/src/integrations/elasticsearch/index.ts +2 -2
- package/src/integrations/elasticsearch/types.ts +6 -4
- package/src/integrations/fireworks/README.md +35 -38
- package/src/integrations/fireworks/client.ts +5 -3
- package/src/integrations/fireworks/index.ts +2 -2
- package/src/integrations/fireworks/types.ts +6 -4
- package/src/integrations/front/README.md +29 -28
- package/src/integrations/front/client.ts +5 -3
- package/src/integrations/front/index.ts +2 -2
- package/src/integrations/front/types.ts +4 -3
- package/src/integrations/gcs/README.md +24 -19
- package/src/integrations/gcs/client.ts +26 -26
- package/src/integrations/gcs/index.ts +2 -2
- package/src/integrations/gcs/types.ts +11 -14
- package/src/integrations/gemini/README.md +31 -28
- package/src/integrations/gemini/client.ts +5 -3
- package/src/integrations/gemini/index.ts +2 -2
- package/src/integrations/gemini/types.ts +6 -4
- package/src/integrations/github/README.md +41 -35
- package/src/integrations/github/client.ts +5 -3
- package/src/integrations/github/index.ts +2 -2
- package/src/integrations/github/types.ts +8 -6
- package/src/integrations/googleanalytics/README.md +51 -40
- package/src/integrations/googleanalytics/client.ts +5 -3
- package/src/integrations/googleanalytics/index.ts +2 -2
- package/src/integrations/googleanalytics/types.ts +6 -4
- package/src/integrations/googledrive/README.md +57 -50
- package/src/integrations/googledrive/client.ts +5 -3
- package/src/integrations/googledrive/index.ts +2 -2
- package/src/integrations/googledrive/types.ts +6 -4
- package/src/integrations/graphql/README.md +62 -41
- package/src/integrations/graphql/client.ts +5 -3
- package/src/integrations/graphql/index.ts +2 -2
- package/src/integrations/graphql/types.ts +6 -5
- package/src/integrations/groq/README.md +34 -35
- package/src/integrations/groq/client.ts +5 -3
- package/src/integrations/groq/index.ts +2 -2
- package/src/integrations/groq/types.ts +4 -3
- package/src/integrations/gsheets/README.md +61 -47
- package/src/integrations/gsheets/client.ts +19 -11
- package/src/integrations/gsheets/index.ts +2 -2
- package/src/integrations/gsheets/types.ts +12 -11
- package/src/integrations/hubspot/README.md +80 -67
- package/src/integrations/hubspot/client.ts +5 -3
- package/src/integrations/hubspot/index.ts +2 -2
- package/src/integrations/hubspot/types.ts +6 -4
- package/src/integrations/index.ts +169 -131
- package/src/integrations/intercom/README.md +25 -24
- package/src/integrations/intercom/client.ts +5 -3
- package/src/integrations/intercom/index.ts +2 -2
- package/src/integrations/intercom/types.ts +6 -4
- package/src/integrations/jira/README.md +46 -43
- package/src/integrations/jira/client.ts +5 -3
- package/src/integrations/jira/index.ts +2 -2
- package/src/integrations/jira/types.ts +4 -3
- package/src/integrations/kafka/README.md +39 -33
- package/src/integrations/kafka/client.ts +34 -30
- package/src/integrations/kafka/index.ts +2 -2
- package/src/integrations/kafka/types.ts +8 -7
- package/src/integrations/kinesis/README.md +34 -32
- package/src/integrations/kinesis/client.ts +12 -8
- package/src/integrations/kinesis/index.ts +2 -2
- package/src/integrations/kinesis/types.ts +9 -10
- package/src/integrations/lakebase/client.ts +33 -20
- package/src/integrations/lakebase/index.ts +2 -2
- package/src/integrations/lakebase/types.ts +7 -3
- package/src/integrations/launchdarkly/README.md +38 -37
- package/src/integrations/launchdarkly/client.ts +5 -3
- package/src/integrations/launchdarkly/index.ts +2 -2
- package/src/integrations/launchdarkly/types.ts +6 -4
- package/src/integrations/mariadb/README.md +24 -19
- package/src/integrations/mariadb/client.ts +18 -15
- package/src/integrations/mariadb/index.ts +2 -2
- package/src/integrations/mariadb/types.ts +9 -4
- package/src/integrations/mistral/README.md +33 -34
- package/src/integrations/mistral/client.ts +5 -3
- package/src/integrations/mistral/index.ts +2 -2
- package/src/integrations/mistral/types.ts +6 -4
- package/src/integrations/mongodb/README.md +131 -86
- package/src/integrations/mongodb/client.ts +12 -10
- package/src/integrations/mongodb/index.ts +2 -2
- package/src/integrations/mongodb/types.ts +17 -16
- package/src/integrations/mssql/README.md +26 -21
- package/src/integrations/mssql/client.ts +18 -15
- package/src/integrations/mssql/index.ts +2 -2
- package/src/integrations/mssql/types.ts +9 -4
- package/src/integrations/mysql/README.md +27 -22
- package/src/integrations/mysql/client.ts +18 -15
- package/src/integrations/mysql/index.ts +2 -2
- package/src/integrations/mysql/types.ts +9 -4
- package/src/integrations/notion/README.md +31 -28
- package/src/integrations/notion/client.ts +5 -3
- package/src/integrations/notion/index.ts +2 -2
- package/src/integrations/notion/types.ts +8 -6
- package/src/integrations/openai_v2/README.md +40 -39
- package/src/integrations/openai_v2/client.ts +5 -3
- package/src/integrations/openai_v2/index.ts +2 -2
- package/src/integrations/openai_v2/types.ts +12 -5
- package/src/integrations/oracledb/README.md +26 -21
- package/src/integrations/oracledb/client.ts +21 -16
- package/src/integrations/oracledb/index.ts +2 -2
- package/src/integrations/oracledb/types.ts +9 -4
- package/src/integrations/pagerduty/README.md +48 -41
- package/src/integrations/pagerduty/client.ts +5 -3
- package/src/integrations/pagerduty/index.ts +2 -2
- package/src/integrations/pagerduty/types.ts +6 -4
- package/src/integrations/perplexity/README.md +31 -32
- package/src/integrations/perplexity/client.ts +5 -3
- package/src/integrations/perplexity/index.ts +2 -2
- package/src/integrations/perplexity/types.ts +6 -4
- package/src/integrations/postgres/README.md +30 -27
- package/src/integrations/postgres/client.ts +27 -18
- package/src/integrations/postgres/index.ts +2 -2
- package/src/integrations/postgres/types.ts +13 -8
- package/src/integrations/python/README.md +86 -67
- package/src/integrations/python/client.test.ts +104 -86
- package/src/integrations/python/client.ts +27 -23
- package/src/integrations/python/index.ts +2 -2
- package/src/integrations/python/types.ts +6 -6
- package/src/integrations/redis/README.md +48 -35
- package/src/integrations/redis/client.ts +32 -28
- package/src/integrations/redis/index.ts +2 -2
- package/src/integrations/redis/types.ts +4 -3
- package/src/integrations/redshift/README.md +26 -21
- package/src/integrations/redshift/client.ts +21 -16
- package/src/integrations/redshift/index.ts +2 -2
- package/src/integrations/redshift/types.ts +9 -4
- package/src/integrations/registry.test.ts +14 -10
- package/src/integrations/registry.ts +225 -154
- package/src/integrations/s3/README.md +23 -18
- package/src/integrations/s3/client.ts +26 -27
- package/src/integrations/s3/index.ts +2 -2
- package/src/integrations/s3/types.ts +11 -15
- package/src/integrations/salesforce/README.md +35 -30
- package/src/integrations/salesforce/client.ts +27 -30
- package/src/integrations/salesforce/index.ts +6 -2
- package/src/integrations/salesforce/types.ts +23 -18
- package/src/integrations/segment/README.md +23 -22
- package/src/integrations/segment/client.ts +5 -3
- package/src/integrations/segment/index.ts +2 -2
- package/src/integrations/segment/types.ts +6 -4
- package/src/integrations/sendgrid/README.md +27 -24
- package/src/integrations/sendgrid/client.ts +5 -3
- package/src/integrations/sendgrid/index.ts +2 -2
- package/src/integrations/sendgrid/types.ts +6 -4
- package/src/integrations/slack/README.md +29 -28
- package/src/integrations/slack/client.ts +3 -1
- package/src/integrations/slack/index.ts +2 -2
- package/src/integrations/slack/types.ts +6 -12
- package/src/integrations/smtp/client.ts +11 -11
- package/src/integrations/smtp/index.ts +2 -2
- package/src/integrations/smtp/types.ts +1 -1
- package/src/integrations/snowflake/README.md +35 -37
- package/src/integrations/snowflake/client.ts +2 -1
- package/src/integrations/snowflake/index.ts +2 -2
- package/src/integrations/snowflake/types.ts +9 -4
- package/src/integrations/snowflakecortex/client.ts +5 -3
- package/src/integrations/snowflakecortex/index.ts +2 -2
- package/src/integrations/snowflakecortex/types.ts +9 -3
- package/src/integrations/snowflakepostgres/client.ts +2 -2
- package/src/integrations/snowflakepostgres/index.ts +2 -2
- package/src/integrations/snowflakepostgres/types.ts +7 -3
- package/src/integrations/stabilityai/README.md +34 -39
- package/src/integrations/stabilityai/client.ts +5 -3
- package/src/integrations/stabilityai/index.ts +2 -2
- package/src/integrations/stabilityai/types.ts +6 -4
- package/src/integrations/stripe/README.md +34 -33
- package/src/integrations/stripe/client.ts +5 -3
- package/src/integrations/stripe/index.ts +2 -2
- package/src/integrations/stripe/types.ts +8 -6
- package/src/integrations/superblocks-ocr/README.md +35 -30
- package/src/integrations/superblocks-ocr/client.ts +3 -4
- package/src/integrations/superblocks-ocr/index.ts +2 -2
- package/src/integrations/superblocks-ocr/types.ts +6 -4
- package/src/integrations/twilio/README.md +26 -32
- package/src/integrations/twilio/client.ts +5 -3
- package/src/integrations/twilio/index.ts +2 -2
- package/src/integrations/twilio/types.ts +6 -4
- package/src/integrations/types.ts +1 -1
- package/src/integrations/utils.ts +5 -5
- package/src/integrations/zendesk/README.md +29 -28
- package/src/integrations/zendesk/client.ts +5 -3
- package/src/integrations/zendesk/index.ts +2 -2
- package/src/integrations/zendesk/types.ts +6 -4
- package/src/integrations/zoom/README.md +40 -41
- package/src/integrations/zoom/client.ts +5 -3
- package/src/integrations/zoom/index.ts +2 -2
- package/src/integrations/zoom/types.ts +5 -4
- package/src/runtime/context.ts +25 -10
- package/src/runtime/errors.ts +17 -13
- package/src/runtime/execute.ts +10 -11
- package/src/runtime/executor.ts +9 -9
- package/src/runtime/index.ts +9 -6
- package/src/runtime/logger.ts +11 -7
- package/src/runtime/streaming-context.ts +23 -9
- package/src/runtime/streaming-executor.ts +15 -9
- package/src/types.ts +23 -6
|
@@ -31,70 +31,70 @@
|
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
33
|
|
|
34
|
-
import type { PostgresClient } from
|
|
35
|
-
import type { SlackClient } from
|
|
36
|
-
import type { OpenAIClient } from
|
|
37
|
-
import type { AnthropicClient } from
|
|
38
|
-
import type { StripeClient } from
|
|
39
|
-
import type { GitHubClient } from
|
|
40
|
-
import type { NotionClient } from
|
|
41
|
-
import type { SnowflakeClient } from
|
|
42
|
-
import type { SnowflakeCortexClient } from
|
|
43
|
-
import type { AirtableClient } from
|
|
44
|
-
import type { AsanaClient } from
|
|
45
|
-
import type { BitbucketClient } from
|
|
46
|
-
import type { BoxClient } from
|
|
47
|
-
import type { CircleCIClient } from
|
|
48
|
-
import type { CohereClient } from
|
|
49
|
-
import type { ConfluenceClient } from
|
|
50
|
-
import type { DatadogClient } from
|
|
51
|
-
import type { DropboxClient } from
|
|
52
|
-
import type { ElasticSearchClient } from
|
|
53
|
-
import type { FireworksClient } from
|
|
54
|
-
import type { FrontClient } from
|
|
55
|
-
import type { GeminiClient } from
|
|
56
|
-
import type { GoogleAnalyticsClient } from
|
|
57
|
-
import type { GoogleDriveClient } from
|
|
58
|
-
import type { GroqClient } from
|
|
59
|
-
import type { HubSpotClient } from
|
|
60
|
-
import type { IntercomClient } from
|
|
61
|
-
import type { JiraClient } from
|
|
62
|
-
import type { LaunchDarklyClient } from
|
|
63
|
-
import type { MistralClient } from
|
|
64
|
-
import type { PagerDutyClient } from
|
|
65
|
-
import type { PerplexityClient } from
|
|
66
|
-
import type { SegmentClient } from
|
|
67
|
-
import type { SendGridClient } from
|
|
68
|
-
import type { StabilityAIClient } from
|
|
69
|
-
import type { TwilioClient } from
|
|
70
|
-
import type { ZendeskClient } from
|
|
71
|
-
import type { ZoomClient } from
|
|
72
|
-
import type { GraphQLClient } from
|
|
73
|
-
import type { MySQLClient } from
|
|
74
|
-
import type { MariaDBClient } from
|
|
75
|
-
import type { MSSQLClient } from
|
|
76
|
-
import type { CockroachDBClient } from
|
|
77
|
-
import type { OracleDBClient } from
|
|
78
|
-
import type { RedshiftClient } from
|
|
79
|
-
import type { AthenaClient } from
|
|
80
|
-
import type { DatabricksClient } from
|
|
81
|
-
import type { BigQueryClient } from
|
|
82
|
-
import type { MongoDBClient } from
|
|
83
|
-
import type { DynamoDBClient } from
|
|
84
|
-
import type { CosmosDBClient } from
|
|
85
|
-
import type { CouchbaseClient } from
|
|
86
|
-
import type { S3Client } from
|
|
87
|
-
import type { GCSClient } from
|
|
88
|
-
import type { GoogleSheetsClient } from
|
|
89
|
-
import type { KafkaClient } from
|
|
90
|
-
import type { KinesisClient } from
|
|
91
|
-
import type { SalesforceClient } from
|
|
92
|
-
import type { RedisClient } from
|
|
93
|
-
import type { SuperblocksOCRClient } from
|
|
94
|
-
import type { LakebaseClient } from
|
|
95
|
-
import type { SnowflakePostgresClient } from
|
|
96
|
-
import type { SmtpClient } from
|
|
97
|
-
import type { PythonClient } from
|
|
34
|
+
import type { PostgresClient } from "./postgres/index.js";
|
|
35
|
+
import type { SlackClient } from "./slack/index.js";
|
|
36
|
+
import type { OpenAIClient } from "./openai_v2/index.js";
|
|
37
|
+
import type { AnthropicClient } from "./anthropic/index.js";
|
|
38
|
+
import type { StripeClient } from "./stripe/index.js";
|
|
39
|
+
import type { GitHubClient } from "./github/index.js";
|
|
40
|
+
import type { NotionClient } from "./notion/index.js";
|
|
41
|
+
import type { SnowflakeClient } from "./snowflake/index.js";
|
|
42
|
+
import type { SnowflakeCortexClient } from "./snowflakecortex/index.js";
|
|
43
|
+
import type { AirtableClient } from "./airtable/index.js";
|
|
44
|
+
import type { AsanaClient } from "./asana/index.js";
|
|
45
|
+
import type { BitbucketClient } from "./bitbucket/index.js";
|
|
46
|
+
import type { BoxClient } from "./box/index.js";
|
|
47
|
+
import type { CircleCIClient } from "./circleci/index.js";
|
|
48
|
+
import type { CohereClient } from "./cohere/index.js";
|
|
49
|
+
import type { ConfluenceClient } from "./confluence/index.js";
|
|
50
|
+
import type { DatadogClient } from "./datadog/index.js";
|
|
51
|
+
import type { DropboxClient } from "./dropbox/index.js";
|
|
52
|
+
import type { ElasticSearchClient } from "./elasticsearch/index.js";
|
|
53
|
+
import type { FireworksClient } from "./fireworks/index.js";
|
|
54
|
+
import type { FrontClient } from "./front/index.js";
|
|
55
|
+
import type { GeminiClient } from "./gemini/index.js";
|
|
56
|
+
import type { GoogleAnalyticsClient } from "./googleanalytics/index.js";
|
|
57
|
+
import type { GoogleDriveClient } from "./googledrive/index.js";
|
|
58
|
+
import type { GroqClient } from "./groq/index.js";
|
|
59
|
+
import type { HubSpotClient } from "./hubspot/index.js";
|
|
60
|
+
import type { IntercomClient } from "./intercom/index.js";
|
|
61
|
+
import type { JiraClient } from "./jira/index.js";
|
|
62
|
+
import type { LaunchDarklyClient } from "./launchdarkly/index.js";
|
|
63
|
+
import type { MistralClient } from "./mistral/index.js";
|
|
64
|
+
import type { PagerDutyClient } from "./pagerduty/index.js";
|
|
65
|
+
import type { PerplexityClient } from "./perplexity/index.js";
|
|
66
|
+
import type { SegmentClient } from "./segment/index.js";
|
|
67
|
+
import type { SendGridClient } from "./sendgrid/index.js";
|
|
68
|
+
import type { StabilityAIClient } from "./stabilityai/index.js";
|
|
69
|
+
import type { TwilioClient } from "./twilio/index.js";
|
|
70
|
+
import type { ZendeskClient } from "./zendesk/index.js";
|
|
71
|
+
import type { ZoomClient } from "./zoom/index.js";
|
|
72
|
+
import type { GraphQLClient } from "./graphql/index.js";
|
|
73
|
+
import type { MySQLClient } from "./mysql/index.js";
|
|
74
|
+
import type { MariaDBClient } from "./mariadb/index.js";
|
|
75
|
+
import type { MSSQLClient } from "./mssql/index.js";
|
|
76
|
+
import type { CockroachDBClient } from "./cockroachdb/index.js";
|
|
77
|
+
import type { OracleDBClient } from "./oracledb/index.js";
|
|
78
|
+
import type { RedshiftClient } from "./redshift/index.js";
|
|
79
|
+
import type { AthenaClient } from "./athena/index.js";
|
|
80
|
+
import type { DatabricksClient } from "./databricks/index.js";
|
|
81
|
+
import type { BigQueryClient } from "./bigquery/index.js";
|
|
82
|
+
import type { MongoDBClient } from "./mongodb/index.js";
|
|
83
|
+
import type { DynamoDBClient } from "./dynamodb/index.js";
|
|
84
|
+
import type { CosmosDBClient } from "./cosmosdb/index.js";
|
|
85
|
+
import type { CouchbaseClient } from "./couchbase/index.js";
|
|
86
|
+
import type { S3Client } from "./s3/index.js";
|
|
87
|
+
import type { GCSClient } from "./gcs/index.js";
|
|
88
|
+
import type { GoogleSheetsClient } from "./gsheets/index.js";
|
|
89
|
+
import type { KafkaClient } from "./kafka/index.js";
|
|
90
|
+
import type { KinesisClient } from "./kinesis/index.js";
|
|
91
|
+
import type { SalesforceClient } from "./salesforce/index.js";
|
|
92
|
+
import type { RedisClient } from "./redis/index.js";
|
|
93
|
+
import type { SuperblocksOCRClient } from "./superblocks-ocr/index.js";
|
|
94
|
+
import type { LakebaseClient } from "./lakebase/index.js";
|
|
95
|
+
import type { SnowflakePostgresClient } from "./snowflakepostgres/index.js";
|
|
96
|
+
import type { SmtpClient } from "./smtp/index.js";
|
|
97
|
+
import type { PythonClient } from "./python/index.js";
|
|
98
98
|
|
|
99
99
|
// -----------------------------------------------------------------------------
|
|
100
100
|
// Base Types
|
|
@@ -142,202 +142,220 @@ function createRef<TPluginId extends string, TClient>(
|
|
|
142
142
|
// -----------------------------------------------------------------------------
|
|
143
143
|
|
|
144
144
|
/** Reference to a PostgreSQL integration */
|
|
145
|
-
export type PostgresRef = IntegrationRef<
|
|
145
|
+
export type PostgresRef = IntegrationRef<"postgres", PostgresClient>;
|
|
146
146
|
|
|
147
147
|
/** Reference to a Slack integration */
|
|
148
|
-
export type SlackRef = IntegrationRef<
|
|
148
|
+
export type SlackRef = IntegrationRef<"slack", SlackClient>;
|
|
149
149
|
|
|
150
150
|
/** Reference to an OpenAI integration */
|
|
151
|
-
export type OpenAIRef = IntegrationRef<
|
|
151
|
+
export type OpenAIRef = IntegrationRef<"openai_v2", OpenAIClient>;
|
|
152
152
|
|
|
153
153
|
/** Reference to an Anthropic integration */
|
|
154
|
-
export type AnthropicRef = IntegrationRef<
|
|
154
|
+
export type AnthropicRef = IntegrationRef<"anthropic", AnthropicClient>;
|
|
155
155
|
|
|
156
156
|
/** Reference to a Stripe integration */
|
|
157
|
-
export type StripeRef = IntegrationRef<
|
|
157
|
+
export type StripeRef = IntegrationRef<"stripe", StripeClient>;
|
|
158
158
|
|
|
159
159
|
/** Reference to a GitHub integration */
|
|
160
|
-
export type GitHubRef = IntegrationRef<
|
|
160
|
+
export type GitHubRef = IntegrationRef<"github", GitHubClient>;
|
|
161
161
|
|
|
162
162
|
/** Reference to a Notion integration */
|
|
163
|
-
export type NotionRef = IntegrationRef<
|
|
163
|
+
export type NotionRef = IntegrationRef<"notion", NotionClient>;
|
|
164
164
|
|
|
165
165
|
/** Reference to a Snowflake integration */
|
|
166
|
-
export type SnowflakeRef = IntegrationRef<
|
|
166
|
+
export type SnowflakeRef = IntegrationRef<"snowflake", SnowflakeClient>;
|
|
167
167
|
|
|
168
168
|
/** Reference to a Snowflake Cortex integration */
|
|
169
|
-
export type SnowflakeCortexRef = IntegrationRef<
|
|
169
|
+
export type SnowflakeCortexRef = IntegrationRef<
|
|
170
|
+
"snowflakecortex",
|
|
171
|
+
SnowflakeCortexClient
|
|
172
|
+
>;
|
|
170
173
|
|
|
171
174
|
/** Reference to an Airtable integration */
|
|
172
|
-
export type AirtableRef = IntegrationRef<
|
|
175
|
+
export type AirtableRef = IntegrationRef<"airtable", AirtableClient>;
|
|
173
176
|
|
|
174
177
|
/** Reference to an Asana integration */
|
|
175
|
-
export type AsanaRef = IntegrationRef<
|
|
178
|
+
export type AsanaRef = IntegrationRef<"asana", AsanaClient>;
|
|
176
179
|
|
|
177
180
|
/** Reference to a Bitbucket integration */
|
|
178
|
-
export type BitbucketRef = IntegrationRef<
|
|
181
|
+
export type BitbucketRef = IntegrationRef<"bitbucket", BitbucketClient>;
|
|
179
182
|
|
|
180
183
|
/** Reference to a Box integration */
|
|
181
|
-
export type BoxRef = IntegrationRef<
|
|
184
|
+
export type BoxRef = IntegrationRef<"box", BoxClient>;
|
|
182
185
|
|
|
183
186
|
/** Reference to a CircleCI integration */
|
|
184
|
-
export type CircleCIRef = IntegrationRef<
|
|
187
|
+
export type CircleCIRef = IntegrationRef<"circleci", CircleCIClient>;
|
|
185
188
|
|
|
186
189
|
/** Reference to a Cohere integration */
|
|
187
|
-
export type CohereRef = IntegrationRef<
|
|
190
|
+
export type CohereRef = IntegrationRef<"cohere", CohereClient>;
|
|
188
191
|
|
|
189
192
|
/** Reference to a Confluence integration */
|
|
190
|
-
export type ConfluenceRef = IntegrationRef<
|
|
193
|
+
export type ConfluenceRef = IntegrationRef<"confluence", ConfluenceClient>;
|
|
191
194
|
|
|
192
195
|
/** Reference to a Datadog integration */
|
|
193
|
-
export type DatadogRef = IntegrationRef<
|
|
196
|
+
export type DatadogRef = IntegrationRef<"datadog", DatadogClient>;
|
|
194
197
|
|
|
195
198
|
/** Reference to a Dropbox integration */
|
|
196
|
-
export type DropboxRef = IntegrationRef<
|
|
199
|
+
export type DropboxRef = IntegrationRef<"dropbox", DropboxClient>;
|
|
197
200
|
|
|
198
201
|
/** Reference to an ElasticSearch integration */
|
|
199
|
-
export type ElasticSearchRef = IntegrationRef<
|
|
202
|
+
export type ElasticSearchRef = IntegrationRef<
|
|
203
|
+
"elasticsearch",
|
|
204
|
+
ElasticSearchClient
|
|
205
|
+
>;
|
|
200
206
|
|
|
201
207
|
/** Reference to a Fireworks integration */
|
|
202
|
-
export type FireworksRef = IntegrationRef<
|
|
208
|
+
export type FireworksRef = IntegrationRef<"fireworks", FireworksClient>;
|
|
203
209
|
|
|
204
210
|
/** Reference to a Front integration */
|
|
205
|
-
export type FrontRef = IntegrationRef<
|
|
211
|
+
export type FrontRef = IntegrationRef<"front", FrontClient>;
|
|
206
212
|
|
|
207
213
|
/** Reference to a Gemini integration */
|
|
208
|
-
export type GeminiRef = IntegrationRef<
|
|
214
|
+
export type GeminiRef = IntegrationRef<"gemini", GeminiClient>;
|
|
209
215
|
|
|
210
216
|
/** Reference to a Google Analytics integration */
|
|
211
|
-
export type GoogleAnalyticsRef = IntegrationRef<
|
|
217
|
+
export type GoogleAnalyticsRef = IntegrationRef<
|
|
218
|
+
"googleanalytics",
|
|
219
|
+
GoogleAnalyticsClient
|
|
220
|
+
>;
|
|
212
221
|
|
|
213
222
|
/** Reference to a Google Drive integration */
|
|
214
|
-
export type GoogleDriveRef = IntegrationRef<
|
|
223
|
+
export type GoogleDriveRef = IntegrationRef<"googledrive", GoogleDriveClient>;
|
|
215
224
|
|
|
216
225
|
/** Reference to a Groq integration */
|
|
217
|
-
export type GroqRef = IntegrationRef<
|
|
226
|
+
export type GroqRef = IntegrationRef<"groq", GroqClient>;
|
|
218
227
|
|
|
219
228
|
/** Reference to a HubSpot integration */
|
|
220
|
-
export type HubSpotRef = IntegrationRef<
|
|
229
|
+
export type HubSpotRef = IntegrationRef<"hubspot", HubSpotClient>;
|
|
221
230
|
|
|
222
231
|
/** Reference to an Intercom integration */
|
|
223
|
-
export type IntercomRef = IntegrationRef<
|
|
232
|
+
export type IntercomRef = IntegrationRef<"intercom", IntercomClient>;
|
|
224
233
|
|
|
225
234
|
/** Reference to a Jira integration */
|
|
226
|
-
export type JiraRef = IntegrationRef<
|
|
235
|
+
export type JiraRef = IntegrationRef<"jira", JiraClient>;
|
|
227
236
|
|
|
228
237
|
/** Reference to a LaunchDarkly integration */
|
|
229
|
-
export type LaunchDarklyRef = IntegrationRef<
|
|
238
|
+
export type LaunchDarklyRef = IntegrationRef<
|
|
239
|
+
"launchdarkly",
|
|
240
|
+
LaunchDarklyClient
|
|
241
|
+
>;
|
|
230
242
|
|
|
231
243
|
/** Reference to a Mistral integration */
|
|
232
|
-
export type MistralRef = IntegrationRef<
|
|
244
|
+
export type MistralRef = IntegrationRef<"mistral", MistralClient>;
|
|
233
245
|
|
|
234
246
|
/** Reference to a PagerDuty integration */
|
|
235
|
-
export type PagerDutyRef = IntegrationRef<
|
|
247
|
+
export type PagerDutyRef = IntegrationRef<"pagerduty", PagerDutyClient>;
|
|
236
248
|
|
|
237
249
|
/** Reference to a Perplexity integration */
|
|
238
|
-
export type PerplexityRef = IntegrationRef<
|
|
250
|
+
export type PerplexityRef = IntegrationRef<"perplexity", PerplexityClient>;
|
|
239
251
|
|
|
240
252
|
/** Reference to a Segment integration */
|
|
241
|
-
export type SegmentRef = IntegrationRef<
|
|
253
|
+
export type SegmentRef = IntegrationRef<"segment", SegmentClient>;
|
|
242
254
|
|
|
243
255
|
/** Reference to a SendGrid integration */
|
|
244
|
-
export type SendGridRef = IntegrationRef<
|
|
256
|
+
export type SendGridRef = IntegrationRef<"sendgrid", SendGridClient>;
|
|
245
257
|
|
|
246
258
|
/** Reference to a StabilityAI integration */
|
|
247
|
-
export type StabilityAIRef = IntegrationRef<
|
|
259
|
+
export type StabilityAIRef = IntegrationRef<"stabilityai", StabilityAIClient>;
|
|
248
260
|
|
|
249
261
|
/** Reference to a Twilio integration */
|
|
250
|
-
export type TwilioRef = IntegrationRef<
|
|
262
|
+
export type TwilioRef = IntegrationRef<"twilio", TwilioClient>;
|
|
251
263
|
|
|
252
264
|
/** Reference to a Zendesk integration */
|
|
253
|
-
export type ZendeskRef = IntegrationRef<
|
|
265
|
+
export type ZendeskRef = IntegrationRef<"zendesk", ZendeskClient>;
|
|
254
266
|
|
|
255
267
|
/** Reference to a Zoom integration */
|
|
256
|
-
export type ZoomRef = IntegrationRef<
|
|
268
|
+
export type ZoomRef = IntegrationRef<"zoom", ZoomClient>;
|
|
257
269
|
|
|
258
270
|
/** Reference to a GraphQL integration */
|
|
259
|
-
export type GraphQLRef = IntegrationRef<
|
|
271
|
+
export type GraphQLRef = IntegrationRef<"graphqlintegration", GraphQLClient>;
|
|
260
272
|
|
|
261
273
|
/** Reference to a MySQL integration */
|
|
262
|
-
export type MySQLRef = IntegrationRef<
|
|
274
|
+
export type MySQLRef = IntegrationRef<"mysql", MySQLClient>;
|
|
263
275
|
|
|
264
276
|
/** Reference to a MariaDB integration */
|
|
265
|
-
export type MariaDBRef = IntegrationRef<
|
|
277
|
+
export type MariaDBRef = IntegrationRef<"mariadb", MariaDBClient>;
|
|
266
278
|
|
|
267
279
|
/** Reference to a MSSQL integration */
|
|
268
|
-
export type MSSQLRef = IntegrationRef<
|
|
280
|
+
export type MSSQLRef = IntegrationRef<"mssql", MSSQLClient>;
|
|
269
281
|
|
|
270
282
|
/** Reference to a CockroachDB integration */
|
|
271
|
-
export type CockroachDBRef = IntegrationRef<
|
|
283
|
+
export type CockroachDBRef = IntegrationRef<"cockroachdb", CockroachDBClient>;
|
|
272
284
|
|
|
273
285
|
/** Reference to an OracleDB integration */
|
|
274
|
-
export type OracleDBRef = IntegrationRef<
|
|
286
|
+
export type OracleDBRef = IntegrationRef<"oracledb", OracleDBClient>;
|
|
275
287
|
|
|
276
288
|
/** Reference to a Redshift integration */
|
|
277
|
-
export type RedshiftRef = IntegrationRef<
|
|
289
|
+
export type RedshiftRef = IntegrationRef<"redshift", RedshiftClient>;
|
|
278
290
|
|
|
279
291
|
/** Reference to an Athena integration */
|
|
280
|
-
export type AthenaRef = IntegrationRef<
|
|
292
|
+
export type AthenaRef = IntegrationRef<"athena", AthenaClient>;
|
|
281
293
|
|
|
282
294
|
/** Reference to a Databricks integration */
|
|
283
|
-
export type DatabricksRef = IntegrationRef<
|
|
295
|
+
export type DatabricksRef = IntegrationRef<"databricks", DatabricksClient>;
|
|
284
296
|
|
|
285
297
|
/** Reference to a BigQuery integration */
|
|
286
|
-
export type BigQueryRef = IntegrationRef<
|
|
298
|
+
export type BigQueryRef = IntegrationRef<"bigquery", BigQueryClient>;
|
|
287
299
|
|
|
288
300
|
/** Reference to a MongoDB integration */
|
|
289
|
-
export type MongoDBRef = IntegrationRef<
|
|
301
|
+
export type MongoDBRef = IntegrationRef<"mongodb", MongoDBClient>;
|
|
290
302
|
|
|
291
303
|
/** Reference to a DynamoDB integration */
|
|
292
|
-
export type DynamoDBRef = IntegrationRef<
|
|
304
|
+
export type DynamoDBRef = IntegrationRef<"dynamodb", DynamoDBClient>;
|
|
293
305
|
|
|
294
306
|
/** Reference to a CosmosDB integration */
|
|
295
|
-
export type CosmosDBRef = IntegrationRef<
|
|
307
|
+
export type CosmosDBRef = IntegrationRef<"cosmosdb", CosmosDBClient>;
|
|
296
308
|
|
|
297
309
|
/** Reference to a Couchbase integration */
|
|
298
|
-
export type CouchbaseRef = IntegrationRef<
|
|
310
|
+
export type CouchbaseRef = IntegrationRef<"couchbase", CouchbaseClient>;
|
|
299
311
|
|
|
300
312
|
/** Reference to an S3 integration */
|
|
301
|
-
export type S3Ref = IntegrationRef<
|
|
313
|
+
export type S3Ref = IntegrationRef<"s3", S3Client>;
|
|
302
314
|
|
|
303
315
|
/** Reference to a GCS integration */
|
|
304
|
-
export type GCSRef = IntegrationRef<
|
|
316
|
+
export type GCSRef = IntegrationRef<"gcs", GCSClient>;
|
|
305
317
|
|
|
306
318
|
/** Reference to a Google Sheets integration */
|
|
307
|
-
export type GoogleSheetsRef = IntegrationRef<
|
|
319
|
+
export type GoogleSheetsRef = IntegrationRef<"gsheets", GoogleSheetsClient>;
|
|
308
320
|
|
|
309
321
|
/** Reference to a Kafka integration */
|
|
310
|
-
export type KafkaRef = IntegrationRef<
|
|
322
|
+
export type KafkaRef = IntegrationRef<"kafka", KafkaClient>;
|
|
311
323
|
|
|
312
324
|
/** Reference to a Kinesis integration */
|
|
313
|
-
export type KinesisRef = IntegrationRef<
|
|
325
|
+
export type KinesisRef = IntegrationRef<"kinesis", KinesisClient>;
|
|
314
326
|
|
|
315
327
|
/** Reference to a Salesforce integration */
|
|
316
|
-
export type SalesforceRef = IntegrationRef<
|
|
328
|
+
export type SalesforceRef = IntegrationRef<"salesforce", SalesforceClient>;
|
|
317
329
|
|
|
318
330
|
/** Reference to a Redis integration */
|
|
319
|
-
export type RedisRef = IntegrationRef<
|
|
331
|
+
export type RedisRef = IntegrationRef<"redis", RedisClient>;
|
|
320
332
|
|
|
321
333
|
/** Reference to a Superblocks OCR integration */
|
|
322
|
-
export type SuperblocksOCRRef = IntegrationRef<
|
|
334
|
+
export type SuperblocksOCRRef = IntegrationRef<
|
|
335
|
+
"superblocks-ocr",
|
|
336
|
+
SuperblocksOCRClient
|
|
337
|
+
>;
|
|
323
338
|
|
|
324
339
|
/** Reference to a Python integration */
|
|
325
|
-
export type PythonRef = IntegrationRef<
|
|
340
|
+
export type PythonRef = IntegrationRef<"python", PythonClient>;
|
|
326
341
|
|
|
327
342
|
/** Reference to a Confluent integration (Kafka-compatible) */
|
|
328
|
-
export type ConfluentRef = IntegrationRef<
|
|
343
|
+
export type ConfluentRef = IntegrationRef<"confluent", KafkaClient>;
|
|
329
344
|
|
|
330
345
|
/** Reference to a Redpanda integration (Kafka-compatible) */
|
|
331
|
-
export type RedpandaRef = IntegrationRef<
|
|
346
|
+
export type RedpandaRef = IntegrationRef<"redpanda", KafkaClient>;
|
|
332
347
|
|
|
333
348
|
/** Reference to a Lakebase integration */
|
|
334
|
-
export type LakebaseRef = IntegrationRef<
|
|
349
|
+
export type LakebaseRef = IntegrationRef<"lakebase", LakebaseClient>;
|
|
335
350
|
|
|
336
351
|
/** Reference to a Snowflake Postgres integration */
|
|
337
|
-
export type SnowflakePostgresRef = IntegrationRef<
|
|
352
|
+
export type SnowflakePostgresRef = IntegrationRef<
|
|
353
|
+
"snowflakepostgres",
|
|
354
|
+
SnowflakePostgresClient
|
|
355
|
+
>;
|
|
338
356
|
|
|
339
357
|
/** Reference to an SMTP integration */
|
|
340
|
-
export type SmtpRef = IntegrationRef<
|
|
358
|
+
export type SmtpRef = IntegrationRef<"smtp", SmtpClient>;
|
|
341
359
|
|
|
342
360
|
// -----------------------------------------------------------------------------
|
|
343
361
|
// Declaration Functions
|
|
@@ -373,7 +391,7 @@ export type SmtpRef = IntegrationRef<'smtp', SmtpClient>;
|
|
|
373
391
|
* ```
|
|
374
392
|
*/
|
|
375
393
|
export function postgres(id: string): PostgresRef {
|
|
376
|
-
return createRef<
|
|
394
|
+
return createRef<"postgres", PostgresClient>("postgres", id);
|
|
377
395
|
}
|
|
378
396
|
|
|
379
397
|
/**
|
|
@@ -405,7 +423,7 @@ export function postgres(id: string): PostgresRef {
|
|
|
405
423
|
* ```
|
|
406
424
|
*/
|
|
407
425
|
export function slack(id: string): SlackRef {
|
|
408
|
-
return createRef<
|
|
426
|
+
return createRef<"slack", SlackClient>("slack", id);
|
|
409
427
|
}
|
|
410
428
|
|
|
411
429
|
/**
|
|
@@ -415,7 +433,7 @@ export function slack(id: string): SlackRef {
|
|
|
415
433
|
* @returns An integration reference for use in the API config
|
|
416
434
|
*/
|
|
417
435
|
export function openai(id: string): OpenAIRef {
|
|
418
|
-
return createRef<
|
|
436
|
+
return createRef<"openai_v2", OpenAIClient>("openai_v2", id);
|
|
419
437
|
}
|
|
420
438
|
|
|
421
439
|
/**
|
|
@@ -425,7 +443,7 @@ export function openai(id: string): OpenAIRef {
|
|
|
425
443
|
* @returns An integration reference for use in the API config
|
|
426
444
|
*/
|
|
427
445
|
export function anthropic(id: string): AnthropicRef {
|
|
428
|
-
return createRef<
|
|
446
|
+
return createRef<"anthropic", AnthropicClient>("anthropic", id);
|
|
429
447
|
}
|
|
430
448
|
|
|
431
449
|
/**
|
|
@@ -435,7 +453,7 @@ export function anthropic(id: string): AnthropicRef {
|
|
|
435
453
|
* @returns An integration reference for use in the API config
|
|
436
454
|
*/
|
|
437
455
|
export function stripe(id: string): StripeRef {
|
|
438
|
-
return createRef<
|
|
456
|
+
return createRef<"stripe", StripeClient>("stripe", id);
|
|
439
457
|
}
|
|
440
458
|
|
|
441
459
|
/**
|
|
@@ -445,7 +463,7 @@ export function stripe(id: string): StripeRef {
|
|
|
445
463
|
* @returns An integration reference for use in the API config
|
|
446
464
|
*/
|
|
447
465
|
export function github(id: string): GitHubRef {
|
|
448
|
-
return createRef<
|
|
466
|
+
return createRef<"github", GitHubClient>("github", id);
|
|
449
467
|
}
|
|
450
468
|
|
|
451
469
|
/**
|
|
@@ -455,7 +473,7 @@ export function github(id: string): GitHubRef {
|
|
|
455
473
|
* @returns An integration reference for use in the API config
|
|
456
474
|
*/
|
|
457
475
|
export function notion(id: string): NotionRef {
|
|
458
|
-
return createRef<
|
|
476
|
+
return createRef<"notion", NotionClient>("notion", id);
|
|
459
477
|
}
|
|
460
478
|
|
|
461
479
|
/**
|
|
@@ -465,7 +483,7 @@ export function notion(id: string): NotionRef {
|
|
|
465
483
|
* @returns An integration reference for use in the API config
|
|
466
484
|
*/
|
|
467
485
|
export function snowflake(id: string): SnowflakeRef {
|
|
468
|
-
return createRef<
|
|
486
|
+
return createRef<"snowflake", SnowflakeClient>("snowflake", id);
|
|
469
487
|
}
|
|
470
488
|
|
|
471
489
|
/**
|
|
@@ -475,7 +493,10 @@ export function snowflake(id: string): SnowflakeRef {
|
|
|
475
493
|
* @returns An integration reference for use in the API config
|
|
476
494
|
*/
|
|
477
495
|
export function snowflakeCortex(id: string): SnowflakeCortexRef {
|
|
478
|
-
return createRef<
|
|
496
|
+
return createRef<"snowflakecortex", SnowflakeCortexClient>(
|
|
497
|
+
"snowflakecortex",
|
|
498
|
+
id,
|
|
499
|
+
);
|
|
479
500
|
}
|
|
480
501
|
|
|
481
502
|
/**
|
|
@@ -485,7 +506,7 @@ export function snowflakeCortex(id: string): SnowflakeCortexRef {
|
|
|
485
506
|
* @returns An integration reference for use in the API config
|
|
486
507
|
*/
|
|
487
508
|
export function airtable(id: string): AirtableRef {
|
|
488
|
-
return createRef<
|
|
509
|
+
return createRef<"airtable", AirtableClient>("airtable", id);
|
|
489
510
|
}
|
|
490
511
|
|
|
491
512
|
/**
|
|
@@ -495,7 +516,7 @@ export function airtable(id: string): AirtableRef {
|
|
|
495
516
|
* @returns An integration reference for use in the API config
|
|
496
517
|
*/
|
|
497
518
|
export function asana(id: string): AsanaRef {
|
|
498
|
-
return createRef<
|
|
519
|
+
return createRef<"asana", AsanaClient>("asana", id);
|
|
499
520
|
}
|
|
500
521
|
|
|
501
522
|
/**
|
|
@@ -505,7 +526,7 @@ export function asana(id: string): AsanaRef {
|
|
|
505
526
|
* @returns An integration reference for use in the API config
|
|
506
527
|
*/
|
|
507
528
|
export function bitbucket(id: string): BitbucketRef {
|
|
508
|
-
return createRef<
|
|
529
|
+
return createRef<"bitbucket", BitbucketClient>("bitbucket", id);
|
|
509
530
|
}
|
|
510
531
|
|
|
511
532
|
/**
|
|
@@ -515,7 +536,7 @@ export function bitbucket(id: string): BitbucketRef {
|
|
|
515
536
|
* @returns An integration reference for use in the API config
|
|
516
537
|
*/
|
|
517
538
|
export function box(id: string): BoxRef {
|
|
518
|
-
return createRef<
|
|
539
|
+
return createRef<"box", BoxClient>("box", id);
|
|
519
540
|
}
|
|
520
541
|
|
|
521
542
|
/**
|
|
@@ -525,7 +546,7 @@ export function box(id: string): BoxRef {
|
|
|
525
546
|
* @returns An integration reference for use in the API config
|
|
526
547
|
*/
|
|
527
548
|
export function circleci(id: string): CircleCIRef {
|
|
528
|
-
return createRef<
|
|
549
|
+
return createRef<"circleci", CircleCIClient>("circleci", id);
|
|
529
550
|
}
|
|
530
551
|
|
|
531
552
|
/**
|
|
@@ -535,7 +556,7 @@ export function circleci(id: string): CircleCIRef {
|
|
|
535
556
|
* @returns An integration reference for use in the API config
|
|
536
557
|
*/
|
|
537
558
|
export function cohere(id: string): CohereRef {
|
|
538
|
-
return createRef<
|
|
559
|
+
return createRef<"cohere", CohereClient>("cohere", id);
|
|
539
560
|
}
|
|
540
561
|
|
|
541
562
|
/**
|
|
@@ -545,7 +566,7 @@ export function cohere(id: string): CohereRef {
|
|
|
545
566
|
* @returns An integration reference for use in the API config
|
|
546
567
|
*/
|
|
547
568
|
export function confluence(id: string): ConfluenceRef {
|
|
548
|
-
return createRef<
|
|
569
|
+
return createRef<"confluence", ConfluenceClient>("confluence", id);
|
|
549
570
|
}
|
|
550
571
|
|
|
551
572
|
/**
|
|
@@ -555,7 +576,7 @@ export function confluence(id: string): ConfluenceRef {
|
|
|
555
576
|
* @returns An integration reference for use in the API config
|
|
556
577
|
*/
|
|
557
578
|
export function datadog(id: string): DatadogRef {
|
|
558
|
-
return createRef<
|
|
579
|
+
return createRef<"datadog", DatadogClient>("datadog", id);
|
|
559
580
|
}
|
|
560
581
|
|
|
561
582
|
/**
|
|
@@ -565,7 +586,7 @@ export function datadog(id: string): DatadogRef {
|
|
|
565
586
|
* @returns An integration reference for use in the API config
|
|
566
587
|
*/
|
|
567
588
|
export function dropbox(id: string): DropboxRef {
|
|
568
|
-
return createRef<
|
|
589
|
+
return createRef<"dropbox", DropboxClient>("dropbox", id);
|
|
569
590
|
}
|
|
570
591
|
|
|
571
592
|
/**
|
|
@@ -575,7 +596,7 @@ export function dropbox(id: string): DropboxRef {
|
|
|
575
596
|
* @returns An integration reference for use in the API config
|
|
576
597
|
*/
|
|
577
598
|
export function elasticsearch(id: string): ElasticSearchRef {
|
|
578
|
-
return createRef<
|
|
599
|
+
return createRef<"elasticsearch", ElasticSearchClient>("elasticsearch", id);
|
|
579
600
|
}
|
|
580
601
|
|
|
581
602
|
/**
|
|
@@ -585,7 +606,7 @@ export function elasticsearch(id: string): ElasticSearchRef {
|
|
|
585
606
|
* @returns An integration reference for use in the API config
|
|
586
607
|
*/
|
|
587
608
|
export function fireworks(id: string): FireworksRef {
|
|
588
|
-
return createRef<
|
|
609
|
+
return createRef<"fireworks", FireworksClient>("fireworks", id);
|
|
589
610
|
}
|
|
590
611
|
|
|
591
612
|
/**
|
|
@@ -595,7 +616,7 @@ export function fireworks(id: string): FireworksRef {
|
|
|
595
616
|
* @returns An integration reference for use in the API config
|
|
596
617
|
*/
|
|
597
618
|
export function front(id: string): FrontRef {
|
|
598
|
-
return createRef<
|
|
619
|
+
return createRef<"front", FrontClient>("front", id);
|
|
599
620
|
}
|
|
600
621
|
|
|
601
622
|
/**
|
|
@@ -605,7 +626,7 @@ export function front(id: string): FrontRef {
|
|
|
605
626
|
* @returns An integration reference for use in the API config
|
|
606
627
|
*/
|
|
607
628
|
export function gemini(id: string): GeminiRef {
|
|
608
|
-
return createRef<
|
|
629
|
+
return createRef<"gemini", GeminiClient>("gemini", id);
|
|
609
630
|
}
|
|
610
631
|
|
|
611
632
|
/**
|
|
@@ -615,7 +636,10 @@ export function gemini(id: string): GeminiRef {
|
|
|
615
636
|
* @returns An integration reference for use in the API config
|
|
616
637
|
*/
|
|
617
638
|
export function googleAnalytics(id: string): GoogleAnalyticsRef {
|
|
618
|
-
return createRef<
|
|
639
|
+
return createRef<"googleanalytics", GoogleAnalyticsClient>(
|
|
640
|
+
"googleanalytics",
|
|
641
|
+
id,
|
|
642
|
+
);
|
|
619
643
|
}
|
|
620
644
|
|
|
621
645
|
/**
|
|
@@ -625,7 +649,7 @@ export function googleAnalytics(id: string): GoogleAnalyticsRef {
|
|
|
625
649
|
* @returns An integration reference for use in the API config
|
|
626
650
|
*/
|
|
627
651
|
export function googleDrive(id: string): GoogleDriveRef {
|
|
628
|
-
return createRef<
|
|
652
|
+
return createRef<"googledrive", GoogleDriveClient>("googledrive", id);
|
|
629
653
|
}
|
|
630
654
|
|
|
631
655
|
/**
|
|
@@ -635,7 +659,7 @@ export function googleDrive(id: string): GoogleDriveRef {
|
|
|
635
659
|
* @returns An integration reference for use in the API config
|
|
636
660
|
*/
|
|
637
661
|
export function groq(id: string): GroqRef {
|
|
638
|
-
return createRef<
|
|
662
|
+
return createRef<"groq", GroqClient>("groq", id);
|
|
639
663
|
}
|
|
640
664
|
|
|
641
665
|
/**
|
|
@@ -645,7 +669,7 @@ export function groq(id: string): GroqRef {
|
|
|
645
669
|
* @returns An integration reference for use in the API config
|
|
646
670
|
*/
|
|
647
671
|
export function hubspot(id: string): HubSpotRef {
|
|
648
|
-
return createRef<
|
|
672
|
+
return createRef<"hubspot", HubSpotClient>("hubspot", id);
|
|
649
673
|
}
|
|
650
674
|
|
|
651
675
|
/**
|
|
@@ -655,7 +679,7 @@ export function hubspot(id: string): HubSpotRef {
|
|
|
655
679
|
* @returns An integration reference for use in the API config
|
|
656
680
|
*/
|
|
657
681
|
export function intercom(id: string): IntercomRef {
|
|
658
|
-
return createRef<
|
|
682
|
+
return createRef<"intercom", IntercomClient>("intercom", id);
|
|
659
683
|
}
|
|
660
684
|
|
|
661
685
|
/**
|
|
@@ -665,7 +689,7 @@ export function intercom(id: string): IntercomRef {
|
|
|
665
689
|
* @returns An integration reference for use in the API config
|
|
666
690
|
*/
|
|
667
691
|
export function jira(id: string): JiraRef {
|
|
668
|
-
return createRef<
|
|
692
|
+
return createRef<"jira", JiraClient>("jira", id);
|
|
669
693
|
}
|
|
670
694
|
|
|
671
695
|
/**
|
|
@@ -675,7 +699,7 @@ export function jira(id: string): JiraRef {
|
|
|
675
699
|
* @returns An integration reference for use in the API config
|
|
676
700
|
*/
|
|
677
701
|
export function launchDarkly(id: string): LaunchDarklyRef {
|
|
678
|
-
return createRef<
|
|
702
|
+
return createRef<"launchdarkly", LaunchDarklyClient>("launchdarkly", id);
|
|
679
703
|
}
|
|
680
704
|
|
|
681
705
|
/**
|
|
@@ -685,7 +709,7 @@ export function launchDarkly(id: string): LaunchDarklyRef {
|
|
|
685
709
|
* @returns An integration reference for use in the API config
|
|
686
710
|
*/
|
|
687
711
|
export function mistral(id: string): MistralRef {
|
|
688
|
-
return createRef<
|
|
712
|
+
return createRef<"mistral", MistralClient>("mistral", id);
|
|
689
713
|
}
|
|
690
714
|
|
|
691
715
|
/**
|
|
@@ -695,7 +719,7 @@ export function mistral(id: string): MistralRef {
|
|
|
695
719
|
* @returns An integration reference for use in the API config
|
|
696
720
|
*/
|
|
697
721
|
export function pagerDuty(id: string): PagerDutyRef {
|
|
698
|
-
return createRef<
|
|
722
|
+
return createRef<"pagerduty", PagerDutyClient>("pagerduty", id);
|
|
699
723
|
}
|
|
700
724
|
|
|
701
725
|
/**
|
|
@@ -705,7 +729,7 @@ export function pagerDuty(id: string): PagerDutyRef {
|
|
|
705
729
|
* @returns An integration reference for use in the API config
|
|
706
730
|
*/
|
|
707
731
|
export function perplexity(id: string): PerplexityRef {
|
|
708
|
-
return createRef<
|
|
732
|
+
return createRef<"perplexity", PerplexityClient>("perplexity", id);
|
|
709
733
|
}
|
|
710
734
|
|
|
711
735
|
/**
|
|
@@ -715,7 +739,7 @@ export function perplexity(id: string): PerplexityRef {
|
|
|
715
739
|
* @returns An integration reference for use in the API config
|
|
716
740
|
*/
|
|
717
741
|
export function segment(id: string): SegmentRef {
|
|
718
|
-
return createRef<
|
|
742
|
+
return createRef<"segment", SegmentClient>("segment", id);
|
|
719
743
|
}
|
|
720
744
|
|
|
721
745
|
/**
|
|
@@ -725,7 +749,7 @@ export function segment(id: string): SegmentRef {
|
|
|
725
749
|
* @returns An integration reference for use in the API config
|
|
726
750
|
*/
|
|
727
751
|
export function sendGrid(id: string): SendGridRef {
|
|
728
|
-
return createRef<
|
|
752
|
+
return createRef<"sendgrid", SendGridClient>("sendgrid", id);
|
|
729
753
|
}
|
|
730
754
|
|
|
731
755
|
/**
|
|
@@ -735,7 +759,7 @@ export function sendGrid(id: string): SendGridRef {
|
|
|
735
759
|
* @returns An integration reference for use in the API config
|
|
736
760
|
*/
|
|
737
761
|
export function stabilityAI(id: string): StabilityAIRef {
|
|
738
|
-
return createRef<
|
|
762
|
+
return createRef<"stabilityai", StabilityAIClient>("stabilityai", id);
|
|
739
763
|
}
|
|
740
764
|
|
|
741
765
|
/**
|
|
@@ -745,7 +769,7 @@ export function stabilityAI(id: string): StabilityAIRef {
|
|
|
745
769
|
* @returns An integration reference for use in the API config
|
|
746
770
|
*/
|
|
747
771
|
export function twilio(id: string): TwilioRef {
|
|
748
|
-
return createRef<
|
|
772
|
+
return createRef<"twilio", TwilioClient>("twilio", id);
|
|
749
773
|
}
|
|
750
774
|
|
|
751
775
|
/**
|
|
@@ -755,7 +779,7 @@ export function twilio(id: string): TwilioRef {
|
|
|
755
779
|
* @returns An integration reference for use in the API config
|
|
756
780
|
*/
|
|
757
781
|
export function zendesk(id: string): ZendeskRef {
|
|
758
|
-
return createRef<
|
|
782
|
+
return createRef<"zendesk", ZendeskClient>("zendesk", id);
|
|
759
783
|
}
|
|
760
784
|
|
|
761
785
|
/**
|
|
@@ -765,7 +789,7 @@ export function zendesk(id: string): ZendeskRef {
|
|
|
765
789
|
* @returns An integration reference for use in the API config
|
|
766
790
|
*/
|
|
767
791
|
export function zoom(id: string): ZoomRef {
|
|
768
|
-
return createRef<
|
|
792
|
+
return createRef<"zoom", ZoomClient>("zoom", id);
|
|
769
793
|
}
|
|
770
794
|
|
|
771
795
|
/**
|
|
@@ -775,7 +799,10 @@ export function zoom(id: string): ZoomRef {
|
|
|
775
799
|
* @returns An integration reference for use in the API config
|
|
776
800
|
*/
|
|
777
801
|
export function graphql(id: string): GraphQLRef {
|
|
778
|
-
return createRef<
|
|
802
|
+
return createRef<"graphqlintegration", GraphQLClient>(
|
|
803
|
+
"graphqlintegration",
|
|
804
|
+
id,
|
|
805
|
+
);
|
|
779
806
|
}
|
|
780
807
|
|
|
781
808
|
/**
|
|
@@ -785,7 +812,7 @@ export function graphql(id: string): GraphQLRef {
|
|
|
785
812
|
* @returns An integration reference for use in the API config
|
|
786
813
|
*/
|
|
787
814
|
export function mysql(id: string): MySQLRef {
|
|
788
|
-
return createRef<
|
|
815
|
+
return createRef<"mysql", MySQLClient>("mysql", id);
|
|
789
816
|
}
|
|
790
817
|
|
|
791
818
|
/**
|
|
@@ -795,7 +822,7 @@ export function mysql(id: string): MySQLRef {
|
|
|
795
822
|
* @returns An integration reference for use in the API config
|
|
796
823
|
*/
|
|
797
824
|
export function mariadb(id: string): MariaDBRef {
|
|
798
|
-
return createRef<
|
|
825
|
+
return createRef<"mariadb", MariaDBClient>("mariadb", id);
|
|
799
826
|
}
|
|
800
827
|
|
|
801
828
|
/**
|
|
@@ -805,7 +832,7 @@ export function mariadb(id: string): MariaDBRef {
|
|
|
805
832
|
* @returns An integration reference for use in the API config
|
|
806
833
|
*/
|
|
807
834
|
export function mssql(id: string): MSSQLRef {
|
|
808
|
-
return createRef<
|
|
835
|
+
return createRef<"mssql", MSSQLClient>("mssql", id);
|
|
809
836
|
}
|
|
810
837
|
|
|
811
838
|
/**
|
|
@@ -815,7 +842,7 @@ export function mssql(id: string): MSSQLRef {
|
|
|
815
842
|
* @returns An integration reference for use in the API config
|
|
816
843
|
*/
|
|
817
844
|
export function cockroachdb(id: string): CockroachDBRef {
|
|
818
|
-
return createRef<
|
|
845
|
+
return createRef<"cockroachdb", CockroachDBClient>("cockroachdb", id);
|
|
819
846
|
}
|
|
820
847
|
|
|
821
848
|
/**
|
|
@@ -825,7 +852,7 @@ export function cockroachdb(id: string): CockroachDBRef {
|
|
|
825
852
|
* @returns An integration reference for use in the API config
|
|
826
853
|
*/
|
|
827
854
|
export function oracledb(id: string): OracleDBRef {
|
|
828
|
-
return createRef<
|
|
855
|
+
return createRef<"oracledb", OracleDBClient>("oracledb", id);
|
|
829
856
|
}
|
|
830
857
|
|
|
831
858
|
/**
|
|
@@ -835,7 +862,7 @@ export function oracledb(id: string): OracleDBRef {
|
|
|
835
862
|
* @returns An integration reference for use in the API config
|
|
836
863
|
*/
|
|
837
864
|
export function redshift(id: string): RedshiftRef {
|
|
838
|
-
return createRef<
|
|
865
|
+
return createRef<"redshift", RedshiftClient>("redshift", id);
|
|
839
866
|
}
|
|
840
867
|
|
|
841
868
|
/**
|
|
@@ -845,7 +872,7 @@ export function redshift(id: string): RedshiftRef {
|
|
|
845
872
|
* @returns An integration reference for use in the API config
|
|
846
873
|
*/
|
|
847
874
|
export function athena(id: string): AthenaRef {
|
|
848
|
-
return createRef<
|
|
875
|
+
return createRef<"athena", AthenaClient>("athena", id);
|
|
849
876
|
}
|
|
850
877
|
|
|
851
878
|
/**
|
|
@@ -855,7 +882,7 @@ export function athena(id: string): AthenaRef {
|
|
|
855
882
|
* @returns An integration reference for use in the API config
|
|
856
883
|
*/
|
|
857
884
|
export function databricks(id: string): DatabricksRef {
|
|
858
|
-
return createRef<
|
|
885
|
+
return createRef<"databricks", DatabricksClient>("databricks", id);
|
|
859
886
|
}
|
|
860
887
|
|
|
861
888
|
/**
|
|
@@ -865,7 +892,7 @@ export function databricks(id: string): DatabricksRef {
|
|
|
865
892
|
* @returns An integration reference for use in the API config
|
|
866
893
|
*/
|
|
867
894
|
export function bigquery(id: string): BigQueryRef {
|
|
868
|
-
return createRef<
|
|
895
|
+
return createRef<"bigquery", BigQueryClient>("bigquery", id);
|
|
869
896
|
}
|
|
870
897
|
|
|
871
898
|
/**
|
|
@@ -875,7 +902,7 @@ export function bigquery(id: string): BigQueryRef {
|
|
|
875
902
|
* @returns An integration reference for use in the API config
|
|
876
903
|
*/
|
|
877
904
|
export function mongodb(id: string): MongoDBRef {
|
|
878
|
-
return createRef<
|
|
905
|
+
return createRef<"mongodb", MongoDBClient>("mongodb", id);
|
|
879
906
|
}
|
|
880
907
|
|
|
881
908
|
/**
|
|
@@ -885,7 +912,7 @@ export function mongodb(id: string): MongoDBRef {
|
|
|
885
912
|
* @returns An integration reference for use in the API config
|
|
886
913
|
*/
|
|
887
914
|
export function dynamodb(id: string): DynamoDBRef {
|
|
888
|
-
return createRef<
|
|
915
|
+
return createRef<"dynamodb", DynamoDBClient>("dynamodb", id);
|
|
889
916
|
}
|
|
890
917
|
|
|
891
918
|
/**
|
|
@@ -895,7 +922,7 @@ export function dynamodb(id: string): DynamoDBRef {
|
|
|
895
922
|
* @returns An integration reference for use in the API config
|
|
896
923
|
*/
|
|
897
924
|
export function cosmosdb(id: string): CosmosDBRef {
|
|
898
|
-
return createRef<
|
|
925
|
+
return createRef<"cosmosdb", CosmosDBClient>("cosmosdb", id);
|
|
899
926
|
}
|
|
900
927
|
|
|
901
928
|
/**
|
|
@@ -905,7 +932,7 @@ export function cosmosdb(id: string): CosmosDBRef {
|
|
|
905
932
|
* @returns An integration reference for use in the API config
|
|
906
933
|
*/
|
|
907
934
|
export function couchbase(id: string): CouchbaseRef {
|
|
908
|
-
return createRef<
|
|
935
|
+
return createRef<"couchbase", CouchbaseClient>("couchbase", id);
|
|
909
936
|
}
|
|
910
937
|
|
|
911
938
|
/**
|
|
@@ -915,7 +942,7 @@ export function couchbase(id: string): CouchbaseRef {
|
|
|
915
942
|
* @returns An integration reference for use in the API config
|
|
916
943
|
*/
|
|
917
944
|
export function s3(id: string): S3Ref {
|
|
918
|
-
return createRef<
|
|
945
|
+
return createRef<"s3", S3Client>("s3", id);
|
|
919
946
|
}
|
|
920
947
|
|
|
921
948
|
/**
|
|
@@ -925,7 +952,7 @@ export function s3(id: string): S3Ref {
|
|
|
925
952
|
* @returns An integration reference for use in the API config
|
|
926
953
|
*/
|
|
927
954
|
export function gcs(id: string): GCSRef {
|
|
928
|
-
return createRef<
|
|
955
|
+
return createRef<"gcs", GCSClient>("gcs", id);
|
|
929
956
|
}
|
|
930
957
|
|
|
931
958
|
/**
|
|
@@ -935,7 +962,7 @@ export function gcs(id: string): GCSRef {
|
|
|
935
962
|
* @returns An integration reference for use in the API config
|
|
936
963
|
*/
|
|
937
964
|
export function googleSheets(id: string): GoogleSheetsRef {
|
|
938
|
-
return createRef<
|
|
965
|
+
return createRef<"gsheets", GoogleSheetsClient>("gsheets", id);
|
|
939
966
|
}
|
|
940
967
|
|
|
941
968
|
/**
|
|
@@ -945,7 +972,7 @@ export function googleSheets(id: string): GoogleSheetsRef {
|
|
|
945
972
|
* @returns An integration reference for use in the API config
|
|
946
973
|
*/
|
|
947
974
|
export function kafka(id: string): KafkaRef {
|
|
948
|
-
return createRef<
|
|
975
|
+
return createRef<"kafka", KafkaClient>("kafka", id);
|
|
949
976
|
}
|
|
950
977
|
|
|
951
978
|
/**
|
|
@@ -955,7 +982,7 @@ export function kafka(id: string): KafkaRef {
|
|
|
955
982
|
* @returns An integration reference for use in the API config
|
|
956
983
|
*/
|
|
957
984
|
export function kinesis(id: string): KinesisRef {
|
|
958
|
-
return createRef<
|
|
985
|
+
return createRef<"kinesis", KinesisClient>("kinesis", id);
|
|
959
986
|
}
|
|
960
987
|
|
|
961
988
|
/**
|
|
@@ -965,7 +992,7 @@ export function kinesis(id: string): KinesisRef {
|
|
|
965
992
|
* @returns An integration reference for use in the API config
|
|
966
993
|
*/
|
|
967
994
|
export function salesforce(id: string): SalesforceRef {
|
|
968
|
-
return createRef<
|
|
995
|
+
return createRef<"salesforce", SalesforceClient>("salesforce", id);
|
|
969
996
|
}
|
|
970
997
|
|
|
971
998
|
/**
|
|
@@ -975,7 +1002,7 @@ export function salesforce(id: string): SalesforceRef {
|
|
|
975
1002
|
* @returns An integration reference for use in the API config
|
|
976
1003
|
*/
|
|
977
1004
|
export function redis(id: string): RedisRef {
|
|
978
|
-
return createRef<
|
|
1005
|
+
return createRef<"redis", RedisClient>("redis", id);
|
|
979
1006
|
}
|
|
980
1007
|
|
|
981
1008
|
/**
|
|
@@ -985,7 +1012,10 @@ export function redis(id: string): RedisRef {
|
|
|
985
1012
|
* @returns An integration reference for use in the API config
|
|
986
1013
|
*/
|
|
987
1014
|
export function superblocksOcr(id: string): SuperblocksOCRRef {
|
|
988
|
-
return createRef<
|
|
1015
|
+
return createRef<"superblocks-ocr", SuperblocksOCRClient>(
|
|
1016
|
+
"superblocks-ocr",
|
|
1017
|
+
id,
|
|
1018
|
+
);
|
|
989
1019
|
}
|
|
990
1020
|
|
|
991
1021
|
/**
|
|
@@ -995,7 +1025,7 @@ export function superblocksOcr(id: string): SuperblocksOCRRef {
|
|
|
995
1025
|
* @returns An integration reference for use in the API config
|
|
996
1026
|
*/
|
|
997
1027
|
export function python(id: string): PythonRef {
|
|
998
|
-
return createRef<
|
|
1028
|
+
return createRef<"python", PythonClient>("python", id);
|
|
999
1029
|
}
|
|
1000
1030
|
|
|
1001
1031
|
/**
|
|
@@ -1005,7 +1035,7 @@ export function python(id: string): PythonRef {
|
|
|
1005
1035
|
* @returns An integration reference for use in the API config
|
|
1006
1036
|
*/
|
|
1007
1037
|
export function confluent(id: string): ConfluentRef {
|
|
1008
|
-
return createRef<
|
|
1038
|
+
return createRef<"confluent", KafkaClient>("confluent", id);
|
|
1009
1039
|
}
|
|
1010
1040
|
|
|
1011
1041
|
/**
|
|
@@ -1015,7 +1045,7 @@ export function confluent(id: string): ConfluentRef {
|
|
|
1015
1045
|
* @returns An integration reference for use in the API config
|
|
1016
1046
|
*/
|
|
1017
1047
|
export function redpanda(id: string): RedpandaRef {
|
|
1018
|
-
return createRef<
|
|
1048
|
+
return createRef<"redpanda", KafkaClient>("redpanda", id);
|
|
1019
1049
|
}
|
|
1020
1050
|
|
|
1021
1051
|
/**
|
|
@@ -1025,7 +1055,7 @@ export function redpanda(id: string): RedpandaRef {
|
|
|
1025
1055
|
* @returns An integration reference for use in the API config
|
|
1026
1056
|
*/
|
|
1027
1057
|
export function lakebase(id: string): LakebaseRef {
|
|
1028
|
-
return createRef<
|
|
1058
|
+
return createRef<"lakebase", LakebaseClient>("lakebase", id);
|
|
1029
1059
|
}
|
|
1030
1060
|
|
|
1031
1061
|
/**
|
|
@@ -1035,7 +1065,10 @@ export function lakebase(id: string): LakebaseRef {
|
|
|
1035
1065
|
* @returns An integration reference for use in the API config
|
|
1036
1066
|
*/
|
|
1037
1067
|
export function snowflakePostgres(id: string): SnowflakePostgresRef {
|
|
1038
|
-
return createRef<
|
|
1068
|
+
return createRef<"snowflakepostgres", SnowflakePostgresClient>(
|
|
1069
|
+
"snowflakepostgres",
|
|
1070
|
+
id,
|
|
1071
|
+
);
|
|
1039
1072
|
}
|
|
1040
1073
|
|
|
1041
1074
|
/**
|
|
@@ -1045,7 +1078,7 @@ export function snowflakePostgres(id: string): SnowflakePostgresRef {
|
|
|
1045
1078
|
* @returns An integration reference for use in the API config
|
|
1046
1079
|
*/
|
|
1047
1080
|
export function smtp(id: string): SmtpRef {
|
|
1048
|
-
return createRef<
|
|
1081
|
+
return createRef<"smtp", SmtpClient>("smtp", id);
|
|
1049
1082
|
}
|
|
1050
1083
|
|
|
1051
1084
|
// -----------------------------------------------------------------------------
|
|
@@ -1065,7 +1098,8 @@ export type AnyIntegrationRef = IntegrationRef<string, unknown>;
|
|
|
1065
1098
|
* type PgClient = ClientFromRef<PostgresRef>; // PostgresClient
|
|
1066
1099
|
* ```
|
|
1067
1100
|
*/
|
|
1068
|
-
export type ClientFromRef<T> =
|
|
1101
|
+
export type ClientFromRef<T> =
|
|
1102
|
+
T extends IntegrationRef<string, infer C> ? C : never;
|
|
1069
1103
|
|
|
1070
1104
|
/**
|
|
1071
1105
|
* Map of integration keys to their client types.
|
|
@@ -1135,7 +1169,9 @@ export function extractIntegrationDeclarations(
|
|
|
1135
1169
|
* @param api - API object with optional integrations field
|
|
1136
1170
|
* @returns Array of integration declarations for runtime use
|
|
1137
1171
|
*/
|
|
1138
|
-
export function getIntegrationDeclarations(api: {
|
|
1172
|
+
export function getIntegrationDeclarations(api: {
|
|
1173
|
+
integrations?: unknown;
|
|
1174
|
+
}): IntegrationDeclaration[] {
|
|
1139
1175
|
const integrations = api.integrations;
|
|
1140
1176
|
if (integrations === undefined || integrations === null) {
|
|
1141
1177
|
return [];
|
|
@@ -1143,5 +1179,7 @@ export function getIntegrationDeclarations(api: { integrations?: unknown }): Int
|
|
|
1143
1179
|
if (Array.isArray(integrations)) {
|
|
1144
1180
|
return integrations as IntegrationDeclaration[];
|
|
1145
1181
|
}
|
|
1146
|
-
return extractIntegrationDeclarations(
|
|
1182
|
+
return extractIntegrationDeclarations(
|
|
1183
|
+
integrations as Record<string, AnyIntegrationRef>,
|
|
1184
|
+
);
|
|
1147
1185
|
}
|