@mivis/petmart-api 1.2.19 → 1.2.21

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 +8 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.19",
3
+ "version": "1.2.21",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -264,7 +264,10 @@ declare namespace Components {
264
264
 
265
265
  export interface ICreateProduct {
266
266
  name: string;
267
- status: EProductStatus.DRAFT | EProductStatus.PUBLISHED;
267
+ status:
268
+ | EProductStatus.DRAFT
269
+ | EProductStatus.PUBLISHED
270
+ | EProductStatus.REJECTED;
268
271
  seller_id: string;
269
272
  category_id: string;
270
273
  subCategory_id: string;
@@ -389,6 +392,10 @@ declare namespace Components {
389
392
  updatedAt: Date;
390
393
  }
391
394
 
395
+ export interface ISellerQueryRequest {
396
+ name?: string;
397
+ }
398
+
392
399
  export interface ICreateSellerRequest {
393
400
  name: string;
394
401
  tel: number;