@uptiqai/integrations-sdk 1.25.0 → 1.26.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 +1146 -66
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +511 -4
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +121 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +233 -2
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +120 -18
- 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.Zendesk = exports.Wealthbox = exports.UdgNormalisedXero = exports.UdgNormalisedWave = exports.UdgNormalisedQuickbooks = exports.UdgNormalisedFreshbooks = exports.UdgNormalisedFreeAgent = exports.TwilioWhatsapp = exports.Telegram = exports.Supabase = exports.Stripe = exports.SocureRiskos = exports.Slack = exports.Shopify = exports.Semrush = exports.Salesforce = exports.Resend = exports.Redtail = void 0;
|
|
17
|
+
exports.Openai = exports.Notion = exports.Middesk = exports.MicrosoftSharepoint = exports.MicrosoftOutlook = exports.MicrosoftOnedrive = exports.MicrosoftOAuth = exports.MicrosoftExcel365 = exports.Mailchimp = exports.Jira = exports.Hubspot = exports.GoogleSlides = exports.GoogleSheets = exports.GooglePlaces = 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.Databricks = exports.Crunchbase = exports.CrsCreditApi = exports.CreditsafeFeatured = exports.CreditsafeCompliance = exports.Confluence = exports.AzureKms = exports.AzureBlobStorage = exports.AwsS3 = exports.AwsKms = exports.Apollo = exports.Anthropic = exports.AlphaVantage = exports.Alloy = exports.Airtable = exports.Abrigo = void 0;
|
|
18
|
+
exports.Zendesk = exports.Xero = exports.Wealthbox = exports.UdgNormalisedXero = exports.UdgNormalisedWave = exports.UdgNormalisedQuickbooks = exports.UdgNormalisedFreshbooks = exports.UdgNormalisedFreeAgent = exports.TwilioWhatsapp = exports.Telegram = exports.Supabase = exports.Stripe = exports.SocureRiskos = exports.Slack = exports.Shopify = exports.Semrush = exports.Salesforce = exports.Resend = exports.Redtail = exports.Plaid = exports.Pandadoc = void 0;
|
|
19
19
|
const generated_api_1 = require("./generated-api");
|
|
20
20
|
/**
|
|
21
21
|
* UPTIQ Integrations SDK
|
|
@@ -345,6 +345,67 @@ class Abrigo {
|
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
exports.Abrigo = Abrigo;
|
|
348
|
+
/**
|
|
349
|
+
* Airtable integration module
|
|
350
|
+
*/
|
|
351
|
+
class Airtable {
|
|
352
|
+
constructor() {
|
|
353
|
+
// Get the generated API methods
|
|
354
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
355
|
+
}
|
|
356
|
+
/** Initiate Airtable OAuth flow */
|
|
357
|
+
oauthInitiate(body) {
|
|
358
|
+
return this.api.airtableOauthInitiate(body);
|
|
359
|
+
}
|
|
360
|
+
/** Set Airtable OAuth app credentials for a user */
|
|
361
|
+
setUserCredentials(body) {
|
|
362
|
+
return this.api.airtableSetUserCredentials(body);
|
|
363
|
+
}
|
|
364
|
+
oauthCallback(...args) {
|
|
365
|
+
return this.api.airtableOauthCallback(...args);
|
|
366
|
+
}
|
|
367
|
+
/** List and query records */
|
|
368
|
+
listRecords(body) {
|
|
369
|
+
return this.api.airtableListRecords(body);
|
|
370
|
+
}
|
|
371
|
+
/** Get a single record */
|
|
372
|
+
getRecord(body) {
|
|
373
|
+
return this.api.airtableGetRecord(body);
|
|
374
|
+
}
|
|
375
|
+
/** Create records */
|
|
376
|
+
createRecords(body) {
|
|
377
|
+
return this.api.airtableCreateRecords(body);
|
|
378
|
+
}
|
|
379
|
+
/** Update a record */
|
|
380
|
+
updateRecord(body) {
|
|
381
|
+
return this.api.airtableUpdateRecord(body);
|
|
382
|
+
}
|
|
383
|
+
/** Delete a record */
|
|
384
|
+
deleteRecord(body) {
|
|
385
|
+
return this.api.airtableDeleteRecord(body);
|
|
386
|
+
}
|
|
387
|
+
/** List bases */
|
|
388
|
+
listBases(body) {
|
|
389
|
+
return this.api.airtableListBases(body);
|
|
390
|
+
}
|
|
391
|
+
/** Get base schema (tables and fields) */
|
|
392
|
+
getBaseSchema(body) {
|
|
393
|
+
return this.api.airtableGetBaseSchema(body);
|
|
394
|
+
}
|
|
395
|
+
/** Upload an attachment to a record */
|
|
396
|
+
uploadAttachment(body) {
|
|
397
|
+
return this.api.airtableUploadAttachment(body);
|
|
398
|
+
}
|
|
399
|
+
/** Create a webhook */
|
|
400
|
+
createWebhook(body) {
|
|
401
|
+
return this.api.airtableCreateWebhook(body);
|
|
402
|
+
}
|
|
403
|
+
/** List webhook payloads */
|
|
404
|
+
listWebhookPayloads(body) {
|
|
405
|
+
return this.api.airtableListWebhookPayloads(body);
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
exports.Airtable = Airtable;
|
|
348
409
|
/**
|
|
349
410
|
* Alloy integration module
|
|
350
411
|
*/
|
|
@@ -1561,6 +1622,111 @@ class Crunchbase {
|
|
|
1561
1622
|
}
|
|
1562
1623
|
}
|
|
1563
1624
|
exports.Crunchbase = Crunchbase;
|
|
1625
|
+
/**
|
|
1626
|
+
* Databricks integration module
|
|
1627
|
+
*/
|
|
1628
|
+
class Databricks {
|
|
1629
|
+
constructor() {
|
|
1630
|
+
// Get the generated API methods
|
|
1631
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1632
|
+
}
|
|
1633
|
+
/** Initiate Databricks OAuth flow */
|
|
1634
|
+
oauthInitiate(body) {
|
|
1635
|
+
return this.api.databricksOauthInitiate(body);
|
|
1636
|
+
}
|
|
1637
|
+
/** Store Databricks per-user credentials */
|
|
1638
|
+
setUserCredentials(body) {
|
|
1639
|
+
return this.api.databricksSetUserCredentials(body);
|
|
1640
|
+
}
|
|
1641
|
+
oauthCallback(...args) {
|
|
1642
|
+
return this.api.databricksOauthCallback(...args);
|
|
1643
|
+
}
|
|
1644
|
+
/** Submit a SQL statement */
|
|
1645
|
+
submitSqlStatement(body) {
|
|
1646
|
+
return this.api.databricksSubmitSqlStatement(body);
|
|
1647
|
+
}
|
|
1648
|
+
/** Get SQL statement result */
|
|
1649
|
+
getSqlStatement(body) {
|
|
1650
|
+
return this.api.databricksGetSqlStatement(body);
|
|
1651
|
+
}
|
|
1652
|
+
/** Create a job */
|
|
1653
|
+
createJob(body) {
|
|
1654
|
+
return this.api.databricksCreateJob(body);
|
|
1655
|
+
}
|
|
1656
|
+
/** Run a job now */
|
|
1657
|
+
runJob(body) {
|
|
1658
|
+
return this.api.databricksRunJob(body);
|
|
1659
|
+
}
|
|
1660
|
+
/** List jobs */
|
|
1661
|
+
listJobs(body) {
|
|
1662
|
+
return this.api.databricksListJobs(body);
|
|
1663
|
+
}
|
|
1664
|
+
/** Get job run status */
|
|
1665
|
+
getJobRun(body) {
|
|
1666
|
+
return this.api.databricksGetJobRun(body);
|
|
1667
|
+
}
|
|
1668
|
+
/** Cancel a job run */
|
|
1669
|
+
cancelJobRun(body) {
|
|
1670
|
+
return this.api.databricksCancelJobRun(body);
|
|
1671
|
+
}
|
|
1672
|
+
/** List Unity Catalog catalogs */
|
|
1673
|
+
listCatalogs(body) {
|
|
1674
|
+
return this.api.databricksListCatalogs(body);
|
|
1675
|
+
}
|
|
1676
|
+
/** List Unity Catalog schemas */
|
|
1677
|
+
listSchemas(body) {
|
|
1678
|
+
return this.api.databricksListSchemas(body);
|
|
1679
|
+
}
|
|
1680
|
+
/** List Unity Catalog tables */
|
|
1681
|
+
listTables(body) {
|
|
1682
|
+
return this.api.databricksListTables(body);
|
|
1683
|
+
}
|
|
1684
|
+
/** List clusters */
|
|
1685
|
+
listClusters(body) {
|
|
1686
|
+
return this.api.databricksListClusters(body);
|
|
1687
|
+
}
|
|
1688
|
+
/** Start a cluster */
|
|
1689
|
+
startCluster(body) {
|
|
1690
|
+
return this.api.databricksStartCluster(body);
|
|
1691
|
+
}
|
|
1692
|
+
/** Terminate a cluster */
|
|
1693
|
+
terminateCluster(body) {
|
|
1694
|
+
return this.api.databricksTerminateCluster(body);
|
|
1695
|
+
}
|
|
1696
|
+
/** Get cluster status */
|
|
1697
|
+
getCluster(body) {
|
|
1698
|
+
return this.api.databricksGetCluster(body);
|
|
1699
|
+
}
|
|
1700
|
+
/** Start a SQL warehouse */
|
|
1701
|
+
startWarehouse(body) {
|
|
1702
|
+
return this.api.databricksStartWarehouse(body);
|
|
1703
|
+
}
|
|
1704
|
+
/** Stop a SQL warehouse */
|
|
1705
|
+
stopWarehouse(body) {
|
|
1706
|
+
return this.api.databricksStopWarehouse(body);
|
|
1707
|
+
}
|
|
1708
|
+
/** Get SQL warehouse status */
|
|
1709
|
+
getWarehouse(body) {
|
|
1710
|
+
return this.api.databricksGetWarehouse(body);
|
|
1711
|
+
}
|
|
1712
|
+
/** Run a notebook */
|
|
1713
|
+
submitNotebookRun(body) {
|
|
1714
|
+
return this.api.databricksSubmitNotebookRun(body);
|
|
1715
|
+
}
|
|
1716
|
+
/** Get notebook run output */
|
|
1717
|
+
getRunOutput(body) {
|
|
1718
|
+
return this.api.databricksGetRunOutput(body);
|
|
1719
|
+
}
|
|
1720
|
+
/** Invoke a model serving endpoint */
|
|
1721
|
+
invokeServingEndpoint(body) {
|
|
1722
|
+
return this.api.databricksInvokeServingEndpoint(body);
|
|
1723
|
+
}
|
|
1724
|
+
/** Get model serving endpoint */
|
|
1725
|
+
getServingEndpoint(body) {
|
|
1726
|
+
return this.api.databricksGetServingEndpoint(body);
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
exports.Databricks = Databricks;
|
|
1564
1730
|
/**
|
|
1565
1731
|
* Discord integration module
|
|
1566
1732
|
*/
|
|
@@ -4979,6 +5145,71 @@ class Wealthbox {
|
|
|
4979
5145
|
}
|
|
4980
5146
|
}
|
|
4981
5147
|
exports.Wealthbox = Wealthbox;
|
|
5148
|
+
/**
|
|
5149
|
+
* Xero integration module
|
|
5150
|
+
*/
|
|
5151
|
+
class Xero {
|
|
5152
|
+
constructor() {
|
|
5153
|
+
// Get the generated API methods
|
|
5154
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
5155
|
+
}
|
|
5156
|
+
/** Initiate Xero OAuth flow */
|
|
5157
|
+
oauthInitiate(body) {
|
|
5158
|
+
return this.api.xeroOauthInitiate(body);
|
|
5159
|
+
}
|
|
5160
|
+
/** Set Xero OAuth app credentials for a user */
|
|
5161
|
+
setUserCredentials(body) {
|
|
5162
|
+
return this.api.xeroSetUserCredentials(body);
|
|
5163
|
+
}
|
|
5164
|
+
oauthCallback(...args) {
|
|
5165
|
+
return this.api.xeroOauthCallback(...args);
|
|
5166
|
+
}
|
|
5167
|
+
/** Create a sales invoice */
|
|
5168
|
+
createInvoice(body) {
|
|
5169
|
+
return this.api.xeroCreateInvoice(body);
|
|
5170
|
+
}
|
|
5171
|
+
/** Get invoices */
|
|
5172
|
+
getInvoices(body) {
|
|
5173
|
+
return this.api.xeroGetInvoices(body);
|
|
5174
|
+
}
|
|
5175
|
+
/** Update an invoice */
|
|
5176
|
+
updateInvoice(body) {
|
|
5177
|
+
return this.api.xeroUpdateInvoice(body);
|
|
5178
|
+
}
|
|
5179
|
+
/** Create a supplier bill */
|
|
5180
|
+
createBill(body) {
|
|
5181
|
+
return this.api.xeroCreateBill(body);
|
|
5182
|
+
}
|
|
5183
|
+
/** Create a contact */
|
|
5184
|
+
createContact(body) {
|
|
5185
|
+
return this.api.xeroCreateContact(body);
|
|
5186
|
+
}
|
|
5187
|
+
/** Update a contact */
|
|
5188
|
+
updateContact(body) {
|
|
5189
|
+
return this.api.xeroUpdateContact(body);
|
|
5190
|
+
}
|
|
5191
|
+
/** Get payments */
|
|
5192
|
+
getPayments(body) {
|
|
5193
|
+
return this.api.xeroGetPayments(body);
|
|
5194
|
+
}
|
|
5195
|
+
/** Record a payment */
|
|
5196
|
+
recordPayment(body) {
|
|
5197
|
+
return this.api.xeroRecordPayment(body);
|
|
5198
|
+
}
|
|
5199
|
+
/** Get Profit and Loss report */
|
|
5200
|
+
getProfitAndLoss(body) {
|
|
5201
|
+
return this.api.xeroGetProfitAndLoss(body);
|
|
5202
|
+
}
|
|
5203
|
+
/** Get Balance Sheet report */
|
|
5204
|
+
getBalanceSheet(body) {
|
|
5205
|
+
return this.api.xeroGetBalanceSheet(body);
|
|
5206
|
+
}
|
|
5207
|
+
/** Get bank transactions */
|
|
5208
|
+
getBankTransactions(body) {
|
|
5209
|
+
return this.api.xeroGetBankTransactions(body);
|
|
5210
|
+
}
|
|
5211
|
+
}
|
|
5212
|
+
exports.Xero = Xero;
|
|
4982
5213
|
/**
|
|
4983
5214
|
* Zendesk integration module
|
|
4984
5215
|
*/
|