@uptiqai/integrations-sdk 1.24.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 +2471 -183
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +1096 -27
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +258 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +492 -2
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +212 -0
- 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 = 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
|
*/
|
|
@@ -515,6 +576,72 @@ class Anthropic {
|
|
|
515
576
|
}
|
|
516
577
|
}
|
|
517
578
|
exports.Anthropic = Anthropic;
|
|
579
|
+
/**
|
|
580
|
+
* Apollo integration module
|
|
581
|
+
*/
|
|
582
|
+
class Apollo {
|
|
583
|
+
constructor() {
|
|
584
|
+
// Get the generated API methods
|
|
585
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
586
|
+
}
|
|
587
|
+
/** Set Apollo.io API key for a user */
|
|
588
|
+
setUserCredentials(body) {
|
|
589
|
+
return this.api.apolloSetUserCredentials(body);
|
|
590
|
+
}
|
|
591
|
+
/** Search prospects */
|
|
592
|
+
searchProspects(body) {
|
|
593
|
+
return this.api.apolloSearchProspects(body);
|
|
594
|
+
}
|
|
595
|
+
/** Search contacts */
|
|
596
|
+
searchContacts(body) {
|
|
597
|
+
return this.api.apolloSearchContacts(body);
|
|
598
|
+
}
|
|
599
|
+
/** Enrich a contact */
|
|
600
|
+
enrichContact(body) {
|
|
601
|
+
return this.api.apolloEnrichContact(body);
|
|
602
|
+
}
|
|
603
|
+
/** Bulk enrich contacts */
|
|
604
|
+
bulkEnrichContacts(body) {
|
|
605
|
+
return this.api.apolloBulkEnrichContacts(body);
|
|
606
|
+
}
|
|
607
|
+
/** Add contacts to a sequence */
|
|
608
|
+
addContactsToSequence(body) {
|
|
609
|
+
return this.api.apolloAddContactsToSequence(body);
|
|
610
|
+
}
|
|
611
|
+
/** Activate a sequence */
|
|
612
|
+
activateSequence(body) {
|
|
613
|
+
return this.api.apolloActivateSequence(body);
|
|
614
|
+
}
|
|
615
|
+
/** Remove contacts from a sequence */
|
|
616
|
+
removeContactsFromSequence(body) {
|
|
617
|
+
return this.api.apolloRemoveContactsFromSequence(body);
|
|
618
|
+
}
|
|
619
|
+
/** Search sequences */
|
|
620
|
+
searchSequences(body) {
|
|
621
|
+
return this.api.apolloSearchSequences(body);
|
|
622
|
+
}
|
|
623
|
+
/** Search outreach emails */
|
|
624
|
+
searchEmails(body) {
|
|
625
|
+
return this.api.apolloSearchEmails(body);
|
|
626
|
+
}
|
|
627
|
+
/** Create a contact */
|
|
628
|
+
createContact(body) {
|
|
629
|
+
return this.api.apolloCreateContact(body);
|
|
630
|
+
}
|
|
631
|
+
/** Update a contact */
|
|
632
|
+
updateContact(body) {
|
|
633
|
+
return this.api.apolloUpdateContact(body);
|
|
634
|
+
}
|
|
635
|
+
/** Bulk create contacts */
|
|
636
|
+
bulkCreateContacts(body) {
|
|
637
|
+
return this.api.apolloBulkCreateContacts(body);
|
|
638
|
+
}
|
|
639
|
+
/** List labels */
|
|
640
|
+
listLabels(body) {
|
|
641
|
+
return this.api.apolloListLabels(body);
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
exports.Apollo = Apollo;
|
|
518
645
|
/**
|
|
519
646
|
* AwsKms integration module
|
|
520
647
|
*/
|
|
@@ -1495,6 +1622,111 @@ class Crunchbase {
|
|
|
1495
1622
|
}
|
|
1496
1623
|
}
|
|
1497
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;
|
|
1498
1730
|
/**
|
|
1499
1731
|
* Discord integration module
|
|
1500
1732
|
*/
|
|
@@ -2389,6 +2621,52 @@ class GoogleOAuth {
|
|
|
2389
2621
|
}
|
|
2390
2622
|
}
|
|
2391
2623
|
exports.GoogleOAuth = GoogleOAuth;
|
|
2624
|
+
/**
|
|
2625
|
+
* GooglePlaces integration module
|
|
2626
|
+
*/
|
|
2627
|
+
class GooglePlaces {
|
|
2628
|
+
constructor() {
|
|
2629
|
+
// Get the generated API methods
|
|
2630
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2631
|
+
}
|
|
2632
|
+
/** Set Google Places API key for a user */
|
|
2633
|
+
setUserCredentials(body) {
|
|
2634
|
+
return this.api.googlePlacesSetUserCredentials(body);
|
|
2635
|
+
}
|
|
2636
|
+
/** Search places by text */
|
|
2637
|
+
searchText(body) {
|
|
2638
|
+
return this.api.googlePlacesSearchText(body);
|
|
2639
|
+
}
|
|
2640
|
+
/** Search places near a location */
|
|
2641
|
+
searchNearby(body) {
|
|
2642
|
+
return this.api.googlePlacesSearchNearby(body);
|
|
2643
|
+
}
|
|
2644
|
+
/** Get place details */
|
|
2645
|
+
getPlaceDetails(body) {
|
|
2646
|
+
return this.api.googlePlacesGetPlaceDetails(body);
|
|
2647
|
+
}
|
|
2648
|
+
/** Autocomplete address */
|
|
2649
|
+
autocomplete(body) {
|
|
2650
|
+
return this.api.googlePlacesAutocomplete(body);
|
|
2651
|
+
}
|
|
2652
|
+
/** Get place photo */
|
|
2653
|
+
getPhoto(body) {
|
|
2654
|
+
return this.api.googlePlacesGetPhoto(body);
|
|
2655
|
+
}
|
|
2656
|
+
/** Geocode an address */
|
|
2657
|
+
geocode(body) {
|
|
2658
|
+
return this.api.googlePlacesGeocode(body);
|
|
2659
|
+
}
|
|
2660
|
+
/** Reverse geocode coordinates */
|
|
2661
|
+
reverseGeocode(body) {
|
|
2662
|
+
return this.api.googlePlacesReverseGeocode(body);
|
|
2663
|
+
}
|
|
2664
|
+
/** Calculate distance matrix */
|
|
2665
|
+
calculateDistance(body) {
|
|
2666
|
+
return this.api.googlePlacesCalculateDistance(body);
|
|
2667
|
+
}
|
|
2668
|
+
}
|
|
2669
|
+
exports.GooglePlaces = GooglePlaces;
|
|
2392
2670
|
/**
|
|
2393
2671
|
* GoogleSheets integration module
|
|
2394
2672
|
*/
|
|
@@ -3044,6 +3322,88 @@ class MicrosoftSharepoint {
|
|
|
3044
3322
|
}
|
|
3045
3323
|
}
|
|
3046
3324
|
exports.MicrosoftSharepoint = MicrosoftSharepoint;
|
|
3325
|
+
/**
|
|
3326
|
+
* Middesk integration module
|
|
3327
|
+
*/
|
|
3328
|
+
class Middesk {
|
|
3329
|
+
constructor() {
|
|
3330
|
+
// Get the generated API methods
|
|
3331
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3332
|
+
}
|
|
3333
|
+
/** Store per-user Middesk credentials */
|
|
3334
|
+
setUserCredentials(body) {
|
|
3335
|
+
return this.api.middeskSetUserCredentials(body);
|
|
3336
|
+
}
|
|
3337
|
+
/** Submit a business for verification */
|
|
3338
|
+
createBusiness(body) {
|
|
3339
|
+
return this.api.middeskCreateBusiness(body);
|
|
3340
|
+
}
|
|
3341
|
+
/** Retrieve a business */
|
|
3342
|
+
getBusiness(body) {
|
|
3343
|
+
return this.api.middeskGetBusiness(body);
|
|
3344
|
+
}
|
|
3345
|
+
/** List businesses */
|
|
3346
|
+
listBusinesses(body) {
|
|
3347
|
+
return this.api.middeskListBusinesses(body);
|
|
3348
|
+
}
|
|
3349
|
+
/** Update a business record */
|
|
3350
|
+
updateBusiness(body) {
|
|
3351
|
+
return this.api.middeskUpdateBusiness(body);
|
|
3352
|
+
}
|
|
3353
|
+
/** Download verification report as PDF */
|
|
3354
|
+
getBusinessPdf(body) {
|
|
3355
|
+
return this.api.middeskGetBusinessPdf(body);
|
|
3356
|
+
}
|
|
3357
|
+
/** Create an order against a business */
|
|
3358
|
+
createOrder(body) {
|
|
3359
|
+
return this.api.middeskCreateOrder(body);
|
|
3360
|
+
}
|
|
3361
|
+
/** Retrieve an order */
|
|
3362
|
+
getOrder(body) {
|
|
3363
|
+
return this.api.middeskGetOrder(body);
|
|
3364
|
+
}
|
|
3365
|
+
/** List orders for a business */
|
|
3366
|
+
listOrders(body) {
|
|
3367
|
+
return this.api.middeskListOrders(body);
|
|
3368
|
+
}
|
|
3369
|
+
/** Enable monitoring on a business */
|
|
3370
|
+
createMonitor(body) {
|
|
3371
|
+
return this.api.middeskCreateMonitor(body);
|
|
3372
|
+
}
|
|
3373
|
+
/** Get monitoring state for a business */
|
|
3374
|
+
getMonitor(body) {
|
|
3375
|
+
return this.api.middeskGetMonitor(body);
|
|
3376
|
+
}
|
|
3377
|
+
/** Update monitoring config */
|
|
3378
|
+
updateMonitor(body) {
|
|
3379
|
+
return this.api.middeskUpdateMonitor(body);
|
|
3380
|
+
}
|
|
3381
|
+
/** Disable monitoring on a business */
|
|
3382
|
+
deleteMonitor(body) {
|
|
3383
|
+
return this.api.middeskDeleteMonitor(body);
|
|
3384
|
+
}
|
|
3385
|
+
/** Create a risk signal */
|
|
3386
|
+
createSignal(body) {
|
|
3387
|
+
return this.api.middeskCreateSignal(body);
|
|
3388
|
+
}
|
|
3389
|
+
/** Retrieve a signal */
|
|
3390
|
+
getSignal(body) {
|
|
3391
|
+
return this.api.middeskGetSignal(body);
|
|
3392
|
+
}
|
|
3393
|
+
/** List signals */
|
|
3394
|
+
listSignals(body) {
|
|
3395
|
+
return this.api.middeskListSignals(body);
|
|
3396
|
+
}
|
|
3397
|
+
/** Retrieve a document */
|
|
3398
|
+
getDocument(body) {
|
|
3399
|
+
return this.api.middeskGetDocument(body);
|
|
3400
|
+
}
|
|
3401
|
+
/** Get a temporary download URL for a document */
|
|
3402
|
+
getDocumentDownloadUrl(body) {
|
|
3403
|
+
return this.api.middeskGetDocumentDownloadUrl(body);
|
|
3404
|
+
}
|
|
3405
|
+
}
|
|
3406
|
+
exports.Middesk = Middesk;
|
|
3047
3407
|
/**
|
|
3048
3408
|
* Notion integration module
|
|
3049
3409
|
*/
|
|
@@ -3123,6 +3483,71 @@ class Openai {
|
|
|
3123
3483
|
}
|
|
3124
3484
|
}
|
|
3125
3485
|
exports.Openai = Openai;
|
|
3486
|
+
/**
|
|
3487
|
+
* Pandadoc integration module
|
|
3488
|
+
*/
|
|
3489
|
+
class Pandadoc {
|
|
3490
|
+
constructor() {
|
|
3491
|
+
// Get the generated API methods
|
|
3492
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3493
|
+
}
|
|
3494
|
+
/** Initiate PandaDoc OAuth flow */
|
|
3495
|
+
oauthInitiate(body) {
|
|
3496
|
+
return this.api.pandadocOauthInitiate(body);
|
|
3497
|
+
}
|
|
3498
|
+
/** Set PandaDoc OAuth app credentials for a user */
|
|
3499
|
+
setUserCredentials(body) {
|
|
3500
|
+
return this.api.pandadocSetUserCredentials(body);
|
|
3501
|
+
}
|
|
3502
|
+
oauthCallback(...args) {
|
|
3503
|
+
return this.api.pandadocOauthCallback(...args);
|
|
3504
|
+
}
|
|
3505
|
+
/** Create a PandaDoc document */
|
|
3506
|
+
createDocument(body) {
|
|
3507
|
+
return this.api.pandadocCreateDocument(body);
|
|
3508
|
+
}
|
|
3509
|
+
/** Create a PandaDoc document from an uploaded file */
|
|
3510
|
+
createDocumentFromUpload(body) {
|
|
3511
|
+
return this.api.pandadocCreateDocumentFromUpload(body);
|
|
3512
|
+
}
|
|
3513
|
+
/** Send a PandaDoc document for signature */
|
|
3514
|
+
sendDocument(body) {
|
|
3515
|
+
return this.api.pandadocSendDocument(body);
|
|
3516
|
+
}
|
|
3517
|
+
/** Get PandaDoc document status */
|
|
3518
|
+
getDocumentStatus(body) {
|
|
3519
|
+
return this.api.pandadocGetDocumentStatus(body);
|
|
3520
|
+
}
|
|
3521
|
+
/** Download a completed PandaDoc document */
|
|
3522
|
+
downloadDocument(body) {
|
|
3523
|
+
return this.api.pandadocDownloadDocument(body);
|
|
3524
|
+
}
|
|
3525
|
+
/** List PandaDoc templates */
|
|
3526
|
+
listTemplates(body) {
|
|
3527
|
+
return this.api.pandadocListTemplates(body);
|
|
3528
|
+
}
|
|
3529
|
+
/** Create a PandaDoc template from a file */
|
|
3530
|
+
createTemplateFromFile(body) {
|
|
3531
|
+
return this.api.pandadocCreateTemplateFromFile(body);
|
|
3532
|
+
}
|
|
3533
|
+
/** Update a PandaDoc template */
|
|
3534
|
+
updateTemplate(body) {
|
|
3535
|
+
return this.api.pandadocUpdateTemplate(body);
|
|
3536
|
+
}
|
|
3537
|
+
/** Create a PandaDoc template editing session */
|
|
3538
|
+
createTemplateEditingSession(body) {
|
|
3539
|
+
return this.api.pandadocCreateTemplateEditingSession(body);
|
|
3540
|
+
}
|
|
3541
|
+
/** Delete a PandaDoc template */
|
|
3542
|
+
deleteTemplate(body) {
|
|
3543
|
+
return this.api.pandadocDeleteTemplate(body);
|
|
3544
|
+
}
|
|
3545
|
+
/** Update a PandaDoc pricing table */
|
|
3546
|
+
updateQuote(body) {
|
|
3547
|
+
return this.api.pandadocUpdateQuote(body);
|
|
3548
|
+
}
|
|
3549
|
+
}
|
|
3550
|
+
exports.Pandadoc = Pandadoc;
|
|
3126
3551
|
/**
|
|
3127
3552
|
* Plaid integration module
|
|
3128
3553
|
*/
|
|
@@ -4720,6 +5145,71 @@ class Wealthbox {
|
|
|
4720
5145
|
}
|
|
4721
5146
|
}
|
|
4722
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;
|
|
4723
5213
|
/**
|
|
4724
5214
|
* Zendesk integration module
|
|
4725
5215
|
*/
|