@merchi/sdk 1.42.2 → 1.42.3

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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@merchi/sdk",
3
- "version": "1.42.2",
3
+ "version": "1.42.3",
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?';