@erp-galoper/types 1.0.1466 → 1.0.1468

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 +60 -17
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -25976,6 +25976,16 @@ export interface components {
25976
25976
  * @constant
25977
25977
  */
25978
25978
  ItemIncludeOption: "opening_stock";
25979
+ /**
25980
+ * ItemSortBy
25981
+ * @enum {string}
25982
+ */
25983
+ ItemSortBy: "name" | "shortName" | "skuCode" | "type" | "usage" | "active" | "dateCreated" | "dateModified" | "family" | "brand" | "categories" | "tags";
25984
+ /**
25985
+ * SortOrder
25986
+ * @enum {string}
25987
+ */
25988
+ SortOrder: "asc" | "desc";
25979
25989
  /**
25980
25990
  * viewType
25981
25991
  * @enum {string}
@@ -26252,7 +26262,11 @@ export interface components {
26252
26262
  tags: components["schemas"]["TagSchema"][];
26253
26263
  family?: components["schemas"]["FamilySchema"] | null;
26254
26264
  brand: components["schemas"]["BrandSchema"] | null;
26255
- category?: components["schemas"]["CategorySchema"] | null;
26265
+ /**
26266
+ * Categories
26267
+ * @default []
26268
+ */
26269
+ categories: components["schemas"]["CategorySchema"][];
26256
26270
  /**
26257
26271
  * Specs
26258
26272
  * @default []
@@ -26497,7 +26511,11 @@ export interface components {
26497
26511
  tags: components["schemas"]["TagSchema"][];
26498
26512
  family?: components["schemas"]["FamilySchema"] | null;
26499
26513
  brand: components["schemas"]["BrandSchema"] | null;
26500
- category?: components["schemas"]["CategorySchema"] | null;
26514
+ /**
26515
+ * Categories
26516
+ * @default []
26517
+ */
26518
+ categories: components["schemas"]["CategorySchema"][];
26501
26519
  /**
26502
26520
  * Specs
26503
26521
  * @default []
@@ -27049,10 +27067,10 @@ export interface components {
27049
27067
  /** Brand */
27050
27068
  brand?: number | null;
27051
27069
  /**
27052
- * Category
27053
- * @description - category must be a leaf node (cannot have child categories)
27070
+ * Categories
27071
+ * @default []
27054
27072
  */
27055
- category?: number | null;
27073
+ categories: number[];
27056
27074
  /**
27057
27075
  * Specs
27058
27076
  * @default []
@@ -27283,10 +27301,11 @@ export interface components {
27283
27301
  /** Brand */
27284
27302
  brand?: number | null;
27285
27303
  /**
27286
- * Category
27287
- * @description - category must be a leaf node (cannot have child categories)
27304
+ * Categories
27305
+ * @description get categories from api/v1/inventory/categories/?type=item
27306
+ * @default []
27288
27307
  */
27289
- category?: number | null;
27308
+ categories: number[];
27290
27309
  /**
27291
27310
  * Specs
27292
27311
  * @default []
@@ -27639,10 +27658,11 @@ export interface components {
27639
27658
  /** Brand */
27640
27659
  brand?: number | null;
27641
27660
  /**
27642
- * Category
27643
- * @description - category must be a leaf node (cannot have child categories)
27661
+ * Categories
27662
+ * @description get categories from api/v1/inventory/categories/?type=item
27663
+ * @default []
27644
27664
  */
27645
- category?: number | null;
27665
+ categories: number[];
27646
27666
  /**
27647
27667
  * Specs
27648
27668
  * @default []
@@ -30842,7 +30862,11 @@ export interface components {
30842
30862
  skuCode?: string | null;
30843
30863
  family?: components["schemas"]["CommonFamilySchema"] | null;
30844
30864
  brand?: components["schemas"]["CommonBrandSchema"] | null;
30845
- category?: components["schemas"]["CommonCategorySchema"] | null;
30865
+ /**
30866
+ * Categories
30867
+ * @default []
30868
+ */
30869
+ categories: components["schemas"]["CommonCategorySchema"][];
30846
30870
  /** Returnableitem */
30847
30871
  returnableItem: boolean;
30848
30872
  trackInventoryBy: components["schemas"]["TrackInventoryBy"] | null;
@@ -43240,7 +43264,11 @@ export interface components {
43240
43264
  skuCode?: string | null;
43241
43265
  family?: components["schemas"]["CommonFamilySchema"] | null;
43242
43266
  brand?: components["schemas"]["CommonBrandSchema"] | null;
43243
- category?: components["schemas"]["CommonCategorySchema"] | null;
43267
+ /**
43268
+ * Categories
43269
+ * @default []
43270
+ */
43271
+ categories: components["schemas"]["CommonCategorySchema"][];
43244
43272
  /**
43245
43273
  * Isinventorytracked
43246
43274
  * @default false
@@ -54798,7 +54826,11 @@ export interface components {
54798
54826
  skuCode?: string | null;
54799
54827
  family?: components["schemas"]["CommonFamilySchema"] | null;
54800
54828
  brand?: components["schemas"]["CommonBrandSchema"] | null;
54801
- category?: components["schemas"]["CommonCategorySchema"] | null;
54829
+ /**
54830
+ * Categories
54831
+ * @default []
54832
+ */
54833
+ categories: components["schemas"]["CommonCategorySchema"][];
54802
54834
  /** Tags */
54803
54835
  tags?: components["schemas"]["TagSchema"][] | null;
54804
54836
  /**
@@ -54944,8 +54976,11 @@ export interface components {
54944
54976
  description?: string | null;
54945
54977
  /** Name */
54946
54978
  name: string;
54947
- /** Category */
54948
- category?: string | null;
54979
+ /**
54980
+ * Categories
54981
+ * @default []
54982
+ */
54983
+ categories: components["schemas"]["CommonCategorySchema"][];
54949
54984
  /** Family */
54950
54985
  family?: string | null;
54951
54986
  /** Brand */
@@ -55497,7 +55532,11 @@ export interface components {
55497
55532
  */
55498
55533
  SalesByItemSchema: {
55499
55534
  item: components["schemas"]["ItemSummarySchema"];
55500
- category?: components["schemas"]["CategorySummarySchema"] | null;
55535
+ /**
55536
+ * Categories
55537
+ * @default []
55538
+ */
55539
+ categories: components["schemas"]["CategorySummarySchema"][];
55501
55540
  brand?: components["schemas"]["BrandSummarySchema"] | null;
55502
55541
  family?: components["schemas"]["FamilySummarySchema"] | null;
55503
55542
  /** Quantitysold */
@@ -59473,6 +59512,10 @@ export interface operations {
59473
59512
  supplierId?: number;
59474
59513
  /** @description required when you want to get items sales prices from sales price list in sales features */
59475
59514
  customerId?: number;
59515
+ /** @description Field to sort items by */
59516
+ sortBy?: "name" | "shortName" | "skuCode" | "type" | "usage" | "active" | "dateCreated" | "dateModified" | "family" | "brand" | "categories" | "tags";
59517
+ /** @description Sort order: ascending or descending */
59518
+ order?: "asc" | "desc";
59476
59519
  };
59477
59520
  header?: never;
59478
59521
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1466",
3
+ "version": "1.0.1468",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],