@go-mailer/jarvis 8.0.0 → 8.0.1

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.
@@ -2,7 +2,7 @@ const { ActivityLogSchema } = require("./iam/Activity");
2
2
  const { ContactImportSchema } = require("./Contact");
3
3
  const { PostalSchema } = require("./Postal");
4
4
  const { TaskSchema } = require("./automation/Task");
5
- const { CampaignSchema } = require("./mailing/Campaign");
5
+ const { CampaignSchema, CampaignConversionSchema } = require("./mailing/Campaign");
6
6
  const { LinkSchema } = require("./mailing/Link");
7
7
  const { MailActionSchema } = require("./mailing/Mailaction");
8
8
  const { SubscriptionSchema } = require("./sales/Subscription");
@@ -12,10 +12,11 @@ module.exports = {
12
12
  ActivityLogSchema,
13
13
  AutomationTaskSchema: TaskSchema,
14
14
  AutoTopUpSchema,
15
+ CampaignConversionSchema,
15
16
  CampaignSchema,
16
17
  ContactImportSchema,
17
18
  LinkSchema,
18
19
  MailActionSchema,
19
20
  PostalSchema,
20
- SubscriptionSchema
21
+ SubscriptionSchema,
21
22
  };
@@ -1,10 +1,15 @@
1
- const { Schema } = require('redis-om')
1
+ const { Schema } = require("redis-om");
2
2
 
3
- const CampaignSchema = new Schema('campaign', {
4
- id: { type: 'number' },
5
- status: { type: 'string' }
6
- })
3
+ const CampaignSchema = new Schema("campaign", {
4
+ id: { type: "number" },
5
+ status: { type: "string" },
6
+ });
7
+
8
+ const CampaignConversionSchema = new Schema("campaign_conversion", {
9
+ id: { type: "string" },
10
+ });
7
11
 
8
12
  module.exports = {
9
- CampaignSchema
10
- }
13
+ CampaignConversionSchema,
14
+ CampaignSchema,
15
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-mailer/jarvis",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
4
4
  "main": "index.js",
5
5
  "repository": "git@github.com:go-mailer-ltd/jarvis-node.git",
6
6
  "author": "Nathan Oguntuberu <nateoguns.work@gmail.com>",