@superblocksteam/sdk-api 0.0.6 → 0.0.7
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 +351 -427
- package/dist/api/definition.d.ts +12 -7
- package/dist/api/definition.d.ts.map +1 -1
- package/dist/api/definition.js +19 -12
- package/dist/api/definition.js.map +1 -1
- package/dist/api/definition.test.js +39 -15
- package/dist/api/definition.test.js.map +1 -1
- package/dist/api/index.d.ts +0 -2
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +0 -2
- package/dist/api/index.js.map +1 -1
- package/dist/errors.d.ts +1 -45
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +1 -33
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +16 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -15
- package/dist/index.js.map +1 -1
- package/dist/integrations/anthropic/types.d.ts +3 -22
- package/dist/integrations/anthropic/types.d.ts.map +1 -1
- package/dist/integrations/athena/client.d.ts +1 -1
- package/dist/integrations/athena/client.d.ts.map +1 -1
- package/dist/integrations/athena/client.js.map +1 -1
- package/dist/integrations/athena/types.d.ts +2 -2
- package/dist/integrations/athena/types.d.ts.map +1 -1
- package/dist/integrations/base/graphql-integration-client.d.ts +8 -4
- package/dist/integrations/base/graphql-integration-client.d.ts.map +1 -1
- package/dist/integrations/base/graphql-integration-client.js +18 -5
- package/dist/integrations/base/graphql-integration-client.js.map +1 -1
- package/dist/integrations/base/index.d.ts +3 -2
- package/dist/integrations/base/index.d.ts.map +1 -1
- package/dist/integrations/base/index.js +1 -0
- package/dist/integrations/base/index.js.map +1 -1
- package/dist/integrations/base/rest-api-client-base.d.ts +48 -0
- package/dist/integrations/base/rest-api-client-base.d.ts.map +1 -0
- package/dist/integrations/base/rest-api-client-base.js +98 -0
- package/dist/integrations/base/rest-api-client-base.js.map +1 -0
- package/dist/integrations/base/rest-api-integration-client.d.ts +11 -65
- package/dist/integrations/base/rest-api-integration-client.d.ts.map +1 -1
- package/dist/integrations/base/rest-api-integration-client.js +11 -174
- package/dist/integrations/base/rest-api-integration-client.js.map +1 -1
- package/dist/integrations/base/types.d.ts +1 -67
- package/dist/integrations/base/types.d.ts.map +1 -1
- package/dist/integrations/bigquery/client.d.ts +1 -1
- package/dist/integrations/bigquery/client.d.ts.map +1 -1
- package/dist/integrations/bigquery/client.js.map +1 -1
- package/dist/integrations/bigquery/types.d.ts +3 -3
- package/dist/integrations/bigquery/types.d.ts.map +1 -1
- package/dist/integrations/box/types.d.ts +1 -1
- package/dist/integrations/cockroachdb/client.d.ts +1 -1
- package/dist/integrations/cockroachdb/client.d.ts.map +1 -1
- package/dist/integrations/cockroachdb/client.js.map +1 -1
- package/dist/integrations/cockroachdb/types.d.ts.map +1 -1
- package/dist/integrations/cosmosdb/client.d.ts +1 -1
- package/dist/integrations/cosmosdb/client.d.ts.map +1 -1
- package/dist/integrations/cosmosdb/client.js.map +1 -1
- package/dist/integrations/cosmosdb/client.test.js.map +1 -1
- package/dist/integrations/cosmosdb/types.d.ts.map +1 -1
- package/dist/integrations/databricks/client.d.ts +1 -1
- package/dist/integrations/databricks/client.d.ts.map +1 -1
- package/dist/integrations/databricks/client.js.map +1 -1
- package/dist/integrations/databricks/types.d.ts +3 -3
- package/dist/integrations/databricks/types.d.ts.map +1 -1
- package/dist/integrations/declarations.d.ts +36 -104
- package/dist/integrations/declarations.d.ts.map +1 -1
- package/dist/integrations/declarations.js +5 -68
- package/dist/integrations/declarations.js.map +1 -1
- package/dist/integrations/declarations.test.js.map +1 -1
- package/dist/integrations/documentation-resolver.test.d.ts +2 -0
- package/dist/integrations/documentation-resolver.test.d.ts.map +1 -0
- package/dist/integrations/documentation-resolver.test.js +608 -0
- package/dist/integrations/documentation-resolver.test.js.map +1 -0
- package/dist/integrations/documentation.d.ts +8 -0
- package/dist/integrations/documentation.d.ts.map +1 -0
- package/dist/integrations/documentation.js +277 -0
- package/dist/integrations/documentation.js.map +1 -0
- package/dist/integrations/documentation.test.d.ts +2 -0
- package/dist/integrations/documentation.test.d.ts.map +1 -0
- package/dist/integrations/documentation.test.js +81 -0
- package/dist/integrations/documentation.test.js.map +1 -0
- package/dist/integrations/dynamodb/client.d.ts +1 -1
- package/dist/integrations/dynamodb/client.d.ts.map +1 -1
- package/dist/integrations/dynamodb/client.js.map +1 -1
- package/dist/integrations/dynamodb/types.d.ts.map +1 -1
- package/dist/integrations/gcs/client.d.ts +1 -1
- package/dist/integrations/gcs/client.d.ts.map +1 -1
- package/dist/integrations/gcs/client.js.map +1 -1
- package/dist/integrations/gcs/types.d.ts.map +1 -1
- package/dist/integrations/googledrive/types.d.ts +1 -1
- package/dist/integrations/graphql/client.test.d.ts +15 -0
- package/dist/integrations/graphql/client.test.d.ts.map +1 -0
- package/dist/integrations/graphql/client.test.js +148 -0
- package/dist/integrations/graphql/client.test.js.map +1 -0
- package/dist/integrations/graphql/types.d.ts +22 -3
- package/dist/integrations/graphql/types.d.ts.map +1 -1
- package/dist/integrations/gsheets/client.d.ts +1 -1
- package/dist/integrations/gsheets/client.d.ts.map +1 -1
- package/dist/integrations/gsheets/client.js.map +1 -1
- package/dist/integrations/gsheets/types.d.ts.map +1 -1
- package/dist/integrations/index.d.ts +2 -12
- package/dist/integrations/index.d.ts.map +1 -1
- package/dist/integrations/index.js +2 -8
- package/dist/integrations/index.js.map +1 -1
- package/dist/integrations/lakebase/client.d.ts +1 -1
- package/dist/integrations/lakebase/client.d.ts.map +1 -1
- package/dist/integrations/lakebase/client.js.map +1 -1
- package/dist/integrations/lakebase/types.d.ts +4 -4
- package/dist/integrations/lakebase/types.d.ts.map +1 -1
- package/dist/integrations/mariadb/client.d.ts +1 -1
- package/dist/integrations/mariadb/client.d.ts.map +1 -1
- package/dist/integrations/mariadb/client.js.map +1 -1
- package/dist/integrations/mariadb/types.d.ts +2 -2
- package/dist/integrations/mariadb/types.d.ts.map +1 -1
- package/dist/integrations/mongodb/client.d.ts +1 -1
- package/dist/integrations/mongodb/client.d.ts.map +1 -1
- package/dist/integrations/mongodb/client.js.map +1 -1
- package/dist/integrations/mongodb/types.d.ts.map +1 -1
- package/dist/integrations/mssql/client.d.ts +1 -1
- package/dist/integrations/mssql/client.d.ts.map +1 -1
- package/dist/integrations/mssql/client.js.map +1 -1
- package/dist/integrations/mssql/types.d.ts +2 -2
- package/dist/integrations/mssql/types.d.ts.map +1 -1
- package/dist/integrations/mysql/client.d.ts +1 -1
- package/dist/integrations/mysql/client.d.ts.map +1 -1
- package/dist/integrations/mysql/client.js.map +1 -1
- package/dist/integrations/mysql/types.d.ts +4 -4
- package/dist/integrations/mysql/types.d.ts.map +1 -1
- package/dist/integrations/openai_v2/types.d.ts +4 -22
- package/dist/integrations/openai_v2/types.d.ts.map +1 -1
- package/dist/integrations/oracledb/client.d.ts +1 -1
- package/dist/integrations/oracledb/client.d.ts.map +1 -1
- package/dist/integrations/oracledb/client.js.map +1 -1
- package/dist/integrations/oracledb/types.d.ts +2 -2
- package/dist/integrations/oracledb/types.d.ts.map +1 -1
- package/dist/integrations/postgres/client.d.ts +2 -2
- package/dist/integrations/postgres/client.d.ts.map +1 -1
- package/dist/integrations/postgres/client.js.map +1 -1
- package/dist/integrations/postgres/types.d.ts.map +1 -1
- package/dist/integrations/redshift/client.d.ts +1 -1
- package/dist/integrations/redshift/client.d.ts.map +1 -1
- package/dist/integrations/redshift/client.js.map +1 -1
- package/dist/integrations/redshift/types.d.ts.map +1 -1
- package/dist/integrations/registry.d.ts +6 -27
- package/dist/integrations/registry.d.ts.map +1 -1
- package/dist/integrations/registry.js +64 -88
- package/dist/integrations/registry.js.map +1 -1
- package/dist/integrations/registry.test.js +1 -3
- package/dist/integrations/registry.test.js.map +1 -1
- package/dist/integrations/restapiintegration/types.d.ts +2 -2
- package/dist/integrations/restapiintegration/types.d.ts.map +1 -1
- package/dist/integrations/s3/client.d.ts +1 -1
- package/dist/integrations/s3/client.d.ts.map +1 -1
- package/dist/integrations/s3/client.js.map +1 -1
- package/dist/integrations/s3/types.d.ts +3 -1
- package/dist/integrations/s3/types.d.ts.map +1 -1
- package/dist/integrations/salesforce/client.d.ts +1 -1
- package/dist/integrations/salesforce/client.d.ts.map +1 -1
- package/dist/integrations/salesforce/client.js.map +1 -1
- package/dist/integrations/salesforce/types.d.ts.map +1 -1
- package/dist/integrations/slack/client.d.ts +13 -9
- package/dist/integrations/slack/client.d.ts.map +1 -1
- package/dist/integrations/slack/client.js +60 -8
- package/dist/integrations/slack/client.js.map +1 -1
- package/dist/integrations/slack/client.test.d.ts +11 -0
- package/dist/integrations/slack/client.test.d.ts.map +1 -0
- package/dist/integrations/slack/client.test.js +368 -0
- package/dist/integrations/slack/client.test.js.map +1 -0
- package/dist/integrations/slack/index.d.ts +2 -1
- package/dist/integrations/slack/index.d.ts.map +1 -1
- package/dist/integrations/slack/index.js +1 -0
- package/dist/integrations/slack/index.js.map +1 -1
- package/dist/integrations/slack/types.d.ts +127 -28
- package/dist/integrations/slack/types.d.ts.map +1 -1
- package/dist/integrations/slack/types.js +27 -1
- package/dist/integrations/slack/types.js.map +1 -1
- package/dist/integrations/smtp/client.d.ts +1 -1
- package/dist/integrations/smtp/client.d.ts.map +1 -1
- package/dist/integrations/smtp/client.js.map +1 -1
- package/dist/integrations/snowflake/client.d.ts +3 -3
- package/dist/integrations/snowflake/client.d.ts.map +1 -1
- package/dist/integrations/snowflake/client.js +2 -2
- package/dist/integrations/snowflake/client.js.map +1 -1
- package/dist/integrations/snowflake/types.d.ts.map +1 -1
- package/dist/integrations/snowflakecortex/client.d.ts +1 -2
- package/dist/integrations/snowflakecortex/client.d.ts.map +1 -1
- package/dist/integrations/snowflakecortex/client.js +1 -2
- package/dist/integrations/snowflakecortex/client.js.map +1 -1
- package/dist/integrations/snowflakecortex/types.d.ts +3 -4
- package/dist/integrations/snowflakecortex/types.d.ts.map +1 -1
- package/dist/integrations/snowflakepostgres/client.d.ts +1 -1
- package/dist/integrations/snowflakepostgres/client.d.ts.map +1 -1
- package/dist/integrations/snowflakepostgres/client.js.map +1 -1
- package/dist/integrations/snowflakepostgres/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.map +1 -1
- package/dist/runtime/executor.d.ts +2 -2
- package/dist/runtime/index.d.ts +0 -3
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +1 -6
- package/dist/runtime/index.js.map +1 -1
- package/dist/types.d.ts +15 -6
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/api/definition.test.ts +41 -15
- package/src/api/definition.ts +20 -13
- package/src/api/index.ts +0 -4
- package/src/errors.ts +1 -49
- package/src/index.ts +20 -61
- package/src/integrations/airtable/docs.manifest.json +5 -0
- package/src/integrations/anthropic/README.md +5 -101
- package/src/integrations/anthropic/docs.manifest.json +5 -0
- package/src/integrations/anthropic/types.ts +3 -29
- package/src/integrations/asana/README.md +12 -12
- package/src/integrations/asana/docs.manifest.json +5 -0
- package/src/integrations/athena/README.md +4 -4
- package/src/integrations/athena/client.ts +5 -3
- package/src/integrations/athena/docs.manifest.json +5 -0
- package/src/integrations/athena/types.ts +3 -2
- package/src/integrations/base/graphql-integration-client.ts +27 -5
- package/src/integrations/base/index.ts +2 -3
- package/src/integrations/base/rest-api-client-base.ts +134 -0
- package/src/integrations/base/rest-api-integration-client.ts +15 -239
- package/src/integrations/base/types.ts +4 -74
- package/src/integrations/bigquery/README.md +28 -3
- package/src/integrations/bigquery/client.ts +5 -3
- package/src/integrations/bigquery/docs.manifest.json +5 -0
- package/src/integrations/bigquery/types.ts +4 -3
- package/src/integrations/bitbucket/README.md +19 -19
- package/src/integrations/bitbucket/docs.manifest.json +5 -0
- package/src/integrations/box/README.md +24 -24
- package/src/integrations/box/docs.manifest.json +5 -0
- package/src/integrations/box/types.ts +1 -1
- package/src/integrations/circleci/README.md +18 -18
- package/src/integrations/circleci/docs.manifest.json +5 -0
- package/src/integrations/cockroachdb/client.ts +5 -3
- package/src/integrations/cockroachdb/docs.manifest.json +5 -0
- package/src/integrations/cockroachdb/types.ts +1 -0
- package/src/integrations/cohere/README.md +11 -11
- package/src/integrations/cohere/docs.manifest.json +5 -0
- package/src/integrations/confluence/docs.manifest.json +5 -0
- package/src/integrations/cosmosdb/client.test.ts +2 -1
- package/src/integrations/cosmosdb/client.ts +5 -3
- package/src/integrations/cosmosdb/docs.manifest.json +5 -0
- package/src/integrations/cosmosdb/types.ts +1 -0
- package/src/integrations/databricks/README.md +29 -4
- package/src/integrations/databricks/client.ts +5 -3
- package/src/integrations/databricks/docs.manifest.json +5 -0
- package/src/integrations/databricks/types.ts +4 -3
- package/src/integrations/datadog/docs.manifest.json +5 -0
- package/src/integrations/declarations.test.ts +1 -0
- package/src/integrations/declarations.ts +36 -136
- package/src/integrations/documentation-resolver.test.ts +704 -0
- package/src/integrations/documentation.test.ts +120 -0
- package/src/integrations/documentation.ts +421 -0
- package/src/integrations/dropbox/docs.manifest.json +5 -0
- package/src/integrations/dynamodb/client.ts +3 -2
- package/src/integrations/dynamodb/docs.manifest.json +5 -0
- package/src/integrations/dynamodb/types.ts +1 -0
- package/src/integrations/elasticsearch/docs.manifest.json +5 -0
- package/src/integrations/fireworks/README.md +43 -17
- package/src/integrations/fireworks/docs.manifest.json +5 -0
- package/src/integrations/front/docs.manifest.json +5 -0
- package/src/integrations/gcs/client.ts +5 -3
- package/src/integrations/gcs/docs.manifest.json +5 -0
- package/src/integrations/gcs/types.ts +1 -0
- package/src/integrations/gemini/docs.manifest.json +5 -0
- package/src/integrations/github/docs.manifest.json +5 -0
- package/src/integrations/googleanalytics/README.md +2 -2
- package/src/integrations/googleanalytics/docs.manifest.json +5 -0
- package/src/integrations/googledrive/README.md +27 -24
- package/src/integrations/googledrive/docs.manifest.json +5 -0
- package/src/integrations/googledrive/types.ts +1 -1
- package/src/integrations/graphql/README.md +2 -2
- package/src/integrations/graphql/client.test.ts +220 -0
- package/src/integrations/graphql/docs.manifest.json +5 -0
- package/src/integrations/graphql/types.ts +23 -1
- package/src/integrations/groq/README.md +49 -42
- package/src/integrations/groq/docs.manifest.json +5 -0
- package/src/integrations/gsheets/README.md +2 -2
- package/src/integrations/gsheets/client.ts +5 -3
- package/src/integrations/gsheets/docs.manifest.json +5 -0
- package/src/integrations/gsheets/types.ts +1 -0
- package/src/integrations/hubspot/docs.manifest.json +5 -0
- package/src/integrations/index.ts +1 -52
- package/src/integrations/intercom/docs.manifest.json +5 -0
- package/src/integrations/jira/docs.manifest.json +5 -0
- package/src/integrations/lakebase/README.md +242 -0
- package/src/integrations/lakebase/client.ts +6 -4
- package/src/integrations/lakebase/docs.manifest.json +5 -0
- package/src/integrations/lakebase/types.ts +5 -4
- package/src/integrations/launchdarkly/README.md +2 -2
- package/src/integrations/launchdarkly/docs.manifest.json +5 -0
- package/src/integrations/mariadb/README.md +3 -3
- package/src/integrations/mariadb/client.ts +5 -3
- package/src/integrations/mariadb/docs.manifest.json +5 -0
- package/src/integrations/mariadb/types.ts +3 -2
- package/src/integrations/mistral/README.md +39 -13
- package/src/integrations/mistral/docs.manifest.json +5 -0
- package/src/integrations/mongodb/README.md +65 -12
- package/src/integrations/mongodb/client.ts +5 -3
- package/src/integrations/mongodb/docs.manifest.json +5 -0
- package/src/integrations/mongodb/types.ts +1 -0
- package/src/integrations/mssql/README.md +3 -3
- package/src/integrations/mssql/client.ts +5 -3
- package/src/integrations/mssql/docs.manifest.json +5 -0
- package/src/integrations/mssql/types.ts +3 -2
- package/src/integrations/mysql/README.md +4 -4
- package/src/integrations/mysql/client.ts +5 -3
- package/src/integrations/mysql/docs.manifest.json +5 -0
- package/src/integrations/mysql/types.ts +5 -4
- package/src/integrations/notion/docs.manifest.json +5 -0
- package/src/integrations/openai_v2/README.md +44 -116
- package/src/integrations/openai_v2/docs.manifest.json +5 -0
- package/src/integrations/openai_v2/types.ts +4 -29
- package/src/integrations/oracledb/README.md +3 -3
- package/src/integrations/oracledb/client.ts +5 -3
- package/src/integrations/oracledb/docs.manifest.json +5 -0
- package/src/integrations/oracledb/types.ts +3 -2
- package/src/integrations/pagerduty/README.md +2 -2
- package/src/integrations/pagerduty/docs.manifest.json +5 -0
- package/src/integrations/perplexity/README.md +39 -47
- package/src/integrations/perplexity/docs.manifest.json +5 -0
- package/src/integrations/postgres/client.ts +6 -4
- package/src/integrations/postgres/docs.manifest.json +5 -0
- package/src/integrations/postgres/types.ts +1 -0
- package/src/integrations/redshift/client.ts +5 -3
- package/src/integrations/redshift/docs.manifest.json +5 -0
- package/src/integrations/redshift/types.ts +1 -0
- package/src/integrations/registry.test.ts +2 -3
- package/src/integrations/registry.ts +69 -188
- package/src/integrations/restapiintegration/README.md +320 -0
- package/src/integrations/restapiintegration/docs.manifest.json +5 -0
- package/src/integrations/restapiintegration/types.ts +2 -8
- package/src/integrations/s3/client.ts +5 -3
- package/src/integrations/s3/docs.manifest.json +5 -0
- package/src/integrations/s3/types.ts +4 -1
- package/src/integrations/salesforce/README.md +11 -9
- package/src/integrations/salesforce/client.ts +3 -2
- package/src/integrations/salesforce/docs.manifest.json +5 -0
- package/src/integrations/salesforce/types.ts +1 -0
- package/src/integrations/segment/docs.manifest.json +5 -0
- package/src/integrations/sendgrid/README.md +2 -2
- package/src/integrations/sendgrid/docs.manifest.json +5 -0
- package/src/integrations/slack/README.md +62 -19
- package/src/integrations/slack/client.test.ts +553 -0
- package/src/integrations/slack/client.ts +92 -12
- package/src/integrations/slack/docs.manifest.json +5 -0
- package/src/integrations/slack/index.ts +6 -1
- package/src/integrations/slack/types.ts +142 -29
- package/src/integrations/smtp/README.md +220 -0
- package/src/integrations/smtp/client.ts +4 -2
- package/src/integrations/smtp/docs.manifest.json +5 -0
- package/src/integrations/snowflake/client.ts +7 -5
- package/src/integrations/snowflake/docs.manifest.json +5 -0
- package/src/integrations/snowflake/types.ts +1 -0
- package/src/integrations/snowflakecortex/README.md +167 -0
- package/src/integrations/snowflakecortex/client.ts +2 -3
- package/src/integrations/snowflakecortex/docs.manifest.json +5 -0
- package/src/integrations/snowflakecortex/types.ts +3 -11
- package/src/integrations/snowflakepostgres/README.md +233 -0
- package/src/integrations/snowflakepostgres/client.ts +1 -1
- package/src/integrations/snowflakepostgres/docs.manifest.json +5 -0
- package/src/integrations/snowflakepostgres/types.ts +1 -0
- package/src/integrations/stabilityai/README.md +2 -2
- package/src/integrations/stabilityai/docs.manifest.json +5 -0
- package/src/integrations/stripe/docs.manifest.json +5 -0
- package/src/integrations/superblocks-ocr/docs.manifest.json +5 -0
- package/src/integrations/twilio/docs.manifest.json +5 -0
- package/src/integrations/zendesk/docs.manifest.json +5 -0
- package/src/integrations/zoom/README.md +15 -15
- package/src/integrations/zoom/docs.manifest.json +5 -0
- package/src/runtime/context.ts +11 -11
- package/src/runtime/executor.ts +2 -2
- package/src/runtime/index.ts +1 -23
- package/src/types.ts +16 -6
- package/dist/api/streaming.d.ts +0 -229
- package/dist/api/streaming.d.ts.map +0 -1
- package/dist/api/streaming.js +0 -107
- package/dist/api/streaming.js.map +0 -1
- package/dist/api/streaming.test.d.ts +0 -5
- package/dist/api/streaming.test.d.ts.map +0 -1
- package/dist/api/streaming.test.js +0 -364
- package/dist/api/streaming.test.js.map +0 -1
- package/dist/integrations/couchbase/client.d.ts +0 -36
- package/dist/integrations/couchbase/client.d.ts.map +0 -1
- package/dist/integrations/couchbase/client.js +0 -148
- package/dist/integrations/couchbase/client.js.map +0 -1
- package/dist/integrations/couchbase/index.d.ts +0 -8
- package/dist/integrations/couchbase/index.d.ts.map +0 -1
- package/dist/integrations/couchbase/index.js +0 -7
- package/dist/integrations/couchbase/index.js.map +0 -1
- package/dist/integrations/couchbase/types.d.ts +0 -100
- package/dist/integrations/couchbase/types.d.ts.map +0 -1
- package/dist/integrations/couchbase/types.js +0 -5
- package/dist/integrations/couchbase/types.js.map +0 -1
- package/dist/integrations/kafka/client.d.ts +0 -25
- package/dist/integrations/kafka/client.d.ts.map +0 -1
- package/dist/integrations/kafka/client.js +0 -124
- package/dist/integrations/kafka/client.js.map +0 -1
- package/dist/integrations/kafka/index.d.ts +0 -8
- package/dist/integrations/kafka/index.d.ts.map +0 -1
- package/dist/integrations/kafka/index.js +0 -7
- package/dist/integrations/kafka/index.js.map +0 -1
- package/dist/integrations/kafka/types.d.ts +0 -113
- package/dist/integrations/kafka/types.d.ts.map +0 -1
- package/dist/integrations/kafka/types.js +0 -5
- package/dist/integrations/kafka/types.js.map +0 -1
- package/dist/integrations/kinesis/client.d.ts +0 -31
- package/dist/integrations/kinesis/client.d.ts.map +0 -1
- package/dist/integrations/kinesis/client.js +0 -101
- package/dist/integrations/kinesis/client.js.map +0 -1
- package/dist/integrations/kinesis/index.d.ts +0 -8
- package/dist/integrations/kinesis/index.d.ts.map +0 -1
- package/dist/integrations/kinesis/index.js +0 -7
- package/dist/integrations/kinesis/index.js.map +0 -1
- package/dist/integrations/kinesis/types.d.ts +0 -97
- package/dist/integrations/kinesis/types.d.ts.map +0 -1
- package/dist/integrations/kinesis/types.js +0 -7
- package/dist/integrations/kinesis/types.js.map +0 -1
- package/dist/integrations/python/client.d.ts +0 -42
- package/dist/integrations/python/client.d.ts.map +0 -1
- package/dist/integrations/python/client.js +0 -89
- package/dist/integrations/python/client.js.map +0 -1
- package/dist/integrations/python/client.test.d.ts +0 -5
- package/dist/integrations/python/client.test.d.ts.map +0 -1
- package/dist/integrations/python/client.test.js +0 -214
- package/dist/integrations/python/client.test.js.map +0 -1
- package/dist/integrations/python/index.d.ts +0 -6
- package/dist/integrations/python/index.d.ts.map +0 -1
- package/dist/integrations/python/index.js +0 -5
- package/dist/integrations/python/index.js.map +0 -1
- package/dist/integrations/python/types.d.ts +0 -85
- package/dist/integrations/python/types.d.ts.map +0 -1
- package/dist/integrations/python/types.js +0 -5
- package/dist/integrations/python/types.js.map +0 -1
- package/dist/integrations/redis/client.d.ts +0 -43
- package/dist/integrations/redis/client.d.ts.map +0 -1
- package/dist/integrations/redis/client.js +0 -142
- package/dist/integrations/redis/client.js.map +0 -1
- package/dist/integrations/redis/index.d.ts +0 -8
- package/dist/integrations/redis/index.d.ts.map +0 -1
- package/dist/integrations/redis/index.js +0 -7
- package/dist/integrations/redis/index.js.map +0 -1
- package/dist/integrations/redis/types.d.ts +0 -137
- package/dist/integrations/redis/types.d.ts.map +0 -1
- package/dist/integrations/redis/types.js +0 -5
- package/dist/integrations/redis/types.js.map +0 -1
- package/dist/runtime/execute.d.ts +0 -128
- package/dist/runtime/execute.d.ts.map +0 -1
- package/dist/runtime/execute.js +0 -84
- package/dist/runtime/execute.js.map +0 -1
- package/dist/runtime/streaming-context.d.ts +0 -49
- package/dist/runtime/streaming-context.d.ts.map +0 -1
- package/dist/runtime/streaming-context.js +0 -71
- package/dist/runtime/streaming-context.js.map +0 -1
- package/dist/runtime/streaming-executor.d.ts +0 -159
- package/dist/runtime/streaming-executor.d.ts.map +0 -1
- package/dist/runtime/streaming-executor.js +0 -229
- package/dist/runtime/streaming-executor.js.map +0 -1
- package/src/api/streaming.test.ts +0 -432
- package/src/api/streaming.ts +0 -302
- package/src/integrations/couchbase/README.md +0 -138
- package/src/integrations/couchbase/client.ts +0 -224
- package/src/integrations/couchbase/index.ts +0 -8
- package/src/integrations/couchbase/types.ts +0 -125
- package/src/integrations/kafka/README.md +0 -144
- package/src/integrations/kafka/client.ts +0 -215
- package/src/integrations/kafka/index.ts +0 -14
- package/src/integrations/kafka/types.ts +0 -127
- package/src/integrations/kinesis/README.md +0 -153
- package/src/integrations/kinesis/client.ts +0 -146
- package/src/integrations/kinesis/index.ts +0 -14
- package/src/integrations/kinesis/types.ts +0 -114
- package/src/integrations/python/README.md +0 -566
- package/src/integrations/python/client.test.ts +0 -340
- package/src/integrations/python/client.ts +0 -134
- package/src/integrations/python/index.ts +0 -6
- package/src/integrations/python/types.ts +0 -91
- package/src/integrations/redis/README.md +0 -200
- package/src/integrations/redis/client.ts +0 -207
- package/src/integrations/redis/index.ts +0 -8
- package/src/integrations/redis/types.ts +0 -166
- package/src/runtime/execute.ts +0 -221
- package/src/runtime/streaming-context.ts +0 -164
- package/src/runtime/streaming-executor.ts +0 -367
|
@@ -5,17 +5,8 @@
|
|
|
5
5
|
* and provides factory functions for creating clients.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "./types.js";
|
|
9
|
-
import { PostgresClientImpl } from "./postgres/index.js";
|
|
10
|
-
import { SlackClientImpl } from "./slack/index.js";
|
|
11
|
-
import { OpenAIClientImpl } from "./openai_v2/index.js";
|
|
12
|
-
import { AnthropicClientImpl } from "./anthropic/index.js";
|
|
13
|
-
import { StripeClientImpl } from "./stripe/index.js";
|
|
14
|
-
import { GitHubClientImpl } from "./github/index.js";
|
|
15
|
-
import { NotionClientImpl } from "./notion/index.js";
|
|
16
|
-
import { SnowflakeClientImpl } from "./snowflake/index.js";
|
|
17
|
-
import { SnowflakeCortexClientImpl } from "./snowflakecortex/index.js";
|
|
18
8
|
import { AirtableClientImpl } from "./airtable/index.js";
|
|
9
|
+
import { AnthropicClientImpl } from "./anthropic/index.js";
|
|
19
10
|
import { AsanaClientImpl } from "./asana/index.js";
|
|
20
11
|
import { BitbucketClientImpl } from "./bitbucket/index.js";
|
|
21
12
|
import { BoxClientImpl } from "./box/index.js";
|
|
@@ -28,53 +19,56 @@ import { ElasticSearchClientImpl } from "./elasticsearch/index.js";
|
|
|
28
19
|
import { FireworksClientImpl } from "./fireworks/index.js";
|
|
29
20
|
import { FrontClientImpl } from "./front/index.js";
|
|
30
21
|
import { GeminiClientImpl } from "./gemini/index.js";
|
|
22
|
+
import { GitHubClientImpl } from "./github/index.js";
|
|
31
23
|
import { GoogleAnalyticsClientImpl } from "./googleanalytics/index.js";
|
|
32
24
|
import { GoogleDriveClientImpl } from "./googledrive/index.js";
|
|
25
|
+
import { GraphQLClientImpl } from "./graphql/index.js";
|
|
33
26
|
import { GroqClientImpl } from "./groq/index.js";
|
|
34
27
|
import { HubSpotClientImpl } from "./hubspot/index.js";
|
|
35
28
|
import { IntercomClientImpl } from "./intercom/index.js";
|
|
36
29
|
import { JiraClientImpl } from "./jira/index.js";
|
|
37
30
|
import { LaunchDarklyClientImpl } from "./launchdarkly/index.js";
|
|
38
31
|
import { MistralClientImpl } from "./mistral/index.js";
|
|
32
|
+
import { NotionClientImpl } from "./notion/index.js";
|
|
33
|
+
import { OpenAIClientImpl } from "./openai_v2/index.js";
|
|
39
34
|
import { PagerDutyClientImpl } from "./pagerduty/index.js";
|
|
40
35
|
import { PerplexityClientImpl } from "./perplexity/index.js";
|
|
36
|
+
import { PostgresClientImpl } from "./postgres/index.js";
|
|
41
37
|
import { SegmentClientImpl } from "./segment/index.js";
|
|
42
38
|
import { SendGridClientImpl } from "./sendgrid/index.js";
|
|
39
|
+
import { SlackClientImpl } from "./slack/index.js";
|
|
40
|
+
import { SnowflakeClientImpl } from "./snowflake/index.js";
|
|
41
|
+
import { SnowflakeCortexClientImpl } from "./snowflakecortex/index.js";
|
|
43
42
|
import { StabilityAIClientImpl } from "./stabilityai/index.js";
|
|
43
|
+
import { StripeClientImpl } from "./stripe/index.js";
|
|
44
44
|
import { TwilioClientImpl } from "./twilio/index.js";
|
|
45
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "./types.js";
|
|
45
46
|
import { ZendeskClientImpl } from "./zendesk/index.js";
|
|
46
47
|
import { ZoomClientImpl } from "./zoom/index.js";
|
|
47
|
-
import { GraphQLClientImpl } from "./graphql/index.js";
|
|
48
48
|
// SQL Database clients
|
|
49
|
-
import {
|
|
49
|
+
import { AthenaClientImpl } from "./athena/index.js";
|
|
50
|
+
import { BigQueryClientImpl } from "./bigquery/index.js";
|
|
51
|
+
import { CockroachDBClientImpl } from "./cockroachdb/index.js";
|
|
52
|
+
import { DatabricksClientImpl } from "./databricks/index.js";
|
|
50
53
|
import { MariaDBClientImpl } from "./mariadb/index.js";
|
|
51
54
|
import { MSSQLClientImpl } from "./mssql/index.js";
|
|
52
|
-
import {
|
|
55
|
+
import { MySQLClientImpl } from "./mysql/index.js";
|
|
53
56
|
import { OracleDBClientImpl } from "./oracledb/index.js";
|
|
54
57
|
import { RedshiftClientImpl } from "./redshift/index.js";
|
|
55
|
-
import { AthenaClientImpl } from "./athena/index.js";
|
|
56
|
-
import { DatabricksClientImpl } from "./databricks/index.js";
|
|
57
|
-
import { BigQueryClientImpl } from "./bigquery/index.js";
|
|
58
58
|
// REST API clients
|
|
59
|
-
import { MongoDBClientImpl } from "./mongodb/index.js";
|
|
60
|
-
import { DynamoDBClientImpl } from "./dynamodb/index.js";
|
|
61
59
|
import { CosmosDBClientImpl } from "./cosmosdb/index.js";
|
|
62
|
-
import {
|
|
63
|
-
import { S3ClientImpl } from "./s3/index.js";
|
|
60
|
+
import { DynamoDBClientImpl } from "./dynamodb/index.js";
|
|
64
61
|
import { GCSClientImpl } from "./gcs/index.js";
|
|
65
62
|
import { GoogleSheetsClientImpl } from "./gsheets/index.js";
|
|
66
|
-
import { KafkaClientImpl } from "./kafka/index.js";
|
|
67
|
-
import { KinesisClientImpl } from "./kinesis/index.js";
|
|
68
|
-
import { SalesforceClientImpl } from "./salesforce/index.js";
|
|
69
|
-
import { RedisClientImpl } from "./redis/index.js";
|
|
70
|
-
import { SuperblocksOCRClientImpl } from "./superblocks-ocr/index.js";
|
|
71
63
|
import { LakebaseClientImpl } from "./lakebase/index.js";
|
|
72
|
-
import {
|
|
64
|
+
import { MongoDBClientImpl } from "./mongodb/index.js";
|
|
65
|
+
import { S3ClientImpl } from "./s3/index.js";
|
|
66
|
+
import { SalesforceClientImpl } from "./salesforce/index.js";
|
|
73
67
|
import { SmtpClientImpl } from "./smtp/index.js";
|
|
68
|
+
import { SnowflakePostgresClientImpl } from "./snowflakepostgres/index.js";
|
|
69
|
+
import { SuperblocksOCRClientImpl } from "./superblocks-ocr/index.js";
|
|
74
70
|
// REST API plugins
|
|
75
71
|
import { RestApiIntegrationPluginClientImpl } from "./restapiintegration/index.js";
|
|
76
|
-
// Code execution clients
|
|
77
|
-
import { PythonClientImpl } from "./python/index.js";
|
|
78
72
|
|
|
79
73
|
/**
|
|
80
74
|
* Supported plugin IDs mapped to their client constructors.
|
|
@@ -133,18 +127,11 @@ export const SUPPORTED_PLUGINS = {
|
|
|
133
127
|
mongodb: "mongodb",
|
|
134
128
|
dynamodb: "dynamodb",
|
|
135
129
|
cosmosdb: "cosmosdb",
|
|
136
|
-
couchbase: "couchbase",
|
|
137
130
|
s3: "s3",
|
|
138
131
|
gcs: "gcs",
|
|
139
132
|
gsheets: "gsheets",
|
|
140
|
-
kafka: "kafka",
|
|
141
|
-
kinesis: "kinesis",
|
|
142
133
|
salesforce: "salesforce",
|
|
143
|
-
redis: "redis",
|
|
144
134
|
"superblocks-ocr": "superblocks-ocr",
|
|
145
|
-
// Kafka-compatible streaming
|
|
146
|
-
confluent: "confluent",
|
|
147
|
-
redpanda: "redpanda",
|
|
148
135
|
// SQL databases (continued)
|
|
149
136
|
lakebase: "lakebase",
|
|
150
137
|
snowflakepostgres: "snowflakepostgres",
|
|
@@ -152,13 +139,19 @@ export const SUPPORTED_PLUGINS = {
|
|
|
152
139
|
smtp: "smtp",
|
|
153
140
|
// REST API plugins
|
|
154
141
|
restapiintegration: "restapiintegration",
|
|
155
|
-
// Code execution
|
|
156
|
-
python: "python",
|
|
157
142
|
} as const;
|
|
158
143
|
|
|
159
144
|
export type SupportedPluginId =
|
|
160
145
|
(typeof SUPPORTED_PLUGINS)[keyof typeof SUPPORTED_PLUGINS];
|
|
161
146
|
|
|
147
|
+
/**
|
|
148
|
+
* Flat list of SDK-supported plugin IDs.
|
|
149
|
+
* Useful for compatibility checks where only the ID set matters.
|
|
150
|
+
*/
|
|
151
|
+
export const SUPPORTED_PLUGIN_IDS = Object.values(
|
|
152
|
+
SUPPORTED_PLUGINS,
|
|
153
|
+
) as SupportedPluginId[];
|
|
154
|
+
|
|
162
155
|
/**
|
|
163
156
|
* Optional metadata attached to an integration call for diagnostics.
|
|
164
157
|
*
|
|
@@ -183,11 +176,8 @@ export interface TraceMetadata {
|
|
|
183
176
|
* Accepts a plugin request object that matches the protobuf Plugin definition
|
|
184
177
|
* for the specific integration type (e.g., postgresql.v1.Plugin, restapi.v1.Plugin).
|
|
185
178
|
*
|
|
186
|
-
* For language plugins (Python, JavaScript), the bindings parameter should be passed
|
|
187
|
-
* to the API execution request as `input` or `inputs` field for binding resolution.
|
|
188
|
-
*
|
|
189
179
|
* @param request - Plugin-specific request object matching the proto schema
|
|
190
|
-
* @param bindings - Optional bindings data for binding resolution
|
|
180
|
+
* @param bindings - Optional bindings data for binding resolution
|
|
191
181
|
* @param metadata - Optional trace metadata (label, description) for diagnostics
|
|
192
182
|
* @returns Promise resolving to the operation result
|
|
193
183
|
*/
|
|
@@ -197,21 +187,6 @@ export type QueryExecutor = (
|
|
|
197
187
|
metadata?: TraceMetadata,
|
|
198
188
|
) => Promise<unknown>;
|
|
199
189
|
|
|
200
|
-
/**
|
|
201
|
-
* Type for the streaming query executor function provided by the orchestrator.
|
|
202
|
-
*
|
|
203
|
-
* Similar to QueryExecutor but returns an AsyncIterable for streaming responses.
|
|
204
|
-
* Used for streaming operations like LLM token streaming.
|
|
205
|
-
*
|
|
206
|
-
* @param request - Plugin-specific request object matching the proto schema
|
|
207
|
-
* @param metadata - Optional trace metadata (label, description) for diagnostics
|
|
208
|
-
* @returns AsyncIterable yielding raw chunks from the stream
|
|
209
|
-
*/
|
|
210
|
-
export type StreamingQueryExecutor = (
|
|
211
|
-
request: Record<string, unknown>,
|
|
212
|
-
metadata?: TraceMetadata,
|
|
213
|
-
) => AsyncIterable<unknown>;
|
|
214
|
-
|
|
215
190
|
/**
|
|
216
191
|
* Options for creating an integration client.
|
|
217
192
|
*/
|
|
@@ -221,12 +196,6 @@ export interface CreateClientOptions {
|
|
|
221
196
|
|
|
222
197
|
/** Function to execute queries/operations against the integration */
|
|
223
198
|
executeQuery: QueryExecutor;
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* Optional function to execute streaming queries/operations.
|
|
227
|
-
* If provided, enables streaming support for compatible clients.
|
|
228
|
-
*/
|
|
229
|
-
executeStreamingQuery?: StreamingQueryExecutor;
|
|
230
199
|
}
|
|
231
200
|
|
|
232
201
|
/**
|
|
@@ -255,189 +224,125 @@ export interface CreateClientOptions {
|
|
|
255
224
|
export function createClient(
|
|
256
225
|
options: CreateClientOptions,
|
|
257
226
|
): IntegrationClientImpl {
|
|
258
|
-
const { config, executeQuery
|
|
227
|
+
const { config, executeQuery } = options;
|
|
259
228
|
|
|
260
229
|
switch (config.pluginId) {
|
|
261
230
|
case SUPPORTED_PLUGINS.postgres:
|
|
262
231
|
return new PostgresClientImpl(config, executeQuery);
|
|
263
232
|
|
|
264
233
|
case SUPPORTED_PLUGINS.slack:
|
|
265
|
-
return new SlackClientImpl(config, executeQuery
|
|
234
|
+
return new SlackClientImpl(config, executeQuery);
|
|
266
235
|
|
|
267
236
|
case SUPPORTED_PLUGINS.openai_v2:
|
|
268
|
-
return new OpenAIClientImpl(config, executeQuery
|
|
237
|
+
return new OpenAIClientImpl(config, executeQuery);
|
|
269
238
|
|
|
270
239
|
case SUPPORTED_PLUGINS.anthropic:
|
|
271
|
-
return new AnthropicClientImpl(
|
|
272
|
-
config,
|
|
273
|
-
executeQuery,
|
|
274
|
-
executeStreamingQuery,
|
|
275
|
-
);
|
|
240
|
+
return new AnthropicClientImpl(config, executeQuery);
|
|
276
241
|
|
|
277
242
|
case SUPPORTED_PLUGINS.stripe:
|
|
278
|
-
return new StripeClientImpl(config, executeQuery
|
|
243
|
+
return new StripeClientImpl(config, executeQuery);
|
|
279
244
|
|
|
280
245
|
case SUPPORTED_PLUGINS.github:
|
|
281
|
-
return new GitHubClientImpl(config, executeQuery
|
|
246
|
+
return new GitHubClientImpl(config, executeQuery);
|
|
282
247
|
|
|
283
248
|
case SUPPORTED_PLUGINS.notion:
|
|
284
|
-
return new NotionClientImpl(config, executeQuery
|
|
249
|
+
return new NotionClientImpl(config, executeQuery);
|
|
285
250
|
|
|
286
251
|
case SUPPORTED_PLUGINS.snowflake:
|
|
287
252
|
return new SnowflakeClientImpl(config, executeQuery);
|
|
288
253
|
|
|
289
254
|
case SUPPORTED_PLUGINS.snowflakecortex:
|
|
290
|
-
return new SnowflakeCortexClientImpl(
|
|
291
|
-
config,
|
|
292
|
-
executeQuery,
|
|
293
|
-
executeStreamingQuery,
|
|
294
|
-
);
|
|
255
|
+
return new SnowflakeCortexClientImpl(config, executeQuery);
|
|
295
256
|
|
|
296
257
|
case SUPPORTED_PLUGINS.airtable:
|
|
297
|
-
return new AirtableClientImpl(
|
|
298
|
-
config,
|
|
299
|
-
executeQuery,
|
|
300
|
-
executeStreamingQuery,
|
|
301
|
-
);
|
|
258
|
+
return new AirtableClientImpl(config, executeQuery);
|
|
302
259
|
|
|
303
260
|
case SUPPORTED_PLUGINS.asana:
|
|
304
|
-
return new AsanaClientImpl(config, executeQuery
|
|
261
|
+
return new AsanaClientImpl(config, executeQuery);
|
|
305
262
|
|
|
306
263
|
case SUPPORTED_PLUGINS.bitbucket:
|
|
307
|
-
return new BitbucketClientImpl(
|
|
308
|
-
config,
|
|
309
|
-
executeQuery,
|
|
310
|
-
executeStreamingQuery,
|
|
311
|
-
);
|
|
264
|
+
return new BitbucketClientImpl(config, executeQuery);
|
|
312
265
|
|
|
313
266
|
case SUPPORTED_PLUGINS.box:
|
|
314
|
-
return new BoxClientImpl(config, executeQuery
|
|
267
|
+
return new BoxClientImpl(config, executeQuery);
|
|
315
268
|
|
|
316
269
|
case SUPPORTED_PLUGINS.circleci:
|
|
317
|
-
return new CircleCIClientImpl(
|
|
318
|
-
config,
|
|
319
|
-
executeQuery,
|
|
320
|
-
executeStreamingQuery,
|
|
321
|
-
);
|
|
270
|
+
return new CircleCIClientImpl(config, executeQuery);
|
|
322
271
|
|
|
323
272
|
case SUPPORTED_PLUGINS.cohere:
|
|
324
|
-
return new CohereClientImpl(config, executeQuery
|
|
273
|
+
return new CohereClientImpl(config, executeQuery);
|
|
325
274
|
|
|
326
275
|
case SUPPORTED_PLUGINS.confluence:
|
|
327
|
-
return new ConfluenceClientImpl(
|
|
328
|
-
config,
|
|
329
|
-
executeQuery,
|
|
330
|
-
executeStreamingQuery,
|
|
331
|
-
);
|
|
276
|
+
return new ConfluenceClientImpl(config, executeQuery);
|
|
332
277
|
|
|
333
278
|
case SUPPORTED_PLUGINS.datadog:
|
|
334
|
-
return new DatadogClientImpl(config, executeQuery
|
|
279
|
+
return new DatadogClientImpl(config, executeQuery);
|
|
335
280
|
|
|
336
281
|
case SUPPORTED_PLUGINS.dropbox:
|
|
337
|
-
return new DropboxClientImpl(config, executeQuery
|
|
282
|
+
return new DropboxClientImpl(config, executeQuery);
|
|
338
283
|
|
|
339
284
|
case SUPPORTED_PLUGINS.elasticsearch:
|
|
340
|
-
return new ElasticSearchClientImpl(
|
|
341
|
-
config,
|
|
342
|
-
executeQuery,
|
|
343
|
-
executeStreamingQuery,
|
|
344
|
-
);
|
|
285
|
+
return new ElasticSearchClientImpl(config, executeQuery);
|
|
345
286
|
|
|
346
287
|
case SUPPORTED_PLUGINS.fireworks:
|
|
347
|
-
return new FireworksClientImpl(
|
|
348
|
-
config,
|
|
349
|
-
executeQuery,
|
|
350
|
-
executeStreamingQuery,
|
|
351
|
-
);
|
|
288
|
+
return new FireworksClientImpl(config, executeQuery);
|
|
352
289
|
|
|
353
290
|
case SUPPORTED_PLUGINS.front:
|
|
354
|
-
return new FrontClientImpl(config, executeQuery
|
|
291
|
+
return new FrontClientImpl(config, executeQuery);
|
|
355
292
|
|
|
356
293
|
case SUPPORTED_PLUGINS.gemini:
|
|
357
|
-
return new GeminiClientImpl(config, executeQuery
|
|
294
|
+
return new GeminiClientImpl(config, executeQuery);
|
|
358
295
|
|
|
359
296
|
case SUPPORTED_PLUGINS.googleanalytics:
|
|
360
|
-
return new GoogleAnalyticsClientImpl(
|
|
361
|
-
config,
|
|
362
|
-
executeQuery,
|
|
363
|
-
executeStreamingQuery,
|
|
364
|
-
);
|
|
297
|
+
return new GoogleAnalyticsClientImpl(config, executeQuery);
|
|
365
298
|
|
|
366
299
|
case SUPPORTED_PLUGINS.googledrive:
|
|
367
|
-
return new GoogleDriveClientImpl(
|
|
368
|
-
config,
|
|
369
|
-
executeQuery,
|
|
370
|
-
executeStreamingQuery,
|
|
371
|
-
);
|
|
300
|
+
return new GoogleDriveClientImpl(config, executeQuery);
|
|
372
301
|
|
|
373
302
|
case SUPPORTED_PLUGINS.graphqlintegration:
|
|
374
303
|
return new GraphQLClientImpl(config, executeQuery);
|
|
375
304
|
|
|
376
305
|
case SUPPORTED_PLUGINS.groq:
|
|
377
|
-
return new GroqClientImpl(config, executeQuery
|
|
306
|
+
return new GroqClientImpl(config, executeQuery);
|
|
378
307
|
|
|
379
308
|
case SUPPORTED_PLUGINS.hubspot:
|
|
380
|
-
return new HubSpotClientImpl(config, executeQuery
|
|
309
|
+
return new HubSpotClientImpl(config, executeQuery);
|
|
381
310
|
|
|
382
311
|
case SUPPORTED_PLUGINS.intercom:
|
|
383
|
-
return new IntercomClientImpl(
|
|
384
|
-
config,
|
|
385
|
-
executeQuery,
|
|
386
|
-
executeStreamingQuery,
|
|
387
|
-
);
|
|
312
|
+
return new IntercomClientImpl(config, executeQuery);
|
|
388
313
|
|
|
389
314
|
case SUPPORTED_PLUGINS.jira:
|
|
390
|
-
return new JiraClientImpl(config, executeQuery
|
|
315
|
+
return new JiraClientImpl(config, executeQuery);
|
|
391
316
|
|
|
392
317
|
case SUPPORTED_PLUGINS.launchdarkly:
|
|
393
|
-
return new LaunchDarklyClientImpl(
|
|
394
|
-
config,
|
|
395
|
-
executeQuery,
|
|
396
|
-
executeStreamingQuery,
|
|
397
|
-
);
|
|
318
|
+
return new LaunchDarklyClientImpl(config, executeQuery);
|
|
398
319
|
|
|
399
320
|
case SUPPORTED_PLUGINS.mistral:
|
|
400
|
-
return new MistralClientImpl(config, executeQuery
|
|
321
|
+
return new MistralClientImpl(config, executeQuery);
|
|
401
322
|
|
|
402
323
|
case SUPPORTED_PLUGINS.pagerduty:
|
|
403
|
-
return new PagerDutyClientImpl(
|
|
404
|
-
config,
|
|
405
|
-
executeQuery,
|
|
406
|
-
executeStreamingQuery,
|
|
407
|
-
);
|
|
324
|
+
return new PagerDutyClientImpl(config, executeQuery);
|
|
408
325
|
|
|
409
326
|
case SUPPORTED_PLUGINS.perplexity:
|
|
410
|
-
return new PerplexityClientImpl(
|
|
411
|
-
config,
|
|
412
|
-
executeQuery,
|
|
413
|
-
executeStreamingQuery,
|
|
414
|
-
);
|
|
327
|
+
return new PerplexityClientImpl(config, executeQuery);
|
|
415
328
|
|
|
416
329
|
case SUPPORTED_PLUGINS.segment:
|
|
417
|
-
return new SegmentClientImpl(config, executeQuery
|
|
330
|
+
return new SegmentClientImpl(config, executeQuery);
|
|
418
331
|
|
|
419
332
|
case SUPPORTED_PLUGINS.sendgrid:
|
|
420
|
-
return new SendGridClientImpl(
|
|
421
|
-
config,
|
|
422
|
-
executeQuery,
|
|
423
|
-
executeStreamingQuery,
|
|
424
|
-
);
|
|
333
|
+
return new SendGridClientImpl(config, executeQuery);
|
|
425
334
|
|
|
426
335
|
case SUPPORTED_PLUGINS.stabilityai:
|
|
427
|
-
return new StabilityAIClientImpl(
|
|
428
|
-
config,
|
|
429
|
-
executeQuery,
|
|
430
|
-
executeStreamingQuery,
|
|
431
|
-
);
|
|
336
|
+
return new StabilityAIClientImpl(config, executeQuery);
|
|
432
337
|
|
|
433
338
|
case SUPPORTED_PLUGINS.twilio:
|
|
434
|
-
return new TwilioClientImpl(config, executeQuery
|
|
339
|
+
return new TwilioClientImpl(config, executeQuery);
|
|
435
340
|
|
|
436
341
|
case SUPPORTED_PLUGINS.zendesk:
|
|
437
|
-
return new ZendeskClientImpl(config, executeQuery
|
|
342
|
+
return new ZendeskClientImpl(config, executeQuery);
|
|
438
343
|
|
|
439
344
|
case SUPPORTED_PLUGINS.zoom:
|
|
440
|
-
return new ZoomClientImpl(config, executeQuery
|
|
345
|
+
return new ZoomClientImpl(config, executeQuery);
|
|
441
346
|
|
|
442
347
|
// SQL databases
|
|
443
348
|
case SUPPORTED_PLUGINS.mysql:
|
|
@@ -477,9 +382,6 @@ export function createClient(
|
|
|
477
382
|
case SUPPORTED_PLUGINS.cosmosdb:
|
|
478
383
|
return new CosmosDBClientImpl(config, executeQuery);
|
|
479
384
|
|
|
480
|
-
case SUPPORTED_PLUGINS.couchbase:
|
|
481
|
-
return new CouchbaseClientImpl(config, executeQuery);
|
|
482
|
-
|
|
483
385
|
case SUPPORTED_PLUGINS.s3:
|
|
484
386
|
return new S3ClientImpl(config, executeQuery);
|
|
485
387
|
|
|
@@ -489,26 +391,12 @@ export function createClient(
|
|
|
489
391
|
case SUPPORTED_PLUGINS.gsheets:
|
|
490
392
|
return new GoogleSheetsClientImpl(config, executeQuery);
|
|
491
393
|
|
|
492
|
-
case SUPPORTED_PLUGINS.kafka:
|
|
493
|
-
return new KafkaClientImpl(config, executeQuery);
|
|
494
|
-
|
|
495
|
-
case SUPPORTED_PLUGINS.kinesis:
|
|
496
|
-
return new KinesisClientImpl(config, executeQuery);
|
|
497
|
-
|
|
498
394
|
case SUPPORTED_PLUGINS.salesforce:
|
|
499
395
|
return new SalesforceClientImpl(config, executeQuery);
|
|
500
396
|
|
|
501
|
-
case SUPPORTED_PLUGINS.redis:
|
|
502
|
-
return new RedisClientImpl(config, executeQuery);
|
|
503
|
-
|
|
504
397
|
case SUPPORTED_PLUGINS["superblocks-ocr"]:
|
|
505
398
|
return new SuperblocksOCRClientImpl(config, executeQuery);
|
|
506
399
|
|
|
507
|
-
// Confluent and Redpanda use the same Kafka plugin proto
|
|
508
|
-
case SUPPORTED_PLUGINS.confluent:
|
|
509
|
-
case SUPPORTED_PLUGINS.redpanda:
|
|
510
|
-
return new KafkaClientImpl(config, executeQuery);
|
|
511
|
-
|
|
512
400
|
case SUPPORTED_PLUGINS.lakebase:
|
|
513
401
|
return new LakebaseClientImpl(config, executeQuery);
|
|
514
402
|
|
|
@@ -519,14 +407,7 @@ export function createClient(
|
|
|
519
407
|
return new SmtpClientImpl(config, executeQuery);
|
|
520
408
|
|
|
521
409
|
case SUPPORTED_PLUGINS.restapiintegration:
|
|
522
|
-
return new RestApiIntegrationPluginClientImpl(
|
|
523
|
-
config,
|
|
524
|
-
executeQuery,
|
|
525
|
-
executeStreamingQuery,
|
|
526
|
-
);
|
|
527
|
-
|
|
528
|
-
case SUPPORTED_PLUGINS.python:
|
|
529
|
-
return new PythonClientImpl(config, executeQuery);
|
|
410
|
+
return new RestApiIntegrationPluginClientImpl(config, executeQuery);
|
|
530
411
|
|
|
531
412
|
default:
|
|
532
413
|
throw new Error(
|