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

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.
@@ -134,8 +134,21 @@ var parameters5 = {
134
134
  })
135
135
  };
136
136
 
137
- // src/connectors/kintone/parameters.ts
137
+ // src/connectors/airtable-oauth/parameters.ts
138
138
  var parameters6 = {
139
+ baseId: new ParameterDefinition({
140
+ slug: "base-id",
141
+ name: "Airtable Base ID",
142
+ description: "The Airtable Base ID (e.g., appXXXXXXXXXXXXXX). Can be found in the Airtable URL: https://airtable.com/{baseId}/...",
143
+ envVarBaseKey: "AIRTABLE_OAUTH_BASE_ID",
144
+ type: "text",
145
+ secret: false,
146
+ required: false
147
+ })
148
+ };
149
+
150
+ // src/connectors/kintone/parameters.ts
151
+ var parameters7 = {
139
152
  baseUrl: new ParameterDefinition({
140
153
  slug: "base-url",
141
154
  name: "kintone Base URL",
@@ -165,8 +178,30 @@ var parameters6 = {
165
178
  })
166
179
  };
167
180
 
181
+ // src/connectors/kintone-api-token/parameters.ts
182
+ var parameters8 = {
183
+ baseUrl: new ParameterDefinition({
184
+ slug: "base-url",
185
+ name: "kintone Base URL",
186
+ description: "The base URL of your kintone environment (e.g., https://example.cybozu.com).",
187
+ envVarBaseKey: "KINTONE_BASE_URL",
188
+ type: "text",
189
+ secret: false,
190
+ required: true
191
+ }),
192
+ apiToken: new ParameterDefinition({
193
+ slug: "api-token",
194
+ name: "kintone API Token",
195
+ description: "The kintone API token for authentication. Generated per app in kintone settings.",
196
+ envVarBaseKey: "KINTONE_API_TOKEN",
197
+ type: "text",
198
+ secret: true,
199
+ required: true
200
+ })
201
+ };
202
+
168
203
  // src/connectors/wix-store/parameters.ts
169
- var parameters7 = {
204
+ var parameters9 = {
170
205
  accountId: new ParameterDefinition({
171
206
  slug: "account-id",
172
207
  name: "Account ID",
@@ -197,7 +232,7 @@ var parameters7 = {
197
232
  };
198
233
 
199
234
  // src/connectors/dbt/parameters.ts
200
- var parameters8 = {
235
+ var parameters10 = {
201
236
  host: new ParameterDefinition({
202
237
  slug: "host",
203
238
  name: "dbt Cloud Host",
@@ -237,7 +272,7 @@ var parameters8 = {
237
272
  };
238
273
 
239
274
  // src/connectors/openai/parameters.ts
240
- var parameters9 = {
275
+ var parameters11 = {
241
276
  apiKey: new ParameterDefinition({
242
277
  slug: "api-key",
243
278
  name: "OpenAI API Key",
@@ -249,6 +284,133 @@ var parameters9 = {
249
284
  })
250
285
  };
251
286
 
287
+ // src/connectors/gemini/parameters.ts
288
+ var parameters12 = {
289
+ apiKey: new ParameterDefinition({
290
+ slug: "api-key",
291
+ name: "Gemini API Key",
292
+ description: "The Gemini API key for authentication.",
293
+ envVarBaseKey: "GEMINI_API_KEY",
294
+ type: "text",
295
+ secret: true,
296
+ required: true
297
+ })
298
+ };
299
+
300
+ // src/connectors/anthropic/parameters.ts
301
+ var parameters13 = {
302
+ apiKey: new ParameterDefinition({
303
+ slug: "api-key",
304
+ name: "Anthropic API Key",
305
+ description: "The Anthropic API key for authentication.",
306
+ envVarBaseKey: "ANTHROPIC_API_KEY",
307
+ type: "text",
308
+ secret: true,
309
+ required: true
310
+ })
311
+ };
312
+
313
+ // src/connectors/amplitude/parameters.ts
314
+ var parameters14 = {
315
+ apiKey: new ParameterDefinition({
316
+ slug: "api-key",
317
+ name: "Amplitude API Key",
318
+ description: "The Amplitude API key for authentication.",
319
+ envVarBaseKey: "AMPLITUDE_API_KEY",
320
+ type: "text",
321
+ secret: true,
322
+ required: true
323
+ }),
324
+ secretKey: new ParameterDefinition({
325
+ slug: "secret-key",
326
+ name: "Amplitude Secret Key",
327
+ description: "The Amplitude secret key for authentication.",
328
+ envVarBaseKey: "AMPLITUDE_SECRET_KEY",
329
+ type: "text",
330
+ secret: true,
331
+ required: true
332
+ })
333
+ };
334
+
335
+ // src/connectors/attio/parameters.ts
336
+ var parameters15 = {
337
+ apiKey: new ParameterDefinition({
338
+ slug: "api-key",
339
+ name: "Attio API Key",
340
+ description: "The Attio API key for authentication.",
341
+ envVarBaseKey: "ATTIO_API_KEY",
342
+ type: "text",
343
+ secret: true,
344
+ required: true
345
+ })
346
+ };
347
+
348
+ // src/connectors/shopify/parameters.ts
349
+ var parameters16 = {
350
+ accessToken: new ParameterDefinition({
351
+ slug: "access-token",
352
+ name: "Shopify Admin API Access Token",
353
+ description: "The Shopify Admin API access token for authentication (starts with shpat_).",
354
+ envVarBaseKey: "SHOPIFY_ACCESS_TOKEN",
355
+ type: "text",
356
+ secret: true,
357
+ required: true
358
+ }),
359
+ storeDomain: new ParameterDefinition({
360
+ slug: "store-domain",
361
+ name: "Shopify Store Domain",
362
+ description: "Your Shopify store domain (e.g., mystore.myshopify.com).",
363
+ envVarBaseKey: "SHOPIFY_STORE_DOMAIN",
364
+ type: "text",
365
+ secret: false,
366
+ required: true
367
+ })
368
+ };
369
+
370
+ // src/connectors/slack/parameters.ts
371
+ var parameters17 = {
372
+ botToken: new ParameterDefinition({
373
+ slug: "bot-token",
374
+ name: "Slack Bot Token",
375
+ description: "The Slack bot token for authentication (starts with xoxb-).",
376
+ envVarBaseKey: "SLACK_BOT_TOKEN",
377
+ type: "text",
378
+ secret: true,
379
+ required: true
380
+ })
381
+ };
382
+
383
+ // src/connectors/ms-teams/parameters.ts
384
+ var parameters18 = {
385
+ clientId: new ParameterDefinition({
386
+ slug: "client-id",
387
+ name: "Azure AD Client ID",
388
+ description: "The Application (client) ID from your Azure AD app registration.",
389
+ envVarBaseKey: "MS_TEAMS_CLIENT_ID",
390
+ type: "text",
391
+ secret: false,
392
+ required: true
393
+ }),
394
+ clientSecret: new ParameterDefinition({
395
+ slug: "client-secret",
396
+ name: "Azure AD Client Secret",
397
+ description: "The client secret from your Azure AD app registration.",
398
+ envVarBaseKey: "MS_TEAMS_CLIENT_SECRET",
399
+ type: "text",
400
+ secret: true,
401
+ required: true
402
+ }),
403
+ tenantId: new ParameterDefinition({
404
+ slug: "tenant-id",
405
+ name: "Azure AD Tenant ID",
406
+ description: "The Directory (tenant) ID from your Azure AD app registration.",
407
+ envVarBaseKey: "MS_TEAMS_TENANT_ID",
408
+ type: "text",
409
+ secret: false,
410
+ required: true
411
+ })
412
+ };
413
+
252
414
  export {
253
415
  ParameterDefinition,
254
416
  parameters,
@@ -259,5 +421,14 @@ export {
259
421
  parameters6,
260
422
  parameters7,
261
423
  parameters8,
262
- parameters9
424
+ parameters9,
425
+ parameters10,
426
+ parameters11,
427
+ parameters12,
428
+ parameters13,
429
+ parameters14,
430
+ parameters15,
431
+ parameters16,
432
+ parameters17,
433
+ parameters18
263
434
  };
package/dist/index.d.ts CHANGED
@@ -519,6 +519,40 @@ declare const connectors: {
519
519
  error: string;
520
520
  }>;
521
521
  }>;
522
+ hubspotOauth: ConnectorPlugin<{}, {
523
+ request: ConnectorTool<{
524
+ connectionId: string;
525
+ method: "GET" | "POST" | "PATCH" | "DELETE";
526
+ path: string;
527
+ toolUseIntent?: string | undefined;
528
+ queryParams?: Record<string, string> | undefined;
529
+ body?: Record<string, unknown> | undefined;
530
+ }, {
531
+ success: true;
532
+ status: number;
533
+ data: Record<string, unknown>;
534
+ } | {
535
+ success: false;
536
+ error: string;
537
+ }>;
538
+ }>;
539
+ stripeOauth: ConnectorPlugin<{}, {
540
+ request: ConnectorTool<{
541
+ connectionId: string;
542
+ method: "GET" | "POST" | "DELETE";
543
+ path: string;
544
+ toolUseIntent?: string | undefined;
545
+ queryParams?: Record<string, string> | undefined;
546
+ body?: Record<string, unknown> | undefined;
547
+ }, {
548
+ success: true;
549
+ status: number;
550
+ data: Record<string, unknown>;
551
+ } | {
552
+ success: false;
553
+ error: string;
554
+ }>;
555
+ }>;
522
556
  airtable: ConnectorPlugin<{
523
557
  baseId: ParameterDefinition;
524
558
  apiKey: ParameterDefinition;
@@ -538,6 +572,25 @@ declare const connectors: {
538
572
  error: string;
539
573
  }>;
540
574
  }>;
575
+ airtableOauth: ConnectorPlugin<{
576
+ baseId: ParameterDefinition;
577
+ }, {
578
+ request: ConnectorTool<{
579
+ connectionId: string;
580
+ method: "GET" | "POST" | "PATCH" | "DELETE";
581
+ path: string;
582
+ toolUseIntent?: string | undefined;
583
+ queryParams?: Record<string, string> | undefined;
584
+ body?: Record<string, unknown> | undefined;
585
+ }, {
586
+ success: true;
587
+ status: number;
588
+ data: Record<string, unknown>;
589
+ } | {
590
+ success: false;
591
+ error: string;
592
+ }>;
593
+ }>;
541
594
  squadbaseDb: ConnectorPlugin<{
542
595
  connectionUrl: ParameterDefinition;
543
596
  }, {
@@ -575,6 +628,25 @@ declare const connectors: {
575
628
  error: string;
576
629
  }>;
577
630
  }>;
631
+ kintoneApiToken: ConnectorPlugin<{
632
+ baseUrl: ParameterDefinition;
633
+ apiToken: ParameterDefinition;
634
+ }, {
635
+ request: ConnectorTool<{
636
+ connectionId: string;
637
+ method: "GET" | "POST" | "PUT" | "DELETE";
638
+ path: string;
639
+ toolUseIntent?: string | undefined;
640
+ body?: Record<string, unknown> | undefined;
641
+ }, {
642
+ success: true;
643
+ status: number;
644
+ data: Record<string, unknown>;
645
+ } | {
646
+ success: false;
647
+ error: string;
648
+ }>;
649
+ }>;
578
650
  wixStore: ConnectorPlugin<{
579
651
  accountId: ParameterDefinition;
580
652
  siteId: ParameterDefinition;
@@ -598,6 +670,65 @@ declare const connectors: {
598
670
  openai: ConnectorPlugin<{
599
671
  apiKey: ParameterDefinition;
600
672
  }, {}>;
673
+ gemini: ConnectorPlugin<{
674
+ apiKey: ParameterDefinition;
675
+ }, {}>;
676
+ anthropic: ConnectorPlugin<{
677
+ apiKey: ParameterDefinition;
678
+ }, {}>;
679
+ amplitude: ConnectorPlugin<{
680
+ apiKey: ParameterDefinition;
681
+ secretKey: ParameterDefinition;
682
+ }, {}>;
683
+ attio: ConnectorPlugin<{
684
+ apiKey: ParameterDefinition;
685
+ }, {}>;
686
+ shopify: ConnectorPlugin<{
687
+ accessToken: ParameterDefinition;
688
+ storeDomain: ParameterDefinition;
689
+ }, {}>;
690
+ slack: ConnectorPlugin<{
691
+ botToken: ParameterDefinition;
692
+ }, {}>;
693
+ shopifyOauth: ConnectorPlugin<{}, {
694
+ request: ConnectorTool<{
695
+ connectionId: string;
696
+ method: "GET" | "POST" | "PUT" | "DELETE";
697
+ path: string;
698
+ toolUseIntent?: string | undefined;
699
+ queryParams?: Record<string, string> | undefined;
700
+ body?: Record<string, unknown> | undefined;
701
+ }, {
702
+ success: true;
703
+ status: number;
704
+ data: Record<string, unknown>;
705
+ } | {
706
+ success: false;
707
+ error: string;
708
+ }>;
709
+ }>;
710
+ msTeams: ConnectorPlugin<{
711
+ clientId: ParameterDefinition;
712
+ clientSecret: ParameterDefinition;
713
+ tenantId: ParameterDefinition;
714
+ }, {}>;
715
+ msTeamsOauth: ConnectorPlugin<{}, {
716
+ request: ConnectorTool<{
717
+ connectionId: string;
718
+ method: "GET" | "POST" | "PATCH" | "DELETE";
719
+ path: string;
720
+ toolUseIntent?: string | undefined;
721
+ queryParams?: Record<string, string> | undefined;
722
+ body?: Record<string, unknown> | undefined;
723
+ }, {
724
+ success: true;
725
+ status: number;
726
+ data: Record<string, unknown>;
727
+ } | {
728
+ success: false;
729
+ error: string;
730
+ }>;
731
+ }>;
601
732
  };
602
733
 
603
734
  declare const snowflakeConnector: ConnectorPlugin<{
@@ -1062,4 +1193,46 @@ declare const openaiConnector: ConnectorPlugin<{
1062
1193
  apiKey: ParameterDefinition;
1063
1194
  }, {}>;
1064
1195
 
1065
- 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, mysqlConnector, openaiConnector, postgresqlConnector, redshiftConnector, snowflakeConnector, snowflakePatConnector, squadbaseDbConnector, wixStoreConnector };
1196
+ declare const shopifyOauthConnector: ConnectorPlugin<{}, {
1197
+ request: ConnectorTool<{
1198
+ connectionId: string;
1199
+ method: "GET" | "POST" | "PUT" | "DELETE";
1200
+ path: string;
1201
+ toolUseIntent?: string | undefined;
1202
+ queryParams?: Record<string, string> | undefined;
1203
+ body?: Record<string, unknown> | undefined;
1204
+ }, {
1205
+ success: true;
1206
+ status: number;
1207
+ data: Record<string, unknown>;
1208
+ } | {
1209
+ success: false;
1210
+ error: string;
1211
+ }>;
1212
+ }>;
1213
+
1214
+ declare const msTeamsConnector: ConnectorPlugin<{
1215
+ clientId: ParameterDefinition;
1216
+ clientSecret: ParameterDefinition;
1217
+ tenantId: ParameterDefinition;
1218
+ }, {}>;
1219
+
1220
+ declare const msTeamsOauthConnector: ConnectorPlugin<{}, {
1221
+ request: ConnectorTool<{
1222
+ connectionId: string;
1223
+ method: "GET" | "POST" | "PATCH" | "DELETE";
1224
+ path: string;
1225
+ toolUseIntent?: string | undefined;
1226
+ queryParams?: Record<string, string> | undefined;
1227
+ body?: Record<string, unknown> | undefined;
1228
+ }, {
1229
+ success: true;
1230
+ status: number;
1231
+ data: Record<string, unknown>;
1232
+ } | {
1233
+ success: false;
1234
+ error: string;
1235
+ }>;
1236
+ }>;
1237
+
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 };