starta.apiclient 1.112.12622 → 1.112.12629
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.
- package/lib/types.d.ts +10 -6
- package/package.json +1 -1
package/lib/types.d.ts
CHANGED
|
@@ -252,15 +252,18 @@ export type ServiceExecutor = {
|
|
|
252
252
|
export type Techcard = {
|
|
253
253
|
name: string;
|
|
254
254
|
isEnabled: boolean;
|
|
255
|
-
autoAttach?: boolean;
|
|
256
|
-
serviceIds?: Array<string>;
|
|
257
|
-
customerIds?: Array<string>;
|
|
258
|
-
executors?: Array<string>;
|
|
259
255
|
steps?: TechcardSteps;
|
|
260
|
-
|
|
261
|
-
customDuration?: number;
|
|
256
|
+
fileIds?: Array<string>;
|
|
262
257
|
} & ({
|
|
263
258
|
type: 'service';
|
|
259
|
+
serviceData: {
|
|
260
|
+
autoAttach?: boolean;
|
|
261
|
+
serviceIds?: Array<string>;
|
|
262
|
+
customerIds?: Array<string>;
|
|
263
|
+
executors?: Array<string>;
|
|
264
|
+
customPrice?: number;
|
|
265
|
+
customDuration?: number;
|
|
266
|
+
};
|
|
264
267
|
} | {
|
|
265
268
|
type: 'product';
|
|
266
269
|
productData: {
|
|
@@ -282,6 +285,7 @@ export type TechcardSteps = Array<{
|
|
|
282
285
|
type: 'comment';
|
|
283
286
|
comment: string;
|
|
284
287
|
}>;
|
|
288
|
+
fileIds?: Array<string>;
|
|
285
289
|
}>;
|
|
286
290
|
export type ProductAvailability = 'inStock' | 'outOfStock' | 'lowStock';
|
|
287
291
|
export type OrderData = {
|