@erp-galoper/types 1.0.462 → 1.0.464

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 +18 -6
  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 1d796737-3683-480c-ada5-c7194e5eb25f
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
  /**
@@ -74115,7 +74127,7 @@ export interface operations {
74115
74127
  page?: number;
74116
74128
  /** @description Page size */
74117
74129
  pageSize?: number;
74118
- /** @description Search by reference number, customer name, item name, barcode, SKU code, serial number, date, validity date */
74130
+ /** @description Search by customer name, item name, barcode, SKU code, serial number, date, validity date */
74119
74131
  search?: string | null;
74120
74132
  /** @description Period type */
74121
74133
  periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
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.464",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],