@erp-galoper/types 1.0.171 → 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 +33 -7
- 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
|
/**
|
|
@@ -34309,7 +34326,10 @@ export interface components {
|
|
|
34309
34326
|
appliesTo: components["schemas"]["AppliesToSchema"];
|
|
34310
34327
|
/**
|
|
34311
34328
|
* Customers
|
|
34312
|
-
* @description
|
|
34329
|
+
* @description
|
|
34330
|
+
* always visible, use route api/v1//customers/?type=children and filter by isActive equals to true
|
|
34331
|
+
* in case appliesTo = customer and customers list is empty, the promotion will be applied to all customers
|
|
34332
|
+
*
|
|
34313
34333
|
* @default []
|
|
34314
34334
|
*/
|
|
34315
34335
|
customers: number[];
|
|
@@ -34582,7 +34602,10 @@ export interface components {
|
|
|
34582
34602
|
appliesTo: components["schemas"]["AppliesToSchema"];
|
|
34583
34603
|
/**
|
|
34584
34604
|
* Customers
|
|
34585
|
-
* @description
|
|
34605
|
+
* @description
|
|
34606
|
+
* always visible, use route api/v1//customers/?type=children and filter by isActive equals to true
|
|
34607
|
+
* in case appliesTo = customer and customers list is empty, the promotion will be applied to all customers
|
|
34608
|
+
*
|
|
34586
34609
|
* @default []
|
|
34587
34610
|
*/
|
|
34588
34611
|
customers: number[];
|
|
@@ -48691,6 +48714,9 @@ export interface operations {
|
|
|
48691
48714
|
page?: number;
|
|
48692
48715
|
/** @description Page size */
|
|
48693
48716
|
pageSize?: number;
|
|
48717
|
+
type?: "default" | "item" | "category";
|
|
48718
|
+
/** @description required when type = category and you are editing category */
|
|
48719
|
+
id?: number;
|
|
48694
48720
|
};
|
|
48695
48721
|
header?: never;
|
|
48696
48722
|
path?: never;
|