starta.apiclient 1.112.12619 → 1.112.12622

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.
Files changed (2) hide show
  1. package/lib/types.d.ts +5 -2
  2. package/package.json +1 -1
package/lib/types.d.ts CHANGED
@@ -263,8 +263,11 @@ export type Techcard = {
263
263
  type: 'service';
264
264
  } | {
265
265
  type: 'product';
266
- calculationMethod: 'fixedAmount' | 'proportional';
267
- numberToPrepare?: number;
266
+ productData: {
267
+ productToPrepareId?: string;
268
+ calculationMethod: 'fixedAmount' | 'proportional';
269
+ numberToPrepare?: number;
270
+ };
268
271
  });
269
272
  export type TechcardType = 'service' | 'product';
270
273
  export type TechcardSteps = Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starta.apiclient",
3
- "version": "1.112.12619",
3
+ "version": "1.112.12622",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Wrapper for starta.one api",
6
6
  "author": "Collaboracia OÜ",