@uptiqai/integrations-sdk 1.15.0 → 1.16.1

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.js CHANGED
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.Wealthbox = exports.UdgNormalisedXero = exports.UdgNormalisedWave = exports.UdgNormalisedQuickbooks = exports.UdgNormalisedFreshbooks = exports.UdgNormalisedFreeAgent = exports.TwilioWhatsapp = exports.Stripe = exports.SocureRiskos = exports.Slack = exports.Salesforce = exports.Resend = exports.Redtail = exports.Plaid = exports.Openai = exports.MicrosoftSharepoint = exports.MicrosoftOutlook = exports.MicrosoftOnedrive = exports.Jira = exports.Hubspot = exports.GoogleSlides = exports.GoogleSheets = exports.GoogleOAuth = exports.GoogleGenerativeAIImage = exports.GoogleGenerativeAI = exports.GoogleDrive = exports.GoogleDocs = exports.GoogleCloudStorage = exports.GoogleCalendar = exports.Gmail = exports.Gitlab = exports.ExperianBusiness = exports.Elevenlabs = exports.DunAndBradstreet = exports.CrsCreditApi = exports.CreditsafeFeatured = exports.CreditsafeCompliance = exports.AzureBlobStorage = exports.AwsS3 = exports.Anthropic = exports.Alloy = exports.Abrigo = void 0;
17
+ exports.Wealthbox = exports.UdgNormalisedXero = exports.UdgNormalisedWave = exports.UdgNormalisedQuickbooks = exports.UdgNormalisedFreshbooks = exports.UdgNormalisedFreeAgent = exports.TwilioWhatsapp = exports.Stripe = exports.SocureRiskos = exports.Slack = exports.Salesforce = exports.Resend = exports.Redtail = exports.Plaid = exports.Openai = exports.Notion = exports.MicrosoftSharepoint = exports.MicrosoftOutlook = exports.MicrosoftOnedrive = exports.Jira = exports.Hubspot = exports.GoogleSlides = exports.GoogleSheets = exports.GoogleOAuth = exports.GoogleGenerativeAIImage = exports.GoogleGenerativeAI = exports.GoogleDrive = exports.GoogleDocs = exports.GoogleCloudStorage = exports.GoogleCalendar = exports.GoogleAnalytics = exports.Gmail = exports.Gitlab = exports.Firecrawl = exports.ExperianBusiness = exports.Elevenlabs = exports.DunAndBradstreet = exports.Doola = exports.Discord = exports.CrsCreditApi = exports.CreditsafeFeatured = exports.CreditsafeCompliance = exports.AzureBlobStorage = exports.AwsS3 = exports.Anthropic = exports.Alloy = exports.Abrigo = void 0;
18
18
  const generated_api_1 = require("./generated-api");
19
19
  /**
20
20
  * UPTIQ Integrations SDK
@@ -1181,6 +1181,110 @@ class CrsCreditApi {
1181
1181
  }
1182
1182
  }
1183
1183
  exports.CrsCreditApi = CrsCreditApi;
1184
+ /**
1185
+ * Discord integration module
1186
+ */
1187
+ class Discord {
1188
+ constructor() {
1189
+ // Get the generated API methods
1190
+ this.api = (0, generated_api_1.getIntegrationsAPI)();
1191
+ }
1192
+ /** Set Discord Bot Token for a user */
1193
+ setUserCredentials(body) {
1194
+ return this.api.discordSetUserCredentials(body);
1195
+ }
1196
+ /** Validate Bot Token */
1197
+ validateToken(body) {
1198
+ return this.api.discordValidateToken(body);
1199
+ }
1200
+ /** List Bot Guilds */
1201
+ listGuilds(body) {
1202
+ return this.api.discordListGuilds(body);
1203
+ }
1204
+ /** List Guild Channels */
1205
+ listChannels(body) {
1206
+ return this.api.discordListChannels(body);
1207
+ }
1208
+ /** Send Channel Message */
1209
+ sendChannelMessage(body) {
1210
+ return this.api.discordSendChannelMessage(body);
1211
+ }
1212
+ /** Open DM Channel */
1213
+ openDmChannel(body) {
1214
+ return this.api.discordOpenDmChannel(body);
1215
+ }
1216
+ /** Send Direct Message */
1217
+ sendDm(body) {
1218
+ return this.api.discordSendDm(body);
1219
+ }
1220
+ /** List Guild Members */
1221
+ listMembers(body) {
1222
+ return this.api.discordListMembers(body);
1223
+ }
1224
+ }
1225
+ exports.Discord = Discord;
1226
+ /**
1227
+ * Doola integration module
1228
+ */
1229
+ class Doola {
1230
+ constructor() {
1231
+ // Get the generated API methods
1232
+ this.api = (0, generated_api_1.getIntegrationsAPI)();
1233
+ }
1234
+ /** Store per-user doola credentials */
1235
+ setUserCredentials(body) {
1236
+ return this.api.doolaSetUserCredentials(body);
1237
+ }
1238
+ /** Create a doola customer */
1239
+ createCustomer(body) {
1240
+ return this.api.doolaCreateCustomer(body);
1241
+ }
1242
+ /** List doola customers */
1243
+ listCustomers(body) {
1244
+ return this.api.doolaListCustomers(body);
1245
+ }
1246
+ /** Get a doola customer */
1247
+ getCustomer(body) {
1248
+ return this.api.doolaGetCustomer(body);
1249
+ }
1250
+ /** Create (form) a doola company */
1251
+ createCompany(body) {
1252
+ return this.api.doolaCreateCompany(body);
1253
+ }
1254
+ /** List doola companies */
1255
+ listCompanies(body) {
1256
+ return this.api.doolaListCompanies(body);
1257
+ }
1258
+ /** Get a doola company */
1259
+ getCompany(body) {
1260
+ return this.api.doolaGetCompany(body);
1261
+ }
1262
+ /** List company documents */
1263
+ listCompanyDocuments(body) {
1264
+ return this.api.doolaListCompanyDocuments(body);
1265
+ }
1266
+ /** Get a document download URL */
1267
+ getDocumentDownloadUrl(body) {
1268
+ return this.api.doolaGetDocumentDownloadUrl(body);
1269
+ }
1270
+ /** List supported countries */
1271
+ listCountries(body) {
1272
+ return this.api.doolaListCountries(body);
1273
+ }
1274
+ /** List supported states */
1275
+ listStates(body) {
1276
+ return this.api.doolaListStates(body);
1277
+ }
1278
+ /** List NAICS codes */
1279
+ listNaicsCodes(body) {
1280
+ return this.api.doolaListNaicsCodes(body);
1281
+ }
1282
+ /** List state filing fees */
1283
+ listStateFilingFees(body) {
1284
+ return this.api.doolaListStateFilingFees(body);
1285
+ }
1286
+ }
1287
+ exports.Doola = Doola;
1184
1288
  /**
1185
1289
  * DunAndBradstreet integration module
1186
1290
  */
@@ -1323,6 +1427,52 @@ class ExperianBusiness {
1323
1427
  }
1324
1428
  }
1325
1429
  exports.ExperianBusiness = ExperianBusiness;
1430
+ /**
1431
+ * Firecrawl integration module
1432
+ */
1433
+ class Firecrawl {
1434
+ constructor() {
1435
+ // Get the generated API methods
1436
+ this.api = (0, generated_api_1.getIntegrationsAPI)();
1437
+ }
1438
+ /** Scrape Page */
1439
+ scrapePage(body) {
1440
+ return this.api.firecrawlScrapePage(body);
1441
+ }
1442
+ /** Start Crawl */
1443
+ startCrawl(body) {
1444
+ return this.api.firecrawlStartCrawl(body);
1445
+ }
1446
+ /** Get Crawl Status */
1447
+ getCrawlStatus(body) {
1448
+ return this.api.firecrawlGetCrawlStatus(body);
1449
+ }
1450
+ /** Cancel Crawl */
1451
+ cancelCrawl(body) {
1452
+ return this.api.firecrawlCancelCrawl(body);
1453
+ }
1454
+ /** Get Crawl Errors */
1455
+ getCrawlErrors(body) {
1456
+ return this.api.firecrawlGetCrawlErrors(body);
1457
+ }
1458
+ /** Search Web */
1459
+ searchWeb(body) {
1460
+ return this.api.firecrawlSearchWeb(body);
1461
+ }
1462
+ /** Extract Structured Data */
1463
+ extractStructuredData(body) {
1464
+ return this.api.firecrawlExtractStructuredData(body);
1465
+ }
1466
+ /** Map URLs */
1467
+ mapUrls(body) {
1468
+ return this.api.firecrawlMapUrls(body);
1469
+ }
1470
+ /** Store Firecrawl user credentials */
1471
+ setUserCredentials(body) {
1472
+ return this.api.firecrawlSetUserCredentials(body);
1473
+ }
1474
+ }
1475
+ exports.Firecrawl = Firecrawl;
1326
1476
  /**
1327
1477
  * Gitlab integration module
1328
1478
  */
@@ -1433,6 +1583,43 @@ class Gmail {
1433
1583
  }
1434
1584
  }
1435
1585
  exports.Gmail = Gmail;
1586
+ /**
1587
+ * GoogleAnalytics integration module
1588
+ */
1589
+ class GoogleAnalytics {
1590
+ constructor() {
1591
+ // Get the generated API methods
1592
+ this.api = (0, generated_api_1.getIntegrationsAPI)();
1593
+ }
1594
+ /** Start Google Analytics OAuth flow */
1595
+ authStart(body) {
1596
+ return this.api.googleAnalyticsAuthStart(body);
1597
+ }
1598
+ /** Set Google Analytics OAuth app credentials for a user */
1599
+ setUserCredentials(body) {
1600
+ return this.api.googleAnalyticsSetUserCredentials(body);
1601
+ }
1602
+ oauthCallback(...args) {
1603
+ return this.api.googleAnalyticsOauthCallback(...args);
1604
+ }
1605
+ /** List GA4 account summaries */
1606
+ listAccountSummaries(body) {
1607
+ return this.api.googleAnalyticsListAccountSummaries(body);
1608
+ }
1609
+ /** Run a GA4 report */
1610
+ runReport(body) {
1611
+ return this.api.googleAnalyticsRunReport(body);
1612
+ }
1613
+ /** Run a pivoted GA4 report */
1614
+ runPivotReport(body) {
1615
+ return this.api.googleAnalyticsRunPivotReport(body);
1616
+ }
1617
+ /** Batch run GA4 reports */
1618
+ batchRunReports(body) {
1619
+ return this.api.googleAnalyticsBatchRunReports(body);
1620
+ }
1621
+ }
1622
+ exports.GoogleAnalytics = GoogleAnalytics;
1436
1623
  /**
1437
1624
  * GoogleCalendar integration module
1438
1625
  */
@@ -2167,6 +2354,63 @@ class MicrosoftSharepoint {
2167
2354
  }
2168
2355
  }
2169
2356
  exports.MicrosoftSharepoint = MicrosoftSharepoint;
2357
+ /**
2358
+ * Notion integration module
2359
+ */
2360
+ class Notion {
2361
+ constructor() {
2362
+ // Get the generated API methods
2363
+ this.api = (0, generated_api_1.getIntegrationsAPI)();
2364
+ }
2365
+ /** Start Notion OAuth flow */
2366
+ authStart(body) {
2367
+ return this.api.notionAuthStart(body);
2368
+ }
2369
+ /** Set Notion OAuth app credentials for a user */
2370
+ setUserCredentials(body) {
2371
+ return this.api.notionSetUserCredentials(body);
2372
+ }
2373
+ oauthCallback(...args) {
2374
+ return this.api.notionOauthCallback(...args);
2375
+ }
2376
+ /** Search pages and data sources */
2377
+ search(body) {
2378
+ return this.api.notionSearch(body);
2379
+ }
2380
+ /** Create a page */
2381
+ createPage(body) {
2382
+ return this.api.notionCreatePage(body);
2383
+ }
2384
+ /** Retrieve a page */
2385
+ getPage(body) {
2386
+ return this.api.notionGetPage(body);
2387
+ }
2388
+ /** Update a page */
2389
+ updatePage(body) {
2390
+ return this.api.notionUpdatePage(body);
2391
+ }
2392
+ /** Query a data source */
2393
+ queryDataSource(body) {
2394
+ return this.api.notionQueryDataSource(body);
2395
+ }
2396
+ /** Append block children */
2397
+ appendBlockChildren(body) {
2398
+ return this.api.notionAppendBlockChildren(body);
2399
+ }
2400
+ /** Retrieve block children */
2401
+ getBlockChildren(body) {
2402
+ return this.api.notionGetBlockChildren(body);
2403
+ }
2404
+ /** List workspace users */
2405
+ listUsers(body) {
2406
+ return this.api.notionListUsers(body);
2407
+ }
2408
+ /** Get bot user */
2409
+ getMe(body) {
2410
+ return this.api.notionGetMe(body);
2411
+ }
2412
+ }
2413
+ exports.Notion = Notion;
2170
2414
  /**
2171
2415
  * Openai integration module
2172
2416
  */