@erp-galoper/types 1.0.172 → 1.0.173
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/openapi.ts +25 -5
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -21199,7 +21199,10 @@ export interface components {
|
|
|
21199
21199
|
family?: number | null;
|
|
21200
21200
|
/** Brand */
|
|
21201
21201
|
brand?: number | null;
|
|
21202
|
-
/**
|
|
21202
|
+
/**
|
|
21203
|
+
* Category
|
|
21204
|
+
* @description get categories from api/v1/inventory/categories/?type=item
|
|
21205
|
+
*/
|
|
21203
21206
|
category?: number | null;
|
|
21204
21207
|
/**
|
|
21205
21208
|
* Specs
|
|
@@ -21437,7 +21440,10 @@ export interface components {
|
|
|
21437
21440
|
family?: number | null;
|
|
21438
21441
|
/** Brand */
|
|
21439
21442
|
brand?: number | null;
|
|
21440
|
-
/**
|
|
21443
|
+
/**
|
|
21444
|
+
* Category
|
|
21445
|
+
* @description get categories from api/v1/inventory/categories/?type=item
|
|
21446
|
+
*/
|
|
21441
21447
|
category?: number | null;
|
|
21442
21448
|
/**
|
|
21443
21449
|
* Specs
|
|
@@ -23042,9 +23048,17 @@ export interface components {
|
|
|
23042
23048
|
image?: string | null;
|
|
23043
23049
|
/** Issubcategory */
|
|
23044
23050
|
isSubCategory: boolean;
|
|
23045
|
-
/**
|
|
23051
|
+
/**
|
|
23052
|
+
* Parentid
|
|
23053
|
+
* @description to get parents use route /api/v1/inventory/categories/?type=category
|
|
23054
|
+
*/
|
|
23046
23055
|
parentId?: number | null;
|
|
23047
23056
|
};
|
|
23057
|
+
/**
|
|
23058
|
+
* CategoryFeaturesType
|
|
23059
|
+
* @enum {string}
|
|
23060
|
+
*/
|
|
23061
|
+
CategoryFeaturesType: "default" | "item" | "category";
|
|
23048
23062
|
/** ListCategories */
|
|
23049
23063
|
ListCategories: {
|
|
23050
23064
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -23077,7 +23091,10 @@ export interface components {
|
|
|
23077
23091
|
image?: string | null;
|
|
23078
23092
|
/** Issubcategory */
|
|
23079
23093
|
isSubCategory?: boolean | null;
|
|
23080
|
-
/**
|
|
23094
|
+
/**
|
|
23095
|
+
* Parentid
|
|
23096
|
+
* @description to get parents use route /api/v1/inventory/categories/?type=category&id={category-id}
|
|
23097
|
+
*/
|
|
23081
23098
|
parentId?: number | null;
|
|
23082
23099
|
};
|
|
23083
23100
|
/** CategoryDetails */
|
|
@@ -26545,7 +26562,7 @@ export interface components {
|
|
|
26545
26562
|
/**
|
|
26546
26563
|
* Id
|
|
26547
26564
|
* Format: uuid
|
|
26548
|
-
* @example
|
|
26565
|
+
* @example 568b86c0-1987-4b91-91ca-28deceacd3de
|
|
26549
26566
|
*/
|
|
26550
26567
|
id: string;
|
|
26551
26568
|
/**
|
|
@@ -48697,6 +48714,9 @@ export interface operations {
|
|
|
48697
48714
|
page?: number;
|
|
48698
48715
|
/** @description Page size */
|
|
48699
48716
|
pageSize?: number;
|
|
48717
|
+
type?: "default" | "item" | "category";
|
|
48718
|
+
/** @description required when type = category and you are editing category */
|
|
48719
|
+
id?: number;
|
|
48700
48720
|
};
|
|
48701
48721
|
header?: never;
|
|
48702
48722
|
path?: never;
|