@getlatedev/node 0.2.1239 → 0.2.1241

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/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.1239",
39
+ version: "0.2.1241",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -942,6 +942,12 @@ var connectShopifyWithToken = (options) => {
942
942
  url: "/v1/connect/shopify/token"
943
943
  });
944
944
  };
945
+ var getHubSpotConnectUrl = (options) => {
946
+ return (options?.client ?? client).get({
947
+ ...options,
948
+ url: "/v1/connect/hubspot"
949
+ });
950
+ };
945
951
  var getWordPressAuthUrl = (options) => {
946
952
  return (options?.client ?? client).get({
947
953
  ...options,
@@ -1494,6 +1500,18 @@ var setRedditPostFlair = (options) => {
1494
1500
  url: "/v1/accounts/{accountId}/reddit-flairs"
1495
1501
  });
1496
1502
  };
1503
+ var getHubSpotSettings = (options) => {
1504
+ return (options?.client ?? client).get({
1505
+ ...options,
1506
+ url: "/v1/accounts/{accountId}/hubspot-settings"
1507
+ });
1508
+ };
1509
+ var updateHubSpotSettings = (options) => {
1510
+ return (options?.client ?? client).patch({
1511
+ ...options,
1512
+ url: "/v1/accounts/{accountId}/hubspot-settings"
1513
+ });
1514
+ };
1497
1515
  var getSlackSettings = (options) => {
1498
1516
  return (options?.client ?? client).get({
1499
1517
  ...options,
@@ -6472,6 +6490,8 @@ var Zernio = class _Zernio {
6472
6490
  grantBusinessPartner: this._bind(grantBusinessPartner),
6473
6491
  revokeBusinessPartner: this._bind(revokeBusinessPartner),
6474
6492
  getLinkedInMentions: this._bind(getLinkedInMentions),
6493
+ getHubSpotSettings: this._bind(getHubSpotSettings),
6494
+ updateHubSpotSettings: this._bind(updateHubSpotSettings),
6475
6495
  getSlackSettings: this._bind(getSlackSettings),
6476
6496
  updateSlackSettings: this._bind(updateSlackSettings),
6477
6497
  getBlueskySettings: this._bind(getBlueskySettings),
@@ -6569,6 +6589,7 @@ var Zernio = class _Zernio {
6569
6589
  completeMetaAdsBusinessLogin: this._bind(completeMetaAdsBusinessLogin),
6570
6590
  getShopifyConnectUrl: this._bind(getShopifyConnectUrl),
6571
6591
  connectShopifyWithToken: this._bind(connectShopifyWithToken),
6592
+ getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
6572
6593
  getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
6573
6594
  getWixConnectUrl: this._bind(getWixConnectUrl),
6574
6595
  connectWordPressWithApplicationPassword: this._bind(connectWordPressWithApplicationPassword),
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.1239",
8
+ version: "0.2.1241",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -911,6 +911,12 @@ var connectShopifyWithToken = (options) => {
911
911
  url: "/v1/connect/shopify/token"
912
912
  });
913
913
  };
914
+ var getHubSpotConnectUrl = (options) => {
915
+ return (options?.client ?? client).get({
916
+ ...options,
917
+ url: "/v1/connect/hubspot"
918
+ });
919
+ };
914
920
  var getWordPressAuthUrl = (options) => {
915
921
  return (options?.client ?? client).get({
916
922
  ...options,
@@ -1463,6 +1469,18 @@ var setRedditPostFlair = (options) => {
1463
1469
  url: "/v1/accounts/{accountId}/reddit-flairs"
1464
1470
  });
1465
1471
  };
1472
+ var getHubSpotSettings = (options) => {
1473
+ return (options?.client ?? client).get({
1474
+ ...options,
1475
+ url: "/v1/accounts/{accountId}/hubspot-settings"
1476
+ });
1477
+ };
1478
+ var updateHubSpotSettings = (options) => {
1479
+ return (options?.client ?? client).patch({
1480
+ ...options,
1481
+ url: "/v1/accounts/{accountId}/hubspot-settings"
1482
+ });
1483
+ };
1466
1484
  var getSlackSettings = (options) => {
1467
1485
  return (options?.client ?? client).get({
1468
1486
  ...options,
@@ -6441,6 +6459,8 @@ var Zernio = class _Zernio {
6441
6459
  grantBusinessPartner: this._bind(grantBusinessPartner),
6442
6460
  revokeBusinessPartner: this._bind(revokeBusinessPartner),
6443
6461
  getLinkedInMentions: this._bind(getLinkedInMentions),
6462
+ getHubSpotSettings: this._bind(getHubSpotSettings),
6463
+ updateHubSpotSettings: this._bind(updateHubSpotSettings),
6444
6464
  getSlackSettings: this._bind(getSlackSettings),
6445
6465
  updateSlackSettings: this._bind(updateSlackSettings),
6446
6466
  getBlueskySettings: this._bind(getBlueskySettings),
@@ -6538,6 +6558,7 @@ var Zernio = class _Zernio {
6538
6558
  completeMetaAdsBusinessLogin: this._bind(completeMetaAdsBusinessLogin),
6539
6559
  getShopifyConnectUrl: this._bind(getShopifyConnectUrl),
6540
6560
  connectShopifyWithToken: this._bind(connectShopifyWithToken),
6561
+ getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
6541
6562
  getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
6542
6563
  getWixConnectUrl: this._bind(getWixConnectUrl),
6543
6564
  connectWordPressWithApplicationPassword: this._bind(connectWordPressWithApplicationPassword),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1239",
3
+ "version": "0.2.1241",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/client.ts CHANGED
@@ -381,6 +381,8 @@ import {
381
381
  getGoogleBusinessSearchKeywords,
382
382
  getGoogleBusinessServices,
383
383
  getGoogleBusinessVerifications,
384
+ getHubSpotConnectUrl,
385
+ getHubSpotSettings,
384
386
  getImessageGroup,
385
387
  getImessageSender,
386
388
  getInboxConversation,
@@ -917,6 +919,7 @@ import {
917
919
  updateGoogleBusinessLocationDetails,
918
920
  updateGoogleBusinessPlaceAction,
919
921
  updateGoogleBusinessServices,
922
+ updateHubSpotSettings,
920
923
  updateImessageGroup,
921
924
  updateImessageSender,
922
925
  updateInboxConversation,
@@ -1269,6 +1272,8 @@ export class Zernio {
1269
1272
  grantBusinessPartner: this._bind(grantBusinessPartner),
1270
1273
  revokeBusinessPartner: this._bind(revokeBusinessPartner),
1271
1274
  getLinkedInMentions: this._bind(getLinkedInMentions),
1275
+ getHubSpotSettings: this._bind(getHubSpotSettings),
1276
+ updateHubSpotSettings: this._bind(updateHubSpotSettings),
1272
1277
  getSlackSettings: this._bind(getSlackSettings),
1273
1278
  updateSlackSettings: this._bind(updateSlackSettings),
1274
1279
  getBlueskySettings: this._bind(getBlueskySettings),
@@ -1372,6 +1377,7 @@ export class Zernio {
1372
1377
  completeMetaAdsBusinessLogin: this._bind(completeMetaAdsBusinessLogin),
1373
1378
  getShopifyConnectUrl: this._bind(getShopifyConnectUrl),
1374
1379
  connectShopifyWithToken: this._bind(connectShopifyWithToken),
1380
+ getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
1375
1381
  getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
1376
1382
  getWixConnectUrl: this._bind(getWixConnectUrl),
1377
1383
  connectWordPressWithApplicationPassword: this._bind(connectWordPressWithApplicationPassword),