@erp-galoper/types 1.0.172 → 1.0.174

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.
Files changed (2) hide show
  1. package/openapi.ts +37 -7
  2. 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
- /** Category */
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
- /** Category */
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
- /** Parentid */
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
- /** Parentid */
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 51d67b66-63a5-48ba-a103-2090f17de865
26565
+ * @example 44d38b5d-e81a-4010-97d9-112fec579808
26549
26566
  */
26550
26567
  id: string;
26551
26568
  /**
@@ -34390,7 +34407,12 @@ export interface components {
34390
34407
  minOrderValue?: number;
34391
34408
  /**
34392
34409
  * Currency
34393
- * @description currency id, required when promotion type in [orderValue, fixed_amount], should be company currency of usd currency if company is LB and multicurrency is on
34410
+ * @description
34411
+ * currency id,
34412
+ * visible and required when promotion type in [orderValue, fixed_amount],
34413
+ * if multi currency on currency should be company currency or secondary currency if exist, otherwise(multicurrency off) should be company currency
34414
+ *
34415
+ *
34394
34416
  */
34395
34417
  currency?: number;
34396
34418
  /** @description required and visible when promotion type is buyOneGetOne */
@@ -34532,7 +34554,12 @@ export interface components {
34532
34554
  minOrderValue?: number;
34533
34555
  /**
34534
34556
  * Currency
34535
- * @description currency id, required when promotion type in [orderValue, fixed_amount], should be company currency of usd currency if company is LB and multicurrency is on
34557
+ * @description
34558
+ * currency id,
34559
+ * visible and required when promotion type in [orderValue, fixed_amount],
34560
+ * if multi currency on currency should be company currency or secondary currency if exist, otherwise(multicurrency off) should be company currency
34561
+ *
34562
+ *
34536
34563
  */
34537
34564
  currency?: number;
34538
34565
  /** @description required and visible when promotion type is buyOneGetOne */
@@ -48697,6 +48724,9 @@ export interface operations {
48697
48724
  page?: number;
48698
48725
  /** @description Page size */
48699
48726
  pageSize?: number;
48727
+ type?: "default" | "item" | "category";
48728
+ /** @description required when type = category and you are editing category */
48729
+ id?: number;
48700
48730
  };
48701
48731
  header?: never;
48702
48732
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.172",
3
+ "version": "1.0.174",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],