@mivis/petmart-api 1.2.166 → 1.2.168
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/package.json +1 -1
- package/type.d.ts +13 -2
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -340,6 +340,15 @@ declare namespace Components {
|
|
|
340
340
|
updatedAt: Date;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
+
type OptionalDimension = {
|
|
344
|
+
width?: number;
|
|
345
|
+
height?: number;
|
|
346
|
+
length?: number;
|
|
347
|
+
weight?: number;
|
|
348
|
+
in_stock: number;
|
|
349
|
+
unit?: EUnit;
|
|
350
|
+
};
|
|
351
|
+
|
|
343
352
|
type TOptionalProperties = Pick<
|
|
344
353
|
IProductResponse,
|
|
345
354
|
| 'category_id'
|
|
@@ -347,10 +356,12 @@ declare namespace Components {
|
|
|
347
356
|
| 'vendor_code'
|
|
348
357
|
| 'desc'
|
|
349
358
|
| 'characteristic'
|
|
350
|
-
| 'dimension'
|
|
351
359
|
| 'tax'
|
|
352
360
|
| 'photo'
|
|
353
|
-
|
|
361
|
+
| 'price'
|
|
362
|
+
> & {
|
|
363
|
+
dimension?: OptionalDimension;
|
|
364
|
+
};
|
|
354
365
|
|
|
355
366
|
type TRemainingProductResponseProperties = Omit<
|
|
356
367
|
IProductResponse,
|