starta.apiclient 1.112.10539 → 1.112.10552

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.
@@ -6,7 +6,7 @@ export default class PnLPlans {
6
6
  from: string;
7
7
  to: string;
8
8
  name: string;
9
- basedOn: {
9
+ basedOn?: {
10
10
  from: string;
11
11
  to: string;
12
12
  };
@@ -16,7 +16,7 @@ export default class PnLPlans {
16
16
  from: string;
17
17
  to: string;
18
18
  name: string;
19
- basedOn: {
19
+ basedOn?: {
20
20
  from: string;
21
21
  to: string;
22
22
  };
package/lib/types.d.ts CHANGED
@@ -288,7 +288,7 @@ export declare type OrderUsedMaterials = Array<{
288
288
  }>;
289
289
  }>;
290
290
  export declare type CriteriaCondition = {
291
- what: 'turnover' | 'profit' | 'quantity';
291
+ what: 'turnover' | 'profit' | 'quantity' | 'operatingMargin';
292
292
  forWhat: 'all' | 'services' | 'products';
293
293
  forWho: 'employee' | 'branches';
294
294
  moreThan: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starta.apiclient",
3
- "version": "1.112.10539",
3
+ "version": "1.112.10552",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Wrapper for starta.one api",
6
6
  "author": "Collaboracia OÜ",