@erp-galoper/types 1.0.928 → 1.0.930

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 +25 -15
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -40635,7 +40635,14 @@ export interface components {
40635
40635
  * @description
40636
40636
  * - This field is required when price list is active in sales settings
40637
40637
  * - applicable if item is selected
40638
- * - /api/v1/sales/price-list/ and filter by priceListType not equal to retail
40638
+ * - get price lists from /api/v1/sales/price-list/ and filter by
40639
+ * priceListType not equal to retail
40640
+ * & status equals to submitted
40641
+ * & document date is greater than or equal start date
40642
+ * & document date is less than or equal end date if end date is not null
40643
+ * & branch equals to {current branch id}
40644
+ * & regions equals to {customer region id}
40645
+ * & customers equals to {customer id} or customerGroups equals to {customer group id}
40639
40646
  *
40640
40647
  */
40641
40648
  priceList?: string;
@@ -42892,7 +42899,14 @@ export interface components {
42892
42899
  * Format: uuid
42893
42900
  * @description
42894
42901
  * - This field is required when the price list is active in sales settings, and visible if inventory is on.
42895
- * - /api/v1/sales/price-list/ and filter by priceListType equals to wholesale
42902
+ * - get price lists from /api/v1/sales/price-list/ and filter by
42903
+ * priceListType not equal to retail
42904
+ * & status equals to submitted
42905
+ * & document date is greater than or equal start date
42906
+ * & document date is less than or equal end date if end date is not null
42907
+ * & branch equals to {current branch id}
42908
+ * & regions equals to {customer region id}
42909
+ * & customers equals to {customer id} or customerGroups equals to {customer group id}
42896
42910
  *
42897
42911
  */
42898
42912
  priceList?: string;
@@ -44603,19 +44617,14 @@ export interface components {
44603
44617
  * @description
44604
44618
  * - This field is required when the price list feature is enabled in sales settings. (AND)
44605
44619
  * - It is visible only if inventory is enabled. (AND)
44606
- *
44607
- * - Endpoint: /api/v1/sales/price-list/ and filter by priceListType equals to wholesale
44608
- * - Filters:
44609
- *
44610
- * 1. **Active Date Range** (AND):
44611
- * - `start_date` must be on or before the current date.
44612
- * - AND `end_date` must be either null or on/after the current date.
44613
- *
44614
- * 2. **Target Matching** (OR):
44615
- * - The price list must match one of the following:
44616
- * - The specific customer (`customers` field).
44617
- * - OR the customer's region (`regions` field).
44618
- * - OR the customer's group (`customer_groups` field).
44620
+ * - get price lists from /api/v1/sales/price-list/ and filter by
44621
+ * priceListType not equal to retail
44622
+ * & status equals to submitted
44623
+ * & document date is greater than or equal start date
44624
+ * & document date is less than or equal end date if end date is not null
44625
+ * & branch equals to {current branch id}
44626
+ * & regions equals to {customer region id}
44627
+ * & customers equals to {customer id} or customerGroups equals to {customer group id}
44619
44628
  *
44620
44629
  *
44621
44630
  */
@@ -49330,6 +49339,7 @@ export interface operations {
49330
49339
  branchId?: number;
49331
49340
  /** @description search by item name , sku code or barcode */
49332
49341
  search?: string;
49342
+ priceListId?: string;
49333
49343
  };
49334
49344
  header?: never;
49335
49345
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.928",
3
+ "version": "1.0.930",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],