@mivis/petmart-api 1.2.22 → 1.2.24
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 +21 -0
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -312,6 +312,26 @@ declare namespace Components {
|
|
|
312
312
|
updatedAt: Date;
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
+
export interface ICategoryQueryRequest {
|
|
316
|
+
name?: string;
|
|
317
|
+
parsed: string;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export interface IParsedCategory {
|
|
321
|
+
value: string;
|
|
322
|
+
title: string;
|
|
323
|
+
type: string;
|
|
324
|
+
children: IParsedSubCategory[];
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export interface IParsedSubCategory {
|
|
328
|
+
value: string;
|
|
329
|
+
title: string;
|
|
330
|
+
type: string;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export type ICategoryQueryResponse = ICategory[] | IParsedCategory[];
|
|
334
|
+
|
|
315
335
|
export interface ICreateCategory {
|
|
316
336
|
name: string;
|
|
317
337
|
photo?: File;
|
|
@@ -400,6 +420,7 @@ declare namespace Components {
|
|
|
400
420
|
name: string;
|
|
401
421
|
tel: number;
|
|
402
422
|
INN: number;
|
|
423
|
+
shop_name: string;
|
|
403
424
|
}
|
|
404
425
|
|
|
405
426
|
export interface ICreateSeller {
|