@uptiqai/integrations-sdk 1.13.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 +7768 -7666
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +1778 -1699
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +268 -247
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +592 -554
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +238 -224
- 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.UdgNormalisedXero = exports.UdgNormalisedWave = exports.UdgNormalisedQuickbooks = exports.UdgNormalisedFreshbooks = exports.UdgNormalisedFreeAgent = 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
|
*/
|
|
@@ -2609,475 +2833,72 @@ class TwilioWhatsapp {
|
|
|
2609
2833
|
}
|
|
2610
2834
|
exports.TwilioWhatsapp = TwilioWhatsapp;
|
|
2611
2835
|
/**
|
|
2612
|
-
*
|
|
2836
|
+
* UdgNormalisedFreeAgent integration module
|
|
2613
2837
|
*/
|
|
2614
|
-
class
|
|
2838
|
+
class UdgNormalisedFreeAgent {
|
|
2615
2839
|
constructor() {
|
|
2616
2840
|
// Get the generated API methods
|
|
2617
2841
|
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
2618
2842
|
}
|
|
2619
|
-
/**
|
|
2620
|
-
|
|
2621
|
-
return this.api.
|
|
2622
|
-
}
|
|
2623
|
-
/** Set Wealthbox OAuth app credentials for a user */
|
|
2624
|
-
setUserCredentials(body) {
|
|
2625
|
-
return this.api.wealthboxSetUserCredentials(body);
|
|
2626
|
-
}
|
|
2627
|
-
oauthCallback(...args) {
|
|
2628
|
-
return this.api.wealthboxOauthCallback(...args);
|
|
2843
|
+
/** Authenticate with FreeAgent via UDG */
|
|
2844
|
+
authenticate(body) {
|
|
2845
|
+
return this.api.udgNormalisedFreeAgentAuthenticate(body);
|
|
2629
2846
|
}
|
|
2630
|
-
/** Get
|
|
2847
|
+
/** Get Contacts */
|
|
2631
2848
|
getContacts(body) {
|
|
2632
|
-
return this.api.
|
|
2633
|
-
}
|
|
2634
|
-
/** Retrieve an existing contact */
|
|
2635
|
-
getContact(body) {
|
|
2636
|
-
return this.api.wealthboxGetContact(body);
|
|
2849
|
+
return this.api.udgNormalisedFreeAgentGetContacts(body);
|
|
2637
2850
|
}
|
|
2638
|
-
/**
|
|
2639
|
-
|
|
2640
|
-
return this.api.
|
|
2851
|
+
/** Get Company Info */
|
|
2852
|
+
getCompanyInfo(body) {
|
|
2853
|
+
return this.api.udgNormalisedFreeAgentGetCompanyInfo(body);
|
|
2641
2854
|
}
|
|
2642
|
-
/**
|
|
2643
|
-
|
|
2644
|
-
return this.api.
|
|
2855
|
+
/** Get Employees */
|
|
2856
|
+
getEmployees(body) {
|
|
2857
|
+
return this.api.udgNormalisedFreeAgentGetEmployees(body);
|
|
2645
2858
|
}
|
|
2646
|
-
/**
|
|
2647
|
-
|
|
2648
|
-
return this.api.
|
|
2859
|
+
/** Get Invoices */
|
|
2860
|
+
getInvoices(body) {
|
|
2861
|
+
return this.api.udgNormalisedFreeAgentGetInvoices(body);
|
|
2649
2862
|
}
|
|
2650
|
-
/** Get
|
|
2651
|
-
|
|
2652
|
-
return this.api.
|
|
2863
|
+
/** Get Bills */
|
|
2864
|
+
getBills(body) {
|
|
2865
|
+
return this.api.udgNormalisedFreeAgentGetBills(body);
|
|
2653
2866
|
}
|
|
2654
|
-
/** Get
|
|
2655
|
-
|
|
2656
|
-
return this.api.
|
|
2867
|
+
/** Get Credit Notes */
|
|
2868
|
+
getCreditNotes(body) {
|
|
2869
|
+
return this.api.udgNormalisedFreeAgentGetCreditNotes(body);
|
|
2657
2870
|
}
|
|
2658
|
-
/**
|
|
2659
|
-
|
|
2660
|
-
return this.api.
|
|
2871
|
+
/** Get Documents */
|
|
2872
|
+
getDocuments(body) {
|
|
2873
|
+
return this.api.udgNormalisedFreeAgentGetDocuments(body);
|
|
2661
2874
|
}
|
|
2662
|
-
/**
|
|
2663
|
-
|
|
2664
|
-
return this.api.
|
|
2875
|
+
/** Get Recurring Documents */
|
|
2876
|
+
getRecurringDocuments(body) {
|
|
2877
|
+
return this.api.udgNormalisedFreeAgentGetRecurringDocuments(body);
|
|
2665
2878
|
}
|
|
2666
|
-
/**
|
|
2667
|
-
|
|
2668
|
-
return this.api.
|
|
2879
|
+
/** Get Payments */
|
|
2880
|
+
getPayments(body) {
|
|
2881
|
+
return this.api.udgNormalisedFreeAgentGetPayments(body);
|
|
2669
2882
|
}
|
|
2670
|
-
/** Get
|
|
2671
|
-
|
|
2672
|
-
return this.api.
|
|
2883
|
+
/** Get Items */
|
|
2884
|
+
getItems(body) {
|
|
2885
|
+
return this.api.udgNormalisedFreeAgentGetItems(body);
|
|
2673
2886
|
}
|
|
2674
|
-
/** Get
|
|
2675
|
-
|
|
2676
|
-
return this.api.
|
|
2887
|
+
/** Get Accounts */
|
|
2888
|
+
getAccounts(body) {
|
|
2889
|
+
return this.api.udgNormalisedFreeAgentGetAccounts(body);
|
|
2677
2890
|
}
|
|
2678
|
-
/**
|
|
2679
|
-
|
|
2680
|
-
return this.api.
|
|
2891
|
+
/** Get Transactions */
|
|
2892
|
+
getTransactions(body) {
|
|
2893
|
+
return this.api.udgNormalisedFreeAgentGetTransactions(body);
|
|
2681
2894
|
}
|
|
2682
|
-
/**
|
|
2683
|
-
|
|
2684
|
-
return this.api.
|
|
2895
|
+
/** Get Balance Sheet (Accrual) */
|
|
2896
|
+
getBalanceSheetAccrual(body) {
|
|
2897
|
+
return this.api.udgNormalisedFreeAgentGetBalanceSheetAccrual(body);
|
|
2685
2898
|
}
|
|
2686
|
-
/**
|
|
2687
|
-
|
|
2688
|
-
return this.api.
|
|
2689
|
-
}
|
|
2690
|
-
/** Get all opportunities */
|
|
2691
|
-
getOpportunities(body) {
|
|
2692
|
-
return this.api.wealthboxGetOpportunities(body);
|
|
2693
|
-
}
|
|
2694
|
-
/** Get opportunity by ID */
|
|
2695
|
-
getOpportunity(body) {
|
|
2696
|
-
return this.api.wealthboxGetOpportunity(body);
|
|
2697
|
-
}
|
|
2698
|
-
/** Create a new opportunity */
|
|
2699
|
-
createOpportunity(body) {
|
|
2700
|
-
return this.api.wealthboxCreateOpportunity(body);
|
|
2701
|
-
}
|
|
2702
|
-
/** Update an opportunity */
|
|
2703
|
-
updateOpportunity(body) {
|
|
2704
|
-
return this.api.wealthboxUpdateOpportunity(body);
|
|
2705
|
-
}
|
|
2706
|
-
/** Delete an opportunity */
|
|
2707
|
-
deleteOpportunity(body) {
|
|
2708
|
-
return this.api.wealthboxDeleteOpportunity(body);
|
|
2709
|
-
}
|
|
2710
|
-
/** Get all notes */
|
|
2711
|
-
getNotes(body) {
|
|
2712
|
-
return this.api.wealthboxGetNotes(body);
|
|
2713
|
-
}
|
|
2714
|
-
/** Get note by ID */
|
|
2715
|
-
getNote(body) {
|
|
2716
|
-
return this.api.wealthboxGetNote(body);
|
|
2717
|
-
}
|
|
2718
|
-
/** Create a new note */
|
|
2719
|
-
createNote(body) {
|
|
2720
|
-
return this.api.wealthboxCreateNote(body);
|
|
2721
|
-
}
|
|
2722
|
-
/** Update a note */
|
|
2723
|
-
updateNote(body) {
|
|
2724
|
-
return this.api.wealthboxUpdateNote(body);
|
|
2725
|
-
}
|
|
2726
|
-
/** Get all projects */
|
|
2727
|
-
getProjects(body) {
|
|
2728
|
-
return this.api.wealthboxGetProjects(body);
|
|
2729
|
-
}
|
|
2730
|
-
/** Get project by ID */
|
|
2731
|
-
getProject(body) {
|
|
2732
|
-
return this.api.wealthboxGetProject(body);
|
|
2733
|
-
}
|
|
2734
|
-
/** Create a new project */
|
|
2735
|
-
createProject(body) {
|
|
2736
|
-
return this.api.wealthboxCreateProject(body);
|
|
2737
|
-
}
|
|
2738
|
-
/** Update a project */
|
|
2739
|
-
updateProject(body) {
|
|
2740
|
-
return this.api.wealthboxUpdateProject(body);
|
|
2741
|
-
}
|
|
2742
|
-
/** Delete a project */
|
|
2743
|
-
deleteProject(body) {
|
|
2744
|
-
return this.api.wealthboxDeleteProject(body);
|
|
2745
|
-
}
|
|
2746
|
-
/** Get all workflows */
|
|
2747
|
-
getWorkflows(body) {
|
|
2748
|
-
return this.api.wealthboxGetWorkflows(body);
|
|
2749
|
-
}
|
|
2750
|
-
/** Get workflow by ID */
|
|
2751
|
-
getWorkflow(body) {
|
|
2752
|
-
return this.api.wealthboxGetWorkflow(body);
|
|
2753
|
-
}
|
|
2754
|
-
/** Create a new workflow */
|
|
2755
|
-
createWorkflow(body) {
|
|
2756
|
-
return this.api.wealthboxCreateWorkflow(body);
|
|
2757
|
-
}
|
|
2758
|
-
/** Delete a workflow */
|
|
2759
|
-
deleteWorkflow(body) {
|
|
2760
|
-
return this.api.wealthboxDeleteWorkflow(body);
|
|
2761
|
-
}
|
|
2762
|
-
/** Complete a workflow step */
|
|
2763
|
-
completeWorkflowStep(body) {
|
|
2764
|
-
return this.api.wealthboxCompleteWorkflowStep(body);
|
|
2765
|
-
}
|
|
2766
|
-
/** Revert a workflow step */
|
|
2767
|
-
revertWorkflowStep(body) {
|
|
2768
|
-
return this.api.wealthboxRevertWorkflowStep(body);
|
|
2769
|
-
}
|
|
2770
|
-
/** Add a household member */
|
|
2771
|
-
addHouseholdMember(body) {
|
|
2772
|
-
return this.api.wealthboxAddHouseholdMember(body);
|
|
2773
|
-
}
|
|
2774
|
-
/** Remove a household member */
|
|
2775
|
-
removeHouseholdMember(body) {
|
|
2776
|
-
return this.api.wealthboxRemoveHouseholdMember(body);
|
|
2777
|
-
}
|
|
2778
|
-
/** Get all user groups */
|
|
2779
|
-
getUserGroups(body) {
|
|
2780
|
-
return this.api.wealthboxGetUserGroups(body);
|
|
2781
|
-
}
|
|
2782
|
-
/** Get current user information */
|
|
2783
|
-
getMe(body) {
|
|
2784
|
-
return this.api.wealthboxGetMe(body);
|
|
2785
|
-
}
|
|
2786
|
-
/** Get all users */
|
|
2787
|
-
getUsers(body) {
|
|
2788
|
-
return this.api.wealthboxGetUsers(body);
|
|
2789
|
-
}
|
|
2790
|
-
/** Get all teams */
|
|
2791
|
-
getTeams(body) {
|
|
2792
|
-
return this.api.wealthboxGetTeams(body);
|
|
2793
|
-
}
|
|
2794
|
-
/** Get all tags */
|
|
2795
|
-
getTags(body) {
|
|
2796
|
-
return this.api.wealthboxGetTags(body);
|
|
2797
|
-
}
|
|
2798
|
-
/** Get all custom fields */
|
|
2799
|
-
getCustomFields(body) {
|
|
2800
|
-
return this.api.wealthboxGetCustomFields(body);
|
|
2801
|
-
}
|
|
2802
|
-
/** Get members of a category */
|
|
2803
|
-
getCategoryMembers(body) {
|
|
2804
|
-
return this.api.wealthboxGetCategoryMembers(body);
|
|
2805
|
-
}
|
|
2806
|
-
/** Get all comments */
|
|
2807
|
-
getComments(body) {
|
|
2808
|
-
return this.api.wealthboxGetComments(body);
|
|
2809
|
-
}
|
|
2810
|
-
/** Get all contact roles */
|
|
2811
|
-
getContactRoles(body) {
|
|
2812
|
-
return this.api.wealthboxGetContactRoles(body);
|
|
2813
|
-
}
|
|
2814
|
-
/** Get all workflow templates */
|
|
2815
|
-
getWorkflowTemplates(body) {
|
|
2816
|
-
return this.api.wealthboxGetWorkflowTemplates(body);
|
|
2817
|
-
}
|
|
2818
|
-
/** Get workflow template by ID */
|
|
2819
|
-
getWorkflowTemplate(body) {
|
|
2820
|
-
return this.api.wealthboxGetWorkflowTemplate(body);
|
|
2821
|
-
}
|
|
2822
|
-
/** Get all activity */
|
|
2823
|
-
getActivity(body) {
|
|
2824
|
-
return this.api.wealthboxGetActivity(body);
|
|
2825
|
-
}
|
|
2826
|
-
}
|
|
2827
|
-
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
|
-
/**
|
|
3015
|
-
* UdgNormalisedFreeAgent integration module
|
|
3016
|
-
*/
|
|
3017
|
-
class UdgNormalisedFreeAgent {
|
|
3018
|
-
constructor() {
|
|
3019
|
-
// Get the generated API methods
|
|
3020
|
-
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3021
|
-
}
|
|
3022
|
-
/** Authenticate with FreeAgent via UDG */
|
|
3023
|
-
authenticate(body) {
|
|
3024
|
-
return this.api.udgNormalisedFreeAgentAuthenticate(body);
|
|
3025
|
-
}
|
|
3026
|
-
/** Get Contacts */
|
|
3027
|
-
getContacts(body) {
|
|
3028
|
-
return this.api.udgNormalisedFreeAgentGetContacts(body);
|
|
3029
|
-
}
|
|
3030
|
-
/** Get Company Info */
|
|
3031
|
-
getCompanyInfo(body) {
|
|
3032
|
-
return this.api.udgNormalisedFreeAgentGetCompanyInfo(body);
|
|
3033
|
-
}
|
|
3034
|
-
/** Get Employees */
|
|
3035
|
-
getEmployees(body) {
|
|
3036
|
-
return this.api.udgNormalisedFreeAgentGetEmployees(body);
|
|
3037
|
-
}
|
|
3038
|
-
/** Get Invoices */
|
|
3039
|
-
getInvoices(body) {
|
|
3040
|
-
return this.api.udgNormalisedFreeAgentGetInvoices(body);
|
|
3041
|
-
}
|
|
3042
|
-
/** Get Bills */
|
|
3043
|
-
getBills(body) {
|
|
3044
|
-
return this.api.udgNormalisedFreeAgentGetBills(body);
|
|
3045
|
-
}
|
|
3046
|
-
/** Get Credit Notes */
|
|
3047
|
-
getCreditNotes(body) {
|
|
3048
|
-
return this.api.udgNormalisedFreeAgentGetCreditNotes(body);
|
|
3049
|
-
}
|
|
3050
|
-
/** Get Documents */
|
|
3051
|
-
getDocuments(body) {
|
|
3052
|
-
return this.api.udgNormalisedFreeAgentGetDocuments(body);
|
|
3053
|
-
}
|
|
3054
|
-
/** Get Recurring Documents */
|
|
3055
|
-
getRecurringDocuments(body) {
|
|
3056
|
-
return this.api.udgNormalisedFreeAgentGetRecurringDocuments(body);
|
|
3057
|
-
}
|
|
3058
|
-
/** Get Payments */
|
|
3059
|
-
getPayments(body) {
|
|
3060
|
-
return this.api.udgNormalisedFreeAgentGetPayments(body);
|
|
3061
|
-
}
|
|
3062
|
-
/** Get Items */
|
|
3063
|
-
getItems(body) {
|
|
3064
|
-
return this.api.udgNormalisedFreeAgentGetItems(body);
|
|
3065
|
-
}
|
|
3066
|
-
/** Get Accounts */
|
|
3067
|
-
getAccounts(body) {
|
|
3068
|
-
return this.api.udgNormalisedFreeAgentGetAccounts(body);
|
|
3069
|
-
}
|
|
3070
|
-
/** Get Transactions */
|
|
3071
|
-
getTransactions(body) {
|
|
3072
|
-
return this.api.udgNormalisedFreeAgentGetTransactions(body);
|
|
3073
|
-
}
|
|
3074
|
-
/** Get Balance Sheet (Accrual) */
|
|
3075
|
-
getBalanceSheetAccrual(body) {
|
|
3076
|
-
return this.api.udgNormalisedFreeAgentGetBalanceSheetAccrual(body);
|
|
3077
|
-
}
|
|
3078
|
-
/** Get Profit and Loss (Accrual) */
|
|
3079
|
-
getProfitAndLossAccrual(body) {
|
|
3080
|
-
return this.api.udgNormalisedFreeAgentGetProfitAndLossAccrual(body);
|
|
2899
|
+
/** Get Profit and Loss (Accrual) */
|
|
2900
|
+
getProfitAndLossAccrual(body) {
|
|
2901
|
+
return this.api.udgNormalisedFreeAgentGetProfitAndLossAccrual(body);
|
|
3081
2902
|
}
|
|
3082
2903
|
}
|
|
3083
2904
|
exports.UdgNormalisedFreeAgent = UdgNormalisedFreeAgent;
|
|
@@ -3357,6 +3178,223 @@ class UdgNormalisedXero {
|
|
|
3357
3178
|
}
|
|
3358
3179
|
}
|
|
3359
3180
|
exports.UdgNormalisedXero = UdgNormalisedXero;
|
|
3181
|
+
/**
|
|
3182
|
+
* Wealthbox integration module
|
|
3183
|
+
*/
|
|
3184
|
+
class Wealthbox {
|
|
3185
|
+
constructor() {
|
|
3186
|
+
// Get the generated API methods
|
|
3187
|
+
this.api = (0, generated_api_1.getIntegrationsAPI)();
|
|
3188
|
+
}
|
|
3189
|
+
/** Initiate Wealthbox OAuth flow */
|
|
3190
|
+
oauthInitiate(body) {
|
|
3191
|
+
return this.api.wealthboxOauthInitiate(body);
|
|
3192
|
+
}
|
|
3193
|
+
/** Set Wealthbox OAuth app credentials for a user */
|
|
3194
|
+
setUserCredentials(body) {
|
|
3195
|
+
return this.api.wealthboxSetUserCredentials(body);
|
|
3196
|
+
}
|
|
3197
|
+
oauthCallback(...args) {
|
|
3198
|
+
return this.api.wealthboxOauthCallback(...args);
|
|
3199
|
+
}
|
|
3200
|
+
/** Get all contacts */
|
|
3201
|
+
getContacts(body) {
|
|
3202
|
+
return this.api.wealthboxGetContacts(body);
|
|
3203
|
+
}
|
|
3204
|
+
/** Retrieve an existing contact */
|
|
3205
|
+
getContact(body) {
|
|
3206
|
+
return this.api.wealthboxGetContact(body);
|
|
3207
|
+
}
|
|
3208
|
+
/** Create a new contact */
|
|
3209
|
+
createContact(body) {
|
|
3210
|
+
return this.api.wealthboxCreateContact(body);
|
|
3211
|
+
}
|
|
3212
|
+
/** Update a contact */
|
|
3213
|
+
updateContact(body) {
|
|
3214
|
+
return this.api.wealthboxUpdateContact(body);
|
|
3215
|
+
}
|
|
3216
|
+
/** Delete a contact */
|
|
3217
|
+
deleteContact(body) {
|
|
3218
|
+
return this.api.wealthboxDeleteContact(body);
|
|
3219
|
+
}
|
|
3220
|
+
/** Get all tasks */
|
|
3221
|
+
getTasks(body) {
|
|
3222
|
+
return this.api.wealthboxGetTasks(body);
|
|
3223
|
+
}
|
|
3224
|
+
/** Get task by ID */
|
|
3225
|
+
getTask(body) {
|
|
3226
|
+
return this.api.wealthboxGetTask(body);
|
|
3227
|
+
}
|
|
3228
|
+
/** Create a new task */
|
|
3229
|
+
createTask(body) {
|
|
3230
|
+
return this.api.wealthboxCreateTask(body);
|
|
3231
|
+
}
|
|
3232
|
+
/** Update a task */
|
|
3233
|
+
updateTask(body) {
|
|
3234
|
+
return this.api.wealthboxUpdateTask(body);
|
|
3235
|
+
}
|
|
3236
|
+
/** Delete a task */
|
|
3237
|
+
deleteTask(body) {
|
|
3238
|
+
return this.api.wealthboxDeleteTask(body);
|
|
3239
|
+
}
|
|
3240
|
+
/** Get all events */
|
|
3241
|
+
getEvents(body) {
|
|
3242
|
+
return this.api.wealthboxGetEvents(body);
|
|
3243
|
+
}
|
|
3244
|
+
/** Get event by ID */
|
|
3245
|
+
getEvent(body) {
|
|
3246
|
+
return this.api.wealthboxGetEvent(body);
|
|
3247
|
+
}
|
|
3248
|
+
/** Create a new event */
|
|
3249
|
+
createEvent(body) {
|
|
3250
|
+
return this.api.wealthboxCreateEvent(body);
|
|
3251
|
+
}
|
|
3252
|
+
/** Update an event */
|
|
3253
|
+
updateEvent(body) {
|
|
3254
|
+
return this.api.wealthboxUpdateEvent(body);
|
|
3255
|
+
}
|
|
3256
|
+
/** Delete an event */
|
|
3257
|
+
deleteEvent(body) {
|
|
3258
|
+
return this.api.wealthboxDeleteEvent(body);
|
|
3259
|
+
}
|
|
3260
|
+
/** Get all opportunities */
|
|
3261
|
+
getOpportunities(body) {
|
|
3262
|
+
return this.api.wealthboxGetOpportunities(body);
|
|
3263
|
+
}
|
|
3264
|
+
/** Get opportunity by ID */
|
|
3265
|
+
getOpportunity(body) {
|
|
3266
|
+
return this.api.wealthboxGetOpportunity(body);
|
|
3267
|
+
}
|
|
3268
|
+
/** Create a new opportunity */
|
|
3269
|
+
createOpportunity(body) {
|
|
3270
|
+
return this.api.wealthboxCreateOpportunity(body);
|
|
3271
|
+
}
|
|
3272
|
+
/** Update an opportunity */
|
|
3273
|
+
updateOpportunity(body) {
|
|
3274
|
+
return this.api.wealthboxUpdateOpportunity(body);
|
|
3275
|
+
}
|
|
3276
|
+
/** Delete an opportunity */
|
|
3277
|
+
deleteOpportunity(body) {
|
|
3278
|
+
return this.api.wealthboxDeleteOpportunity(body);
|
|
3279
|
+
}
|
|
3280
|
+
/** Get all notes */
|
|
3281
|
+
getNotes(body) {
|
|
3282
|
+
return this.api.wealthboxGetNotes(body);
|
|
3283
|
+
}
|
|
3284
|
+
/** Get note by ID */
|
|
3285
|
+
getNote(body) {
|
|
3286
|
+
return this.api.wealthboxGetNote(body);
|
|
3287
|
+
}
|
|
3288
|
+
/** Create a new note */
|
|
3289
|
+
createNote(body) {
|
|
3290
|
+
return this.api.wealthboxCreateNote(body);
|
|
3291
|
+
}
|
|
3292
|
+
/** Update a note */
|
|
3293
|
+
updateNote(body) {
|
|
3294
|
+
return this.api.wealthboxUpdateNote(body);
|
|
3295
|
+
}
|
|
3296
|
+
/** Get all projects */
|
|
3297
|
+
getProjects(body) {
|
|
3298
|
+
return this.api.wealthboxGetProjects(body);
|
|
3299
|
+
}
|
|
3300
|
+
/** Get project by ID */
|
|
3301
|
+
getProject(body) {
|
|
3302
|
+
return this.api.wealthboxGetProject(body);
|
|
3303
|
+
}
|
|
3304
|
+
/** Create a new project */
|
|
3305
|
+
createProject(body) {
|
|
3306
|
+
return this.api.wealthboxCreateProject(body);
|
|
3307
|
+
}
|
|
3308
|
+
/** Update a project */
|
|
3309
|
+
updateProject(body) {
|
|
3310
|
+
return this.api.wealthboxUpdateProject(body);
|
|
3311
|
+
}
|
|
3312
|
+
/** Delete a project */
|
|
3313
|
+
deleteProject(body) {
|
|
3314
|
+
return this.api.wealthboxDeleteProject(body);
|
|
3315
|
+
}
|
|
3316
|
+
/** Get all workflows */
|
|
3317
|
+
getWorkflows(body) {
|
|
3318
|
+
return this.api.wealthboxGetWorkflows(body);
|
|
3319
|
+
}
|
|
3320
|
+
/** Get workflow by ID */
|
|
3321
|
+
getWorkflow(body) {
|
|
3322
|
+
return this.api.wealthboxGetWorkflow(body);
|
|
3323
|
+
}
|
|
3324
|
+
/** Create a new workflow */
|
|
3325
|
+
createWorkflow(body) {
|
|
3326
|
+
return this.api.wealthboxCreateWorkflow(body);
|
|
3327
|
+
}
|
|
3328
|
+
/** Delete a workflow */
|
|
3329
|
+
deleteWorkflow(body) {
|
|
3330
|
+
return this.api.wealthboxDeleteWorkflow(body);
|
|
3331
|
+
}
|
|
3332
|
+
/** Complete a workflow step */
|
|
3333
|
+
completeWorkflowStep(body) {
|
|
3334
|
+
return this.api.wealthboxCompleteWorkflowStep(body);
|
|
3335
|
+
}
|
|
3336
|
+
/** Revert a workflow step */
|
|
3337
|
+
revertWorkflowStep(body) {
|
|
3338
|
+
return this.api.wealthboxRevertWorkflowStep(body);
|
|
3339
|
+
}
|
|
3340
|
+
/** Add a household member */
|
|
3341
|
+
addHouseholdMember(body) {
|
|
3342
|
+
return this.api.wealthboxAddHouseholdMember(body);
|
|
3343
|
+
}
|
|
3344
|
+
/** Remove a household member */
|
|
3345
|
+
removeHouseholdMember(body) {
|
|
3346
|
+
return this.api.wealthboxRemoveHouseholdMember(body);
|
|
3347
|
+
}
|
|
3348
|
+
/** Get all user groups */
|
|
3349
|
+
getUserGroups(body) {
|
|
3350
|
+
return this.api.wealthboxGetUserGroups(body);
|
|
3351
|
+
}
|
|
3352
|
+
/** Get current user information */
|
|
3353
|
+
getMe(body) {
|
|
3354
|
+
return this.api.wealthboxGetMe(body);
|
|
3355
|
+
}
|
|
3356
|
+
/** Get all users */
|
|
3357
|
+
getUsers(body) {
|
|
3358
|
+
return this.api.wealthboxGetUsers(body);
|
|
3359
|
+
}
|
|
3360
|
+
/** Get all teams */
|
|
3361
|
+
getTeams(body) {
|
|
3362
|
+
return this.api.wealthboxGetTeams(body);
|
|
3363
|
+
}
|
|
3364
|
+
/** Get all tags */
|
|
3365
|
+
getTags(body) {
|
|
3366
|
+
return this.api.wealthboxGetTags(body);
|
|
3367
|
+
}
|
|
3368
|
+
/** Get all custom fields */
|
|
3369
|
+
getCustomFields(body) {
|
|
3370
|
+
return this.api.wealthboxGetCustomFields(body);
|
|
3371
|
+
}
|
|
3372
|
+
/** Get members of a category */
|
|
3373
|
+
getCategoryMembers(body) {
|
|
3374
|
+
return this.api.wealthboxGetCategoryMembers(body);
|
|
3375
|
+
}
|
|
3376
|
+
/** Get all comments */
|
|
3377
|
+
getComments(body) {
|
|
3378
|
+
return this.api.wealthboxGetComments(body);
|
|
3379
|
+
}
|
|
3380
|
+
/** Get all contact roles */
|
|
3381
|
+
getContactRoles(body) {
|
|
3382
|
+
return this.api.wealthboxGetContactRoles(body);
|
|
3383
|
+
}
|
|
3384
|
+
/** Get all workflow templates */
|
|
3385
|
+
getWorkflowTemplates(body) {
|
|
3386
|
+
return this.api.wealthboxGetWorkflowTemplates(body);
|
|
3387
|
+
}
|
|
3388
|
+
/** Get workflow template by ID */
|
|
3389
|
+
getWorkflowTemplate(body) {
|
|
3390
|
+
return this.api.wealthboxGetWorkflowTemplate(body);
|
|
3391
|
+
}
|
|
3392
|
+
/** Get all activity */
|
|
3393
|
+
getActivity(body) {
|
|
3394
|
+
return this.api.wealthboxGetActivity(body);
|
|
3395
|
+
}
|
|
3396
|
+
}
|
|
3397
|
+
exports.Wealthbox = Wealthbox;
|
|
3360
3398
|
// Re-export all types from generated API
|
|
3361
3399
|
__exportStar(require("./generated-api"), exports);
|
|
3362
3400
|
//# sourceMappingURL=index.js.map
|