@mivis/petmart-api 1.2.108 → 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 +11 -10
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -215,11 +215,8 @@ declare namespace Components {
|
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
export enum EUnit {
|
|
218
|
-
T = 'TON',
|
|
219
218
|
KG = 'KG',
|
|
220
219
|
GR = 'GR',
|
|
221
|
-
L = 'LITER',
|
|
222
|
-
ML = 'MILLILITER',
|
|
223
220
|
}
|
|
224
221
|
|
|
225
222
|
export interface IDimension {
|
|
@@ -420,13 +417,13 @@ declare namespace Components {
|
|
|
420
417
|
|
|
421
418
|
export type ICategoryQueryResponse = ICategory[] | IParsedCategory[];
|
|
422
419
|
|
|
423
|
-
export interface
|
|
420
|
+
export interface ICreateCategoryRequest {
|
|
424
421
|
name: string;
|
|
425
|
-
photo
|
|
426
|
-
subCategory?: string;
|
|
422
|
+
photo: File;
|
|
427
423
|
}
|
|
428
424
|
|
|
429
|
-
export interface
|
|
425
|
+
export interface IUpdateCategoryRequest
|
|
426
|
+
extends Partial<ICreateCategoryRequest> {
|
|
430
427
|
id: string;
|
|
431
428
|
}
|
|
432
429
|
|
|
@@ -448,15 +445,15 @@ declare namespace Components {
|
|
|
448
445
|
productsCount: number;
|
|
449
446
|
}
|
|
450
447
|
|
|
451
|
-
export interface
|
|
448
|
+
export interface ICreateSubCategoryRequest {
|
|
452
449
|
name: string;
|
|
453
450
|
category_id: string;
|
|
454
451
|
}
|
|
455
452
|
|
|
456
|
-
export interface
|
|
453
|
+
export interface IUpdateSubCategoryRequest {
|
|
457
454
|
id: string;
|
|
458
455
|
name: string;
|
|
459
|
-
|
|
456
|
+
category_id: string;
|
|
460
457
|
}
|
|
461
458
|
|
|
462
459
|
export enum ESubCategoryStatus {
|
|
@@ -1169,5 +1166,9 @@ declare namespace Components {
|
|
|
1169
1166
|
type: ESellerTransactionsType;
|
|
1170
1167
|
sum: number;
|
|
1171
1168
|
}
|
|
1169
|
+
|
|
1170
|
+
export interface IAdminAddCustomRefundTransactionRequest {
|
|
1171
|
+
custom_sum: number;
|
|
1172
|
+
}
|
|
1172
1173
|
}
|
|
1173
1174
|
}
|