@kommerz/ts-client 1.173.1 → 1.174.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.
@@ -28,6 +28,12 @@ export interface InvoiceItemDto {
28
28
  * @memberof InvoiceItemDto
29
29
  */
30
30
  description?: string;
31
+ /**
32
+ * product the item was created from; the item stays editable independently of the product
33
+ * @type {string}
34
+ * @memberof InvoiceItemDto
35
+ */
36
+ productId?: string;
31
37
  /**
32
38
  * tax rate in percent
33
39
  * @type {number}
@@ -45,6 +45,7 @@ function InvoiceItemDtoFromJSONTyped(json, ignoreDiscriminator) {
45
45
  return {
46
46
  'name': json['name'],
47
47
  'description': json['description'] == null ? undefined : json['description'],
48
+ 'productId': json['productId'] == null ? undefined : json['productId'],
48
49
  'taxRate': json['taxRate'],
49
50
  'unit': (0, UnitDto_1.UnitDtoFromJSON)(json['unit']),
50
51
  'quantity': json['quantity'],
@@ -68,6 +69,7 @@ function InvoiceItemDtoToJSONTyped(value, ignoreDiscriminator) {
68
69
  return {
69
70
  'name': value['name'],
70
71
  'description': value['description'],
72
+ 'productId': value['productId'],
71
73
  'taxRate': value['taxRate'],
72
74
  'unit': (0, UnitDto_1.UnitDtoToJSON)(value['unit']),
73
75
  'quantity': value['quantity'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kommerz/ts-client",
3
- "version": "1.173.1",
3
+ "version": "1.174.1",
4
4
  "description": "Typescript client for Kommerz API",
5
5
  "author": "Kommerz.App",
6
6
  "license": "MIT",