@erp-galoper/types 1.0.1609 → 1.0.1611

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 +20 -11
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -26327,6 +26327,14 @@ export interface components {
26327
26327
  * @default false
26328
26328
  */
26329
26329
  canDelete: boolean;
26330
+ /**
26331
+ * Canconverttotemplate
26332
+ * @description - Indicates whether the item supports adding variants.
26333
+ * - True for existing templates (tracking_stock_by_variant=True) and standalone items with no blocking transactional records.
26334
+ * - False for variant items (children) and standalones tied to transactions.
26335
+ * @default false
26336
+ */
26337
+ canConvertToTemplate: boolean;
26330
26338
  };
26331
26339
  /**
26332
26340
  * ItemType
@@ -26576,6 +26584,14 @@ export interface components {
26576
26584
  * @default false
26577
26585
  */
26578
26586
  canDelete: boolean;
26587
+ /**
26588
+ * Canconverttotemplate
26589
+ * @description - Indicates whether the item supports adding variants.
26590
+ * - True for existing templates (tracking_stock_by_variant=True) and standalone items with no blocking transactional records.
26591
+ * - False for variant items (children) and standalones tied to transactions.
26592
+ * @default false
26593
+ */
26594
+ canConvertToTemplate: boolean;
26579
26595
  /**
26580
26596
  * Children
26581
26597
  * @default []
@@ -45963,13 +45979,10 @@ export interface components {
45963
45979
  /**
45964
45980
  * Item
45965
45981
  * @description ID of the item to which the pricing is applied
45966
- * get items from /api/v1/inventory/items :
45967
- * filter by :
45968
- * - viewType equal to flat, role not equal to template
45969
- * * if price list type not equal to retail:
45970
- * - if pricing method is profit filter by costStrategy one of [fifo,lifo, wac ]
45971
- * - if pricing method is manual filter by costStrategy = marketCost
45972
- * - item can be filtered by: name, barcode, sku code or short name
45982
+ * get items from /api/v1/inventory/items :
45983
+ * filter by :
45984
+ * - viewType equal to flat, role not equal to template
45985
+ * - item can be filtered by: name, barcode, sku code or short name
45973
45986
  */
45974
45987
  item: number;
45975
45988
  /**
@@ -46093,10 +46106,6 @@ export interface components {
46093
46106
  * @description - End date until which the price list is valid. Leave blank if the price list does not have an expiration date.- visible when price list type not equal to retail
46094
46107
  */
46095
46108
  endDate?: string;
46096
- /**
46097
- * @description Pricing method applied to the item. If the cost strategy of the item is 'fifo', 'lifo', 'wac', the pricing method should be 'profit'
46098
- * - If the cost strategy is 'marketcost', the pricing method should be 'manual'.
46099
- */
46100
46109
  pricingMethod: components["schemas"]["PRICING_METHOD_CHOICES"];
46101
46110
  /** @description Pricing type: 'fixed' or 'range'. If 'fixed' and the pricing method is 'manual', the item will have a unit price. If 'range' and the pricing method is 'manual', the item will have both a minimum and maximum price. If 'fixed' and the pricing method is 'profit', the item will have a profit percentage. If 'range' and the pricing method is 'profit', the item will have both a minimum and maximum profit percentage. */
46102
46111
  pricingType: components["schemas"]["PRICING_TYPE_CHOICES"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1609",
3
+ "version": "1.0.1611",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],