gemcap-be-common 1.5.119 → 1.5.121

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,6 +83,9 @@ export interface IAIJob {
83
83
  errorMessage?: string;
84
84
  startedAt?: Date;
85
85
  completedAt?: Date;
86
+ email?: {
87
+ variables: Record<string, string>;
88
+ };
86
89
  }
87
90
  export type TAIJobDoc = mongoose.HydratedDocument<IAIJob>;
88
91
  export interface IAIJobLean extends IAIJob {
@@ -31,6 +31,9 @@ exports.AIJobSchema = new mongoose_1.default.Schema({
31
31
  },
32
32
  },
33
33
  context: mongoose_1.default.Schema.Types.Mixed,
34
+ email: {
35
+ variables: mongoose_1.default.Schema.Types.Mixed
36
+ },
34
37
  inputFiles: [{
35
38
  storageFileId: {
36
39
  type: String,
@@ -74,6 +74,9 @@ export interface IAIJob {
74
74
 
75
75
  startedAt?: Date;
76
76
  completedAt?: Date;
77
+ email?: {
78
+ variables: Record<string, string>;
79
+ };
77
80
  }
78
81
 
79
82
  export type TAIJobDoc = mongoose.HydratedDocument<IAIJob>;
@@ -124,6 +127,10 @@ export const AIJobSchema = new mongoose.Schema<IAIJob, TAIJobModel>(
124
127
 
125
128
  context: mongoose.Schema.Types.Mixed,
126
129
 
130
+ email: {
131
+ variables: mongoose.Schema.Types.Mixed
132
+ },
133
+
127
134
  inputFiles: [{
128
135
  storageFileId: {
129
136
  type: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.5.119",
3
+ "version": "1.5.121",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {