starta.apiclient 1.112.12625 → 1.112.12635

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.
@@ -9,7 +9,7 @@ export default class ProductOperations {
9
9
  from?: string;
10
10
  to?: string;
11
11
  };
12
- operationType?: Array<'writeOff' | 'receiving' | 'sell' | 'reconciliation'>;
12
+ operationTypes?: Array<'writeOff' | 'receiving' | 'sell' | 'reconciliation'>;
13
13
  warehouseIds?: Array<string>;
14
14
  paymentStatuses?: Array<'paid' | 'partially_paid' | 'unpaid'>;
15
15
  statuses?: Array<'planned' | 'finished' | 'cancelled'>;
package/lib/types.d.ts CHANGED
@@ -256,12 +256,14 @@ export type Techcard = {
256
256
  fileIds?: Array<string>;
257
257
  } & ({
258
258
  type: 'service';
259
- autoAttach?: boolean;
260
- serviceIds?: Array<string>;
261
- customerIds?: Array<string>;
262
- executors?: Array<string>;
263
- customPrice?: number;
264
- customDuration?: number;
259
+ serviceData: {
260
+ autoAttach?: boolean;
261
+ serviceIds?: Array<string>;
262
+ customerIds?: Array<string>;
263
+ executors?: Array<string>;
264
+ customPrice?: number;
265
+ customDuration?: number;
266
+ };
265
267
  } | {
266
268
  type: 'product';
267
269
  productData: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starta.apiclient",
3
- "version": "1.112.12625",
3
+ "version": "1.112.12635",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Wrapper for starta.one api",
6
6
  "author": "Collaboracia OÜ",