merchi_sdk_ts 1.43.1 → 1.43.2

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.
@@ -213,6 +213,10 @@ var MerchiFile = /** @class */ (function (_super) {
213
213
  MerchiFile.property({ arrayType: 'ProductionComment' }),
214
214
  __metadata("design:type", Array)
215
215
  ], MerchiFile.prototype, "productionComments", void 0);
216
+ __decorate([
217
+ MerchiFile.property({ arrayType: 'Quote' }),
218
+ __metadata("design:type", Array)
219
+ ], MerchiFile.prototype, "quotes", void 0);
216
220
  return MerchiFile;
217
221
  }(Entity));
218
222
  export { MerchiFile };
@@ -155,6 +155,10 @@ var Quote = /** @class */ (function (_super) {
155
155
  Quote.property({ arrayType: 'QuoteItem' }),
156
156
  __metadata("design:type", Array)
157
157
  ], Quote.prototype, "quoteItems", void 0);
158
+ __decorate([
159
+ Quote.property({ arrayType: 'MerchiFile' }),
160
+ __metadata("design:type", Array)
161
+ ], Quote.prototype, "files", void 0);
158
162
  __decorate([
159
163
  Quote.property({ arrayType: 'Assignment' }),
160
164
  __metadata("design:type", Array)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_ts",
3
- "version": "1.43.1",
3
+ "version": "1.43.2",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:merchisdk/merchi_sdk_ts.git",
@@ -10,6 +10,7 @@ import { JobNote } from './job_note.js';
10
10
  import { Notification } from './notification.js';
11
11
  import { Product } from './product.js';
12
12
  import { ProductionComment } from './production_comment.js';
13
+ import { Quote } from './quote.js';
13
14
  import { Theme } from './theme.js';
14
15
  import { User } from './user.js';
15
16
  import { Variation } from './variation.js';
@@ -152,6 +153,9 @@ export class MerchiFile extends Entity {
152
153
  @MerchiFile.property({arrayType: 'ProductionComment'})
153
154
  public productionComments?: ProductionComment[];
154
155
 
156
+ @MerchiFile.property({arrayType: 'Quote'})
157
+ public quotes?: Quote[];
158
+
155
159
  public isImage = () => {
156
160
  if (this.mimetype === undefined) {
157
161
  const err = 'mimetype is undefined, did you forget to embed it?';
@@ -2,6 +2,7 @@ import { Assignment } from './assignment.js';
2
2
  import { QuoteItem } from './quote_item.js';
3
3
  import { Shipment } from './shipment.js';
4
4
  import { Invoice } from './invoice.js';
5
+ import { MerchiFile } from './file.js';
5
6
  import { Entity } from '../entity.js';
6
7
  import { kahanSum } from '../util/float.js';
7
8
 
@@ -32,6 +33,9 @@ export class Quote extends Entity {
32
33
  @Quote.property({arrayType: 'QuoteItem'})
33
34
  public quoteItems?: QuoteItem[];
34
35
 
36
+ @Quote.property({arrayType: 'MerchiFile'})
37
+ public files?: MerchiFile[];
38
+
35
39
  @Quote.property({arrayType: 'Assignment'})
36
40
  public assignments?: Assignment[];
37
41