@getlatedev/node 0.2.1696 → 0.2.1698
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/README.md +3 -0
- package/dist/index.d.mts +224 -14
- package/dist/index.d.ts +224 -14
- package/dist/index.js +22 -1
- package/dist/index.mjs +22 -1
- package/package.json +1 -1
- package/src/client.ts +6 -0
- package/src/generated/sdk.gen.ts +51 -1
- package/src/generated/types.gen.ts +234 -13
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1698",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -1290,6 +1290,12 @@ var getHubSpotConnectUrl = (options) => {
|
|
|
1290
1290
|
url: "/v1/connect/hubspot"
|
|
1291
1291
|
});
|
|
1292
1292
|
};
|
|
1293
|
+
var getSalesforceConnectUrl = (options) => {
|
|
1294
|
+
return (options?.client ?? client).get({
|
|
1295
|
+
...options,
|
|
1296
|
+
url: "/v1/connect/salesforce"
|
|
1297
|
+
});
|
|
1298
|
+
};
|
|
1293
1299
|
var getStripeConnectUrl = (options) => {
|
|
1294
1300
|
return (options?.client ?? client).get({
|
|
1295
1301
|
...options,
|
|
@@ -2022,6 +2028,18 @@ var updateHubSpotSettings = (options) => {
|
|
|
2022
2028
|
url: "/v1/accounts/{accountId}/hubspot-settings"
|
|
2023
2029
|
});
|
|
2024
2030
|
};
|
|
2031
|
+
var getSalesforceSettings = (options) => {
|
|
2032
|
+
return (options?.client ?? client).get({
|
|
2033
|
+
...options,
|
|
2034
|
+
url: "/v1/accounts/{accountId}/salesforce-settings"
|
|
2035
|
+
});
|
|
2036
|
+
};
|
|
2037
|
+
var updateSalesforceSettings = (options) => {
|
|
2038
|
+
return (options?.client ?? client).patch({
|
|
2039
|
+
...options,
|
|
2040
|
+
url: "/v1/accounts/{accountId}/salesforce-settings"
|
|
2041
|
+
});
|
|
2042
|
+
};
|
|
2025
2043
|
var getStripeSettings = (options) => {
|
|
2026
2044
|
return (options?.client ?? client).get({
|
|
2027
2045
|
...options,
|
|
@@ -8463,6 +8481,8 @@ var Zernio = class _Zernio {
|
|
|
8463
8481
|
getLinkedInMentions: this._bind(getLinkedInMentions),
|
|
8464
8482
|
getHubSpotSettings: this._bind(getHubSpotSettings),
|
|
8465
8483
|
updateHubSpotSettings: this._bind(updateHubSpotSettings),
|
|
8484
|
+
getSalesforceSettings: this._bind(getSalesforceSettings),
|
|
8485
|
+
updateSalesforceSettings: this._bind(updateSalesforceSettings),
|
|
8466
8486
|
getStripeSettings: this._bind(getStripeSettings),
|
|
8467
8487
|
updateStripeSettings: this._bind(updateStripeSettings),
|
|
8468
8488
|
getSlackSettings: this._bind(getSlackSettings),
|
|
@@ -8574,6 +8594,7 @@ var Zernio = class _Zernio {
|
|
|
8574
8594
|
listGoogleAnalyticsProperties: this._bind(listGoogleAnalyticsProperties),
|
|
8575
8595
|
selectGoogleAnalyticsProperty: this._bind(selectGoogleAnalyticsProperty),
|
|
8576
8596
|
getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
|
|
8597
|
+
getSalesforceConnectUrl: this._bind(getSalesforceConnectUrl),
|
|
8577
8598
|
getStripeConnectUrl: this._bind(getStripeConnectUrl),
|
|
8578
8599
|
getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
|
|
8579
8600
|
getWixConnectUrl: this._bind(getWixConnectUrl),
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1698",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -1259,6 +1259,12 @@ var getHubSpotConnectUrl = (options) => {
|
|
|
1259
1259
|
url: "/v1/connect/hubspot"
|
|
1260
1260
|
});
|
|
1261
1261
|
};
|
|
1262
|
+
var getSalesforceConnectUrl = (options) => {
|
|
1263
|
+
return (options?.client ?? client).get({
|
|
1264
|
+
...options,
|
|
1265
|
+
url: "/v1/connect/salesforce"
|
|
1266
|
+
});
|
|
1267
|
+
};
|
|
1262
1268
|
var getStripeConnectUrl = (options) => {
|
|
1263
1269
|
return (options?.client ?? client).get({
|
|
1264
1270
|
...options,
|
|
@@ -1991,6 +1997,18 @@ var updateHubSpotSettings = (options) => {
|
|
|
1991
1997
|
url: "/v1/accounts/{accountId}/hubspot-settings"
|
|
1992
1998
|
});
|
|
1993
1999
|
};
|
|
2000
|
+
var getSalesforceSettings = (options) => {
|
|
2001
|
+
return (options?.client ?? client).get({
|
|
2002
|
+
...options,
|
|
2003
|
+
url: "/v1/accounts/{accountId}/salesforce-settings"
|
|
2004
|
+
});
|
|
2005
|
+
};
|
|
2006
|
+
var updateSalesforceSettings = (options) => {
|
|
2007
|
+
return (options?.client ?? client).patch({
|
|
2008
|
+
...options,
|
|
2009
|
+
url: "/v1/accounts/{accountId}/salesforce-settings"
|
|
2010
|
+
});
|
|
2011
|
+
};
|
|
1994
2012
|
var getStripeSettings = (options) => {
|
|
1995
2013
|
return (options?.client ?? client).get({
|
|
1996
2014
|
...options,
|
|
@@ -8432,6 +8450,8 @@ var Zernio = class _Zernio {
|
|
|
8432
8450
|
getLinkedInMentions: this._bind(getLinkedInMentions),
|
|
8433
8451
|
getHubSpotSettings: this._bind(getHubSpotSettings),
|
|
8434
8452
|
updateHubSpotSettings: this._bind(updateHubSpotSettings),
|
|
8453
|
+
getSalesforceSettings: this._bind(getSalesforceSettings),
|
|
8454
|
+
updateSalesforceSettings: this._bind(updateSalesforceSettings),
|
|
8435
8455
|
getStripeSettings: this._bind(getStripeSettings),
|
|
8436
8456
|
updateStripeSettings: this._bind(updateStripeSettings),
|
|
8437
8457
|
getSlackSettings: this._bind(getSlackSettings),
|
|
@@ -8543,6 +8563,7 @@ var Zernio = class _Zernio {
|
|
|
8543
8563
|
listGoogleAnalyticsProperties: this._bind(listGoogleAnalyticsProperties),
|
|
8544
8564
|
selectGoogleAnalyticsProperty: this._bind(selectGoogleAnalyticsProperty),
|
|
8545
8565
|
getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
|
|
8566
|
+
getSalesforceConnectUrl: this._bind(getSalesforceConnectUrl),
|
|
8546
8567
|
getStripeConnectUrl: this._bind(getStripeConnectUrl),
|
|
8547
8568
|
getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
|
|
8548
8569
|
getWixConnectUrl: this._bind(getWixConnectUrl),
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -584,6 +584,8 @@ import {
|
|
|
584
584
|
getRedditPostComments,
|
|
585
585
|
getRedditSubreddits,
|
|
586
586
|
getRfPrediction,
|
|
587
|
+
getSalesforceConnectUrl,
|
|
588
|
+
getSalesforceSettings,
|
|
587
589
|
getScheduledEmail,
|
|
588
590
|
getSequence,
|
|
589
591
|
getSharedAutomationTemplate,
|
|
@@ -1243,6 +1245,7 @@ import {
|
|
|
1243
1245
|
updateQueueSlot,
|
|
1244
1246
|
updateRcsAgent,
|
|
1245
1247
|
updateRedditSubreddits,
|
|
1248
|
+
updateSalesforceSettings,
|
|
1246
1249
|
updateSequence,
|
|
1247
1250
|
updateSlackSettings,
|
|
1248
1251
|
updateStripeSettings,
|
|
@@ -1686,6 +1689,8 @@ export class Zernio {
|
|
|
1686
1689
|
getLinkedInMentions: this._bind(getLinkedInMentions),
|
|
1687
1690
|
getHubSpotSettings: this._bind(getHubSpotSettings),
|
|
1688
1691
|
updateHubSpotSettings: this._bind(updateHubSpotSettings),
|
|
1692
|
+
getSalesforceSettings: this._bind(getSalesforceSettings),
|
|
1693
|
+
updateSalesforceSettings: this._bind(updateSalesforceSettings),
|
|
1689
1694
|
getStripeSettings: this._bind(getStripeSettings),
|
|
1690
1695
|
updateStripeSettings: this._bind(updateStripeSettings),
|
|
1691
1696
|
getSlackSettings: this._bind(getSlackSettings),
|
|
@@ -1804,6 +1809,7 @@ export class Zernio {
|
|
|
1804
1809
|
listGoogleAnalyticsProperties: this._bind(listGoogleAnalyticsProperties),
|
|
1805
1810
|
selectGoogleAnalyticsProperty: this._bind(selectGoogleAnalyticsProperty),
|
|
1806
1811
|
getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
|
|
1812
|
+
getSalesforceConnectUrl: this._bind(getSalesforceConnectUrl),
|
|
1807
1813
|
getStripeConnectUrl: this._bind(getStripeConnectUrl),
|
|
1808
1814
|
getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
|
|
1809
1815
|
getWixConnectUrl: this._bind(getWixConnectUrl),
|