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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
290
|
+
files?: [
|
|
291
|
+
{
|
|
292
|
+
id: string;
|
|
293
|
+
}
|
|
294
|
+
];
|
|
289
295
|
}>;
|
|
290
296
|
export type ProductAvailability = 'inStock' | 'outOfStock' | 'lowStock';
|
|
291
297
|
export type OrderData = {
|