@superblocksteam/sdk-api 2.0.101-next.5 → 2.0.101
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 +41 -47
- package/dist/api/definition.d.ts +1 -1
- package/dist/api/definition.d.ts.map +1 -1
- package/dist/api/definition.js.map +1 -1
- package/dist/api/definition.test.js.map +1 -1
- package/dist/api/streaming.d.ts +1 -1
- package/dist/api/streaming.d.ts.map +1 -1
- package/dist/api/streaming.js.map +1 -1
- package/dist/api/streaming.test.js +2 -2
- package/dist/api/streaming.test.js.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.map +1 -1
- package/dist/integrations/base/graphql-integration-client.d.ts +2 -2
- package/dist/integrations/base/graphql-integration-client.d.ts.map +1 -1
- package/dist/integrations/base/graphql-integration-client.js.map +1 -1
- package/dist/integrations/base/rest-api-integration-client.d.ts +3 -3
- package/dist/integrations/base/rest-api-integration-client.d.ts.map +1 -1
- package/dist/integrations/base/rest-api-integration-client.js.map +1 -1
- 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.map +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/couchbase/client.d.ts +3 -9
- package/dist/integrations/couchbase/client.d.ts.map +1 -1
- package/dist/integrations/couchbase/client.js +33 -27
- package/dist/integrations/couchbase/client.js.map +1 -1
- package/dist/integrations/couchbase/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.map +1 -1
- package/dist/integrations/declarations.d.ts +36 -36
- package/dist/integrations/declarations.d.ts.map +1 -1
- package/dist/integrations/declarations.test.js.map +1 -1
- 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/graphql/types.d.ts +1 -1
- 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/kafka/client.d.ts +1 -1
- package/dist/integrations/kafka/client.d.ts.map +1 -1
- package/dist/integrations/kafka/client.js.map +1 -1
- package/dist/integrations/kafka/types.d.ts.map +1 -1
- package/dist/integrations/kinesis/client.d.ts +1 -1
- package/dist/integrations/kinesis/client.d.ts.map +1 -1
- package/dist/integrations/kinesis/client.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.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.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.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.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.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/python/client.d.ts +2 -2
- package/dist/integrations/python/client.d.ts.map +1 -1
- package/dist/integrations/python/client.js.map +1 -1
- package/dist/integrations/python/client.test.js.map +1 -1
- package/dist/integrations/python/types.d.ts.map +1 -1
- package/dist/integrations/redis/client.d.ts +1 -1
- package/dist/integrations/redis/client.d.ts.map +1 -1
- package/dist/integrations/redis/client.js.map +1 -1
- package/dist/integrations/redis/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.map +1 -1
- package/dist/integrations/registry.js +22 -22
- package/dist/integrations/registry.js.map +1 -1
- package/dist/integrations/registry.test.js.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 +1 -3
- 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/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 +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/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 +2 -2
- package/dist/runtime/context.d.ts.map +1 -1
- package/dist/runtime/context.js.map +1 -1
- package/dist/runtime/streaming-context.d.ts +2 -2
- package/dist/runtime/streaming-context.d.ts.map +1 -1
- package/dist/runtime/streaming-context.js.map +1 -1
- package/dist/runtime/streaming-executor.d.ts.map +1 -1
- package/dist/runtime/streaming-executor.js +1 -1
- package/dist/runtime/streaming-executor.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api/definition.test.ts +0 -1
- package/src/api/definition.ts +1 -1
- package/src/api/streaming.test.ts +2 -3
- package/src/api/streaming.ts +1 -2
- package/src/integrations/athena/client.ts +3 -5
- package/src/integrations/athena/types.ts +0 -1
- package/src/integrations/base/graphql-integration-client.ts +2 -3
- package/src/integrations/base/rest-api-integration-client.ts +7 -9
- package/src/integrations/base/types.ts +0 -1
- package/src/integrations/bigquery/client.ts +3 -5
- package/src/integrations/bigquery/types.ts +0 -1
- package/src/integrations/cockroachdb/client.ts +3 -5
- package/src/integrations/cockroachdb/types.ts +0 -1
- package/src/integrations/cosmosdb/client.test.ts +1 -2
- package/src/integrations/cosmosdb/client.ts +3 -5
- package/src/integrations/cosmosdb/types.ts +0 -1
- package/src/integrations/couchbase/client.ts +46 -34
- package/src/integrations/couchbase/types.ts +0 -1
- package/src/integrations/databricks/client.ts +3 -5
- package/src/integrations/databricks/types.ts +0 -1
- package/src/integrations/declarations.test.ts +0 -1
- package/src/integrations/declarations.ts +36 -36
- package/src/integrations/dynamodb/client.ts +2 -3
- package/src/integrations/dynamodb/types.ts +0 -1
- package/src/integrations/gcs/client.ts +3 -5
- package/src/integrations/gcs/types.ts +0 -1
- package/src/integrations/graphql/types.ts +1 -2
- package/src/integrations/gsheets/client.ts +3 -5
- package/src/integrations/gsheets/types.ts +0 -1
- package/src/integrations/kafka/client.ts +2 -3
- package/src/integrations/kafka/types.ts +0 -1
- package/src/integrations/kinesis/client.ts +2 -2
- package/src/integrations/lakebase/client.ts +4 -6
- package/src/integrations/lakebase/types.ts +0 -1
- package/src/integrations/mariadb/client.ts +3 -5
- package/src/integrations/mariadb/types.ts +0 -1
- package/src/integrations/mongodb/client.ts +3 -5
- package/src/integrations/mongodb/types.ts +0 -1
- package/src/integrations/mssql/client.ts +3 -5
- package/src/integrations/mssql/types.ts +0 -1
- package/src/integrations/mysql/client.ts +3 -5
- package/src/integrations/mysql/types.ts +0 -1
- package/src/integrations/oracledb/client.ts +3 -5
- package/src/integrations/oracledb/types.ts +0 -1
- package/src/integrations/postgres/client.ts +4 -6
- package/src/integrations/postgres/types.ts +0 -1
- package/src/integrations/python/client.test.ts +2 -3
- package/src/integrations/python/client.ts +3 -5
- package/src/integrations/python/types.ts +0 -1
- package/src/integrations/redis/client.ts +2 -3
- package/src/integrations/redis/types.ts +0 -1
- package/src/integrations/redshift/client.ts +3 -5
- package/src/integrations/redshift/types.ts +0 -1
- package/src/integrations/registry.test.ts +0 -1
- package/src/integrations/registry.ts +23 -23
- package/src/integrations/s3/client.ts +3 -5
- package/src/integrations/s3/types.ts +1 -4
- package/src/integrations/salesforce/client.ts +2 -3
- package/src/integrations/salesforce/types.ts +0 -1
- package/src/integrations/smtp/client.ts +2 -4
- package/src/integrations/snowflake/client.ts +3 -5
- package/src/integrations/snowflake/types.ts +0 -1
- package/src/integrations/snowflakepostgres/client.ts +1 -1
- package/src/integrations/snowflakepostgres/types.ts +0 -1
- package/src/runtime/context.ts +10 -10
- package/src/runtime/streaming-context.ts +10 -10
- package/src/runtime/streaming-executor.ts +4 -4
- package/src/types.ts +0 -1
- package/src/integrations/lakebase/README.md +0 -242
- package/src/integrations/restapiintegration/README.md +0 -359
- package/src/integrations/smtp/README.md +0 -220
- package/src/integrations/snowflakecortex/README.md +0 -216
- package/src/integrations/snowflakepostgres/README.md +0 -233
|
@@ -4,15 +4,13 @@
|
|
|
4
4
|
* Uses the native GCS plugin type from @superblocksteam/types.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
8
7
|
import type { z } from "zod";
|
|
9
|
-
|
|
8
|
+
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
10
9
|
import type { Plugin as GCSPlugin } from "@superblocksteam/types/dist/src/plugins/gcs/v1/plugin_pb";
|
|
11
|
-
|
|
10
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
11
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
12
12
|
import { RestApiValidationError } from "../../errors.js";
|
|
13
13
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
14
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
15
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
16
14
|
import type {
|
|
17
15
|
GCSClient,
|
|
18
16
|
GCSAction,
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
* GraphQL client types.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { z } from "zod";
|
|
6
|
-
|
|
7
5
|
import type { BaseIntegrationClient } from "../../types.js";
|
|
8
6
|
import type { TraceMetadata } from "../registry.js";
|
|
7
|
+
import type { z } from "zod";
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* GraphQL client for executing queries and mutations.
|
|
@@ -4,15 +4,13 @@
|
|
|
4
4
|
* Uses the native Google Sheets plugin type from @superblocksteam/types.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
8
7
|
import type { z } from "zod";
|
|
9
|
-
|
|
8
|
+
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
10
9
|
import type { Plugin as GSheetsPlugin } from "@superblocksteam/types/dist/src/plugins/gsheets/v1/plugin_pb";
|
|
11
|
-
|
|
10
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
11
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
12
12
|
import { RestApiValidationError } from "../../errors.js";
|
|
13
13
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
14
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
15
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
16
14
|
import type {
|
|
17
15
|
GoogleSheetsClient,
|
|
18
16
|
GoogleSheetsAction,
|
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import type { z } from "zod";
|
|
8
|
-
|
|
8
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
9
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
9
10
|
import { RestApiValidationError } from "../../errors.js";
|
|
10
11
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
11
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
12
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
13
12
|
import type {
|
|
14
13
|
KafkaClient,
|
|
15
14
|
KafkaConsumeParams,
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Supports PUT (write records) and GET (read records) operations.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { IntegrationError } from "../../runtime/errors.js";
|
|
9
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
10
8
|
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
9
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
10
|
+
import { IntegrationError } from "../../runtime/errors.js";
|
|
11
11
|
import type {
|
|
12
12
|
KinesisClient,
|
|
13
13
|
KinesisPutParams,
|
|
@@ -5,17 +5,15 @@
|
|
|
5
5
|
* Supports server-side parameterized SQL queries via the `parameters` field.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
9
8
|
import type { z } from "zod";
|
|
10
|
-
|
|
9
|
+
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
11
10
|
import type { Plugin as LakebasePlugin } from "@superblocksteam/types/dist/src/plugins/lakebase/v1/plugin_pb";
|
|
12
|
-
|
|
11
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
12
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
13
|
+
import type { LakebaseClient } from "./types.js";
|
|
13
14
|
import { QueryValidationError } from "../../errors.js";
|
|
14
15
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
15
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
16
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
17
16
|
import { describeType } from "../utils.js";
|
|
18
|
-
import type { LakebaseClient } from "./types.js";
|
|
19
17
|
|
|
20
18
|
/**
|
|
21
19
|
* Lakebase request type derived from proto definition.
|
|
@@ -5,15 +5,13 @@
|
|
|
5
5
|
* runtime validation using Zod schemas.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
9
8
|
import type { z } from "zod";
|
|
10
|
-
|
|
9
|
+
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
11
10
|
import type { Plugin as MariaDBPlugin } from "@superblocksteam/types/dist/src/plugins/mariadb/v1/plugin_pb";
|
|
12
|
-
|
|
11
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
12
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
13
13
|
import { QueryValidationError } from "../../errors.js";
|
|
14
14
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
15
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
16
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
17
15
|
import { describeType } from "../utils.js";
|
|
18
16
|
import type { MariaDBClient } from "./types.js";
|
|
19
17
|
|
|
@@ -4,15 +4,13 @@
|
|
|
4
4
|
* Uses the native MongoDB plugin type from @superblocksteam/types.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
8
7
|
import type { z } from "zod";
|
|
9
|
-
|
|
8
|
+
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
10
9
|
import type { Plugin as MongoDBPlugin } from "@superblocksteam/types/dist/src/plugins/mongodb/v1/plugin_pb";
|
|
11
|
-
|
|
10
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
11
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
12
12
|
import { RestApiValidationError } from "../../errors.js";
|
|
13
13
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
14
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
15
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
16
14
|
import type { MongoDBClient, MongoDBAction, MongoDBParams } from "./types.js";
|
|
17
15
|
|
|
18
16
|
/**
|
|
@@ -5,15 +5,13 @@
|
|
|
5
5
|
* runtime validation using Zod schemas.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
9
8
|
import type { z } from "zod";
|
|
10
|
-
|
|
9
|
+
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
11
10
|
import type { Plugin as MSSQLPlugin } from "@superblocksteam/types/dist/src/plugins/mssql/v1/plugin_pb";
|
|
12
|
-
|
|
11
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
12
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
13
13
|
import { QueryValidationError } from "../../errors.js";
|
|
14
14
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
15
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
16
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
17
15
|
import { describeType } from "../utils.js";
|
|
18
16
|
import type { MSSQLClient } from "./types.js";
|
|
19
17
|
|
|
@@ -5,15 +5,13 @@
|
|
|
5
5
|
* runtime validation using Zod schemas.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
9
8
|
import type { z } from "zod";
|
|
10
|
-
|
|
9
|
+
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
11
10
|
import type { Plugin as MySQLPlugin } from "@superblocksteam/types/dist/src/plugins/mysql/v1/plugin_pb";
|
|
12
|
-
|
|
11
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
12
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
13
13
|
import { QueryValidationError } from "../../errors.js";
|
|
14
14
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
15
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
16
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
17
15
|
import { describeType } from "../utils.js";
|
|
18
16
|
import type { MySQLClient } from "./types.js";
|
|
19
17
|
|
|
@@ -5,15 +5,13 @@
|
|
|
5
5
|
* runtime validation using Zod schemas.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
9
8
|
import type { z } from "zod";
|
|
10
|
-
|
|
9
|
+
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
11
10
|
import type { Plugin as OracleDBPlugin } from "@superblocksteam/types/dist/src/plugins/oracledb/v1/plugin_pb";
|
|
12
|
-
|
|
11
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
12
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
13
13
|
import { QueryValidationError } from "../../errors.js";
|
|
14
14
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
15
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
16
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
17
15
|
import { describeType } from "../utils.js";
|
|
18
16
|
import type { OracleDBClient } from "./types.js";
|
|
19
17
|
|
|
@@ -5,17 +5,15 @@
|
|
|
5
5
|
* for type-safe request building.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
9
8
|
import type { z } from "zod";
|
|
10
|
-
|
|
9
|
+
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
11
10
|
import type { Plugin as PostgresPlugin } from "@superblocksteam/types/dist/src/plugins/postgresql/v1/plugin_pb";
|
|
12
|
-
|
|
11
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
12
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
13
|
+
import type { PostgresClient } from "./types.js";
|
|
13
14
|
import { QueryValidationError } from "../../errors.js";
|
|
14
15
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
15
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
16
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
17
16
|
import { describeType } from "../utils.js";
|
|
18
|
-
import type { PostgresClient } from "./types.js";
|
|
19
17
|
/**
|
|
20
18
|
* PostgreSQL request type derived from proto definition.
|
|
21
19
|
* Using PartialMessage allows optional fields.
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import { describe, it, expect, vi } from "vitest";
|
|
6
6
|
import { z } from "zod";
|
|
7
|
-
|
|
8
|
-
import type { QueryExecutor } from "../registry.js";
|
|
9
|
-
import type { IntegrationConfig } from "../types.js";
|
|
10
7
|
import { PythonClientImpl } from "./client.js";
|
|
8
|
+
import type { IntegrationConfig } from "../types.js";
|
|
9
|
+
import type { QueryExecutor } from "../registry.js";
|
|
11
10
|
|
|
12
11
|
/** Helper to compute expected base64-encoded json.loads preamble. */
|
|
13
12
|
function expectedBindingsLine(bindings: Record<string, unknown>): string {
|
|
@@ -4,15 +4,13 @@
|
|
|
4
4
|
* Executes Python code via the orchestrator with type-safe bindings.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
8
7
|
import type { z } from "zod";
|
|
9
|
-
|
|
8
|
+
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
10
9
|
import type { Plugin as PythonPlugin } from "@superblocksteam/types/dist/src/plugins/python/v1/plugin_pb";
|
|
11
|
-
|
|
12
|
-
import { CodeExecutionError } from "../../errors.js";
|
|
13
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
14
10
|
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
11
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
15
12
|
import type { PythonClient } from "./types.js";
|
|
13
|
+
import { CodeExecutionError } from "../../errors.js";
|
|
16
14
|
|
|
17
15
|
/**
|
|
18
16
|
* Python plugin request type derived from proto definition.
|
|
@@ -11,11 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import type { z } from "zod";
|
|
14
|
-
|
|
14
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
15
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
15
16
|
import { RestApiValidationError } from "../../errors.js";
|
|
16
17
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
17
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
18
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
19
18
|
import type { RedisClient } from "./types.js";
|
|
20
19
|
|
|
21
20
|
/**
|
|
@@ -5,15 +5,13 @@
|
|
|
5
5
|
* runtime validation using Zod schemas.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
9
8
|
import type { z } from "zod";
|
|
10
|
-
|
|
9
|
+
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
11
10
|
import type { Plugin as RedshiftPlugin } from "@superblocksteam/types/dist/src/plugins/redshift/v1/plugin_pb";
|
|
12
|
-
|
|
11
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
12
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
13
13
|
import { QueryValidationError } from "../../errors.js";
|
|
14
14
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
15
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
16
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
17
15
|
import { describeType } from "../utils.js";
|
|
18
16
|
import type { RedshiftClient } from "./types.js";
|
|
19
17
|
|
|
@@ -5,8 +5,17 @@
|
|
|
5
5
|
* and provides factory functions for creating clients.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import {
|
|
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";
|
|
9
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
|
+
import { AirtableClientImpl } from "./airtable/index.js";
|
|
10
19
|
import { AsanaClientImpl } from "./asana/index.js";
|
|
11
20
|
import { BitbucketClientImpl } from "./bitbucket/index.js";
|
|
12
21
|
import { BoxClientImpl } from "./box/index.js";
|
|
@@ -19,58 +28,49 @@ import { ElasticSearchClientImpl } from "./elasticsearch/index.js";
|
|
|
19
28
|
import { FireworksClientImpl } from "./fireworks/index.js";
|
|
20
29
|
import { FrontClientImpl } from "./front/index.js";
|
|
21
30
|
import { GeminiClientImpl } from "./gemini/index.js";
|
|
22
|
-
import { GitHubClientImpl } from "./github/index.js";
|
|
23
31
|
import { GoogleAnalyticsClientImpl } from "./googleanalytics/index.js";
|
|
24
32
|
import { GoogleDriveClientImpl } from "./googledrive/index.js";
|
|
25
|
-
import { GraphQLClientImpl } from "./graphql/index.js";
|
|
26
33
|
import { GroqClientImpl } from "./groq/index.js";
|
|
27
34
|
import { HubSpotClientImpl } from "./hubspot/index.js";
|
|
28
35
|
import { IntercomClientImpl } from "./intercom/index.js";
|
|
29
36
|
import { JiraClientImpl } from "./jira/index.js";
|
|
30
37
|
import { LaunchDarklyClientImpl } from "./launchdarkly/index.js";
|
|
31
38
|
import { MistralClientImpl } from "./mistral/index.js";
|
|
32
|
-
import { NotionClientImpl } from "./notion/index.js";
|
|
33
|
-
import { OpenAIClientImpl } from "./openai_v2/index.js";
|
|
34
39
|
import { PagerDutyClientImpl } from "./pagerduty/index.js";
|
|
35
40
|
import { PerplexityClientImpl } from "./perplexity/index.js";
|
|
36
|
-
import { PostgresClientImpl } from "./postgres/index.js";
|
|
37
41
|
import { SegmentClientImpl } from "./segment/index.js";
|
|
38
42
|
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";
|
|
42
43
|
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";
|
|
46
45
|
import { ZendeskClientImpl } from "./zendesk/index.js";
|
|
47
46
|
import { ZoomClientImpl } from "./zoom/index.js";
|
|
47
|
+
import { GraphQLClientImpl } from "./graphql/index.js";
|
|
48
48
|
// SQL Database clients
|
|
49
|
-
import {
|
|
50
|
-
import { BigQueryClientImpl } from "./bigquery/index.js";
|
|
51
|
-
import { CockroachDBClientImpl } from "./cockroachdb/index.js";
|
|
52
|
-
import { DatabricksClientImpl } from "./databricks/index.js";
|
|
49
|
+
import { MySQLClientImpl } from "./mysql/index.js";
|
|
53
50
|
import { MariaDBClientImpl } from "./mariadb/index.js";
|
|
54
51
|
import { MSSQLClientImpl } from "./mssql/index.js";
|
|
55
|
-
import {
|
|
52
|
+
import { CockroachDBClientImpl } from "./cockroachdb/index.js";
|
|
56
53
|
import { OracleDBClientImpl } from "./oracledb/index.js";
|
|
57
54
|
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";
|
|
59
61
|
import { CosmosDBClientImpl } from "./cosmosdb/index.js";
|
|
60
62
|
import { CouchbaseClientImpl } from "./couchbase/index.js";
|
|
61
|
-
import {
|
|
63
|
+
import { S3ClientImpl } from "./s3/index.js";
|
|
62
64
|
import { GCSClientImpl } from "./gcs/index.js";
|
|
63
65
|
import { GoogleSheetsClientImpl } from "./gsheets/index.js";
|
|
64
66
|
import { KafkaClientImpl } from "./kafka/index.js";
|
|
65
67
|
import { KinesisClientImpl } from "./kinesis/index.js";
|
|
66
|
-
import { LakebaseClientImpl } from "./lakebase/index.js";
|
|
67
|
-
import { MongoDBClientImpl } from "./mongodb/index.js";
|
|
68
|
-
import { RedisClientImpl } from "./redis/index.js";
|
|
69
|
-
import { S3ClientImpl } from "./s3/index.js";
|
|
70
68
|
import { SalesforceClientImpl } from "./salesforce/index.js";
|
|
71
|
-
import {
|
|
72
|
-
import { SnowflakePostgresClientImpl } from "./snowflakepostgres/index.js";
|
|
69
|
+
import { RedisClientImpl } from "./redis/index.js";
|
|
73
70
|
import { SuperblocksOCRClientImpl } from "./superblocks-ocr/index.js";
|
|
71
|
+
import { LakebaseClientImpl } from "./lakebase/index.js";
|
|
72
|
+
import { SnowflakePostgresClientImpl } from "./snowflakepostgres/index.js";
|
|
73
|
+
import { SmtpClientImpl } from "./smtp/index.js";
|
|
74
74
|
// REST API plugins
|
|
75
75
|
import { RestApiIntegrationPluginClientImpl } from "./restapiintegration/index.js";
|
|
76
76
|
// Code execution clients
|
|
@@ -4,15 +4,13 @@
|
|
|
4
4
|
* Uses the native S3 plugin type from @superblocksteam/types.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
8
7
|
import type { z } from "zod";
|
|
9
|
-
|
|
8
|
+
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
10
9
|
import type { Plugin as S3Plugin } from "@superblocksteam/types/dist/src/plugins/s3/v1/plugin_pb";
|
|
11
|
-
|
|
10
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
11
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
12
12
|
import { RestApiValidationError } from "../../errors.js";
|
|
13
13
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
14
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
15
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
16
14
|
import type {
|
|
17
15
|
S3Client,
|
|
18
16
|
S3Action,
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import type { z } from "zod";
|
|
6
|
-
|
|
7
6
|
import type { BaseIntegrationClient } from "../../types.js";
|
|
8
7
|
import type { TraceMetadata } from "../registry.js";
|
|
9
8
|
|
|
@@ -130,9 +129,7 @@ export interface S3Client extends BaseIntegrationClient {
|
|
|
130
129
|
*
|
|
131
130
|
* @param bucket - Bucket name
|
|
132
131
|
* @param path - Object key/path
|
|
133
|
-
* @param body -
|
|
134
|
-
* Suitable for plain text, JSON, or CSV. For binary files (PDF, DOCX, images),
|
|
135
|
-
* use {@link S3Client.uploadMultipleObjects | uploadMultipleObjects} with file references instead.
|
|
132
|
+
* @param body - File content (base64 or text)
|
|
136
133
|
* @param metadata - Optional trace metadata for diagnostics
|
|
137
134
|
*/
|
|
138
135
|
uploadObject(
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import type { z } from "zod";
|
|
9
|
-
|
|
9
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
10
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
10
11
|
import { QueryValidationError, RestApiValidationError } from "../../errors.js";
|
|
11
12
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
12
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
13
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
14
13
|
import { describeType } from "../utils.js";
|
|
15
14
|
import type { SalesforceClient } from "./types.js";
|
|
16
15
|
|
|
@@ -6,12 +6,10 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
9
|
-
|
|
10
9
|
import type { Plugin as SmtpPlugin } from "@superblocksteam/types/dist/src/plugins/smtp/v1/plugin_pb";
|
|
11
|
-
|
|
12
|
-
import { IntegrationError } from "../../runtime/errors.js";
|
|
13
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
14
10
|
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
11
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
12
|
+
import { IntegrationError } from "../../runtime/errors.js";
|
|
15
13
|
import type { SmtpClient, SmtpSendOptions } from "./types.js";
|
|
16
14
|
|
|
17
15
|
/**
|
|
@@ -5,15 +5,13 @@
|
|
|
5
5
|
* runtime validation using Zod schemas.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
9
8
|
import type { z } from "zod";
|
|
10
|
-
|
|
9
|
+
import type { PartialMessage } from "@bufbuild/protobuf";
|
|
11
10
|
import type { Plugin as SnowflakePlugin } from "@superblocksteam/types/dist/src/plugins/snowflake/v1/plugin_pb";
|
|
12
|
-
|
|
11
|
+
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
12
|
+
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
13
13
|
import { QueryValidationError } from "../../errors.js";
|
|
14
14
|
import { IntegrationError } from "../../runtime/errors.js";
|
|
15
|
-
import type { QueryExecutor, TraceMetadata } from "../registry.js";
|
|
16
|
-
import type { IntegrationConfig, IntegrationClientImpl } from "../types.js";
|
|
17
15
|
import { describeType } from "../utils.js";
|
|
18
16
|
import type { SnowflakeClient } from "./types.js";
|
|
19
17
|
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* implementation.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PostgresClientImpl } from "../postgres/client.js";
|
|
10
9
|
import type { SnowflakePostgresClient } from "./types.js";
|
|
10
|
+
import { PostgresClientImpl } from "../postgres/client.js";
|
|
11
11
|
|
|
12
12
|
export class SnowflakePostgresClientImpl
|
|
13
13
|
extends PostgresClientImpl
|