@uptiqai/integrations-sdk 1.6.0 → 1.8.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 +8918 -7504
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +827 -3
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +207 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +400 -1
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +180 -2
- package/dist/response-type-map.js.map +1 -1
- package/package.json +1 -1
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.TwilioWhatsapp = exports.Stripe = exports.SocureRiskos = exports.Resend = exports.Redtail = exports.Plaid = exports.Openai = exports.Jira = exports.GoogleSlides = exports.GoogleSheets = exports.GoogleOAuth = exports.GoogleGenerativeAIImage = exports.GoogleGenerativeAI = exports.GoogleDrive = exports.GoogleDocs = exports.GoogleCloudStorage = exports.Gmail = exports.Gitlab = exports.ExperianBusiness = exports.DunAndBradstreet = exports.CrsCreditApi = exports.CreditsafeFeatured = exports.CreditsafeCompliance = exports.AzureBlobStorage = exports.AwsS3 = exports.Anthropic = exports.Alloy = exports.Abrigo = void 0;
|
|
17
|
+
exports.Hubspot = exports.Salesforce = exports.Wealthbox = exports.TwilioWhatsapp = exports.Stripe = exports.SocureRiskos = exports.Resend = exports.Redtail = exports.Plaid = exports.Openai = exports.Jira = exports.MicrosoftSharepoint = exports.MicrosoftOutlook = exports.MicrosoftOnedrive = exports.GoogleSlides = exports.GoogleSheets = exports.GoogleOAuth = exports.GoogleGenerativeAIImage = exports.GoogleGenerativeAI = exports.GoogleDrive = exports.GoogleDocs = exports.GoogleCloudStorage = exports.Gmail = exports.Gitlab = exports.ExperianBusiness = exports.DunAndBradstreet = 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
|
|
@@ -1685,6 +1685,219 @@ class GoogleSlides {
|
|
|
1685
1685
|
}
|
|
1686
1686
|
}
|
|
1687
1687
|
exports.GoogleSlides = GoogleSlides;
|
|
1688
|
+
/**
|
|
1689
|
+
* MicrosoftOnedrive integration module
|
|
1690
|
+
*/
|
|
1691
|
+
class MicrosoftOnedrive {
|
|
1692
|
+
constructor() {
|
|
1693
|
+
// Get the generated API methods
|
|
1694
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1695
|
+
}
|
|
1696
|
+
/** Start Microsoft OneDrive OAuth flow */
|
|
1697
|
+
authStart(body) {
|
|
1698
|
+
return this.api.microsoftOnedriveAuthStart(body);
|
|
1699
|
+
}
|
|
1700
|
+
/** Set Microsoft OneDrive OAuth app credentials for a user */
|
|
1701
|
+
setUserCredentials(body) {
|
|
1702
|
+
return this.api.microsoftOnedriveSetUserCredentials(body);
|
|
1703
|
+
}
|
|
1704
|
+
oauthCallback(...args) {
|
|
1705
|
+
return this.api.microsoftOnedriveOauthCallback(...args);
|
|
1706
|
+
}
|
|
1707
|
+
listItems(...args) {
|
|
1708
|
+
return this.api.microsoftOnedriveListItems(...args);
|
|
1709
|
+
}
|
|
1710
|
+
/** Update OneDrive item */
|
|
1711
|
+
updateItem(body) {
|
|
1712
|
+
return this.api.microsoftOnedriveUpdateItem(body);
|
|
1713
|
+
}
|
|
1714
|
+
/** Delete OneDrive item */
|
|
1715
|
+
deleteItem(body) {
|
|
1716
|
+
return this.api.microsoftOnedriveDeleteItem(body);
|
|
1717
|
+
}
|
|
1718
|
+
/** Get OneDrive item metadata */
|
|
1719
|
+
getItem(body) {
|
|
1720
|
+
return this.api.microsoftOnedriveGetItem(body);
|
|
1721
|
+
}
|
|
1722
|
+
/** Download OneDrive item content (signed URL) */
|
|
1723
|
+
downloadItem(body) {
|
|
1724
|
+
return this.api.microsoftOnedriveDownloadItem(body);
|
|
1725
|
+
}
|
|
1726
|
+
/** Upload OneDrive item (simple) */
|
|
1727
|
+
uploadItem(body) {
|
|
1728
|
+
return this.api.microsoftOnedriveUploadItem(body);
|
|
1729
|
+
}
|
|
1730
|
+
/** Upload large OneDrive item via upload session */
|
|
1731
|
+
uploadLargeItem(body) {
|
|
1732
|
+
return this.api.microsoftOnedriveUploadLargeItem(body);
|
|
1733
|
+
}
|
|
1734
|
+
/** Create OneDrive folder */
|
|
1735
|
+
createFolder(body) {
|
|
1736
|
+
return this.api.microsoftOnedriveCreateFolder(body);
|
|
1737
|
+
}
|
|
1738
|
+
/** Copy OneDrive item */
|
|
1739
|
+
copyItem(body) {
|
|
1740
|
+
return this.api.microsoftOnedriveCopyItem(body);
|
|
1741
|
+
}
|
|
1742
|
+
searchItems(...args) {
|
|
1743
|
+
return this.api.microsoftOnedriveSearchItems(...args);
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
exports.MicrosoftOnedrive = MicrosoftOnedrive;
|
|
1747
|
+
/**
|
|
1748
|
+
* MicrosoftOutlook integration module
|
|
1749
|
+
*/
|
|
1750
|
+
class MicrosoftOutlook {
|
|
1751
|
+
constructor() {
|
|
1752
|
+
// Get the generated API methods
|
|
1753
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1754
|
+
}
|
|
1755
|
+
/** Start Microsoft Outlook OAuth flow */
|
|
1756
|
+
authStart(body) {
|
|
1757
|
+
return this.api.microsoftOutlookAuthStart(body);
|
|
1758
|
+
}
|
|
1759
|
+
/** Set Microsoft Outlook OAuth app credentials for a user */
|
|
1760
|
+
setUserCredentials(body) {
|
|
1761
|
+
return this.api.microsoftOutlookSetUserCredentials(body);
|
|
1762
|
+
}
|
|
1763
|
+
oauthCallback(...args) {
|
|
1764
|
+
return this.api.microsoftOutlookOauthCallback(...args);
|
|
1765
|
+
}
|
|
1766
|
+
/** List messages */
|
|
1767
|
+
messagesList(body) {
|
|
1768
|
+
return this.api.microsoftOutlookMessagesList(body);
|
|
1769
|
+
}
|
|
1770
|
+
/** List mail folders */
|
|
1771
|
+
mailFoldersList(body) {
|
|
1772
|
+
return this.api.microsoftOutlookMailFoldersList(body);
|
|
1773
|
+
}
|
|
1774
|
+
/** List messages in a folder */
|
|
1775
|
+
folderMessagesList(body) {
|
|
1776
|
+
return this.api.microsoftOutlookFolderMessagesList(body);
|
|
1777
|
+
}
|
|
1778
|
+
/** Get a message */
|
|
1779
|
+
messagesGet(body) {
|
|
1780
|
+
return this.api.microsoftOutlookMessagesGet(body);
|
|
1781
|
+
}
|
|
1782
|
+
/** Search messages */
|
|
1783
|
+
messagesSearch(body) {
|
|
1784
|
+
return this.api.microsoftOutlookMessagesSearch(body);
|
|
1785
|
+
}
|
|
1786
|
+
/** List message attachments */
|
|
1787
|
+
attachmentsList(body) {
|
|
1788
|
+
return this.api.microsoftOutlookAttachmentsList(body);
|
|
1789
|
+
}
|
|
1790
|
+
/** Send mail */
|
|
1791
|
+
sendMail(body) {
|
|
1792
|
+
return this.api.microsoftOutlookSendMail(body);
|
|
1793
|
+
}
|
|
1794
|
+
/** Create draft */
|
|
1795
|
+
messagesCreate(body) {
|
|
1796
|
+
return this.api.microsoftOutlookMessagesCreate(body);
|
|
1797
|
+
}
|
|
1798
|
+
/** Update draft */
|
|
1799
|
+
messagesUpdate(body) {
|
|
1800
|
+
return this.api.microsoftOutlookMessagesUpdate(body);
|
|
1801
|
+
}
|
|
1802
|
+
/** Send draft */
|
|
1803
|
+
messagesSend(body) {
|
|
1804
|
+
return this.api.microsoftOutlookMessagesSend(body);
|
|
1805
|
+
}
|
|
1806
|
+
/** Reply to message */
|
|
1807
|
+
messagesReply(body) {
|
|
1808
|
+
return this.api.microsoftOutlookMessagesReply(body);
|
|
1809
|
+
}
|
|
1810
|
+
/** Reply all */
|
|
1811
|
+
messagesReplyAll(body) {
|
|
1812
|
+
return this.api.microsoftOutlookMessagesReplyAll(body);
|
|
1813
|
+
}
|
|
1814
|
+
/** Forward message */
|
|
1815
|
+
messagesForward(body) {
|
|
1816
|
+
return this.api.microsoftOutlookMessagesForward(body);
|
|
1817
|
+
}
|
|
1818
|
+
/** Delete message */
|
|
1819
|
+
messagesDelete(body) {
|
|
1820
|
+
return this.api.microsoftOutlookMessagesDelete(body);
|
|
1821
|
+
}
|
|
1822
|
+
/** Add attachment to draft */
|
|
1823
|
+
attachmentsCreate(body) {
|
|
1824
|
+
return this.api.microsoftOutlookAttachmentsCreate(body);
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
exports.MicrosoftOutlook = MicrosoftOutlook;
|
|
1828
|
+
/**
|
|
1829
|
+
* MicrosoftSharepoint integration module
|
|
1830
|
+
*/
|
|
1831
|
+
class MicrosoftSharepoint {
|
|
1832
|
+
constructor() {
|
|
1833
|
+
// Get the generated API methods
|
|
1834
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1835
|
+
}
|
|
1836
|
+
/** Set Microsoft SharePoint OAuth app credentials for a user */
|
|
1837
|
+
setUserCredentials(body) {
|
|
1838
|
+
return this.api.microsoftSharepointSetUserCredentials(body);
|
|
1839
|
+
}
|
|
1840
|
+
/** Initiate Microsoft SharePoint OAuth */
|
|
1841
|
+
oauthInitiate(body) {
|
|
1842
|
+
return this.api.microsoftSharepointOauthInitiate(body);
|
|
1843
|
+
}
|
|
1844
|
+
oauthCallback(...args) {
|
|
1845
|
+
return this.api.microsoftSharepointOauthCallback(...args);
|
|
1846
|
+
}
|
|
1847
|
+
/** Get site by path — GET /sites/{hostname}:/{site-path} */
|
|
1848
|
+
getSiteByPath(body) {
|
|
1849
|
+
return this.api.microsoftSharepointGetSiteByPath(body);
|
|
1850
|
+
}
|
|
1851
|
+
/** Search sites — GET /sites?search={query} */
|
|
1852
|
+
searchSites(body) {
|
|
1853
|
+
return this.api.microsoftSharepointSearchSites(body);
|
|
1854
|
+
}
|
|
1855
|
+
/** List drives — GET /sites/{site-id}/drives */
|
|
1856
|
+
listDrives(body) {
|
|
1857
|
+
return this.api.microsoftSharepointListDrives(body);
|
|
1858
|
+
}
|
|
1859
|
+
/** List drive item children — GET /drives/{drive-id}/items/{item-id}/children */
|
|
1860
|
+
listDriveItemChildren(body) {
|
|
1861
|
+
return this.api.microsoftSharepointListDriveItemChildren(body);
|
|
1862
|
+
}
|
|
1863
|
+
/** Download file content (signed URL) — GET /drives/{drive-id}/items/{item-id}/content */
|
|
1864
|
+
downloadFileContent(body) {
|
|
1865
|
+
return this.api.microsoftSharepointDownloadFileContent(body);
|
|
1866
|
+
}
|
|
1867
|
+
/** Upload file — PUT /drives/{drive-id}/items/{parent-id}:/{filename}:/content */
|
|
1868
|
+
uploadFile(body) {
|
|
1869
|
+
return this.api.microsoftSharepointUploadFile(body);
|
|
1870
|
+
}
|
|
1871
|
+
/** Delete file — DELETE /drives/{drive-id}/items/{item-id} */
|
|
1872
|
+
deleteFile(body) {
|
|
1873
|
+
return this.api.microsoftSharepointDeleteFile(body);
|
|
1874
|
+
}
|
|
1875
|
+
/** List lists — GET /sites/{site-id}/lists */
|
|
1876
|
+
listLists(body) {
|
|
1877
|
+
return this.api.microsoftSharepointListLists(body);
|
|
1878
|
+
}
|
|
1879
|
+
/** Get list — GET /sites/{site-id}/lists/{list-id} */
|
|
1880
|
+
getList(body) {
|
|
1881
|
+
return this.api.microsoftSharepointGetList(body);
|
|
1882
|
+
}
|
|
1883
|
+
/** List list items — GET /sites/{site-id}/lists/{list-id}/items */
|
|
1884
|
+
listListItems(body) {
|
|
1885
|
+
return this.api.microsoftSharepointListListItems(body);
|
|
1886
|
+
}
|
|
1887
|
+
/** Create list item — POST /sites/{site-id}/lists/{list-id}/items */
|
|
1888
|
+
createListItem(body) {
|
|
1889
|
+
return this.api.microsoftSharepointCreateListItem(body);
|
|
1890
|
+
}
|
|
1891
|
+
/** Update list item — PATCH /sites/{site-id}/lists/{list-id}/items/{item-id} */
|
|
1892
|
+
updateListItem(body) {
|
|
1893
|
+
return this.api.microsoftSharepointUpdateListItem(body);
|
|
1894
|
+
}
|
|
1895
|
+
/** Search content — POST /search/query */
|
|
1896
|
+
searchContent(body) {
|
|
1897
|
+
return this.api.microsoftSharepointSearchContent(body);
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
exports.MicrosoftSharepoint = MicrosoftSharepoint;
|
|
1688
1901
|
/**
|
|
1689
1902
|
* Jira integration module
|
|
1690
1903
|
*/
|
|
@@ -2514,6 +2727,192 @@ class Wealthbox {
|
|
|
2514
2727
|
}
|
|
2515
2728
|
}
|
|
2516
2729
|
exports.Wealthbox = Wealthbox;
|
|
2730
|
+
/**
|
|
2731
|
+
* Salesforce integration module
|
|
2732
|
+
*/
|
|
2733
|
+
class Salesforce {
|
|
2734
|
+
constructor() {
|
|
2735
|
+
// Get the generated API methods
|
|
2736
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2737
|
+
}
|
|
2738
|
+
/** Start Salesforce OAuth flow */
|
|
2739
|
+
authStart(body) {
|
|
2740
|
+
return this.api.salesforceAuthStart(body);
|
|
2741
|
+
}
|
|
2742
|
+
/** Set Salesforce OAuth app credentials */
|
|
2743
|
+
authSetUserCredentials(body) {
|
|
2744
|
+
return this.api.salesforceAuthSetUserCredentials(body);
|
|
2745
|
+
}
|
|
2746
|
+
oauthCallback(...args) {
|
|
2747
|
+
return this.api.salesforceOauthCallback(...args);
|
|
2748
|
+
}
|
|
2749
|
+
/** Create Salesforce sObject record */
|
|
2750
|
+
createSobject(body) {
|
|
2751
|
+
return this.api.salesforceCreateSobject(body);
|
|
2752
|
+
}
|
|
2753
|
+
/** Get Salesforce sObject record */
|
|
2754
|
+
getSobject(body) {
|
|
2755
|
+
return this.api.salesforceGetSobject(body);
|
|
2756
|
+
}
|
|
2757
|
+
/** Update Salesforce sObject record */
|
|
2758
|
+
updateSobject(body) {
|
|
2759
|
+
return this.api.salesforceUpdateSobject(body);
|
|
2760
|
+
}
|
|
2761
|
+
/** Delete Salesforce sObject record */
|
|
2762
|
+
deleteSobject(body) {
|
|
2763
|
+
return this.api.salesforceDeleteSobject(body);
|
|
2764
|
+
}
|
|
2765
|
+
/** Query Salesforce records */
|
|
2766
|
+
query(body) {
|
|
2767
|
+
return this.api.salesforceQuery(body);
|
|
2768
|
+
}
|
|
2769
|
+
/** Create multiple Salesforce records via composite */
|
|
2770
|
+
compositeSobjectsCreate(body) {
|
|
2771
|
+
return this.api.salesforceCompositeSobjectsCreate(body);
|
|
2772
|
+
}
|
|
2773
|
+
/** Update multiple Salesforce records via composite */
|
|
2774
|
+
compositeSobjectsUpdate(body) {
|
|
2775
|
+
return this.api.salesforceCompositeSobjectsUpdate(body);
|
|
2776
|
+
}
|
|
2777
|
+
/** Run Salesforce composite request */
|
|
2778
|
+
composite(body) {
|
|
2779
|
+
return this.api.salesforceComposite(body);
|
|
2780
|
+
}
|
|
2781
|
+
/** List Salesforce reports */
|
|
2782
|
+
listReports(body) {
|
|
2783
|
+
return this.api.salesforceListReports(body);
|
|
2784
|
+
}
|
|
2785
|
+
/** Describe Salesforce report */
|
|
2786
|
+
describeReport(body) {
|
|
2787
|
+
return this.api.salesforceDescribeReport(body);
|
|
2788
|
+
}
|
|
2789
|
+
/** Run Salesforce report */
|
|
2790
|
+
runReport(body) {
|
|
2791
|
+
return this.api.salesforceRunReport(body);
|
|
2792
|
+
}
|
|
2793
|
+
/** List Salesforce flows */
|
|
2794
|
+
listFlows(body) {
|
|
2795
|
+
return this.api.salesforceListFlows(body);
|
|
2796
|
+
}
|
|
2797
|
+
/** Describe Salesforce flow */
|
|
2798
|
+
describeFlow(body) {
|
|
2799
|
+
return this.api.salesforceDescribeFlow(body);
|
|
2800
|
+
}
|
|
2801
|
+
/** Run Salesforce flow */
|
|
2802
|
+
runFlow(body) {
|
|
2803
|
+
return this.api.salesforceRunFlow(body);
|
|
2804
|
+
}
|
|
2805
|
+
}
|
|
2806
|
+
exports.Salesforce = Salesforce;
|
|
2807
|
+
/**
|
|
2808
|
+
* Hubspot integration module
|
|
2809
|
+
*/
|
|
2810
|
+
class Hubspot {
|
|
2811
|
+
constructor() {
|
|
2812
|
+
// Get the generated API methods
|
|
2813
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2814
|
+
}
|
|
2815
|
+
/** Start HubSpot OAuth flow */
|
|
2816
|
+
authStart(body) {
|
|
2817
|
+
return this.api.hubspotAuthStart(body);
|
|
2818
|
+
}
|
|
2819
|
+
/** Set HubSpot OAuth app credentials */
|
|
2820
|
+
authSetUserCredentials(body) {
|
|
2821
|
+
return this.api.hubspotAuthSetUserCredentials(body);
|
|
2822
|
+
}
|
|
2823
|
+
oauthCallback(...args) {
|
|
2824
|
+
return this.api.hubspotOauthCallback(...args);
|
|
2825
|
+
}
|
|
2826
|
+
/** Create HubSpot contact */
|
|
2827
|
+
createContact(body) {
|
|
2828
|
+
return this.api.hubspotCreateContact(body);
|
|
2829
|
+
}
|
|
2830
|
+
/** Update HubSpot contact */
|
|
2831
|
+
updateContact(body) {
|
|
2832
|
+
return this.api.hubspotUpdateContact(body);
|
|
2833
|
+
}
|
|
2834
|
+
/** List HubSpot contacts */
|
|
2835
|
+
listContacts(body) {
|
|
2836
|
+
return this.api.hubspotListContacts(body);
|
|
2837
|
+
}
|
|
2838
|
+
/** Search HubSpot contacts */
|
|
2839
|
+
searchContacts(body) {
|
|
2840
|
+
return this.api.hubspotSearchContacts(body);
|
|
2841
|
+
}
|
|
2842
|
+
/** Create HubSpot company */
|
|
2843
|
+
createCompany(body) {
|
|
2844
|
+
return this.api.hubspotCreateCompany(body);
|
|
2845
|
+
}
|
|
2846
|
+
/** Update HubSpot company */
|
|
2847
|
+
updateCompany(body) {
|
|
2848
|
+
return this.api.hubspotUpdateCompany(body);
|
|
2849
|
+
}
|
|
2850
|
+
/** List HubSpot companies */
|
|
2851
|
+
listCompanies(body) {
|
|
2852
|
+
return this.api.hubspotListCompanies(body);
|
|
2853
|
+
}
|
|
2854
|
+
/** Search HubSpot companies */
|
|
2855
|
+
searchCompanies(body) {
|
|
2856
|
+
return this.api.hubspotSearchCompanies(body);
|
|
2857
|
+
}
|
|
2858
|
+
/** List HubSpot deals */
|
|
2859
|
+
listDeals(body) {
|
|
2860
|
+
return this.api.hubspotListDeals(body);
|
|
2861
|
+
}
|
|
2862
|
+
/** List HubSpot deal pipelines */
|
|
2863
|
+
listDealPipelines(body) {
|
|
2864
|
+
return this.api.hubspotListDealPipelines(body);
|
|
2865
|
+
}
|
|
2866
|
+
/** List HubSpot CRM owners */
|
|
2867
|
+
listOwners(body) {
|
|
2868
|
+
return this.api.hubspotListOwners(body);
|
|
2869
|
+
}
|
|
2870
|
+
/** Create HubSpot email engagement */
|
|
2871
|
+
createEmailEngagement(body) {
|
|
2872
|
+
return this.api.hubspotCreateEmailEngagement(body);
|
|
2873
|
+
}
|
|
2874
|
+
/** Create HubSpot call engagement */
|
|
2875
|
+
createCallEngagement(body) {
|
|
2876
|
+
return this.api.hubspotCreateCallEngagement(body);
|
|
2877
|
+
}
|
|
2878
|
+
/** Create HubSpot task engagement */
|
|
2879
|
+
createTaskEngagement(body) {
|
|
2880
|
+
return this.api.hubspotCreateTaskEngagement(body);
|
|
2881
|
+
}
|
|
2882
|
+
/** Create HubSpot default object association */
|
|
2883
|
+
createAssociation(body) {
|
|
2884
|
+
return this.api.hubspotCreateAssociation(body);
|
|
2885
|
+
}
|
|
2886
|
+
/** Create HubSpot ticket */
|
|
2887
|
+
createTicket(body) {
|
|
2888
|
+
return this.api.hubspotCreateTicket(body);
|
|
2889
|
+
}
|
|
2890
|
+
/** Update HubSpot ticket */
|
|
2891
|
+
updateTicket(body) {
|
|
2892
|
+
return this.api.hubspotUpdateTicket(body);
|
|
2893
|
+
}
|
|
2894
|
+
/** List HubSpot tickets */
|
|
2895
|
+
listTickets(body) {
|
|
2896
|
+
return this.api.hubspotListTickets(body);
|
|
2897
|
+
}
|
|
2898
|
+
/** Enroll contact in HubSpot workflow */
|
|
2899
|
+
enrollWorkflow(body) {
|
|
2900
|
+
return this.api.hubspotEnrollWorkflow(body);
|
|
2901
|
+
}
|
|
2902
|
+
/** List HubSpot workflows */
|
|
2903
|
+
listWorkflows(body) {
|
|
2904
|
+
return this.api.hubspotListWorkflows(body);
|
|
2905
|
+
}
|
|
2906
|
+
/** List HubSpot marketing emails */
|
|
2907
|
+
listMarketingEmails(body) {
|
|
2908
|
+
return this.api.hubspotListMarketingEmails(body);
|
|
2909
|
+
}
|
|
2910
|
+
/** Send HubSpot transactional email */
|
|
2911
|
+
sendTransactionalEmail(body) {
|
|
2912
|
+
return this.api.hubspotSendTransactionalEmail(body);
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2915
|
+
exports.Hubspot = Hubspot;
|
|
2517
2916
|
// Re-export all types from generated API
|
|
2518
2917
|
__exportStar(require("./generated-api"), exports);
|
|
2519
2918
|
//# sourceMappingURL=index.js.map
|