agrs-sequelize-sdk 1.3.1 → 1.3.2
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/AutomationRule.js +12 -12
- package/models/Pages.js +6 -0
- package/package.json +1 -1
package/models/AutomationRule.js
CHANGED
|
@@ -115,18 +115,18 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
115
115
|
allowNull: true,
|
|
116
116
|
comment: "Custom end date for CUSTOM_RANGE type",
|
|
117
117
|
},
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
118
|
+
allowedAccounts: {
|
|
119
|
+
type: DataTypes.ARRAY(DataTypes.STRING),
|
|
120
|
+
allowNull: true,
|
|
121
|
+
defaultValue: [],
|
|
122
|
+
comment: "Array of account IDs that this rule can run on",
|
|
123
|
+
},
|
|
124
|
+
allowedMediaBuyers: {
|
|
125
|
+
type: DataTypes.ARRAY(DataTypes.STRING),
|
|
126
|
+
allowNull: true,
|
|
127
|
+
defaultValue: [],
|
|
128
|
+
comment: "Array of media buyer codes that this rule can be assigned to",
|
|
129
|
+
},
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
tableName: "AutomationRules", // New table name
|
package/models/Pages.js
CHANGED
|
@@ -71,6 +71,12 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
71
71
|
comment:
|
|
72
72
|
"Number of currently active ads running on this page (Max limit: 250)",
|
|
73
73
|
},
|
|
74
|
+
instagram_user_id: {
|
|
75
|
+
type: DataTypes.STRING,
|
|
76
|
+
allowNull: true,
|
|
77
|
+
comment:
|
|
78
|
+
"Instagram User ID (Page-backed Instagram Account ID) for this page",
|
|
79
|
+
},
|
|
74
80
|
},
|
|
75
81
|
{
|
|
76
82
|
tableName: "Pages",
|