@mivis/petmart-api 1.2.109 → 1.2.110
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 +7 -7
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -417,13 +417,13 @@ declare namespace Components {
|
|
|
417
417
|
|
|
418
418
|
export type ICategoryQueryResponse = ICategory[] | IParsedCategory[];
|
|
419
419
|
|
|
420
|
-
export interface
|
|
420
|
+
export interface ICreateCategoryRequest {
|
|
421
421
|
name: string;
|
|
422
|
-
photo
|
|
423
|
-
subCategory?: string;
|
|
422
|
+
photo: File;
|
|
424
423
|
}
|
|
425
424
|
|
|
426
|
-
export interface
|
|
425
|
+
export interface IUpdateCategoryRequest
|
|
426
|
+
extends Partial<ICreateCategoryRequest> {
|
|
427
427
|
id: string;
|
|
428
428
|
}
|
|
429
429
|
|
|
@@ -445,15 +445,15 @@ declare namespace Components {
|
|
|
445
445
|
productsCount: number;
|
|
446
446
|
}
|
|
447
447
|
|
|
448
|
-
export interface
|
|
448
|
+
export interface ICreateSubCategoryRequest {
|
|
449
449
|
name: string;
|
|
450
450
|
category_id: string;
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export interface
|
|
453
|
+
export interface IUpdateSubCategoryRequest {
|
|
454
454
|
id: string;
|
|
455
455
|
name: string;
|
|
456
|
-
|
|
456
|
+
category_id: string;
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
export enum ESubCategoryStatus {
|