@getlatedev/node 0.2.1814 → 0.2.1815
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 +174 -51
- package/dist/index.d.ts +174 -51
- 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 +73 -1
- package/src/generated/types.gen.ts +186 -50
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.1815",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -1752,6 +1752,42 @@ var updateConnectWelcomeScreen = (options) => {
|
|
|
1752
1752
|
url: "/v1/connect/welcome-screen"
|
|
1753
1753
|
});
|
|
1754
1754
|
};
|
|
1755
|
+
var listConnectCustomDomains = (options) => {
|
|
1756
|
+
return (options?.client ?? client).get({
|
|
1757
|
+
...options,
|
|
1758
|
+
url: "/v1/connect/custom-domains"
|
|
1759
|
+
});
|
|
1760
|
+
};
|
|
1761
|
+
var createConnectCustomDomain = (options) => {
|
|
1762
|
+
return (options?.client ?? client).post({
|
|
1763
|
+
...options,
|
|
1764
|
+
url: "/v1/connect/custom-domains"
|
|
1765
|
+
});
|
|
1766
|
+
};
|
|
1767
|
+
var getConnectCustomDomain = (options) => {
|
|
1768
|
+
return (options?.client ?? client).get({
|
|
1769
|
+
...options,
|
|
1770
|
+
url: "/v1/connect/custom-domains/{domainId}"
|
|
1771
|
+
});
|
|
1772
|
+
};
|
|
1773
|
+
var updateConnectCustomDomain = (options) => {
|
|
1774
|
+
return (options?.client ?? client).patch({
|
|
1775
|
+
...options,
|
|
1776
|
+
url: "/v1/connect/custom-domains/{domainId}"
|
|
1777
|
+
});
|
|
1778
|
+
};
|
|
1779
|
+
var deleteConnectCustomDomain = (options) => {
|
|
1780
|
+
return (options?.client ?? client).delete({
|
|
1781
|
+
...options,
|
|
1782
|
+
url: "/v1/connect/custom-domains/{domainId}"
|
|
1783
|
+
});
|
|
1784
|
+
};
|
|
1785
|
+
var verifyConnectCustomDomain = (options) => {
|
|
1786
|
+
return (options?.client ?? client).post({
|
|
1787
|
+
...options,
|
|
1788
|
+
url: "/v1/connect/custom-domains/{domainId}/verify"
|
|
1789
|
+
});
|
|
1790
|
+
};
|
|
1755
1791
|
var listOAuthApps = (options) => {
|
|
1756
1792
|
return (options?.client ?? client).get({
|
|
1757
1793
|
...options,
|
|
@@ -9255,6 +9291,12 @@ var Zernio = class _Zernio {
|
|
|
9255
9291
|
getConnectHandoff: this._bind(getConnectHandoff),
|
|
9256
9292
|
getConnectWelcomeScreen: this._bind(getConnectWelcomeScreen),
|
|
9257
9293
|
updateConnectWelcomeScreen: this._bind(updateConnectWelcomeScreen),
|
|
9294
|
+
listConnectCustomDomains: this._bind(listConnectCustomDomains),
|
|
9295
|
+
createConnectCustomDomain: this._bind(createConnectCustomDomain),
|
|
9296
|
+
getConnectCustomDomain: this._bind(getConnectCustomDomain),
|
|
9297
|
+
updateConnectCustomDomain: this._bind(updateConnectCustomDomain),
|
|
9298
|
+
deleteConnectCustomDomain: this._bind(deleteConnectCustomDomain),
|
|
9299
|
+
verifyConnectCustomDomain: this._bind(verifyConnectCustomDomain),
|
|
9258
9300
|
listOAuthApps: this._bind(listOAuthApps),
|
|
9259
9301
|
createOAuthApp: this._bind(createOAuthApp),
|
|
9260
9302
|
getOAuthApp: this._bind(getOAuthApp),
|
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.1815",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -1721,6 +1721,42 @@ var updateConnectWelcomeScreen = (options) => {
|
|
|
1721
1721
|
url: "/v1/connect/welcome-screen"
|
|
1722
1722
|
});
|
|
1723
1723
|
};
|
|
1724
|
+
var listConnectCustomDomains = (options) => {
|
|
1725
|
+
return (options?.client ?? client).get({
|
|
1726
|
+
...options,
|
|
1727
|
+
url: "/v1/connect/custom-domains"
|
|
1728
|
+
});
|
|
1729
|
+
};
|
|
1730
|
+
var createConnectCustomDomain = (options) => {
|
|
1731
|
+
return (options?.client ?? client).post({
|
|
1732
|
+
...options,
|
|
1733
|
+
url: "/v1/connect/custom-domains"
|
|
1734
|
+
});
|
|
1735
|
+
};
|
|
1736
|
+
var getConnectCustomDomain = (options) => {
|
|
1737
|
+
return (options?.client ?? client).get({
|
|
1738
|
+
...options,
|
|
1739
|
+
url: "/v1/connect/custom-domains/{domainId}"
|
|
1740
|
+
});
|
|
1741
|
+
};
|
|
1742
|
+
var updateConnectCustomDomain = (options) => {
|
|
1743
|
+
return (options?.client ?? client).patch({
|
|
1744
|
+
...options,
|
|
1745
|
+
url: "/v1/connect/custom-domains/{domainId}"
|
|
1746
|
+
});
|
|
1747
|
+
};
|
|
1748
|
+
var deleteConnectCustomDomain = (options) => {
|
|
1749
|
+
return (options?.client ?? client).delete({
|
|
1750
|
+
...options,
|
|
1751
|
+
url: "/v1/connect/custom-domains/{domainId}"
|
|
1752
|
+
});
|
|
1753
|
+
};
|
|
1754
|
+
var verifyConnectCustomDomain = (options) => {
|
|
1755
|
+
return (options?.client ?? client).post({
|
|
1756
|
+
...options,
|
|
1757
|
+
url: "/v1/connect/custom-domains/{domainId}/verify"
|
|
1758
|
+
});
|
|
1759
|
+
};
|
|
1724
1760
|
var listOAuthApps = (options) => {
|
|
1725
1761
|
return (options?.client ?? client).get({
|
|
1726
1762
|
...options,
|
|
@@ -9224,6 +9260,12 @@ var Zernio = class _Zernio {
|
|
|
9224
9260
|
getConnectHandoff: this._bind(getConnectHandoff),
|
|
9225
9261
|
getConnectWelcomeScreen: this._bind(getConnectWelcomeScreen),
|
|
9226
9262
|
updateConnectWelcomeScreen: this._bind(updateConnectWelcomeScreen),
|
|
9263
|
+
listConnectCustomDomains: this._bind(listConnectCustomDomains),
|
|
9264
|
+
createConnectCustomDomain: this._bind(createConnectCustomDomain),
|
|
9265
|
+
getConnectCustomDomain: this._bind(getConnectCustomDomain),
|
|
9266
|
+
updateConnectCustomDomain: this._bind(updateConnectCustomDomain),
|
|
9267
|
+
deleteConnectCustomDomain: this._bind(deleteConnectCustomDomain),
|
|
9268
|
+
verifyConnectCustomDomain: this._bind(verifyConnectCustomDomain),
|
|
9227
9269
|
listOAuthApps: this._bind(listOAuthApps),
|
|
9228
9270
|
createOAuthApp: this._bind(createOAuthApp),
|
|
9229
9271
|
getOAuthApp: this._bind(getOAuthApp),
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -170,6 +170,7 @@ import {
|
|
|
170
170
|
createCommerceProductVariants,
|
|
171
171
|
createCommerceRedirect,
|
|
172
172
|
createCommerceRefund,
|
|
173
|
+
createConnectCustomDomain,
|
|
173
174
|
createContact,
|
|
174
175
|
createConversionAction,
|
|
175
176
|
createConversionAuditMonitor,
|
|
@@ -300,6 +301,7 @@ import {
|
|
|
300
301
|
deleteCommerceProductOptions,
|
|
301
302
|
deleteCommerceProductVariants,
|
|
302
303
|
deleteCommerceRedirect,
|
|
304
|
+
deleteConnectCustomDomain,
|
|
303
305
|
deleteContact,
|
|
304
306
|
deleteConversionAuditMonitor,
|
|
305
307
|
deleteConversionDestination,
|
|
@@ -499,6 +501,7 @@ import {
|
|
|
499
501
|
getCommercePage,
|
|
500
502
|
getCommerceProduct,
|
|
501
503
|
getCommerceStore,
|
|
504
|
+
getConnectCustomDomain,
|
|
502
505
|
getConnectHandoff,
|
|
503
506
|
getConnectUrl,
|
|
504
507
|
getConnectWelcomeScreen,
|
|
@@ -862,6 +865,7 @@ import {
|
|
|
862
865
|
listCommerceProductMetafields,
|
|
863
866
|
listCommerceProducts,
|
|
864
867
|
listCommerceRedirects,
|
|
868
|
+
listConnectCustomDomains,
|
|
865
869
|
listConnectedApps,
|
|
866
870
|
listContactGroups,
|
|
867
871
|
listContacts,
|
|
@@ -1297,6 +1301,7 @@ import {
|
|
|
1297
1301
|
updateCommerceProduct,
|
|
1298
1302
|
updateCommerceProductPrices,
|
|
1299
1303
|
updateCommerceRedirect,
|
|
1304
|
+
updateConnectCustomDomain,
|
|
1300
1305
|
updateConnectWelcomeScreen,
|
|
1301
1306
|
updateContact,
|
|
1302
1307
|
updateContentRetention,
|
|
@@ -1384,6 +1389,7 @@ import {
|
|
|
1384
1389
|
validatePostLength,
|
|
1385
1390
|
validateSubreddit,
|
|
1386
1391
|
validateWhatsAppNumberKycAddress,
|
|
1392
|
+
verifyConnectCustomDomain,
|
|
1387
1393
|
verifyCredential,
|
|
1388
1394
|
verifyGohighlevelFunnelTracking,
|
|
1389
1395
|
verifyOrgConnection,
|
|
@@ -1977,6 +1983,12 @@ export class Zernio {
|
|
|
1977
1983
|
getConnectHandoff: this._bind(getConnectHandoff),
|
|
1978
1984
|
getConnectWelcomeScreen: this._bind(getConnectWelcomeScreen),
|
|
1979
1985
|
updateConnectWelcomeScreen: this._bind(updateConnectWelcomeScreen),
|
|
1986
|
+
listConnectCustomDomains: this._bind(listConnectCustomDomains),
|
|
1987
|
+
createConnectCustomDomain: this._bind(createConnectCustomDomain),
|
|
1988
|
+
getConnectCustomDomain: this._bind(getConnectCustomDomain),
|
|
1989
|
+
updateConnectCustomDomain: this._bind(updateConnectCustomDomain),
|
|
1990
|
+
deleteConnectCustomDomain: this._bind(deleteConnectCustomDomain),
|
|
1991
|
+
verifyConnectCustomDomain: this._bind(verifyConnectCustomDomain),
|
|
1980
1992
|
listOAuthApps: this._bind(listOAuthApps),
|
|
1981
1993
|
createOAuthApp: this._bind(createOAuthApp),
|
|
1982
1994
|
getOAuthApp: this._bind(getOAuthApp),
|