merchi_sdk_ts 1.0.63 → 1.0.64

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.
@@ -36,6 +36,7 @@ var __values = (this && this.__values) || function(o) {
36
36
  import { Entity } from '../entity.js';
37
37
  import { Job } from './job.js';
38
38
  import { User } from './user.js';
39
+ import { DraftTemplate } from './draft_template.js';
39
40
  var Draft = /** @class */ (function (_super) {
40
41
  __extends(Draft, _super);
41
42
  function Draft() {
@@ -118,6 +119,10 @@ var Draft = /** @class */ (function (_super) {
118
119
  Draft.property({ arrayType: 'DraftComment' }),
119
120
  __metadata("design:type", Array)
120
121
  ], Draft.prototype, "comments", void 0);
122
+ __decorate([
123
+ Draft.property({ type: 'DraftTemplate' }),
124
+ __metadata("design:type", DraftTemplate)
125
+ ], Draft.prototype, "draftTemplate", void 0);
121
126
  __decorate([
122
127
  Draft.property(),
123
128
  __metadata("design:type", Number)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_ts",
3
- "version": "1.0.63",
3
+ "version": "1.0.64",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:merchisdk/merchi_sdk_ts.git",
@@ -4,6 +4,7 @@ import { MerchiFile } from './file.js';
4
4
  import { Job } from './job.js';
5
5
  import { Notification } from './notification.js';
6
6
  import { User } from './user.js';
7
+ import { DraftTemplate } from './draft_template.js';
7
8
 
8
9
  export class Draft extends Entity {
9
10
  protected static resourceName = 'drafts';
@@ -37,6 +38,9 @@ export class Draft extends Entity {
37
38
  @Draft.property({arrayType: 'DraftComment'})
38
39
  public comments?: DraftComment[];
39
40
 
41
+ @Draft.property({type: 'DraftTemplate'})
42
+ public draftTemplate?: DraftTemplate;
43
+
40
44
  @Draft.property()
41
45
  public commentsCount?: number;
42
46