@uptiqai/integrations-sdk 1.12.0 → 1.14.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 +6668 -5264
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +1552 -733
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +341 -137
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +675 -291
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +282 -120
- 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.
|
|
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;
|
|
18
18
|
const generated_api_1 = require("./generated-api");
|
|
19
19
|
/**
|
|
20
20
|
* UPTIQ Integrations SDK
|
|
@@ -1215,6 +1215,44 @@ class DunAndBradstreet {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
1217
1217
|
exports.DunAndBradstreet = DunAndBradstreet;
|
|
1218
|
+
/**
|
|
1219
|
+
* Elevenlabs integration module
|
|
1220
|
+
*/
|
|
1221
|
+
class Elevenlabs {
|
|
1222
|
+
constructor() {
|
|
1223
|
+
// Get the generated API methods
|
|
1224
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1225
|
+
}
|
|
1226
|
+
/** Generate speech from text */
|
|
1227
|
+
textToSpeech(body) {
|
|
1228
|
+
return this.api.elevenlabsTextToSpeech(body);
|
|
1229
|
+
}
|
|
1230
|
+
/** Clone a voice from audio samples */
|
|
1231
|
+
cloneVoice(body) {
|
|
1232
|
+
return this.api.elevenlabsCloneVoice(body);
|
|
1233
|
+
}
|
|
1234
|
+
/** List voices */
|
|
1235
|
+
listVoices(body) {
|
|
1236
|
+
return this.api.elevenlabsListVoices(body);
|
|
1237
|
+
}
|
|
1238
|
+
/** Get voice metadata */
|
|
1239
|
+
getVoice(body) {
|
|
1240
|
+
return this.api.elevenlabsGetVoice(body);
|
|
1241
|
+
}
|
|
1242
|
+
/** Delete a cloned voice */
|
|
1243
|
+
deleteVoice(body) {
|
|
1244
|
+
return this.api.elevenlabsDeleteVoice(body);
|
|
1245
|
+
}
|
|
1246
|
+
/** List TTS models */
|
|
1247
|
+
listModels(body) {
|
|
1248
|
+
return this.api.elevenlabsListModels(body);
|
|
1249
|
+
}
|
|
1250
|
+
/** Set ElevenLabs API key for a user */
|
|
1251
|
+
setUserCredentials(body) {
|
|
1252
|
+
return this.api.elevenlabsSetUserCredentials(body);
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
exports.Elevenlabs = Elevenlabs;
|
|
1218
1256
|
/**
|
|
1219
1257
|
* ExperianBusiness integration module
|
|
1220
1258
|
*/
|
|
@@ -1730,6 +1768,192 @@ class GoogleSlides {
|
|
|
1730
1768
|
}
|
|
1731
1769
|
}
|
|
1732
1770
|
exports.GoogleSlides = GoogleSlides;
|
|
1771
|
+
/**
|
|
1772
|
+
* Hubspot integration module
|
|
1773
|
+
*/
|
|
1774
|
+
class Hubspot {
|
|
1775
|
+
constructor() {
|
|
1776
|
+
// Get the generated API methods
|
|
1777
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1778
|
+
}
|
|
1779
|
+
/** Start HubSpot OAuth flow */
|
|
1780
|
+
authStart(body) {
|
|
1781
|
+
return this.api.hubspotAuthStart(body);
|
|
1782
|
+
}
|
|
1783
|
+
/** Set HubSpot OAuth app credentials */
|
|
1784
|
+
authSetUserCredentials(body) {
|
|
1785
|
+
return this.api.hubspotAuthSetUserCredentials(body);
|
|
1786
|
+
}
|
|
1787
|
+
oauthCallback(...args) {
|
|
1788
|
+
return this.api.hubspotOauthCallback(...args);
|
|
1789
|
+
}
|
|
1790
|
+
/** Create HubSpot contact */
|
|
1791
|
+
createContact(body) {
|
|
1792
|
+
return this.api.hubspotCreateContact(body);
|
|
1793
|
+
}
|
|
1794
|
+
/** Update HubSpot contact */
|
|
1795
|
+
updateContact(body) {
|
|
1796
|
+
return this.api.hubspotUpdateContact(body);
|
|
1797
|
+
}
|
|
1798
|
+
/** List HubSpot contacts */
|
|
1799
|
+
listContacts(body) {
|
|
1800
|
+
return this.api.hubspotListContacts(body);
|
|
1801
|
+
}
|
|
1802
|
+
/** Search HubSpot contacts */
|
|
1803
|
+
searchContacts(body) {
|
|
1804
|
+
return this.api.hubspotSearchContacts(body);
|
|
1805
|
+
}
|
|
1806
|
+
/** Create HubSpot company */
|
|
1807
|
+
createCompany(body) {
|
|
1808
|
+
return this.api.hubspotCreateCompany(body);
|
|
1809
|
+
}
|
|
1810
|
+
/** Update HubSpot company */
|
|
1811
|
+
updateCompany(body) {
|
|
1812
|
+
return this.api.hubspotUpdateCompany(body);
|
|
1813
|
+
}
|
|
1814
|
+
/** List HubSpot companies */
|
|
1815
|
+
listCompanies(body) {
|
|
1816
|
+
return this.api.hubspotListCompanies(body);
|
|
1817
|
+
}
|
|
1818
|
+
/** Search HubSpot companies */
|
|
1819
|
+
searchCompanies(body) {
|
|
1820
|
+
return this.api.hubspotSearchCompanies(body);
|
|
1821
|
+
}
|
|
1822
|
+
/** List HubSpot deals */
|
|
1823
|
+
listDeals(body) {
|
|
1824
|
+
return this.api.hubspotListDeals(body);
|
|
1825
|
+
}
|
|
1826
|
+
/** List HubSpot deal pipelines */
|
|
1827
|
+
listDealPipelines(body) {
|
|
1828
|
+
return this.api.hubspotListDealPipelines(body);
|
|
1829
|
+
}
|
|
1830
|
+
/** List HubSpot CRM owners */
|
|
1831
|
+
listOwners(body) {
|
|
1832
|
+
return this.api.hubspotListOwners(body);
|
|
1833
|
+
}
|
|
1834
|
+
/** Create HubSpot email engagement */
|
|
1835
|
+
createEmailEngagement(body) {
|
|
1836
|
+
return this.api.hubspotCreateEmailEngagement(body);
|
|
1837
|
+
}
|
|
1838
|
+
/** Create HubSpot call engagement */
|
|
1839
|
+
createCallEngagement(body) {
|
|
1840
|
+
return this.api.hubspotCreateCallEngagement(body);
|
|
1841
|
+
}
|
|
1842
|
+
/** Create HubSpot task engagement */
|
|
1843
|
+
createTaskEngagement(body) {
|
|
1844
|
+
return this.api.hubspotCreateTaskEngagement(body);
|
|
1845
|
+
}
|
|
1846
|
+
/** Create HubSpot default object association */
|
|
1847
|
+
createAssociation(body) {
|
|
1848
|
+
return this.api.hubspotCreateAssociation(body);
|
|
1849
|
+
}
|
|
1850
|
+
/** Create HubSpot ticket */
|
|
1851
|
+
createTicket(body) {
|
|
1852
|
+
return this.api.hubspotCreateTicket(body);
|
|
1853
|
+
}
|
|
1854
|
+
/** Update HubSpot ticket */
|
|
1855
|
+
updateTicket(body) {
|
|
1856
|
+
return this.api.hubspotUpdateTicket(body);
|
|
1857
|
+
}
|
|
1858
|
+
/** List HubSpot tickets */
|
|
1859
|
+
listTickets(body) {
|
|
1860
|
+
return this.api.hubspotListTickets(body);
|
|
1861
|
+
}
|
|
1862
|
+
/** Enroll contact in HubSpot workflow */
|
|
1863
|
+
enrollWorkflow(body) {
|
|
1864
|
+
return this.api.hubspotEnrollWorkflow(body);
|
|
1865
|
+
}
|
|
1866
|
+
/** List HubSpot workflows */
|
|
1867
|
+
listWorkflows(body) {
|
|
1868
|
+
return this.api.hubspotListWorkflows(body);
|
|
1869
|
+
}
|
|
1870
|
+
/** List HubSpot marketing emails */
|
|
1871
|
+
listMarketingEmails(body) {
|
|
1872
|
+
return this.api.hubspotListMarketingEmails(body);
|
|
1873
|
+
}
|
|
1874
|
+
/** Send HubSpot transactional email */
|
|
1875
|
+
sendTransactionalEmail(body) {
|
|
1876
|
+
return this.api.hubspotSendTransactionalEmail(body);
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
exports.Hubspot = Hubspot;
|
|
1880
|
+
/**
|
|
1881
|
+
* Jira integration module
|
|
1882
|
+
*/
|
|
1883
|
+
class Jira {
|
|
1884
|
+
constructor() {
|
|
1885
|
+
// Get the generated API methods
|
|
1886
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1887
|
+
}
|
|
1888
|
+
/** Initiate Jira OAuth flow */
|
|
1889
|
+
oauthInitiate(body) {
|
|
1890
|
+
return this.api.jiraOauthInitiate(body);
|
|
1891
|
+
}
|
|
1892
|
+
/** Set Jira OAuth app credentials for a user */
|
|
1893
|
+
setUserCredentials(body) {
|
|
1894
|
+
return this.api.jiraSetUserCredentials(body);
|
|
1895
|
+
}
|
|
1896
|
+
oauthCallback(...args) {
|
|
1897
|
+
return this.api.jiraOauthCallback(...args);
|
|
1898
|
+
}
|
|
1899
|
+
/** Create an issue */
|
|
1900
|
+
createIssue(body) {
|
|
1901
|
+
return this.api.jiraCreateIssue(body);
|
|
1902
|
+
}
|
|
1903
|
+
/** Search issues with JQL */
|
|
1904
|
+
searchIssues(body) {
|
|
1905
|
+
return this.api.jiraSearchIssues(body);
|
|
1906
|
+
}
|
|
1907
|
+
/** Retrieve an issue */
|
|
1908
|
+
getIssue(body) {
|
|
1909
|
+
return this.api.jiraGetIssue(body);
|
|
1910
|
+
}
|
|
1911
|
+
/** Update an issue */
|
|
1912
|
+
updateIssue(body) {
|
|
1913
|
+
return this.api.jiraUpdateIssue(body);
|
|
1914
|
+
}
|
|
1915
|
+
/** Add a comment to an issue */
|
|
1916
|
+
addComment(body) {
|
|
1917
|
+
return this.api.jiraAddComment(body);
|
|
1918
|
+
}
|
|
1919
|
+
/** List projects */
|
|
1920
|
+
listProjects(body) {
|
|
1921
|
+
return this.api.jiraListProjects(body);
|
|
1922
|
+
}
|
|
1923
|
+
/** List issue transitions */
|
|
1924
|
+
listTransitions(body) {
|
|
1925
|
+
return this.api.jiraListTransitions(body);
|
|
1926
|
+
}
|
|
1927
|
+
/** Transition an issue */
|
|
1928
|
+
transitionIssue(body) {
|
|
1929
|
+
return this.api.jiraTransitionIssue(body);
|
|
1930
|
+
}
|
|
1931
|
+
/** List boards */
|
|
1932
|
+
listBoards(body) {
|
|
1933
|
+
return this.api.jiraListBoards(body);
|
|
1934
|
+
}
|
|
1935
|
+
/** List sprints for a board */
|
|
1936
|
+
listSprints(body) {
|
|
1937
|
+
return this.api.jiraListSprints(body);
|
|
1938
|
+
}
|
|
1939
|
+
/** Create a sprint */
|
|
1940
|
+
createSprint(body) {
|
|
1941
|
+
return this.api.jiraCreateSprint(body);
|
|
1942
|
+
}
|
|
1943
|
+
/** Update a sprint */
|
|
1944
|
+
updateSprint(body) {
|
|
1945
|
+
return this.api.jiraUpdateSprint(body);
|
|
1946
|
+
}
|
|
1947
|
+
/** Move issues to the backlog */
|
|
1948
|
+
moveIssuesToBacklog(body) {
|
|
1949
|
+
return this.api.jiraMoveIssuesToBacklog(body);
|
|
1950
|
+
}
|
|
1951
|
+
/** Move issues to a sprint */
|
|
1952
|
+
moveIssuesToSprint(body) {
|
|
1953
|
+
return this.api.jiraMoveIssuesToSprint(body);
|
|
1954
|
+
}
|
|
1955
|
+
}
|
|
1956
|
+
exports.Jira = Jira;
|
|
1733
1957
|
/**
|
|
1734
1958
|
* MicrosoftOnedrive integration module
|
|
1735
1959
|
*/
|
|
@@ -1944,122 +2168,45 @@ class MicrosoftSharepoint {
|
|
|
1944
2168
|
}
|
|
1945
2169
|
exports.MicrosoftSharepoint = MicrosoftSharepoint;
|
|
1946
2170
|
/**
|
|
1947
|
-
*
|
|
2171
|
+
* Openai integration module
|
|
1948
2172
|
*/
|
|
1949
|
-
class
|
|
2173
|
+
class Openai {
|
|
1950
2174
|
constructor() {
|
|
1951
2175
|
// Get the generated API methods
|
|
1952
2176
|
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1953
2177
|
}
|
|
1954
|
-
/**
|
|
1955
|
-
oauthInitiate(body) {
|
|
1956
|
-
return this.api.jiraOauthInitiate(body);
|
|
1957
|
-
}
|
|
1958
|
-
/** Set Jira OAuth app credentials for a user */
|
|
2178
|
+
/** Store per-user OpenAI credentials */
|
|
1959
2179
|
setUserCredentials(body) {
|
|
1960
|
-
return this.api.
|
|
2180
|
+
return this.api.openaiSetUserCredentials(body);
|
|
1961
2181
|
}
|
|
1962
|
-
|
|
1963
|
-
|
|
2182
|
+
/** Generate text with OpenAI */
|
|
2183
|
+
generateText(body) {
|
|
2184
|
+
return this.api.openaiGenerateText(body);
|
|
1964
2185
|
}
|
|
1965
|
-
/**
|
|
1966
|
-
|
|
1967
|
-
return this.api.
|
|
2186
|
+
/** Stream text generation with OpenAI */
|
|
2187
|
+
createStream(body) {
|
|
2188
|
+
return this.api.openaiCreateStream(body);
|
|
1968
2189
|
}
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
2190
|
+
}
|
|
2191
|
+
exports.Openai = Openai;
|
|
2192
|
+
/**
|
|
2193
|
+
* Plaid integration module
|
|
2194
|
+
*/
|
|
2195
|
+
class Plaid {
|
|
2196
|
+
constructor() {
|
|
2197
|
+
// Get the generated API methods
|
|
2198
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
1972
2199
|
}
|
|
1973
|
-
/**
|
|
1974
|
-
|
|
1975
|
-
return this.api.
|
|
2200
|
+
/** Start Plaid Hosted Link */
|
|
2201
|
+
startHostedLink(body) {
|
|
2202
|
+
return this.api.plaidStartHostedLink(body);
|
|
1976
2203
|
}
|
|
1977
|
-
/**
|
|
1978
|
-
|
|
1979
|
-
return this.api.
|
|
2204
|
+
/** Set Plaid user credentials */
|
|
2205
|
+
setUserCredentials(body) {
|
|
2206
|
+
return this.api.plaidSetUserCredentials(body);
|
|
1980
2207
|
}
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
return this.api.jiraAddComment(body);
|
|
1984
|
-
}
|
|
1985
|
-
/** List projects */
|
|
1986
|
-
listProjects(body) {
|
|
1987
|
-
return this.api.jiraListProjects(body);
|
|
1988
|
-
}
|
|
1989
|
-
/** List issue transitions */
|
|
1990
|
-
listTransitions(body) {
|
|
1991
|
-
return this.api.jiraListTransitions(body);
|
|
1992
|
-
}
|
|
1993
|
-
/** Transition an issue */
|
|
1994
|
-
transitionIssue(body) {
|
|
1995
|
-
return this.api.jiraTransitionIssue(body);
|
|
1996
|
-
}
|
|
1997
|
-
/** List boards */
|
|
1998
|
-
listBoards(body) {
|
|
1999
|
-
return this.api.jiraListBoards(body);
|
|
2000
|
-
}
|
|
2001
|
-
/** List sprints for a board */
|
|
2002
|
-
listSprints(body) {
|
|
2003
|
-
return this.api.jiraListSprints(body);
|
|
2004
|
-
}
|
|
2005
|
-
/** Create a sprint */
|
|
2006
|
-
createSprint(body) {
|
|
2007
|
-
return this.api.jiraCreateSprint(body);
|
|
2008
|
-
}
|
|
2009
|
-
/** Update a sprint */
|
|
2010
|
-
updateSprint(body) {
|
|
2011
|
-
return this.api.jiraUpdateSprint(body);
|
|
2012
|
-
}
|
|
2013
|
-
/** Move issues to the backlog */
|
|
2014
|
-
moveIssuesToBacklog(body) {
|
|
2015
|
-
return this.api.jiraMoveIssuesToBacklog(body);
|
|
2016
|
-
}
|
|
2017
|
-
/** Move issues to a sprint */
|
|
2018
|
-
moveIssuesToSprint(body) {
|
|
2019
|
-
return this.api.jiraMoveIssuesToSprint(body);
|
|
2020
|
-
}
|
|
2021
|
-
}
|
|
2022
|
-
exports.Jira = Jira;
|
|
2023
|
-
/**
|
|
2024
|
-
* Openai integration module
|
|
2025
|
-
*/
|
|
2026
|
-
class Openai {
|
|
2027
|
-
constructor() {
|
|
2028
|
-
// Get the generated API methods
|
|
2029
|
-
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2030
|
-
}
|
|
2031
|
-
/** Store per-user OpenAI credentials */
|
|
2032
|
-
setUserCredentials(body) {
|
|
2033
|
-
return this.api.openaiSetUserCredentials(body);
|
|
2034
|
-
}
|
|
2035
|
-
/** Generate text with OpenAI */
|
|
2036
|
-
generateText(body) {
|
|
2037
|
-
return this.api.openaiGenerateText(body);
|
|
2038
|
-
}
|
|
2039
|
-
/** Stream text generation with OpenAI */
|
|
2040
|
-
createStream(body) {
|
|
2041
|
-
return this.api.openaiCreateStream(body);
|
|
2042
|
-
}
|
|
2043
|
-
}
|
|
2044
|
-
exports.Openai = Openai;
|
|
2045
|
-
/**
|
|
2046
|
-
* Plaid integration module
|
|
2047
|
-
*/
|
|
2048
|
-
class Plaid {
|
|
2049
|
-
constructor() {
|
|
2050
|
-
// Get the generated API methods
|
|
2051
|
-
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2052
|
-
}
|
|
2053
|
-
/** Start Plaid Hosted Link */
|
|
2054
|
-
startHostedLink(body) {
|
|
2055
|
-
return this.api.plaidStartHostedLink(body);
|
|
2056
|
-
}
|
|
2057
|
-
/** Set Plaid user credentials */
|
|
2058
|
-
setUserCredentials(body) {
|
|
2059
|
-
return this.api.plaidSetUserCredentials(body);
|
|
2060
|
-
}
|
|
2061
|
-
hostedLinkCallback(...args) {
|
|
2062
|
-
return this.api.plaidHostedLinkCallback(...args);
|
|
2208
|
+
hostedLinkCallback(...args) {
|
|
2209
|
+
return this.api.plaidHostedLinkCallback(...args);
|
|
2063
2210
|
}
|
|
2064
2211
|
/** Get accounts for the linked Item */
|
|
2065
2212
|
getAccounts(body) {
|
|
@@ -2478,6 +2625,83 @@ class Resend {
|
|
|
2478
2625
|
}
|
|
2479
2626
|
}
|
|
2480
2627
|
exports.Resend = Resend;
|
|
2628
|
+
/**
|
|
2629
|
+
* Salesforce integration module
|
|
2630
|
+
*/
|
|
2631
|
+
class Salesforce {
|
|
2632
|
+
constructor() {
|
|
2633
|
+
// Get the generated API methods
|
|
2634
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2635
|
+
}
|
|
2636
|
+
/** Start Salesforce OAuth flow */
|
|
2637
|
+
authStart(body) {
|
|
2638
|
+
return this.api.salesforceAuthStart(body);
|
|
2639
|
+
}
|
|
2640
|
+
/** Set Salesforce OAuth app credentials */
|
|
2641
|
+
authSetUserCredentials(body) {
|
|
2642
|
+
return this.api.salesforceAuthSetUserCredentials(body);
|
|
2643
|
+
}
|
|
2644
|
+
oauthCallback(...args) {
|
|
2645
|
+
return this.api.salesforceOauthCallback(...args);
|
|
2646
|
+
}
|
|
2647
|
+
/** Create Salesforce sObject record */
|
|
2648
|
+
createSobject(body) {
|
|
2649
|
+
return this.api.salesforceCreateSobject(body);
|
|
2650
|
+
}
|
|
2651
|
+
/** Get Salesforce sObject record */
|
|
2652
|
+
getSobject(body) {
|
|
2653
|
+
return this.api.salesforceGetSobject(body);
|
|
2654
|
+
}
|
|
2655
|
+
/** Update Salesforce sObject record */
|
|
2656
|
+
updateSobject(body) {
|
|
2657
|
+
return this.api.salesforceUpdateSobject(body);
|
|
2658
|
+
}
|
|
2659
|
+
/** Delete Salesforce sObject record */
|
|
2660
|
+
deleteSobject(body) {
|
|
2661
|
+
return this.api.salesforceDeleteSobject(body);
|
|
2662
|
+
}
|
|
2663
|
+
/** Query Salesforce records */
|
|
2664
|
+
query(body) {
|
|
2665
|
+
return this.api.salesforceQuery(body);
|
|
2666
|
+
}
|
|
2667
|
+
/** Create multiple Salesforce records via composite */
|
|
2668
|
+
compositeSobjectsCreate(body) {
|
|
2669
|
+
return this.api.salesforceCompositeSobjectsCreate(body);
|
|
2670
|
+
}
|
|
2671
|
+
/** Update multiple Salesforce records via composite */
|
|
2672
|
+
compositeSobjectsUpdate(body) {
|
|
2673
|
+
return this.api.salesforceCompositeSobjectsUpdate(body);
|
|
2674
|
+
}
|
|
2675
|
+
/** Run Salesforce composite request */
|
|
2676
|
+
composite(body) {
|
|
2677
|
+
return this.api.salesforceComposite(body);
|
|
2678
|
+
}
|
|
2679
|
+
/** List Salesforce reports */
|
|
2680
|
+
listReports(body) {
|
|
2681
|
+
return this.api.salesforceListReports(body);
|
|
2682
|
+
}
|
|
2683
|
+
/** Describe Salesforce report */
|
|
2684
|
+
describeReport(body) {
|
|
2685
|
+
return this.api.salesforceDescribeReport(body);
|
|
2686
|
+
}
|
|
2687
|
+
/** Run Salesforce report */
|
|
2688
|
+
runReport(body) {
|
|
2689
|
+
return this.api.salesforceRunReport(body);
|
|
2690
|
+
}
|
|
2691
|
+
/** List Salesforce flows */
|
|
2692
|
+
listFlows(body) {
|
|
2693
|
+
return this.api.salesforceListFlows(body);
|
|
2694
|
+
}
|
|
2695
|
+
/** Describe Salesforce flow */
|
|
2696
|
+
describeFlow(body) {
|
|
2697
|
+
return this.api.salesforceDescribeFlow(body);
|
|
2698
|
+
}
|
|
2699
|
+
/** Run Salesforce flow */
|
|
2700
|
+
runFlow(body) {
|
|
2701
|
+
return this.api.salesforceRunFlow(body);
|
|
2702
|
+
}
|
|
2703
|
+
}
|
|
2704
|
+
exports.Salesforce = Salesforce;
|
|
2481
2705
|
/**
|
|
2482
2706
|
* Slack integration module
|
|
2483
2707
|
*/
|
|
@@ -2608,6 +2832,352 @@ class TwilioWhatsapp {
|
|
|
2608
2832
|
}
|
|
2609
2833
|
}
|
|
2610
2834
|
exports.TwilioWhatsapp = TwilioWhatsapp;
|
|
2835
|
+
/**
|
|
2836
|
+
* UdgNormalisedFreeAgent integration module
|
|
2837
|
+
*/
|
|
2838
|
+
class UdgNormalisedFreeAgent {
|
|
2839
|
+
constructor() {
|
|
2840
|
+
// Get the generated API methods
|
|
2841
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2842
|
+
}
|
|
2843
|
+
/** Authenticate with FreeAgent via UDG */
|
|
2844
|
+
authenticate(body) {
|
|
2845
|
+
return this.api.udgNormalisedFreeAgentAuthenticate(body);
|
|
2846
|
+
}
|
|
2847
|
+
/** Get Contacts */
|
|
2848
|
+
getContacts(body) {
|
|
2849
|
+
return this.api.udgNormalisedFreeAgentGetContacts(body);
|
|
2850
|
+
}
|
|
2851
|
+
/** Get Company Info */
|
|
2852
|
+
getCompanyInfo(body) {
|
|
2853
|
+
return this.api.udgNormalisedFreeAgentGetCompanyInfo(body);
|
|
2854
|
+
}
|
|
2855
|
+
/** Get Employees */
|
|
2856
|
+
getEmployees(body) {
|
|
2857
|
+
return this.api.udgNormalisedFreeAgentGetEmployees(body);
|
|
2858
|
+
}
|
|
2859
|
+
/** Get Invoices */
|
|
2860
|
+
getInvoices(body) {
|
|
2861
|
+
return this.api.udgNormalisedFreeAgentGetInvoices(body);
|
|
2862
|
+
}
|
|
2863
|
+
/** Get Bills */
|
|
2864
|
+
getBills(body) {
|
|
2865
|
+
return this.api.udgNormalisedFreeAgentGetBills(body);
|
|
2866
|
+
}
|
|
2867
|
+
/** Get Credit Notes */
|
|
2868
|
+
getCreditNotes(body) {
|
|
2869
|
+
return this.api.udgNormalisedFreeAgentGetCreditNotes(body);
|
|
2870
|
+
}
|
|
2871
|
+
/** Get Documents */
|
|
2872
|
+
getDocuments(body) {
|
|
2873
|
+
return this.api.udgNormalisedFreeAgentGetDocuments(body);
|
|
2874
|
+
}
|
|
2875
|
+
/** Get Recurring Documents */
|
|
2876
|
+
getRecurringDocuments(body) {
|
|
2877
|
+
return this.api.udgNormalisedFreeAgentGetRecurringDocuments(body);
|
|
2878
|
+
}
|
|
2879
|
+
/** Get Payments */
|
|
2880
|
+
getPayments(body) {
|
|
2881
|
+
return this.api.udgNormalisedFreeAgentGetPayments(body);
|
|
2882
|
+
}
|
|
2883
|
+
/** Get Items */
|
|
2884
|
+
getItems(body) {
|
|
2885
|
+
return this.api.udgNormalisedFreeAgentGetItems(body);
|
|
2886
|
+
}
|
|
2887
|
+
/** Get Accounts */
|
|
2888
|
+
getAccounts(body) {
|
|
2889
|
+
return this.api.udgNormalisedFreeAgentGetAccounts(body);
|
|
2890
|
+
}
|
|
2891
|
+
/** Get Transactions */
|
|
2892
|
+
getTransactions(body) {
|
|
2893
|
+
return this.api.udgNormalisedFreeAgentGetTransactions(body);
|
|
2894
|
+
}
|
|
2895
|
+
/** Get Balance Sheet (Accrual) */
|
|
2896
|
+
getBalanceSheetAccrual(body) {
|
|
2897
|
+
return this.api.udgNormalisedFreeAgentGetBalanceSheetAccrual(body);
|
|
2898
|
+
}
|
|
2899
|
+
/** Get Profit and Loss (Accrual) */
|
|
2900
|
+
getProfitAndLossAccrual(body) {
|
|
2901
|
+
return this.api.udgNormalisedFreeAgentGetProfitAndLossAccrual(body);
|
|
2902
|
+
}
|
|
2903
|
+
}
|
|
2904
|
+
exports.UdgNormalisedFreeAgent = UdgNormalisedFreeAgent;
|
|
2905
|
+
/**
|
|
2906
|
+
* UdgNormalisedFreshbooks integration module
|
|
2907
|
+
*/
|
|
2908
|
+
class UdgNormalisedFreshbooks {
|
|
2909
|
+
constructor() {
|
|
2910
|
+
// Get the generated API methods
|
|
2911
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2912
|
+
}
|
|
2913
|
+
/** Authenticate with FreshBooks via UDG */
|
|
2914
|
+
authenticate(body) {
|
|
2915
|
+
return this.api.udgNormalisedFreshbooksAuthenticate(body);
|
|
2916
|
+
}
|
|
2917
|
+
/** Get Contacts */
|
|
2918
|
+
getContacts(body) {
|
|
2919
|
+
return this.api.udgNormalisedFreshbooksGetContacts(body);
|
|
2920
|
+
}
|
|
2921
|
+
/** Get Company Info */
|
|
2922
|
+
getCompanyInfo(body) {
|
|
2923
|
+
return this.api.udgNormalisedFreshbooksGetCompanyInfo(body);
|
|
2924
|
+
}
|
|
2925
|
+
/** Get Employees */
|
|
2926
|
+
getEmployees(body) {
|
|
2927
|
+
return this.api.udgNormalisedFreshbooksGetEmployees(body);
|
|
2928
|
+
}
|
|
2929
|
+
/** Get Invoices */
|
|
2930
|
+
getInvoices(body) {
|
|
2931
|
+
return this.api.udgNormalisedFreshbooksGetInvoices(body);
|
|
2932
|
+
}
|
|
2933
|
+
/** Get Bills */
|
|
2934
|
+
getBills(body) {
|
|
2935
|
+
return this.api.udgNormalisedFreshbooksGetBills(body);
|
|
2936
|
+
}
|
|
2937
|
+
/** Get Documents */
|
|
2938
|
+
getDocuments(body) {
|
|
2939
|
+
return this.api.udgNormalisedFreshbooksGetDocuments(body);
|
|
2940
|
+
}
|
|
2941
|
+
/** Get Recurring Documents */
|
|
2942
|
+
getRecurringDocuments(body) {
|
|
2943
|
+
return this.api.udgNormalisedFreshbooksGetRecurringDocuments(body);
|
|
2944
|
+
}
|
|
2945
|
+
/** Get Payments */
|
|
2946
|
+
getPayments(body) {
|
|
2947
|
+
return this.api.udgNormalisedFreshbooksGetPayments(body);
|
|
2948
|
+
}
|
|
2949
|
+
/** Get Items */
|
|
2950
|
+
getItems(body) {
|
|
2951
|
+
return this.api.udgNormalisedFreshbooksGetItems(body);
|
|
2952
|
+
}
|
|
2953
|
+
/** Get Accounts */
|
|
2954
|
+
getAccounts(body) {
|
|
2955
|
+
return this.api.udgNormalisedFreshbooksGetAccounts(body);
|
|
2956
|
+
}
|
|
2957
|
+
/** Get Transactions */
|
|
2958
|
+
getTransactions(body) {
|
|
2959
|
+
return this.api.udgNormalisedFreshbooksGetTransactions(body);
|
|
2960
|
+
}
|
|
2961
|
+
/** Get Balance Sheet (Accrual) */
|
|
2962
|
+
getBalanceSheetAccrual(body) {
|
|
2963
|
+
return this.api.udgNormalisedFreshbooksGetBalanceSheetAccrual(body);
|
|
2964
|
+
}
|
|
2965
|
+
/** Get Profit and Loss (Accrual) */
|
|
2966
|
+
getProfitAndLossAccrual(body) {
|
|
2967
|
+
return this.api.udgNormalisedFreshbooksGetProfitAndLossAccrual(body);
|
|
2968
|
+
}
|
|
2969
|
+
/** Get Taxes */
|
|
2970
|
+
getTaxes(body) {
|
|
2971
|
+
return this.api.udgNormalisedFreshbooksGetTaxes(body);
|
|
2972
|
+
}
|
|
2973
|
+
/** Get Profit and Loss (Cash) */
|
|
2974
|
+
getProfitAndLossCash(body) {
|
|
2975
|
+
return this.api.udgNormalisedFreshbooksGetProfitAndLossCash(body);
|
|
2976
|
+
}
|
|
2977
|
+
}
|
|
2978
|
+
exports.UdgNormalisedFreshbooks = UdgNormalisedFreshbooks;
|
|
2979
|
+
/**
|
|
2980
|
+
* UdgNormalisedQuickbooks integration module
|
|
2981
|
+
*/
|
|
2982
|
+
class UdgNormalisedQuickbooks {
|
|
2983
|
+
constructor() {
|
|
2984
|
+
// Get the generated API methods
|
|
2985
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2986
|
+
}
|
|
2987
|
+
/** Authenticate with QuickBooks via UDG */
|
|
2988
|
+
authenticate(body) {
|
|
2989
|
+
return this.api.udgNormalisedQuickbooksAuthenticate(body);
|
|
2990
|
+
}
|
|
2991
|
+
/** Get Contacts */
|
|
2992
|
+
getContacts(body) {
|
|
2993
|
+
return this.api.udgNormalisedQuickbooksGetContacts(body);
|
|
2994
|
+
}
|
|
2995
|
+
/** Get Company Info */
|
|
2996
|
+
getCompanyInfo(body) {
|
|
2997
|
+
return this.api.udgNormalisedQuickbooksGetCompanyInfo(body);
|
|
2998
|
+
}
|
|
2999
|
+
/** Get Employees */
|
|
3000
|
+
getEmployees(body) {
|
|
3001
|
+
return this.api.udgNormalisedQuickbooksGetEmployees(body);
|
|
3002
|
+
}
|
|
3003
|
+
/** Get Invoices */
|
|
3004
|
+
getInvoices(body) {
|
|
3005
|
+
return this.api.udgNormalisedQuickbooksGetInvoices(body);
|
|
3006
|
+
}
|
|
3007
|
+
/** Get Bills */
|
|
3008
|
+
getBills(body) {
|
|
3009
|
+
return this.api.udgNormalisedQuickbooksGetBills(body);
|
|
3010
|
+
}
|
|
3011
|
+
/** Get Credit Notes */
|
|
3012
|
+
getCreditNotes(body) {
|
|
3013
|
+
return this.api.udgNormalisedQuickbooksGetCreditNotes(body);
|
|
3014
|
+
}
|
|
3015
|
+
/** Get Documents */
|
|
3016
|
+
getDocuments(body) {
|
|
3017
|
+
return this.api.udgNormalisedQuickbooksGetDocuments(body);
|
|
3018
|
+
}
|
|
3019
|
+
/** Get Recurring Documents */
|
|
3020
|
+
getRecurringDocuments(body) {
|
|
3021
|
+
return this.api.udgNormalisedQuickbooksGetRecurringDocuments(body);
|
|
3022
|
+
}
|
|
3023
|
+
/** Get Payments */
|
|
3024
|
+
getPayments(body) {
|
|
3025
|
+
return this.api.udgNormalisedQuickbooksGetPayments(body);
|
|
3026
|
+
}
|
|
3027
|
+
/** Get Items */
|
|
3028
|
+
getItems(body) {
|
|
3029
|
+
return this.api.udgNormalisedQuickbooksGetItems(body);
|
|
3030
|
+
}
|
|
3031
|
+
/** Get Accounts */
|
|
3032
|
+
getAccounts(body) {
|
|
3033
|
+
return this.api.udgNormalisedQuickbooksGetAccounts(body);
|
|
3034
|
+
}
|
|
3035
|
+
/** Get Transactions */
|
|
3036
|
+
getTransactions(body) {
|
|
3037
|
+
return this.api.udgNormalisedQuickbooksGetTransactions(body);
|
|
3038
|
+
}
|
|
3039
|
+
/** Get Balance Sheet (Accrual) */
|
|
3040
|
+
getBalanceSheetAccrual(body) {
|
|
3041
|
+
return this.api.udgNormalisedQuickbooksGetBalanceSheetAccrual(body);
|
|
3042
|
+
}
|
|
3043
|
+
/** Get Profit and Loss (Accrual) */
|
|
3044
|
+
getProfitAndLossAccrual(body) {
|
|
3045
|
+
return this.api.udgNormalisedQuickbooksGetProfitAndLossAccrual(body);
|
|
3046
|
+
}
|
|
3047
|
+
/** Get Cash Flow */
|
|
3048
|
+
getCashflow(body) {
|
|
3049
|
+
return this.api.udgNormalisedQuickbooksGetCashflow(body);
|
|
3050
|
+
}
|
|
3051
|
+
/** Get Taxes */
|
|
3052
|
+
getTaxes(body) {
|
|
3053
|
+
return this.api.udgNormalisedQuickbooksGetTaxes(body);
|
|
3054
|
+
}
|
|
3055
|
+
/** Get Profit and Loss (Cash) */
|
|
3056
|
+
getProfitAndLossCash(body) {
|
|
3057
|
+
return this.api.udgNormalisedQuickbooksGetProfitAndLossCash(body);
|
|
3058
|
+
}
|
|
3059
|
+
/** Get Balance Sheet (Cash) */
|
|
3060
|
+
getBalanceSheetCash(body) {
|
|
3061
|
+
return this.api.udgNormalisedQuickbooksGetBalanceSheetCash(body);
|
|
3062
|
+
}
|
|
3063
|
+
}
|
|
3064
|
+
exports.UdgNormalisedQuickbooks = UdgNormalisedQuickbooks;
|
|
3065
|
+
/**
|
|
3066
|
+
* UdgNormalisedWave integration module
|
|
3067
|
+
*/
|
|
3068
|
+
class UdgNormalisedWave {
|
|
3069
|
+
constructor() {
|
|
3070
|
+
// Get the generated API methods
|
|
3071
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3072
|
+
}
|
|
3073
|
+
/** Authenticate with Wave via UDG */
|
|
3074
|
+
authenticate(body) {
|
|
3075
|
+
return this.api.udgNormalisedWaveAuthenticate(body);
|
|
3076
|
+
}
|
|
3077
|
+
/** Get Accounts */
|
|
3078
|
+
getAccounts(body) {
|
|
3079
|
+
return this.api.udgNormalisedWaveGetAccounts(body);
|
|
3080
|
+
}
|
|
3081
|
+
/** Get Contacts */
|
|
3082
|
+
getContacts(body) {
|
|
3083
|
+
return this.api.udgNormalisedWaveGetContacts(body);
|
|
3084
|
+
}
|
|
3085
|
+
/** Get Company Info */
|
|
3086
|
+
getCompanyInfo(body) {
|
|
3087
|
+
return this.api.udgNormalisedWaveGetCompanyInfo(body);
|
|
3088
|
+
}
|
|
3089
|
+
/** Get Invoices */
|
|
3090
|
+
getInvoices(body) {
|
|
3091
|
+
return this.api.udgNormalisedWaveGetInvoices(body);
|
|
3092
|
+
}
|
|
3093
|
+
/** Get Items */
|
|
3094
|
+
getItems(body) {
|
|
3095
|
+
return this.api.udgNormalisedWaveGetItems(body);
|
|
3096
|
+
}
|
|
3097
|
+
}
|
|
3098
|
+
exports.UdgNormalisedWave = UdgNormalisedWave;
|
|
3099
|
+
/**
|
|
3100
|
+
* UdgNormalisedXero integration module
|
|
3101
|
+
*/
|
|
3102
|
+
class UdgNormalisedXero {
|
|
3103
|
+
constructor() {
|
|
3104
|
+
// Get the generated API methods
|
|
3105
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3106
|
+
}
|
|
3107
|
+
/** Authenticate with Xero via UDG */
|
|
3108
|
+
authenticate(body) {
|
|
3109
|
+
return this.api.udgNormalisedXeroAuthenticate(body);
|
|
3110
|
+
}
|
|
3111
|
+
/** Get Accounts */
|
|
3112
|
+
getAccounts(body) {
|
|
3113
|
+
return this.api.udgNormalisedXeroGetAccounts(body);
|
|
3114
|
+
}
|
|
3115
|
+
/** Get Contacts */
|
|
3116
|
+
getContacts(body) {
|
|
3117
|
+
return this.api.udgNormalisedXeroGetContacts(body);
|
|
3118
|
+
}
|
|
3119
|
+
/** Get Company Info */
|
|
3120
|
+
getCompanyInfo(body) {
|
|
3121
|
+
return this.api.udgNormalisedXeroGetCompanyInfo(body);
|
|
3122
|
+
}
|
|
3123
|
+
/** Get Employees */
|
|
3124
|
+
getEmployees(body) {
|
|
3125
|
+
return this.api.udgNormalisedXeroGetEmployees(body);
|
|
3126
|
+
}
|
|
3127
|
+
/** Get Invoices */
|
|
3128
|
+
getInvoices(body) {
|
|
3129
|
+
return this.api.udgNormalisedXeroGetInvoices(body);
|
|
3130
|
+
}
|
|
3131
|
+
/** Get Bills */
|
|
3132
|
+
getBills(body) {
|
|
3133
|
+
return this.api.udgNormalisedXeroGetBills(body);
|
|
3134
|
+
}
|
|
3135
|
+
/** Get Credit Notes */
|
|
3136
|
+
getCreditNotes(body) {
|
|
3137
|
+
return this.api.udgNormalisedXeroGetCreditNotes(body);
|
|
3138
|
+
}
|
|
3139
|
+
/** Get Documents */
|
|
3140
|
+
getDocuments(body) {
|
|
3141
|
+
return this.api.udgNormalisedXeroGetDocuments(body);
|
|
3142
|
+
}
|
|
3143
|
+
/** Get Recurring Documents */
|
|
3144
|
+
getRecurringDocuments(body) {
|
|
3145
|
+
return this.api.udgNormalisedXeroGetRecurringDocuments(body);
|
|
3146
|
+
}
|
|
3147
|
+
/** Get Payments */
|
|
3148
|
+
getPayments(body) {
|
|
3149
|
+
return this.api.udgNormalisedXeroGetPayments(body);
|
|
3150
|
+
}
|
|
3151
|
+
/** Get Items */
|
|
3152
|
+
getItems(body) {
|
|
3153
|
+
return this.api.udgNormalisedXeroGetItems(body);
|
|
3154
|
+
}
|
|
3155
|
+
/** Get Transactions */
|
|
3156
|
+
getTransactions(body) {
|
|
3157
|
+
return this.api.udgNormalisedXeroGetTransactions(body);
|
|
3158
|
+
}
|
|
3159
|
+
/** Get Balance Sheet (Accrual) */
|
|
3160
|
+
getBalanceSheetAccrual(body) {
|
|
3161
|
+
return this.api.udgNormalisedXeroGetBalanceSheetAccrual(body);
|
|
3162
|
+
}
|
|
3163
|
+
/** Get Balance Sheet (Cash) */
|
|
3164
|
+
getBalanceSheetCash(body) {
|
|
3165
|
+
return this.api.udgNormalisedXeroGetBalanceSheetCash(body);
|
|
3166
|
+
}
|
|
3167
|
+
/** Get Profit and Loss (Accrual) */
|
|
3168
|
+
getProfitAndLossAccrual(body) {
|
|
3169
|
+
return this.api.udgNormalisedXeroGetProfitAndLossAccrual(body);
|
|
3170
|
+
}
|
|
3171
|
+
/** Get Profit and Loss (Cash) */
|
|
3172
|
+
getProfitAndLossCash(body) {
|
|
3173
|
+
return this.api.udgNormalisedXeroGetProfitAndLossCash(body);
|
|
3174
|
+
}
|
|
3175
|
+
/** Get Taxes */
|
|
3176
|
+
getTaxes(body) {
|
|
3177
|
+
return this.api.udgNormalisedXeroGetTaxes(body);
|
|
3178
|
+
}
|
|
3179
|
+
}
|
|
3180
|
+
exports.UdgNormalisedXero = UdgNormalisedXero;
|
|
2611
3181
|
/**
|
|
2612
3182
|
* Wealthbox integration module
|
|
2613
3183
|
*/
|
|
@@ -2825,192 +3395,6 @@ class Wealthbox {
|
|
|
2825
3395
|
}
|
|
2826
3396
|
}
|
|
2827
3397
|
exports.Wealthbox = Wealthbox;
|
|
2828
|
-
/**
|
|
2829
|
-
* Salesforce integration module
|
|
2830
|
-
*/
|
|
2831
|
-
class Salesforce {
|
|
2832
|
-
constructor() {
|
|
2833
|
-
// Get the generated API methods
|
|
2834
|
-
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2835
|
-
}
|
|
2836
|
-
/** Start Salesforce OAuth flow */
|
|
2837
|
-
authStart(body) {
|
|
2838
|
-
return this.api.salesforceAuthStart(body);
|
|
2839
|
-
}
|
|
2840
|
-
/** Set Salesforce OAuth app credentials */
|
|
2841
|
-
authSetUserCredentials(body) {
|
|
2842
|
-
return this.api.salesforceAuthSetUserCredentials(body);
|
|
2843
|
-
}
|
|
2844
|
-
oauthCallback(...args) {
|
|
2845
|
-
return this.api.salesforceOauthCallback(...args);
|
|
2846
|
-
}
|
|
2847
|
-
/** Create Salesforce sObject record */
|
|
2848
|
-
createSobject(body) {
|
|
2849
|
-
return this.api.salesforceCreateSobject(body);
|
|
2850
|
-
}
|
|
2851
|
-
/** Get Salesforce sObject record */
|
|
2852
|
-
getSobject(body) {
|
|
2853
|
-
return this.api.salesforceGetSobject(body);
|
|
2854
|
-
}
|
|
2855
|
-
/** Update Salesforce sObject record */
|
|
2856
|
-
updateSobject(body) {
|
|
2857
|
-
return this.api.salesforceUpdateSobject(body);
|
|
2858
|
-
}
|
|
2859
|
-
/** Delete Salesforce sObject record */
|
|
2860
|
-
deleteSobject(body) {
|
|
2861
|
-
return this.api.salesforceDeleteSobject(body);
|
|
2862
|
-
}
|
|
2863
|
-
/** Query Salesforce records */
|
|
2864
|
-
query(body) {
|
|
2865
|
-
return this.api.salesforceQuery(body);
|
|
2866
|
-
}
|
|
2867
|
-
/** Create multiple Salesforce records via composite */
|
|
2868
|
-
compositeSobjectsCreate(body) {
|
|
2869
|
-
return this.api.salesforceCompositeSobjectsCreate(body);
|
|
2870
|
-
}
|
|
2871
|
-
/** Update multiple Salesforce records via composite */
|
|
2872
|
-
compositeSobjectsUpdate(body) {
|
|
2873
|
-
return this.api.salesforceCompositeSobjectsUpdate(body);
|
|
2874
|
-
}
|
|
2875
|
-
/** Run Salesforce composite request */
|
|
2876
|
-
composite(body) {
|
|
2877
|
-
return this.api.salesforceComposite(body);
|
|
2878
|
-
}
|
|
2879
|
-
/** List Salesforce reports */
|
|
2880
|
-
listReports(body) {
|
|
2881
|
-
return this.api.salesforceListReports(body);
|
|
2882
|
-
}
|
|
2883
|
-
/** Describe Salesforce report */
|
|
2884
|
-
describeReport(body) {
|
|
2885
|
-
return this.api.salesforceDescribeReport(body);
|
|
2886
|
-
}
|
|
2887
|
-
/** Run Salesforce report */
|
|
2888
|
-
runReport(body) {
|
|
2889
|
-
return this.api.salesforceRunReport(body);
|
|
2890
|
-
}
|
|
2891
|
-
/** List Salesforce flows */
|
|
2892
|
-
listFlows(body) {
|
|
2893
|
-
return this.api.salesforceListFlows(body);
|
|
2894
|
-
}
|
|
2895
|
-
/** Describe Salesforce flow */
|
|
2896
|
-
describeFlow(body) {
|
|
2897
|
-
return this.api.salesforceDescribeFlow(body);
|
|
2898
|
-
}
|
|
2899
|
-
/** Run Salesforce flow */
|
|
2900
|
-
runFlow(body) {
|
|
2901
|
-
return this.api.salesforceRunFlow(body);
|
|
2902
|
-
}
|
|
2903
|
-
}
|
|
2904
|
-
exports.Salesforce = Salesforce;
|
|
2905
|
-
/**
|
|
2906
|
-
* Hubspot integration module
|
|
2907
|
-
*/
|
|
2908
|
-
class Hubspot {
|
|
2909
|
-
constructor() {
|
|
2910
|
-
// Get the generated API methods
|
|
2911
|
-
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2912
|
-
}
|
|
2913
|
-
/** Start HubSpot OAuth flow */
|
|
2914
|
-
authStart(body) {
|
|
2915
|
-
return this.api.hubspotAuthStart(body);
|
|
2916
|
-
}
|
|
2917
|
-
/** Set HubSpot OAuth app credentials */
|
|
2918
|
-
authSetUserCredentials(body) {
|
|
2919
|
-
return this.api.hubspotAuthSetUserCredentials(body);
|
|
2920
|
-
}
|
|
2921
|
-
oauthCallback(...args) {
|
|
2922
|
-
return this.api.hubspotOauthCallback(...args);
|
|
2923
|
-
}
|
|
2924
|
-
/** Create HubSpot contact */
|
|
2925
|
-
createContact(body) {
|
|
2926
|
-
return this.api.hubspotCreateContact(body);
|
|
2927
|
-
}
|
|
2928
|
-
/** Update HubSpot contact */
|
|
2929
|
-
updateContact(body) {
|
|
2930
|
-
return this.api.hubspotUpdateContact(body);
|
|
2931
|
-
}
|
|
2932
|
-
/** List HubSpot contacts */
|
|
2933
|
-
listContacts(body) {
|
|
2934
|
-
return this.api.hubspotListContacts(body);
|
|
2935
|
-
}
|
|
2936
|
-
/** Search HubSpot contacts */
|
|
2937
|
-
searchContacts(body) {
|
|
2938
|
-
return this.api.hubspotSearchContacts(body);
|
|
2939
|
-
}
|
|
2940
|
-
/** Create HubSpot company */
|
|
2941
|
-
createCompany(body) {
|
|
2942
|
-
return this.api.hubspotCreateCompany(body);
|
|
2943
|
-
}
|
|
2944
|
-
/** Update HubSpot company */
|
|
2945
|
-
updateCompany(body) {
|
|
2946
|
-
return this.api.hubspotUpdateCompany(body);
|
|
2947
|
-
}
|
|
2948
|
-
/** List HubSpot companies */
|
|
2949
|
-
listCompanies(body) {
|
|
2950
|
-
return this.api.hubspotListCompanies(body);
|
|
2951
|
-
}
|
|
2952
|
-
/** Search HubSpot companies */
|
|
2953
|
-
searchCompanies(body) {
|
|
2954
|
-
return this.api.hubspotSearchCompanies(body);
|
|
2955
|
-
}
|
|
2956
|
-
/** List HubSpot deals */
|
|
2957
|
-
listDeals(body) {
|
|
2958
|
-
return this.api.hubspotListDeals(body);
|
|
2959
|
-
}
|
|
2960
|
-
/** List HubSpot deal pipelines */
|
|
2961
|
-
listDealPipelines(body) {
|
|
2962
|
-
return this.api.hubspotListDealPipelines(body);
|
|
2963
|
-
}
|
|
2964
|
-
/** List HubSpot CRM owners */
|
|
2965
|
-
listOwners(body) {
|
|
2966
|
-
return this.api.hubspotListOwners(body);
|
|
2967
|
-
}
|
|
2968
|
-
/** Create HubSpot email engagement */
|
|
2969
|
-
createEmailEngagement(body) {
|
|
2970
|
-
return this.api.hubspotCreateEmailEngagement(body);
|
|
2971
|
-
}
|
|
2972
|
-
/** Create HubSpot call engagement */
|
|
2973
|
-
createCallEngagement(body) {
|
|
2974
|
-
return this.api.hubspotCreateCallEngagement(body);
|
|
2975
|
-
}
|
|
2976
|
-
/** Create HubSpot task engagement */
|
|
2977
|
-
createTaskEngagement(body) {
|
|
2978
|
-
return this.api.hubspotCreateTaskEngagement(body);
|
|
2979
|
-
}
|
|
2980
|
-
/** Create HubSpot default object association */
|
|
2981
|
-
createAssociation(body) {
|
|
2982
|
-
return this.api.hubspotCreateAssociation(body);
|
|
2983
|
-
}
|
|
2984
|
-
/** Create HubSpot ticket */
|
|
2985
|
-
createTicket(body) {
|
|
2986
|
-
return this.api.hubspotCreateTicket(body);
|
|
2987
|
-
}
|
|
2988
|
-
/** Update HubSpot ticket */
|
|
2989
|
-
updateTicket(body) {
|
|
2990
|
-
return this.api.hubspotUpdateTicket(body);
|
|
2991
|
-
}
|
|
2992
|
-
/** List HubSpot tickets */
|
|
2993
|
-
listTickets(body) {
|
|
2994
|
-
return this.api.hubspotListTickets(body);
|
|
2995
|
-
}
|
|
2996
|
-
/** Enroll contact in HubSpot workflow */
|
|
2997
|
-
enrollWorkflow(body) {
|
|
2998
|
-
return this.api.hubspotEnrollWorkflow(body);
|
|
2999
|
-
}
|
|
3000
|
-
/** List HubSpot workflows */
|
|
3001
|
-
listWorkflows(body) {
|
|
3002
|
-
return this.api.hubspotListWorkflows(body);
|
|
3003
|
-
}
|
|
3004
|
-
/** List HubSpot marketing emails */
|
|
3005
|
-
listMarketingEmails(body) {
|
|
3006
|
-
return this.api.hubspotListMarketingEmails(body);
|
|
3007
|
-
}
|
|
3008
|
-
/** Send HubSpot transactional email */
|
|
3009
|
-
sendTransactionalEmail(body) {
|
|
3010
|
-
return this.api.hubspotSendTransactionalEmail(body);
|
|
3011
|
-
}
|
|
3012
|
-
}
|
|
3013
|
-
exports.Hubspot = Hubspot;
|
|
3014
3398
|
// Re-export all types from generated API
|
|
3015
3399
|
__exportStar(require("./generated-api"), exports);
|
|
3016
3400
|
//# sourceMappingURL=index.js.map
|