agrs-sequelize-sdk 1.2.33 → 1.2.35

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/models/Article.js CHANGED
@@ -163,7 +163,7 @@ module.exports = (sequelize, DataTypes) => {
163
163
  };
164
164
 
165
165
  Article.prototype.getTargetDomain = function () {
166
- return this.target_domain || "searchlabz.com";
166
+ return this.target_domain || "sportfoy.com";
167
167
  };
168
168
 
169
169
  Article.prototype.isLegacyStructure = function () {
@@ -25,7 +25,7 @@ module.exports = (sequelize, DataTypes) => {
25
25
  defaultValue: "STARTED",
26
26
  },
27
27
  country: {
28
- type: DataTypes.STRING,
28
+ type: DataTypes.TEXT,
29
29
  allowNull: true,
30
30
  comment: "Country being processed",
31
31
  },
@@ -104,7 +104,7 @@ module.exports = (sequelize, DataTypes) => {
104
104
  domain: {
105
105
  type: DataTypes.STRING,
106
106
  allowNull: true,
107
- defaultValue: "searchlabz.com",
107
+ defaultValue: "sportfoy.com",
108
108
  comment:
109
109
  "Target domain for campaign URLs (searchlabz.com or sportfoy.com)",
110
110
  },
@@ -194,7 +194,7 @@ module.exports = (sequelize, DataTypes) => {
194
194
 
195
195
  // Set default domain and url_structure if not provided
196
196
  if (!campaign.domain) {
197
- campaign.setDataValue("domain", "searchlabz.com");
197
+ campaign.setDataValue("domain", "sportfoy.com");
198
198
  }
199
199
  if (!campaign.url_structure) {
200
200
  campaign.setDataValue("url_structure", "legacy");
@@ -62,6 +62,11 @@ module.exports = (sequelize, DataTypes) => {
62
62
  type: DataTypes.STRING,
63
63
  allowNull: true,
64
64
  },
65
+ isGenerated: {
66
+ type: DataTypes.BOOLEAN,
67
+ allowNull: true,
68
+ defaultValue: false,
69
+ },
65
70
  });
66
71
 
67
72
  return NewFiles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agrs-sequelize-sdk",
3
- "version": "1.2.33",
3
+ "version": "1.2.35",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "start": "node index.js",