@mivis/petmart-api 1.2.164 → 1.2.166

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/type.d.ts +9 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.164",
3
+ "version": "1.2.166",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -286,7 +286,7 @@ declare namespace Components {
286
286
  }
287
287
 
288
288
  export interface IProductQueryResponse {
289
- products: IProductResponse[];
289
+ products: IProductDraftResponse[];
290
290
  count: number;
291
291
  }
292
292
 
@@ -306,13 +306,13 @@ declare namespace Components {
306
306
  _id: string;
307
307
  name: string;
308
308
  status: EProductStatus;
309
- subCategory_id?: {
309
+ subCategory_id: {
310
310
  _id: string;
311
311
  name: string;
312
312
  category_id: string;
313
313
  slug: string;
314
314
  };
315
- category_id?: {
315
+ category_id: {
316
316
  _id: string;
317
317
  photo: string;
318
318
  name: string;
@@ -324,14 +324,14 @@ declare namespace Components {
324
324
  delivery_ways: IDeliveryWays;
325
325
  slug: string;
326
326
  };
327
- vendor_code?: string;
327
+ vendor_code: string;
328
328
  price: number;
329
329
  discount?: number;
330
- tax?: number;
331
- dimension?: IDimension;
332
- photo?: string[];
333
- desc?: string;
334
- characteristic?: ICharacteristic[];
330
+ tax: number;
331
+ dimension: IDimension;
332
+ photo: string[];
333
+ desc: string;
334
+ characteristic: ICharacteristic[];
335
335
  purchases_count: number;
336
336
  viewed?: number;
337
337
  number: number;