merchi_sdk_ts 1.10.0 → 1.10.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.
@@ -62,15 +62,15 @@ var JobNote = /** @class */ (function (_super) {
62
62
  __metadata("design:type", Array)
63
63
  ], JobNote.prototype, "files", void 0);
64
64
  __decorate([
65
- JobNote.property({ type: "Job" }),
65
+ JobNote.property({ type: 'Job' }),
66
66
  __metadata("design:type", Job)
67
67
  ], JobNote.prototype, "job", void 0);
68
68
  __decorate([
69
- JobNote.property({ type: "User" }),
69
+ JobNote.property({ type: 'User' }),
70
70
  __metadata("design:type", User)
71
71
  ], JobNote.prototype, "createdBy", void 0);
72
72
  __decorate([
73
- JobNote.property({ type: "User" }),
73
+ JobNote.property({ type: 'User' }),
74
74
  __metadata("design:type", User)
75
75
  ], JobNote.prototype, "lastEditedBy", void 0);
76
76
  return JobNote;
@@ -58,6 +58,10 @@ var Notification = /** @class */ (function (_super) {
58
58
  Notification.property(),
59
59
  __metadata("design:type", Date)
60
60
  ], Notification.prototype, "date", void 0);
61
+ __decorate([
62
+ Notification.property({ type: Date }),
63
+ __metadata("design:type", Object)
64
+ ], Notification.prototype, "emailOpenedAt", void 0);
61
65
  __decorate([
62
66
  Notification.property(),
63
67
  __metadata("design:type", Boolean)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_ts",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:merchisdk/merchi_sdk_ts.git",
@@ -29,12 +29,12 @@ export class JobNote extends Entity {
29
29
  @JobNote.property({arrayType: 'MerchiFile'})
30
30
  public files?: MerchiFile[];
31
31
 
32
- @JobNote.property({type: "Job"})
32
+ @JobNote.property({type: 'Job'})
33
33
  public job?: Job;
34
34
 
35
- @JobNote.property({type: "User"})
35
+ @JobNote.property({type: 'User'})
36
36
  public createdBy?: User;
37
37
 
38
- @JobNote.property({type: "User"})
38
+ @JobNote.property({type: 'User'})
39
39
  public lastEditedBy?: User;
40
40
  }
@@ -29,6 +29,9 @@ export class Notification extends Entity {
29
29
  @Notification.property()
30
30
  public date?: Date;
31
31
 
32
+ @Notification.property({type: Date})
33
+ public emailOpenedAt?: Date | null;
34
+
32
35
  @Notification.property()
33
36
  public seen?: boolean;
34
37