@merchi/sdk 1.42.2 → 1.42.4

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.
@@ -120,6 +120,10 @@ var CartItem = /** @class */ (function (_super) {
120
120
  CartItem.property({ arrayType: 'Draft' }),
121
121
  __metadata("design:type", Array)
122
122
  ], CartItem.prototype, "ownDrafts", void 0);
123
+ __decorate([
124
+ CartItem.property({ arrayType: 'MerchiFile' }),
125
+ __metadata("design:type", Array)
126
+ ], CartItem.prototype, "clientFiles", void 0);
123
127
  return CartItem;
124
128
  }(Entity));
125
129
  export { CartItem };
@@ -130,6 +130,18 @@ var Job = /** @class */ (function (_super) {
130
130
  Job.property({ type: Number }),
131
131
  __metadata("design:type", Object)
132
132
  ], Job.prototype, "productionStatus", void 0);
133
+ __decorate([
134
+ Job.property(),
135
+ __metadata("design:type", Object)
136
+ ], Job.prototype, "productionQuotingSpec", void 0);
137
+ __decorate([
138
+ Job.property(),
139
+ __metadata("design:type", Boolean)
140
+ ], Job.prototype, "productionSpecChanged", void 0);
141
+ __decorate([
142
+ Job.property(),
143
+ __metadata("design:type", Boolean)
144
+ ], Job.prototype, "productionQuotingReopened", void 0);
133
145
  __decorate([
134
146
  Job.property({ type: Number }),
135
147
  __metadata("design:type", Object)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@merchi/sdk",
3
- "version": "1.42.2",
3
+ "version": "1.42.4",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "repository": {
@@ -7,6 +7,7 @@ import { Variation } from './variation.js';
7
7
  import { VariationsGroup } from './variations_group.js';
8
8
  import { DomainTag } from './domain_tag.js';
9
9
  import { Draft } from './draft.js';
10
+ import { MerchiFile } from './file.js';
10
11
 
11
12
  export class CartItem extends Entity {
12
13
  protected static resourceName = 'cart_items';
@@ -61,6 +62,9 @@ export class CartItem extends Entity {
61
62
  @CartItem.property({arrayType: 'Draft'})
62
63
  public ownDrafts?: Draft[];
63
64
 
65
+ @CartItem.property({arrayType: 'MerchiFile'})
66
+ public clientFiles?: MerchiFile[];
67
+
64
68
  public requiresShipment = () => {
65
69
  if (this.product === undefined) {
66
70
  throw 'product is undefined, did you forget to embed it?';
@@ -66,6 +66,15 @@ export class Job extends Entity {
66
66
  @Job.property({type: Number})
67
67
  public productionStatus?: number | null;
68
68
 
69
+ @Job.property()
70
+ public productionQuotingSpec?: string | null;
71
+
72
+ @Job.property()
73
+ public productionSpecChanged?: boolean;
74
+
75
+ @Job.property()
76
+ public productionQuotingReopened?: boolean;
77
+
69
78
  @Job.property({type: Number})
70
79
  public designStatus?: number | null;
71
80