@squadbase/connectors 0.1.2-dev.2 → 0.1.2-dev.4

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/dist/index.d.ts CHANGED
@@ -1193,6 +1193,108 @@ declare const openaiConnector: ConnectorPlugin<{
1193
1193
  apiKey: ParameterDefinition;
1194
1194
  }, {}>;
1195
1195
 
1196
+ declare const geminiConnector: ConnectorPlugin<{
1197
+ apiKey: ParameterDefinition;
1198
+ }, {}>;
1199
+
1200
+ declare const anthropicConnector: ConnectorPlugin<{
1201
+ apiKey: ParameterDefinition;
1202
+ }, {}>;
1203
+
1204
+ declare const hubspotOauthConnector: ConnectorPlugin<{}, {
1205
+ request: ConnectorTool<{
1206
+ connectionId: string;
1207
+ method: "GET" | "POST" | "PATCH" | "DELETE";
1208
+ path: string;
1209
+ toolUseIntent?: string | undefined;
1210
+ queryParams?: Record<string, string> | undefined;
1211
+ body?: Record<string, unknown> | undefined;
1212
+ }, {
1213
+ success: true;
1214
+ status: number;
1215
+ data: Record<string, unknown>;
1216
+ } | {
1217
+ success: false;
1218
+ error: string;
1219
+ }>;
1220
+ }>;
1221
+
1222
+ declare const stripeOauthConnector: ConnectorPlugin<{}, {
1223
+ request: ConnectorTool<{
1224
+ connectionId: string;
1225
+ method: "GET" | "POST" | "DELETE";
1226
+ path: string;
1227
+ toolUseIntent?: string | undefined;
1228
+ queryParams?: Record<string, string> | undefined;
1229
+ body?: Record<string, unknown> | undefined;
1230
+ }, {
1231
+ success: true;
1232
+ status: number;
1233
+ data: Record<string, unknown>;
1234
+ } | {
1235
+ success: false;
1236
+ error: string;
1237
+ }>;
1238
+ }>;
1239
+
1240
+ declare const airtableOauthConnector: ConnectorPlugin<{
1241
+ baseId: ParameterDefinition;
1242
+ }, {
1243
+ request: ConnectorTool<{
1244
+ connectionId: string;
1245
+ method: "GET" | "POST" | "PATCH" | "DELETE";
1246
+ path: string;
1247
+ toolUseIntent?: string | undefined;
1248
+ queryParams?: Record<string, string> | undefined;
1249
+ body?: Record<string, unknown> | undefined;
1250
+ }, {
1251
+ success: true;
1252
+ status: number;
1253
+ data: Record<string, unknown>;
1254
+ } | {
1255
+ success: false;
1256
+ error: string;
1257
+ }>;
1258
+ }>;
1259
+
1260
+ declare const amplitudeConnector: ConnectorPlugin<{
1261
+ apiKey: ParameterDefinition;
1262
+ secretKey: ParameterDefinition;
1263
+ }, {}>;
1264
+
1265
+ declare const attioConnector: ConnectorPlugin<{
1266
+ apiKey: ParameterDefinition;
1267
+ }, {}>;
1268
+
1269
+ declare const shopifyConnector: ConnectorPlugin<{
1270
+ accessToken: ParameterDefinition;
1271
+ storeDomain: ParameterDefinition;
1272
+ }, {}>;
1273
+
1274
+ declare const slackConnector: ConnectorPlugin<{
1275
+ botToken: ParameterDefinition;
1276
+ }, {}>;
1277
+
1278
+ declare const kintoneApiTokenConnector: ConnectorPlugin<{
1279
+ baseUrl: ParameterDefinition;
1280
+ apiToken: ParameterDefinition;
1281
+ }, {
1282
+ request: ConnectorTool<{
1283
+ connectionId: string;
1284
+ method: "GET" | "POST" | "PUT" | "DELETE";
1285
+ path: string;
1286
+ toolUseIntent?: string | undefined;
1287
+ body?: Record<string, unknown> | undefined;
1288
+ }, {
1289
+ success: true;
1290
+ status: number;
1291
+ data: Record<string, unknown>;
1292
+ } | {
1293
+ success: false;
1294
+ error: string;
1295
+ }>;
1296
+ }>;
1297
+
1196
1298
  declare const shopifyOauthConnector: ConnectorPlugin<{}, {
1197
1299
  request: ConnectorTool<{
1198
1300
  connectionId: string;
@@ -1235,4 +1337,4 @@ declare const msTeamsOauthConnector: ConnectorPlugin<{}, {
1235
1337
  }>;
1236
1338
  }>;
1237
1339
 
1238
- export { AUTH_TYPES, type ConnectionCheckResult, ConnectorPlugin, ConnectorSetup, ConnectorTool, type ConnectorToolsConfig, ParameterDefinition, type ProxyPolicy, type ProxyPolicyRule, type ReleaseFlag, type SetupLanguage, airtableConnector, awsAthenaConnector, bigqueryConnector, bigqueryOauthConnector, connectors, databricksConnector, dbtConnector, googleAdsOauthConnector, googleAnalyticsConnector, googleAnalyticsOauthConnector, googleSheetsOauthConnector, kintoneConnector, msTeamsConnector, msTeamsOauthConnector, mysqlConnector, openaiConnector, postgresqlConnector, redshiftConnector, shopifyOauthConnector, snowflakeConnector, snowflakePatConnector, squadbaseDbConnector, wixStoreConnector };
1340
+ export { AUTH_TYPES, type ConnectionCheckResult, ConnectorPlugin, ConnectorSetup, ConnectorTool, type ConnectorToolsConfig, ParameterDefinition, type ProxyPolicy, type ProxyPolicyRule, type ReleaseFlag, type SetupLanguage, airtableConnector, airtableOauthConnector, amplitudeConnector, anthropicConnector, attioConnector, awsAthenaConnector, bigqueryConnector, bigqueryOauthConnector, connectors, databricksConnector, dbtConnector, geminiConnector, googleAdsOauthConnector, googleAnalyticsConnector, googleAnalyticsOauthConnector, googleSheetsOauthConnector, hubspotOauthConnector, kintoneApiTokenConnector, kintoneConnector, msTeamsConnector, msTeamsOauthConnector, mysqlConnector, openaiConnector, postgresqlConnector, redshiftConnector, shopifyConnector, shopifyOauthConnector, slackConnector, snowflakeConnector, snowflakePatConnector, squadbaseDbConnector, stripeOauthConnector, wixStoreConnector };
package/dist/index.js CHANGED
@@ -6314,7 +6314,7 @@ const data = await res.json();
6314
6314
  // src/connectors/ms-teams/index.ts
6315
6315
  var tools31 = {};
6316
6316
  var msTeamsConnector = new ConnectorPlugin({
6317
- slug: "ms-teams",
6317
+ slug: "microsoft-teams",
6318
6318
  authType: null,
6319
6319
  name: "Microsoft Teams",
6320
6320
  description: "Connect to Microsoft Teams for messaging, channels, and team data.",
@@ -6325,7 +6325,7 @@ var msTeamsConnector = new ConnectorPlugin({
6325
6325
  Use the Microsoft Teams connector via the SDK in TypeScript handlers:
6326
6326
 
6327
6327
  \`\`\`ts
6328
- import { connection } from "@squadbase/vite-server/connectors/ms-teams";
6328
+ import { connection } from "@squadbase/vite-server/connectors/microsoft-teams";
6329
6329
 
6330
6330
  const { clientId, clientSecret, tenantId } = connection("<connectionId>");
6331
6331
 
@@ -6495,7 +6495,7 @@ Authentication is handled automatically via OAuth proxy.`,
6495
6495
  });
6496
6496
 
6497
6497
  // src/connectors/ms-teams-oauth/setup.ts
6498
- var requestToolName6 = `ms-teams-oauth_${requestTool14.name}`;
6498
+ var requestToolName6 = `microsoft-teams-oauth_${requestTool14.name}`;
6499
6499
  var msTeamsOauthSetup = new ConnectorSetup({
6500
6500
  ja: `## Microsoft Teams \u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u624B\u9806
6501
6501
 
@@ -6551,7 +6551,7 @@ var parameters32 = {};
6551
6551
  // src/connectors/ms-teams-oauth/index.ts
6552
6552
  var tools32 = { request: requestTool14 };
6553
6553
  var msTeamsOauthConnector = new ConnectorPlugin({
6554
- slug: "ms-teams",
6554
+ slug: "microsoft-teams",
6555
6555
  authType: AUTH_TYPES.OAUTH,
6556
6556
  name: "Microsoft Teams (OAuth)",
6557
6557
  description: "Connect to Microsoft Teams for messaging, channels, and team data using OAuth.",
@@ -6600,7 +6600,7 @@ var msTeamsOauthConnector = new ConnectorPlugin({
6600
6600
  ## Microsoft Teams SDK (TypeScript handler)
6601
6601
 
6602
6602
  \`\`\`ts
6603
- import { connection } from "@squadbase/vite-server/connectors/ms-teams-oauth";
6603
+ import { connection } from "@squadbase/vite-server/connectors/microsoft-teams-oauth";
6604
6604
 
6605
6605
  const teams = connection("<connectionId>");
6606
6606
 
@@ -6695,16 +6695,23 @@ export {
6695
6695
  ConnectorTool,
6696
6696
  ParameterDefinition,
6697
6697
  airtableConnector,
6698
+ airtableOauthConnector,
6699
+ amplitudeConnector,
6700
+ anthropicConnector,
6701
+ attioConnector,
6698
6702
  awsAthenaConnector,
6699
6703
  bigqueryConnector,
6700
6704
  bigqueryOauthConnector,
6701
6705
  connectors,
6702
6706
  databricksConnector,
6703
6707
  dbtConnector,
6708
+ geminiConnector,
6704
6709
  googleAdsOauthConnector,
6705
6710
  googleAnalyticsConnector,
6706
6711
  googleAnalyticsOauthConnector,
6707
6712
  googleSheetsOauthConnector,
6713
+ hubspotOauthConnector,
6714
+ kintoneApiTokenConnector,
6708
6715
  kintoneConnector,
6709
6716
  msTeamsConnector,
6710
6717
  msTeamsOauthConnector,
@@ -6712,9 +6719,12 @@ export {
6712
6719
  openaiConnector,
6713
6720
  postgresqlConnector,
6714
6721
  redshiftConnector,
6722
+ shopifyConnector,
6715
6723
  shopifyOauthConnector,
6724
+ slackConnector,
6716
6725
  snowflakeConnector,
6717
6726
  snowflakePatConnector,
6718
6727
  squadbaseDbConnector,
6728
+ stripeOauthConnector,
6719
6729
  wixStoreConnector
6720
6730
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squadbase/connectors",
3
- "version": "0.1.2-dev.2",
3
+ "version": "0.1.2-dev.4",
4
4
  "description": "Squadbase Connectors",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",