agrs-sequelize-sdk 1.2.75 → 1.2.77

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.
@@ -83,11 +83,16 @@ module.exports = (sequelize, DataTypes) => {
83
83
  allowNull: true,
84
84
  comment: "User who created this rule",
85
85
  },
86
- updatedBy: {
87
- type: DataTypes.STRING(255),
88
- allowNull: true,
89
- comment: "User who last updated this rule",
90
- },
86
+ updatedBy: {
87
+ type: DataTypes.STRING(255),
88
+ allowNull: true,
89
+ comment: "User who last updated this rule",
90
+ },
91
+ mediaBuyer: {
92
+ type: DataTypes.STRING(255),
93
+ allowNull: true,
94
+ comment: "Media buyer assigned to this rule for permissions",
95
+ },
91
96
  },
92
97
  {
93
98
  tableName: "AutomationRules", // New table name
@@ -13,7 +13,7 @@ module.exports = (sequelize) => {
13
13
  type: DataTypes.UUID,
14
14
  allowNull: false,
15
15
  references: {
16
- model: "AutomationRules",
16
+ model: "AutomationRule",
17
17
  key: "id",
18
18
  },
19
19
  comment: "Reference to the parent rule",
@@ -13,7 +13,7 @@ module.exports = (sequelize) => {
13
13
  type: DataTypes.UUID,
14
14
  allowNull: false,
15
15
  references: {
16
- model: "AutomationRules",
16
+ model: "AutomationRule",
17
17
  key: "id",
18
18
  },
19
19
  comment: "Reference to the parent rule",
@@ -13,7 +13,7 @@ module.exports = (sequelize) => {
13
13
  type: DataTypes.UUID,
14
14
  allowNull: false,
15
15
  references: {
16
- model: "AutomationRules",
16
+ model: "AutomationRule",
17
17
  key: "id",
18
18
  },
19
19
  comment: "Reference to the executed rule",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agrs-sequelize-sdk",
3
- "version": "1.2.75",
3
+ "version": "1.2.77",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "start": "node index.js",