@getlatedev/node 0.2.1708 → 0.2.1709
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 +6 -0
- package/dist/index.d.mts +291 -5
- package/dist/index.d.ts +291 -5
- package/dist/index.js +43 -1
- package/dist/index.mjs +43 -1
- package/package.json +1 -1
- package/src/client.ts +12 -0
- package/src/generated/sdk.gen.ts +126 -1
- package/src/generated/types.gen.ts +302 -4
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.1709",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -757,6 +757,24 @@ var getGoogleAnalyticsMetadata = (options) => {
|
|
|
757
757
|
url: "/v1/analytics/googleanalytics/metadata"
|
|
758
758
|
});
|
|
759
759
|
};
|
|
760
|
+
var queryGoogleSearchConsoleSearchAnalytics = (options) => {
|
|
761
|
+
return (options?.client ?? client).post({
|
|
762
|
+
...options,
|
|
763
|
+
url: "/v1/analytics/googlesearchconsole/search-analytics"
|
|
764
|
+
});
|
|
765
|
+
};
|
|
766
|
+
var listGoogleSearchConsoleSitemaps = (options) => {
|
|
767
|
+
return (options?.client ?? client).get({
|
|
768
|
+
...options,
|
|
769
|
+
url: "/v1/analytics/googlesearchconsole/sitemaps"
|
|
770
|
+
});
|
|
771
|
+
};
|
|
772
|
+
var inspectGoogleSearchConsoleUrl = (options) => {
|
|
773
|
+
return (options?.client ?? client).post({
|
|
774
|
+
...options,
|
|
775
|
+
url: "/v1/analytics/googlesearchconsole/url-inspection"
|
|
776
|
+
});
|
|
777
|
+
};
|
|
760
778
|
var openTrackingWindow = (options) => {
|
|
761
779
|
return (options?.client ?? client).post({
|
|
762
780
|
...options,
|
|
@@ -1284,6 +1302,24 @@ var selectGoogleAnalyticsProperty = (options) => {
|
|
|
1284
1302
|
url: "/v1/connect/googleanalytics/select-property"
|
|
1285
1303
|
});
|
|
1286
1304
|
};
|
|
1305
|
+
var getGoogleSearchConsoleConnectUrl = (options) => {
|
|
1306
|
+
return (options?.client ?? client).get({
|
|
1307
|
+
...options,
|
|
1308
|
+
url: "/v1/connect/googlesearchconsole"
|
|
1309
|
+
});
|
|
1310
|
+
};
|
|
1311
|
+
var listGoogleSearchConsoleSites = (options) => {
|
|
1312
|
+
return (options?.client ?? client).get({
|
|
1313
|
+
...options,
|
|
1314
|
+
url: "/v1/connect/googlesearchconsole/sites"
|
|
1315
|
+
});
|
|
1316
|
+
};
|
|
1317
|
+
var selectGoogleSearchConsoleSite = (options) => {
|
|
1318
|
+
return (options?.client ?? client).post({
|
|
1319
|
+
...options,
|
|
1320
|
+
url: "/v1/connect/googlesearchconsole/select-site"
|
|
1321
|
+
});
|
|
1322
|
+
};
|
|
1287
1323
|
var getHubSpotConnectUrl = (options) => {
|
|
1288
1324
|
return (options?.client ?? client).get({
|
|
1289
1325
|
...options,
|
|
@@ -8364,6 +8400,9 @@ var Zernio = class _Zernio {
|
|
|
8364
8400
|
runGoogleAnalyticsReport: this._bind(runGoogleAnalyticsReport),
|
|
8365
8401
|
runGoogleAnalyticsRealtimeReport: this._bind(runGoogleAnalyticsRealtimeReport),
|
|
8366
8402
|
getGoogleAnalyticsMetadata: this._bind(getGoogleAnalyticsMetadata),
|
|
8403
|
+
queryGoogleSearchConsoleSearchAnalytics: this._bind(queryGoogleSearchConsoleSearchAnalytics),
|
|
8404
|
+
listGoogleSearchConsoleSitemaps: this._bind(listGoogleSearchConsoleSitemaps),
|
|
8405
|
+
inspectGoogleSearchConsoleUrl: this._bind(inspectGoogleSearchConsoleUrl),
|
|
8367
8406
|
openTrackingWindow: this._bind(openTrackingWindow),
|
|
8368
8407
|
listTrackingWindows: this._bind(listTrackingWindows),
|
|
8369
8408
|
getTrackingWindow: this._bind(getTrackingWindow),
|
|
@@ -8653,6 +8692,9 @@ var Zernio = class _Zernio {
|
|
|
8653
8692
|
getGoogleAnalyticsConnectUrl: this._bind(getGoogleAnalyticsConnectUrl),
|
|
8654
8693
|
listGoogleAnalyticsProperties: this._bind(listGoogleAnalyticsProperties),
|
|
8655
8694
|
selectGoogleAnalyticsProperty: this._bind(selectGoogleAnalyticsProperty),
|
|
8695
|
+
getGoogleSearchConsoleConnectUrl: this._bind(getGoogleSearchConsoleConnectUrl),
|
|
8696
|
+
listGoogleSearchConsoleSites: this._bind(listGoogleSearchConsoleSites),
|
|
8697
|
+
selectGoogleSearchConsoleSite: this._bind(selectGoogleSearchConsoleSite),
|
|
8656
8698
|
getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
|
|
8657
8699
|
getSalesforceConnectUrl: this._bind(getSalesforceConnectUrl),
|
|
8658
8700
|
getStripeConnectUrl: this._bind(getStripeConnectUrl),
|
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.1709",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -726,6 +726,24 @@ var getGoogleAnalyticsMetadata = (options) => {
|
|
|
726
726
|
url: "/v1/analytics/googleanalytics/metadata"
|
|
727
727
|
});
|
|
728
728
|
};
|
|
729
|
+
var queryGoogleSearchConsoleSearchAnalytics = (options) => {
|
|
730
|
+
return (options?.client ?? client).post({
|
|
731
|
+
...options,
|
|
732
|
+
url: "/v1/analytics/googlesearchconsole/search-analytics"
|
|
733
|
+
});
|
|
734
|
+
};
|
|
735
|
+
var listGoogleSearchConsoleSitemaps = (options) => {
|
|
736
|
+
return (options?.client ?? client).get({
|
|
737
|
+
...options,
|
|
738
|
+
url: "/v1/analytics/googlesearchconsole/sitemaps"
|
|
739
|
+
});
|
|
740
|
+
};
|
|
741
|
+
var inspectGoogleSearchConsoleUrl = (options) => {
|
|
742
|
+
return (options?.client ?? client).post({
|
|
743
|
+
...options,
|
|
744
|
+
url: "/v1/analytics/googlesearchconsole/url-inspection"
|
|
745
|
+
});
|
|
746
|
+
};
|
|
729
747
|
var openTrackingWindow = (options) => {
|
|
730
748
|
return (options?.client ?? client).post({
|
|
731
749
|
...options,
|
|
@@ -1253,6 +1271,24 @@ var selectGoogleAnalyticsProperty = (options) => {
|
|
|
1253
1271
|
url: "/v1/connect/googleanalytics/select-property"
|
|
1254
1272
|
});
|
|
1255
1273
|
};
|
|
1274
|
+
var getGoogleSearchConsoleConnectUrl = (options) => {
|
|
1275
|
+
return (options?.client ?? client).get({
|
|
1276
|
+
...options,
|
|
1277
|
+
url: "/v1/connect/googlesearchconsole"
|
|
1278
|
+
});
|
|
1279
|
+
};
|
|
1280
|
+
var listGoogleSearchConsoleSites = (options) => {
|
|
1281
|
+
return (options?.client ?? client).get({
|
|
1282
|
+
...options,
|
|
1283
|
+
url: "/v1/connect/googlesearchconsole/sites"
|
|
1284
|
+
});
|
|
1285
|
+
};
|
|
1286
|
+
var selectGoogleSearchConsoleSite = (options) => {
|
|
1287
|
+
return (options?.client ?? client).post({
|
|
1288
|
+
...options,
|
|
1289
|
+
url: "/v1/connect/googlesearchconsole/select-site"
|
|
1290
|
+
});
|
|
1291
|
+
};
|
|
1256
1292
|
var getHubSpotConnectUrl = (options) => {
|
|
1257
1293
|
return (options?.client ?? client).get({
|
|
1258
1294
|
...options,
|
|
@@ -8333,6 +8369,9 @@ var Zernio = class _Zernio {
|
|
|
8333
8369
|
runGoogleAnalyticsReport: this._bind(runGoogleAnalyticsReport),
|
|
8334
8370
|
runGoogleAnalyticsRealtimeReport: this._bind(runGoogleAnalyticsRealtimeReport),
|
|
8335
8371
|
getGoogleAnalyticsMetadata: this._bind(getGoogleAnalyticsMetadata),
|
|
8372
|
+
queryGoogleSearchConsoleSearchAnalytics: this._bind(queryGoogleSearchConsoleSearchAnalytics),
|
|
8373
|
+
listGoogleSearchConsoleSitemaps: this._bind(listGoogleSearchConsoleSitemaps),
|
|
8374
|
+
inspectGoogleSearchConsoleUrl: this._bind(inspectGoogleSearchConsoleUrl),
|
|
8336
8375
|
openTrackingWindow: this._bind(openTrackingWindow),
|
|
8337
8376
|
listTrackingWindows: this._bind(listTrackingWindows),
|
|
8338
8377
|
getTrackingWindow: this._bind(getTrackingWindow),
|
|
@@ -8622,6 +8661,9 @@ var Zernio = class _Zernio {
|
|
|
8622
8661
|
getGoogleAnalyticsConnectUrl: this._bind(getGoogleAnalyticsConnectUrl),
|
|
8623
8662
|
listGoogleAnalyticsProperties: this._bind(listGoogleAnalyticsProperties),
|
|
8624
8663
|
selectGoogleAnalyticsProperty: this._bind(selectGoogleAnalyticsProperty),
|
|
8664
|
+
getGoogleSearchConsoleConnectUrl: this._bind(getGoogleSearchConsoleConnectUrl),
|
|
8665
|
+
listGoogleSearchConsoleSites: this._bind(listGoogleSearchConsoleSites),
|
|
8666
|
+
selectGoogleSearchConsoleSite: this._bind(selectGoogleSearchConsoleSite),
|
|
8625
8667
|
getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
|
|
8626
8668
|
getSalesforceConnectUrl: this._bind(getSalesforceConnectUrl),
|
|
8627
8669
|
getStripeConnectUrl: this._bind(getStripeConnectUrl),
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -516,6 +516,7 @@ import {
|
|
|
516
516
|
getGoogleBusinessSearchKeywords,
|
|
517
517
|
getGoogleBusinessServices,
|
|
518
518
|
getGoogleBusinessVerifications,
|
|
519
|
+
getGoogleSearchConsoleConnectUrl,
|
|
519
520
|
getHubSpotConnectUrl,
|
|
520
521
|
getHubSpotSettings,
|
|
521
522
|
getImessageGroup,
|
|
@@ -685,6 +686,7 @@ import {
|
|
|
685
686
|
importEmailSignatures,
|
|
686
687
|
initiateTelegramConnect,
|
|
687
688
|
initiateWhatsAppCall,
|
|
689
|
+
inspectGoogleSearchConsoleUrl,
|
|
688
690
|
installAutomationTemplate,
|
|
689
691
|
installSharedAutomationTemplate,
|
|
690
692
|
installTrackingTagOnStore,
|
|
@@ -843,6 +845,8 @@ import {
|
|
|
843
845
|
listGoogleBusinessMedia,
|
|
844
846
|
listGoogleBusinessPlaceActions,
|
|
845
847
|
listGoogleRecommendations,
|
|
848
|
+
listGoogleSearchConsoleSitemaps,
|
|
849
|
+
listGoogleSearchConsoleSites,
|
|
846
850
|
listHighDemandPeriods,
|
|
847
851
|
listImessageAudience,
|
|
848
852
|
listImessageAvailableNumbers,
|
|
@@ -961,6 +965,7 @@ import {
|
|
|
961
965
|
purchasePhoneNumber,
|
|
962
966
|
purchaseWhatsAppPhoneNumber,
|
|
963
967
|
queryAdInsights,
|
|
968
|
+
queryGoogleSearchConsoleSearchAnalytics,
|
|
964
969
|
raiseCreatorCampaignBudget,
|
|
965
970
|
readBusinessAgentEvals,
|
|
966
971
|
recoverCreatorPortalLinks,
|
|
@@ -1073,6 +1078,7 @@ import {
|
|
|
1073
1078
|
selectFacebookPage,
|
|
1074
1079
|
selectGoogleAnalyticsProperty,
|
|
1075
1080
|
selectGoogleBusinessLocation,
|
|
1081
|
+
selectGoogleSearchConsoleSite,
|
|
1076
1082
|
selectInstagramAccount,
|
|
1077
1083
|
selectLinkedInOrganization,
|
|
1078
1084
|
selectPinterestBoard,
|
|
@@ -1510,6 +1516,9 @@ export class Zernio {
|
|
|
1510
1516
|
runGoogleAnalyticsReport: this._bind(runGoogleAnalyticsReport),
|
|
1511
1517
|
runGoogleAnalyticsRealtimeReport: this._bind(runGoogleAnalyticsRealtimeReport),
|
|
1512
1518
|
getGoogleAnalyticsMetadata: this._bind(getGoogleAnalyticsMetadata),
|
|
1519
|
+
queryGoogleSearchConsoleSearchAnalytics: this._bind(queryGoogleSearchConsoleSearchAnalytics),
|
|
1520
|
+
listGoogleSearchConsoleSitemaps: this._bind(listGoogleSearchConsoleSitemaps),
|
|
1521
|
+
inspectGoogleSearchConsoleUrl: this._bind(inspectGoogleSearchConsoleUrl),
|
|
1513
1522
|
openTrackingWindow: this._bind(openTrackingWindow),
|
|
1514
1523
|
listTrackingWindows: this._bind(listTrackingWindows),
|
|
1515
1524
|
getTrackingWindow: this._bind(getTrackingWindow),
|
|
@@ -1818,6 +1827,9 @@ export class Zernio {
|
|
|
1818
1827
|
getGoogleAnalyticsConnectUrl: this._bind(getGoogleAnalyticsConnectUrl),
|
|
1819
1828
|
listGoogleAnalyticsProperties: this._bind(listGoogleAnalyticsProperties),
|
|
1820
1829
|
selectGoogleAnalyticsProperty: this._bind(selectGoogleAnalyticsProperty),
|
|
1830
|
+
getGoogleSearchConsoleConnectUrl: this._bind(getGoogleSearchConsoleConnectUrl),
|
|
1831
|
+
listGoogleSearchConsoleSites: this._bind(listGoogleSearchConsoleSites),
|
|
1832
|
+
selectGoogleSearchConsoleSite: this._bind(selectGoogleSearchConsoleSite),
|
|
1821
1833
|
getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
|
|
1822
1834
|
getSalesforceConnectUrl: this._bind(getSalesforceConnectUrl),
|
|
1823
1835
|
getStripeConnectUrl: this._bind(getStripeConnectUrl),
|