@uptiqai/integrations-sdk 1.22.0 → 1.23.0
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/generated-api.d.ts +688 -170
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +330 -124
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +85 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +159 -32
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +64 -20
- package/dist/response-type-map.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14,8 +14,8 @@ 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.
|
|
18
|
-
exports.Wealthbox = exports.UdgNormalisedXero = exports.UdgNormalisedWave = exports.UdgNormalisedQuickbooks = exports.UdgNormalisedFreshbooks = exports.UdgNormalisedFreeAgent = exports.TwilioWhatsapp = exports.Telegram = exports.Supabase = void 0;
|
|
17
|
+
exports.Shopify = exports.Semrush = exports.Salesforce = exports.Resend = exports.Redtail = exports.Plaid = exports.Openai = exports.Notion = exports.MicrosoftSharepoint = exports.MicrosoftOutlook = exports.MicrosoftOnedrive = exports.MicrosoftOAuth = exports.MicrosoftExcel365 = exports.Mailchimp = exports.Jira = exports.Hubspot = exports.GoogleSlides = exports.GoogleSheets = exports.GoogleOAuth = exports.GoogleKms = exports.GoogleGenerativeAIImage = exports.GoogleGenerativeAI = exports.GoogleDrive = exports.GoogleDocs = exports.GoogleCloudStorage = exports.GoogleCalendar = exports.GoogleAnalytics = exports.Gmail = exports.Gitlab = exports.FirefliesAi = exports.Firecrawl = exports.Fathom = exports.ExperianBusiness = exports.Elevenlabs = exports.DunAndBradstreet = exports.Doola = exports.Docusign = exports.Discord = exports.Crunchbase = exports.CrsCreditApi = exports.CreditsafeFeatured = exports.CreditsafeCompliance = exports.AzureKms = exports.AzureBlobStorage = exports.AwsS3 = exports.AwsKms = exports.Anthropic = exports.AlphaVantage = exports.Alloy = exports.Abrigo = void 0;
|
|
18
|
+
exports.Wealthbox = exports.UdgNormalisedXero = exports.UdgNormalisedWave = exports.UdgNormalisedQuickbooks = exports.UdgNormalisedFreshbooks = exports.UdgNormalisedFreeAgent = exports.TwilioWhatsapp = exports.Telegram = exports.Supabase = exports.Stripe = exports.SocureRiskos = exports.Slack = void 0;
|
|
19
19
|
const generated_api_1 = require("./generated-api");
|
|
20
20
|
/**
|
|
21
21
|
* UPTIQ Integrations SDK
|
|
@@ -407,9 +407,6 @@ class AlphaVantage {
|
|
|
407
407
|
// Get the generated API methods
|
|
408
408
|
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
409
409
|
}
|
|
410
|
-
defaultPayloads(...args) {
|
|
411
|
-
return this.api.alphaVantageDefaultPayloads(...args);
|
|
412
|
-
}
|
|
413
410
|
/** Daily adjusted stock time series */
|
|
414
411
|
stockDailyAdjusted(body) {
|
|
415
412
|
return this.api.alphaVantageStockDailyAdjusted(body);
|
|
@@ -1323,6 +1320,76 @@ class CrsCreditApi {
|
|
|
1323
1320
|
}
|
|
1324
1321
|
}
|
|
1325
1322
|
exports.CrsCreditApi = CrsCreditApi;
|
|
1323
|
+
/**
|
|
1324
|
+
* Crunchbase integration module
|
|
1325
|
+
*/
|
|
1326
|
+
class Crunchbase {
|
|
1327
|
+
constructor() {
|
|
1328
|
+
// Get the generated API methods
|
|
1329
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1330
|
+
}
|
|
1331
|
+
/** Set Crunchbase user key for a user */
|
|
1332
|
+
setUserCredentials(body) {
|
|
1333
|
+
return this.api.crunchbaseSetUserCredentials(body);
|
|
1334
|
+
}
|
|
1335
|
+
/** Search organizations */
|
|
1336
|
+
searchOrganizations(body) {
|
|
1337
|
+
return this.api.crunchbaseSearchOrganizations(body);
|
|
1338
|
+
}
|
|
1339
|
+
/** Get organization */
|
|
1340
|
+
getOrganization(body) {
|
|
1341
|
+
return this.api.crunchbaseGetOrganization(body);
|
|
1342
|
+
}
|
|
1343
|
+
/** Autocomplete entity name */
|
|
1344
|
+
autocomplete(body) {
|
|
1345
|
+
return this.api.crunchbaseAutocomplete(body);
|
|
1346
|
+
}
|
|
1347
|
+
/** Search funding rounds */
|
|
1348
|
+
searchFundingRounds(body) {
|
|
1349
|
+
return this.api.crunchbaseSearchFundingRounds(body);
|
|
1350
|
+
}
|
|
1351
|
+
/** Get funding round */
|
|
1352
|
+
getFundingRound(body) {
|
|
1353
|
+
return this.api.crunchbaseGetFundingRound(body);
|
|
1354
|
+
}
|
|
1355
|
+
/** Get organization funding rounds */
|
|
1356
|
+
getOrganizationRaisedFundingRounds(body) {
|
|
1357
|
+
return this.api.crunchbaseGetOrganizationRaisedFundingRounds(body);
|
|
1358
|
+
}
|
|
1359
|
+
/** Search investments */
|
|
1360
|
+
searchInvestments(body) {
|
|
1361
|
+
return this.api.crunchbaseSearchInvestments(body);
|
|
1362
|
+
}
|
|
1363
|
+
/** Search acquisitions */
|
|
1364
|
+
searchAcquisitions(body) {
|
|
1365
|
+
return this.api.crunchbaseSearchAcquisitions(body);
|
|
1366
|
+
}
|
|
1367
|
+
/** Get acquisition */
|
|
1368
|
+
getAcquisition(body) {
|
|
1369
|
+
return this.api.crunchbaseGetAcquisition(body);
|
|
1370
|
+
}
|
|
1371
|
+
/** Search people */
|
|
1372
|
+
searchPeople(body) {
|
|
1373
|
+
return this.api.crunchbaseSearchPeople(body);
|
|
1374
|
+
}
|
|
1375
|
+
/** Get person */
|
|
1376
|
+
getPerson(body) {
|
|
1377
|
+
return this.api.crunchbaseGetPerson(body);
|
|
1378
|
+
}
|
|
1379
|
+
/** Get organization founders */
|
|
1380
|
+
getOrganizationFounders(body) {
|
|
1381
|
+
return this.api.crunchbaseGetOrganizationFounders(body);
|
|
1382
|
+
}
|
|
1383
|
+
/** Search press references */
|
|
1384
|
+
searchPressReferences(body) {
|
|
1385
|
+
return this.api.crunchbaseSearchPressReferences(body);
|
|
1386
|
+
}
|
|
1387
|
+
/** Get press reference */
|
|
1388
|
+
getPressReference(body) {
|
|
1389
|
+
return this.api.crunchbaseGetPressReference(body);
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
exports.Crunchbase = Crunchbase;
|
|
1326
1393
|
/**
|
|
1327
1394
|
* Discord integration module
|
|
1328
1395
|
*/
|
|
@@ -1574,9 +1641,6 @@ class Elevenlabs {
|
|
|
1574
1641
|
// Get the generated API methods
|
|
1575
1642
|
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1576
1643
|
}
|
|
1577
|
-
defaultPayloads(...args) {
|
|
1578
|
-
return this.api.elevenlabsDefaultPayloads(...args);
|
|
1579
|
-
}
|
|
1580
1644
|
/** Generate speech from text */
|
|
1581
1645
|
textToSpeech(body) {
|
|
1582
1646
|
return this.api.elevenlabsTextToSpeech(body);
|
|
@@ -1772,9 +1836,6 @@ class FirefliesAi {
|
|
|
1772
1836
|
// Get the generated API methods
|
|
1773
1837
|
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1774
1838
|
}
|
|
1775
|
-
defaultPayloads(...args) {
|
|
1776
|
-
return this.api.firefliesAiDefaultPayloads(...args);
|
|
1777
|
-
}
|
|
1778
1839
|
/** Store per-user Fireflies.ai credentials */
|
|
1779
1840
|
setUserCredentials(body) {
|
|
1780
1841
|
return this.api.firefliesAiSetUserCredentials(body);
|
|
@@ -1862,9 +1923,6 @@ class Gmail {
|
|
|
1862
1923
|
// Get the generated API methods
|
|
1863
1924
|
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1864
1925
|
}
|
|
1865
|
-
defaultPayloads(...args) {
|
|
1866
|
-
return this.api.gmailDefaultPayloads(...args);
|
|
1867
|
-
}
|
|
1868
1926
|
/** Start Gmail OAuth flow */
|
|
1869
1927
|
authStart(body) {
|
|
1870
1928
|
return this.api.gmailAuthStart(body);
|
|
@@ -1955,9 +2013,6 @@ class GoogleCalendar {
|
|
|
1955
2013
|
// Get the generated API methods
|
|
1956
2014
|
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1957
2015
|
}
|
|
1958
|
-
defaultPayloads(...args) {
|
|
1959
|
-
return this.api.googleCalendarDefaultPayloads(...args);
|
|
1960
|
-
}
|
|
1961
2016
|
/** Start Google Calendar OAuth flow */
|
|
1962
2017
|
authStart(body) {
|
|
1963
2018
|
return this.api.googleCalendarAuthStart(body);
|
|
@@ -2060,9 +2115,6 @@ class GoogleDocs {
|
|
|
2060
2115
|
// Get the generated API methods
|
|
2061
2116
|
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2062
2117
|
}
|
|
2063
|
-
defaultPayloads(...args) {
|
|
2064
|
-
return this.api.googleDocsDefaultPayloads(...args);
|
|
2065
|
-
}
|
|
2066
2118
|
/** Start Google Docs OAuth flow */
|
|
2067
2119
|
authStart(body) {
|
|
2068
2120
|
return this.api.googleDocsAuthStart(body);
|
|
@@ -2240,9 +2292,6 @@ class GoogleSheets {
|
|
|
2240
2292
|
// Get the generated API methods
|
|
2241
2293
|
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2242
2294
|
}
|
|
2243
|
-
defaultPayloads(...args) {
|
|
2244
|
-
return this.api.googleSheetsDefaultPayloads(...args);
|
|
2245
|
-
}
|
|
2246
2295
|
/** Start Google Sheets OAuth flow */
|
|
2247
2296
|
authStart(body) {
|
|
2248
2297
|
return this.api.googleSheetsAuthStart(body);
|
|
@@ -2288,9 +2337,6 @@ class GoogleSlides {
|
|
|
2288
2337
|
// Get the generated API methods
|
|
2289
2338
|
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2290
2339
|
}
|
|
2291
|
-
defaultPayloads(...args) {
|
|
2292
|
-
return this.api.googleSlidesDefaultPayloads(...args);
|
|
2293
|
-
}
|
|
2294
2340
|
/** Start Google Slides OAuth flow */
|
|
2295
2341
|
authStart(body) {
|
|
2296
2342
|
return this.api.googleSlidesAuthStart(body);
|
|
@@ -2510,9 +2556,6 @@ class Mailchimp {
|
|
|
2510
2556
|
// Get the generated API methods
|
|
2511
2557
|
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2512
2558
|
}
|
|
2513
|
-
defaultPayloads(...args) {
|
|
2514
|
-
return this.api.mailchimpDefaultPayloads(...args);
|
|
2515
|
-
}
|
|
2516
2559
|
/** Initiate Mailchimp OAuth flow */
|
|
2517
2560
|
oauthInitiate(body) {
|
|
2518
2561
|
return this.api.mailchimpOauthInitiate(body);
|
|
@@ -2662,6 +2705,27 @@ class MicrosoftExcel365 {
|
|
|
2662
2705
|
}
|
|
2663
2706
|
}
|
|
2664
2707
|
exports.MicrosoftExcel365 = MicrosoftExcel365;
|
|
2708
|
+
/**
|
|
2709
|
+
* MicrosoftOAuth integration module
|
|
2710
|
+
*/
|
|
2711
|
+
class MicrosoftOAuth {
|
|
2712
|
+
constructor() {
|
|
2713
|
+
// Get the generated API methods
|
|
2714
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2715
|
+
}
|
|
2716
|
+
/** Start Microsoft OAuth flow */
|
|
2717
|
+
authStart(body) {
|
|
2718
|
+
return this.api.microsoftOAuthAuthStart(body);
|
|
2719
|
+
}
|
|
2720
|
+
/** Get Microsoft OAuth user profile */
|
|
2721
|
+
getUserProfile(body) {
|
|
2722
|
+
return this.api.microsoftOAuthGetUserProfile(body);
|
|
2723
|
+
}
|
|
2724
|
+
oauthCallback(...args) {
|
|
2725
|
+
return this.api.microsoftOAuthOauthCallback(...args);
|
|
2726
|
+
}
|
|
2727
|
+
}
|
|
2728
|
+
exports.MicrosoftOAuth = MicrosoftOAuth;
|
|
2665
2729
|
/**
|
|
2666
2730
|
* MicrosoftOnedrive integration module
|
|
2667
2731
|
*/
|
|
@@ -3467,6 +3531,72 @@ class Salesforce {
|
|
|
3467
3531
|
}
|
|
3468
3532
|
}
|
|
3469
3533
|
exports.Salesforce = Salesforce;
|
|
3534
|
+
/**
|
|
3535
|
+
* Semrush integration module
|
|
3536
|
+
*/
|
|
3537
|
+
class Semrush {
|
|
3538
|
+
constructor() {
|
|
3539
|
+
// Get the generated API methods
|
|
3540
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3541
|
+
}
|
|
3542
|
+
/** Keyword metrics (volume, difficulty) */
|
|
3543
|
+
keywordMetrics(body) {
|
|
3544
|
+
return this.api.semrushKeywordMetrics(body);
|
|
3545
|
+
}
|
|
3546
|
+
/** Related keywords */
|
|
3547
|
+
phraseRelated(body) {
|
|
3548
|
+
return this.api.semrushPhraseRelated(body);
|
|
3549
|
+
}
|
|
3550
|
+
/** Question keywords */
|
|
3551
|
+
phraseQuestions(body) {
|
|
3552
|
+
return this.api.semrushPhraseQuestions(body);
|
|
3553
|
+
}
|
|
3554
|
+
/** Organic competitors of a domain */
|
|
3555
|
+
domainOrganicCompetitors(body) {
|
|
3556
|
+
return this.api.semrushDomainOrganicCompetitors(body);
|
|
3557
|
+
}
|
|
3558
|
+
/** Domain traffic / rank overview */
|
|
3559
|
+
domainRanks(body) {
|
|
3560
|
+
return this.api.semrushDomainRanks(body);
|
|
3561
|
+
}
|
|
3562
|
+
/** Content gap (domain vs domain) */
|
|
3563
|
+
contentGap(body) {
|
|
3564
|
+
return this.api.semrushContentGap(body);
|
|
3565
|
+
}
|
|
3566
|
+
/** Backlinks list */
|
|
3567
|
+
backlinks(body) {
|
|
3568
|
+
return this.api.semrushBacklinks(body);
|
|
3569
|
+
}
|
|
3570
|
+
/** Referring domains */
|
|
3571
|
+
backlinksRefdomains(body) {
|
|
3572
|
+
return this.api.semrushBacklinksRefdomains(body);
|
|
3573
|
+
}
|
|
3574
|
+
/** List projects & campaign IDs */
|
|
3575
|
+
listProjects(body) {
|
|
3576
|
+
return this.api.semrushListProjects(body);
|
|
3577
|
+
}
|
|
3578
|
+
/** Site Audit status / snapshot */
|
|
3579
|
+
siteAuditInfo(body) {
|
|
3580
|
+
return this.api.semrushSiteAuditInfo(body);
|
|
3581
|
+
}
|
|
3582
|
+
/** Launch a Site Audit crawl */
|
|
3583
|
+
siteAuditLaunch(body) {
|
|
3584
|
+
return this.api.semrushSiteAuditLaunch(body);
|
|
3585
|
+
}
|
|
3586
|
+
/** Site Audit issues (errors/warnings/notices) */
|
|
3587
|
+
siteAuditIssues(body) {
|
|
3588
|
+
return this.api.semrushSiteAuditIssues(body);
|
|
3589
|
+
}
|
|
3590
|
+
/** Keyword positions & visibility */
|
|
3591
|
+
positionTracking(body) {
|
|
3592
|
+
return this.api.semrushPositionTracking(body);
|
|
3593
|
+
}
|
|
3594
|
+
/** Set Semrush API key for a user */
|
|
3595
|
+
setUserCredentials(body) {
|
|
3596
|
+
return this.api.semrushSetUserCredentials(body);
|
|
3597
|
+
}
|
|
3598
|
+
}
|
|
3599
|
+
exports.Semrush = Semrush;
|
|
3470
3600
|
/**
|
|
3471
3601
|
* Shopify integration module
|
|
3472
3602
|
*/
|
|
@@ -3846,9 +3976,6 @@ class Telegram {
|
|
|
3846
3976
|
// Get the generated API methods
|
|
3847
3977
|
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3848
3978
|
}
|
|
3849
|
-
defaultPayloads(...args) {
|
|
3850
|
-
return this.api.telegramDefaultPayloads(...args);
|
|
3851
|
-
}
|
|
3852
3979
|
/** Set Telegram bot token for a user */
|
|
3853
3980
|
setUserCredentials(body) {
|
|
3854
3981
|
return this.api.telegramSetUserCredentials(body);
|