agrs-sequelize-sdk 1.2.54 → 1.2.56

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/Ad.js CHANGED
@@ -113,6 +113,16 @@ module.exports = (sequelize, DataTypes) => {
113
113
  type: DataTypes.JSONB,
114
114
  allowNull: true,
115
115
  },
116
+ policy_status: {
117
+ type: DataTypes.STRING,
118
+ allowNull: true,
119
+ comment: "Policy review status: approved, disapproved, pending, etc."
120
+ },
121
+ policy_rejection_reason: {
122
+ type: DataTypes.TEXT,
123
+ allowNull: true,
124
+ comment: "Detailed reason for policy rejection from Predicto"
125
+ },
116
126
  waiting: {
117
127
  type: DataTypes.BOOLEAN,
118
128
  defaultValue: false,
@@ -78,6 +78,16 @@ module.exports = (sequelize, DataTypes) => {
78
78
  type: DataTypes.BOOLEAN,
79
79
  defaultValue: false,
80
80
  },
81
+ policy_status: {
82
+ type: DataTypes.STRING,
83
+ allowNull: true,
84
+ comment: "Facebook policy status: APPROVED, DENIED, PENDING, etc."
85
+ },
86
+ policy_rejection_reason: {
87
+ type: DataTypes.TEXT,
88
+ allowNull: true,
89
+ comment: "Detailed reason for policy rejection"
90
+ },
81
91
  },
82
92
  {
83
93
  tableName: "Campaign",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agrs-sequelize-sdk",
3
- "version": "1.2.54",
3
+ "version": "1.2.56",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "start": "node index.js",