@erp-galoper/types 1.0.462 → 1.0.463

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 +17 -5
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -26817,7 +26817,7 @@ export interface components {
26817
26817
  /**
26818
26818
  * Id
26819
26819
  * Format: uuid
26820
- * @example 6ce16c77-6fe0-41f7-a6d5-eb632918d247
26820
+ * @example 6baa990e-5169-4c8d-98ee-156404223a88
26821
26821
  */
26822
26822
  id: string;
26823
26823
  /**
@@ -38233,8 +38233,10 @@ export interface components {
38233
38233
  /**
38234
38234
  * Unitofmeasure
38235
38235
  * @description "
38236
- * - This field is required when the item is selected.
38237
- * - This field is the unit of measure selected from the item's options.
38236
+ * - case where only item selected:
38237
+ * - get data from api/v1/inventory/items/{item-id}/ field unitOfMeasures, get default value from field defaultSalesUnitOfMeasure if applicable
38238
+ * - case where item package selected:
38239
+ * - input should be disabled, get unit of measure from itemPackage
38238
38240
  *
38239
38241
  */
38240
38242
  unitOfMeasure?: number;
@@ -40413,7 +40415,12 @@ export interface components {
40413
40415
  promotionsAndOffers: string[];
40414
40416
  /**
40415
40417
  * Unitofmeasure
40416
- * @description Select from the item's unit of measure if item
40418
+ * @description
40419
+ * - case where only item selected:
40420
+ * - get data from api/v1/inventory/items/{item-id}/ field unitOfMeasures, get default value from field defaultSalesUnitOfMeasure if applicable
40421
+ * - case where item package selected:
40422
+ * - input should be disabled, get unit of measure from itemPackage
40423
+ *
40417
40424
  */
40418
40425
  unitOfMeasure?: number;
40419
40426
  /**
@@ -42072,7 +42079,12 @@ export interface components {
42072
42079
  promotionsAndOffers: string[];
42073
42080
  /**
42074
42081
  * Unitofmeasure
42075
- * @description Select from the item's unit of measure if item
42082
+ * @description
42083
+ * - case where only item selected:
42084
+ * - get data from api/v1/inventory/items/{item-id}/ field unitOfMeasures, get default value from field defaultSalesUnitOfMeasure if applicable
42085
+ * - case where item package selected:
42086
+ * - input should be disabled, get unit of measure from itemPackage
42087
+ *
42076
42088
  */
42077
42089
  unitOfMeasure?: number;
42078
42090
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.462",
3
+ "version": "1.0.463",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],