@superblocksteam/sdk-api 2.0.102-next.0 → 2.0.102

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.
Files changed (216) hide show
  1. package/README.md +41 -47
  2. package/dist/api/definition.d.ts +1 -1
  3. package/dist/api/definition.d.ts.map +1 -1
  4. package/dist/api/definition.js.map +1 -1
  5. package/dist/api/definition.test.js.map +1 -1
  6. package/dist/api/streaming.d.ts +1 -1
  7. package/dist/api/streaming.d.ts.map +1 -1
  8. package/dist/api/streaming.js.map +1 -1
  9. package/dist/api/streaming.test.js +2 -2
  10. package/dist/api/streaming.test.js.map +1 -1
  11. package/dist/integrations/athena/client.d.ts +1 -1
  12. package/dist/integrations/athena/client.d.ts.map +1 -1
  13. package/dist/integrations/athena/client.js.map +1 -1
  14. package/dist/integrations/athena/types.d.ts.map +1 -1
  15. package/dist/integrations/base/graphql-integration-client.d.ts +2 -2
  16. package/dist/integrations/base/graphql-integration-client.d.ts.map +1 -1
  17. package/dist/integrations/base/graphql-integration-client.js.map +1 -1
  18. package/dist/integrations/base/rest-api-integration-client.d.ts +3 -3
  19. package/dist/integrations/base/rest-api-integration-client.d.ts.map +1 -1
  20. package/dist/integrations/base/rest-api-integration-client.js.map +1 -1
  21. package/dist/integrations/base/types.d.ts.map +1 -1
  22. package/dist/integrations/bigquery/client.d.ts +1 -1
  23. package/dist/integrations/bigquery/client.d.ts.map +1 -1
  24. package/dist/integrations/bigquery/client.js.map +1 -1
  25. package/dist/integrations/bigquery/types.d.ts.map +1 -1
  26. package/dist/integrations/cockroachdb/client.d.ts +1 -1
  27. package/dist/integrations/cockroachdb/client.d.ts.map +1 -1
  28. package/dist/integrations/cockroachdb/client.js.map +1 -1
  29. package/dist/integrations/cockroachdb/types.d.ts.map +1 -1
  30. package/dist/integrations/cosmosdb/client.d.ts +1 -1
  31. package/dist/integrations/cosmosdb/client.d.ts.map +1 -1
  32. package/dist/integrations/cosmosdb/client.js.map +1 -1
  33. package/dist/integrations/cosmosdb/client.test.js.map +1 -1
  34. package/dist/integrations/cosmosdb/types.d.ts.map +1 -1
  35. package/dist/integrations/couchbase/client.d.ts +3 -9
  36. package/dist/integrations/couchbase/client.d.ts.map +1 -1
  37. package/dist/integrations/couchbase/client.js +33 -27
  38. package/dist/integrations/couchbase/client.js.map +1 -1
  39. package/dist/integrations/couchbase/types.d.ts.map +1 -1
  40. package/dist/integrations/databricks/client.d.ts +1 -1
  41. package/dist/integrations/databricks/client.d.ts.map +1 -1
  42. package/dist/integrations/databricks/client.js.map +1 -1
  43. package/dist/integrations/databricks/types.d.ts.map +1 -1
  44. package/dist/integrations/declarations.d.ts +36 -36
  45. package/dist/integrations/declarations.d.ts.map +1 -1
  46. package/dist/integrations/declarations.test.js.map +1 -1
  47. package/dist/integrations/dynamodb/client.d.ts +1 -1
  48. package/dist/integrations/dynamodb/client.d.ts.map +1 -1
  49. package/dist/integrations/dynamodb/client.js.map +1 -1
  50. package/dist/integrations/dynamodb/types.d.ts.map +1 -1
  51. package/dist/integrations/gcs/client.d.ts +1 -1
  52. package/dist/integrations/gcs/client.d.ts.map +1 -1
  53. package/dist/integrations/gcs/client.js.map +1 -1
  54. package/dist/integrations/gcs/types.d.ts.map +1 -1
  55. package/dist/integrations/graphql/types.d.ts +1 -1
  56. package/dist/integrations/graphql/types.d.ts.map +1 -1
  57. package/dist/integrations/gsheets/client.d.ts +1 -1
  58. package/dist/integrations/gsheets/client.d.ts.map +1 -1
  59. package/dist/integrations/gsheets/client.js.map +1 -1
  60. package/dist/integrations/gsheets/types.d.ts.map +1 -1
  61. package/dist/integrations/kafka/client.d.ts +1 -1
  62. package/dist/integrations/kafka/client.d.ts.map +1 -1
  63. package/dist/integrations/kafka/client.js.map +1 -1
  64. package/dist/integrations/kafka/types.d.ts.map +1 -1
  65. package/dist/integrations/kinesis/client.d.ts +1 -1
  66. package/dist/integrations/kinesis/client.d.ts.map +1 -1
  67. package/dist/integrations/kinesis/client.js.map +1 -1
  68. package/dist/integrations/lakebase/client.d.ts +1 -1
  69. package/dist/integrations/lakebase/client.d.ts.map +1 -1
  70. package/dist/integrations/lakebase/client.js.map +1 -1
  71. package/dist/integrations/lakebase/types.d.ts.map +1 -1
  72. package/dist/integrations/mariadb/client.d.ts +1 -1
  73. package/dist/integrations/mariadb/client.d.ts.map +1 -1
  74. package/dist/integrations/mariadb/client.js.map +1 -1
  75. package/dist/integrations/mariadb/types.d.ts.map +1 -1
  76. package/dist/integrations/mongodb/client.d.ts +1 -1
  77. package/dist/integrations/mongodb/client.d.ts.map +1 -1
  78. package/dist/integrations/mongodb/client.js.map +1 -1
  79. package/dist/integrations/mongodb/types.d.ts.map +1 -1
  80. package/dist/integrations/mssql/client.d.ts +1 -1
  81. package/dist/integrations/mssql/client.d.ts.map +1 -1
  82. package/dist/integrations/mssql/client.js.map +1 -1
  83. package/dist/integrations/mssql/types.d.ts.map +1 -1
  84. package/dist/integrations/mysql/client.d.ts +1 -1
  85. package/dist/integrations/mysql/client.d.ts.map +1 -1
  86. package/dist/integrations/mysql/client.js.map +1 -1
  87. package/dist/integrations/mysql/types.d.ts.map +1 -1
  88. package/dist/integrations/oracledb/client.d.ts +1 -1
  89. package/dist/integrations/oracledb/client.d.ts.map +1 -1
  90. package/dist/integrations/oracledb/client.js.map +1 -1
  91. package/dist/integrations/oracledb/types.d.ts.map +1 -1
  92. package/dist/integrations/postgres/client.d.ts +2 -2
  93. package/dist/integrations/postgres/client.d.ts.map +1 -1
  94. package/dist/integrations/postgres/client.js.map +1 -1
  95. package/dist/integrations/postgres/types.d.ts.map +1 -1
  96. package/dist/integrations/python/client.d.ts +2 -2
  97. package/dist/integrations/python/client.d.ts.map +1 -1
  98. package/dist/integrations/python/client.js.map +1 -1
  99. package/dist/integrations/python/client.test.js.map +1 -1
  100. package/dist/integrations/python/types.d.ts.map +1 -1
  101. package/dist/integrations/redis/client.d.ts +1 -1
  102. package/dist/integrations/redis/client.d.ts.map +1 -1
  103. package/dist/integrations/redis/client.js.map +1 -1
  104. package/dist/integrations/redis/types.d.ts.map +1 -1
  105. package/dist/integrations/redshift/client.d.ts +1 -1
  106. package/dist/integrations/redshift/client.d.ts.map +1 -1
  107. package/dist/integrations/redshift/client.js.map +1 -1
  108. package/dist/integrations/redshift/types.d.ts.map +1 -1
  109. package/dist/integrations/registry.d.ts.map +1 -1
  110. package/dist/integrations/registry.js +22 -22
  111. package/dist/integrations/registry.js.map +1 -1
  112. package/dist/integrations/registry.test.js.map +1 -1
  113. package/dist/integrations/s3/client.d.ts +1 -1
  114. package/dist/integrations/s3/client.d.ts.map +1 -1
  115. package/dist/integrations/s3/client.js.map +1 -1
  116. package/dist/integrations/s3/types.d.ts +1 -3
  117. package/dist/integrations/s3/types.d.ts.map +1 -1
  118. package/dist/integrations/salesforce/client.d.ts +1 -1
  119. package/dist/integrations/salesforce/client.d.ts.map +1 -1
  120. package/dist/integrations/salesforce/client.js.map +1 -1
  121. package/dist/integrations/salesforce/types.d.ts.map +1 -1
  122. package/dist/integrations/smtp/client.d.ts +1 -1
  123. package/dist/integrations/smtp/client.d.ts.map +1 -1
  124. package/dist/integrations/smtp/client.js.map +1 -1
  125. package/dist/integrations/snowflake/client.d.ts +1 -1
  126. package/dist/integrations/snowflake/client.d.ts.map +1 -1
  127. package/dist/integrations/snowflake/client.js.map +1 -1
  128. package/dist/integrations/snowflake/types.d.ts.map +1 -1
  129. package/dist/integrations/snowflakepostgres/client.d.ts +1 -1
  130. package/dist/integrations/snowflakepostgres/client.d.ts.map +1 -1
  131. package/dist/integrations/snowflakepostgres/client.js.map +1 -1
  132. package/dist/integrations/snowflakepostgres/types.d.ts.map +1 -1
  133. package/dist/runtime/context.d.ts +2 -2
  134. package/dist/runtime/context.d.ts.map +1 -1
  135. package/dist/runtime/context.js.map +1 -1
  136. package/dist/runtime/streaming-context.d.ts +2 -2
  137. package/dist/runtime/streaming-context.d.ts.map +1 -1
  138. package/dist/runtime/streaming-context.js.map +1 -1
  139. package/dist/runtime/streaming-executor.d.ts.map +1 -1
  140. package/dist/runtime/streaming-executor.js +1 -1
  141. package/dist/runtime/streaming-executor.js.map +1 -1
  142. package/dist/types.d.ts.map +1 -1
  143. package/package.json +1 -1
  144. package/src/api/definition.test.ts +0 -1
  145. package/src/api/definition.ts +1 -1
  146. package/src/api/streaming.test.ts +2 -3
  147. package/src/api/streaming.ts +1 -2
  148. package/src/integrations/athena/client.ts +3 -5
  149. package/src/integrations/athena/types.ts +0 -1
  150. package/src/integrations/base/graphql-integration-client.ts +2 -3
  151. package/src/integrations/base/rest-api-integration-client.ts +7 -9
  152. package/src/integrations/base/types.ts +0 -1
  153. package/src/integrations/bigquery/client.ts +3 -5
  154. package/src/integrations/bigquery/types.ts +0 -1
  155. package/src/integrations/cockroachdb/client.ts +3 -5
  156. package/src/integrations/cockroachdb/types.ts +0 -1
  157. package/src/integrations/cosmosdb/client.test.ts +1 -2
  158. package/src/integrations/cosmosdb/client.ts +3 -5
  159. package/src/integrations/cosmosdb/types.ts +0 -1
  160. package/src/integrations/couchbase/client.ts +46 -34
  161. package/src/integrations/couchbase/types.ts +0 -1
  162. package/src/integrations/databricks/client.ts +3 -5
  163. package/src/integrations/databricks/types.ts +0 -1
  164. package/src/integrations/declarations.test.ts +0 -1
  165. package/src/integrations/declarations.ts +36 -36
  166. package/src/integrations/dynamodb/client.ts +2 -3
  167. package/src/integrations/dynamodb/types.ts +0 -1
  168. package/src/integrations/gcs/client.ts +3 -5
  169. package/src/integrations/gcs/types.ts +0 -1
  170. package/src/integrations/graphql/types.ts +1 -2
  171. package/src/integrations/gsheets/client.ts +3 -5
  172. package/src/integrations/gsheets/types.ts +0 -1
  173. package/src/integrations/kafka/client.ts +2 -3
  174. package/src/integrations/kafka/types.ts +0 -1
  175. package/src/integrations/kinesis/client.ts +2 -2
  176. package/src/integrations/lakebase/client.ts +4 -6
  177. package/src/integrations/lakebase/types.ts +0 -1
  178. package/src/integrations/mariadb/client.ts +3 -5
  179. package/src/integrations/mariadb/types.ts +0 -1
  180. package/src/integrations/mongodb/client.ts +3 -5
  181. package/src/integrations/mongodb/types.ts +0 -1
  182. package/src/integrations/mssql/client.ts +3 -5
  183. package/src/integrations/mssql/types.ts +0 -1
  184. package/src/integrations/mysql/client.ts +3 -5
  185. package/src/integrations/mysql/types.ts +0 -1
  186. package/src/integrations/oracledb/client.ts +3 -5
  187. package/src/integrations/oracledb/types.ts +0 -1
  188. package/src/integrations/postgres/client.ts +4 -6
  189. package/src/integrations/postgres/types.ts +0 -1
  190. package/src/integrations/python/client.test.ts +2 -3
  191. package/src/integrations/python/client.ts +3 -5
  192. package/src/integrations/python/types.ts +0 -1
  193. package/src/integrations/redis/client.ts +2 -3
  194. package/src/integrations/redis/types.ts +0 -1
  195. package/src/integrations/redshift/client.ts +3 -5
  196. package/src/integrations/redshift/types.ts +0 -1
  197. package/src/integrations/registry.test.ts +0 -1
  198. package/src/integrations/registry.ts +23 -23
  199. package/src/integrations/s3/client.ts +3 -5
  200. package/src/integrations/s3/types.ts +1 -4
  201. package/src/integrations/salesforce/client.ts +2 -3
  202. package/src/integrations/salesforce/types.ts +0 -1
  203. package/src/integrations/smtp/client.ts +2 -4
  204. package/src/integrations/snowflake/client.ts +3 -5
  205. package/src/integrations/snowflake/types.ts +0 -1
  206. package/src/integrations/snowflakepostgres/client.ts +1 -1
  207. package/src/integrations/snowflakepostgres/types.ts +0 -1
  208. package/src/runtime/context.ts +10 -10
  209. package/src/runtime/streaming-context.ts +10 -10
  210. package/src/runtime/streaming-executor.ts +4 -4
  211. package/src/types.ts +0 -1
  212. package/src/integrations/lakebase/README.md +0 -242
  213. package/src/integrations/restapiintegration/README.md +0 -359
  214. package/src/integrations/smtp/README.md +0 -220
  215. package/src/integrations/snowflakecortex/README.md +0 -216
  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,
@@ -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
 
@@ -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,
@@ -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
 
@@ -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,
@@ -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
 
@@ -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.
@@ -6,7 +6,6 @@
6
6
  */
7
7
 
8
8
  import type { z } from "zod";
9
-
10
9
  import type { BaseIntegrationClient } from "../../types.js";
11
10
  import type { TraceMetadata } from "../registry.js";
12
11
 
@@ -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
 
@@ -5,7 +5,6 @@
5
5
  */
6
6
 
7
7
  import type { z } from "zod";
8
-
9
8
  import type { BaseIntegrationClient } from "../../types.js";
10
9
  import type { TraceMetadata } from "../registry.js";
11
10
 
@@ -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
  /**
@@ -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
 
@@ -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,7 +5,6 @@
5
5
  */
6
6
 
7
7
  import type { z } from "zod";
8
-
9
8
  import type { BaseIntegrationClient } from "../../types.js";
10
9
  import type { TraceMetadata } from "../registry.js";
11
10
 
@@ -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,7 +5,6 @@
5
5
  */
6
6
 
7
7
  import type { z } from "zod";
8
-
9
8
  import type { BaseIntegrationClient } from "../../types.js";
10
9
  import type { TraceMetadata } from "../registry.js";
11
10
 
@@ -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,7 +5,6 @@
5
5
  */
6
6
 
7
7
  import type { z } from "zod";
8
-
9
8
  import type { BaseIntegrationClient } from "../../types.js";
10
9
  import type { TraceMetadata } from "../registry.js";
11
10
 
@@ -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.
@@ -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
 
@@ -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.
@@ -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
 
@@ -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
  /**
@@ -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
 
@@ -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,7 +5,6 @@
5
5
  */
6
6
 
7
7
  import type { z } from "zod";
8
-
9
8
  import type { BaseIntegrationClient } from "../../types.js";
10
9
  import type { TraceMetadata } from "../registry.js";
11
10
 
@@ -1,5 +1,4 @@
1
1
  import { describe, expect, it, vi } from "vitest";
2
-
3
2
  import {
4
3
  createClient,
5
4
  isPluginSupported,
@@ -5,8 +5,17 @@
5
5
  * and provides factory functions for creating clients.
6
6
  */
7
7
 
8
- import { AirtableClientImpl } from "./airtable/index.js";
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 { 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";
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 { MySQLClientImpl } from "./mysql/index.js";
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 { DynamoDBClientImpl } from "./dynamodb/index.js";
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 { SmtpClientImpl } from "./smtp/index.js";
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 - String content stored verbatim (no base64 decoding is performed).
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
 
@@ -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
 
@@ -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
 
@@ -5,7 +5,6 @@
5
5
  */
6
6
 
7
7
  import type { z } from "zod";
8
-
9
8
  import type { BaseIntegrationClient } from "../../types";
10
9
  import type { TraceMetadata } from "../registry.js";
11
10
 
@@ -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