@getlatedev/node 0.2.1226 → 0.2.1228

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.1226",
39
+ version: "0.2.1228",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -948,6 +948,12 @@ var getWordPressAuthUrl = (options) => {
948
948
  url: "/v1/connect/wordpress"
949
949
  });
950
950
  };
951
+ var getWixConnectUrl = (options) => {
952
+ return (options?.client ?? client).get({
953
+ ...options,
954
+ url: "/v1/connect/wix"
955
+ });
956
+ };
951
957
  var connectWordPressWithApplicationPassword = (options) => {
952
958
  return (options?.client ?? client).post({
953
959
  ...options,
@@ -6564,6 +6570,7 @@ var Zernio = class _Zernio {
6564
6570
  getShopifyConnectUrl: this._bind(getShopifyConnectUrl),
6565
6571
  connectShopifyWithToken: this._bind(connectShopifyWithToken),
6566
6572
  getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
6573
+ getWixConnectUrl: this._bind(getWixConnectUrl),
6567
6574
  connectWordPressWithApplicationPassword: this._bind(connectWordPressWithApplicationPassword),
6568
6575
  configureTikTokAdsBrandIdentity: this._bind(configureTikTokAdsBrandIdentity),
6569
6576
  listInstagramPages: this._bind(listInstagramPages),
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.1226",
8
+ version: "0.2.1228",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -917,6 +917,12 @@ var getWordPressAuthUrl = (options) => {
917
917
  url: "/v1/connect/wordpress"
918
918
  });
919
919
  };
920
+ var getWixConnectUrl = (options) => {
921
+ return (options?.client ?? client).get({
922
+ ...options,
923
+ url: "/v1/connect/wix"
924
+ });
925
+ };
920
926
  var connectWordPressWithApplicationPassword = (options) => {
921
927
  return (options?.client ?? client).post({
922
928
  ...options,
@@ -6533,6 +6539,7 @@ var Zernio = class _Zernio {
6533
6539
  getShopifyConnectUrl: this._bind(getShopifyConnectUrl),
6534
6540
  connectShopifyWithToken: this._bind(connectShopifyWithToken),
6535
6541
  getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
6542
+ getWixConnectUrl: this._bind(getWixConnectUrl),
6536
6543
  connectWordPressWithApplicationPassword: this._bind(connectWordPressWithApplicationPassword),
6537
6544
  configureTikTokAdsBrandIdentity: this._bind(configureTikTokAdsBrandIdentity),
6538
6545
  listInstagramPages: this._bind(listInstagramPages),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1226",
3
+ "version": "0.2.1228",
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
@@ -502,6 +502,7 @@ import {
502
502
  getWhatsAppTemplates,
503
503
  getWhatsappBusinessUsername,
504
504
  getWhatsappBusinessUsernameSuggestions,
505
+ getWixConnectUrl,
505
506
  getWordPressAuthUrl,
506
507
  getWorkflow,
507
508
  getWorkflowVersion,
@@ -1372,6 +1373,7 @@ export class Zernio {
1372
1373
  getShopifyConnectUrl: this._bind(getShopifyConnectUrl),
1373
1374
  connectShopifyWithToken: this._bind(connectShopifyWithToken),
1374
1375
  getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
1376
+ getWixConnectUrl: this._bind(getWixConnectUrl),
1375
1377
  connectWordPressWithApplicationPassword: this._bind(connectWordPressWithApplicationPassword),
1376
1378
  configureTikTokAdsBrandIdentity: this._bind(configureTikTokAdsBrandIdentity),
1377
1379
  listInstagramPages: this._bind(listInstagramPages),