starta.apiclient 1.112.12629 → 1.112.12643

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
@@ -253,7 +253,9 @@ export type Techcard = {
253
253
  name: string;
254
254
  isEnabled: boolean;
255
255
  steps?: TechcardSteps;
256
- fileIds?: Array<string>;
256
+ files?: Array<{
257
+ id: string;
258
+ }>;
257
259
  } & ({
258
260
  type: 'service';
259
261
  serviceData: {
@@ -285,7 +287,11 @@ export type TechcardSteps = Array<{
285
287
  type: 'comment';
286
288
  comment: string;
287
289
  }>;
288
- fileIds?: Array<string>;
290
+ files?: [
291
+ {
292
+ id: string;
293
+ }
294
+ ];
289
295
  }>;
290
296
  export type ProductAvailability = 'inStock' | 'outOfStock' | 'lowStock';
291
297
  export type OrderData = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starta.apiclient",
3
- "version": "1.112.12629",
3
+ "version": "1.112.12643",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Wrapper for starta.one api",
6
6
  "author": "Collaboracia OÜ",