@erp-galoper/types 1.0.927 → 1.0.929

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 +36 -17
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -33974,7 +33974,10 @@ export interface components {
33974
33974
  discount: number;
33975
33975
  /**
33976
33976
  * Tax
33977
- * @description visible when entity is not resident
33977
+ * @description
33978
+ * - visible when entity is not resident
33979
+ * - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals purchase or sale with respect to document
33980
+ *
33978
33981
  */
33979
33982
  tax?: number;
33980
33983
  /** Items */
@@ -40146,6 +40149,10 @@ export interface components {
40146
40149
  promotionsAndOffers?: string[];
40147
40150
  /**
40148
40151
  * Taxes
40152
+ * @description
40153
+ * - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
40154
+ * - get default value(s) from /api/v1/inventory/items/{id}/ and filter by type equals sales
40155
+ *
40149
40156
  * @default []
40150
40157
  */
40151
40158
  taxes: number[];
@@ -40176,7 +40183,10 @@ export interface components {
40176
40183
  discount: number;
40177
40184
  /**
40178
40185
  * Tax
40179
- * @description tax id
40186
+ * @description
40187
+ * - tax id
40188
+ * - get taxes from /api/v1/settings/accounting/taxes/ and filter by type equals sales
40189
+ *
40180
40190
  */
40181
40191
  tax?: number;
40182
40192
  /** Items */
@@ -40625,7 +40635,14 @@ export interface components {
40625
40635
  * @description
40626
40636
  * - This field is required when price list is active in sales settings
40627
40637
  * - applicable if item is selected
40628
- * - /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}
40629
40646
  *
40630
40647
  */
40631
40648
  priceList?: string;
@@ -42882,7 +42899,14 @@ export interface components {
42882
42899
  * Format: uuid
42883
42900
  * @description
42884
42901
  * - This field is required when the price list is active in sales settings, and visible if inventory is on.
42885
- * - /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}
42886
42910
  *
42887
42911
  */
42888
42912
  priceList?: string;
@@ -44593,19 +44617,14 @@ export interface components {
44593
44617
  * @description
44594
44618
  * - This field is required when the price list feature is enabled in sales settings. (AND)
44595
44619
  * - It is visible only if inventory is enabled. (AND)
44596
- *
44597
- * - Endpoint: /api/v1/sales/price-list/ and filter by priceListType equals to wholesale
44598
- * - Filters:
44599
- *
44600
- * 1. **Active Date Range** (AND):
44601
- * - `start_date` must be on or before the current date.
44602
- * - AND `end_date` must be either null or on/after the current date.
44603
- *
44604
- * 2. **Target Matching** (OR):
44605
- * - The price list must match one of the following:
44606
- * - The specific customer (`customers` field).
44607
- * - OR the customer's region (`regions` field).
44608
- * - 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}
44609
44628
  *
44610
44629
  *
44611
44630
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.927",
3
+ "version": "1.0.929",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],