@erp-galoper/types 1.0.1960 → 1.0.1962

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 +44 -22
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -14749,11 +14749,12 @@ export interface paths {
14749
14749
  * - paginationError
14750
14750
  *
14751
14751
  * - 403: permissionDenied
14752
- * - noBranchAccess
14753
14752
  * - noModuleAccess
14754
14753
  *
14755
14754
  * - 500: serverError
14756
14755
  *
14756
+ * Results are limited to price lists assigned to the branch in ``branchId`` (or ``X-Current-Branch`` header).
14757
+ *
14757
14758
  * permission key: salespricelist = ['view']
14758
14759
  */
14759
14760
  get: operations["sales_price_list_views_list_sales_price_lists"];
@@ -14780,7 +14781,7 @@ export interface paths {
14780
14781
  * - invalidPricingMethod
14781
14782
  * - invalidPricingType
14782
14783
  * - startDateGreaterThanEndDate
14783
- * - retailPriceListExists
14784
+ * - posPriceListExists
14784
14785
  * - rangePricingNotAllowedForRetail
14785
14786
  * - exchangeRateRequired
14786
14787
  * - itemIsNotAssignedToADefaultSalesUnitOfMeasure
@@ -14921,7 +14922,7 @@ export interface paths {
14921
14922
  * - invalidPricingType
14922
14923
  * - startDateGreaterThanEndDate
14923
14924
  * - packageDoesNotExist
14924
- * - retailPriceListExists
14925
+ * - posPriceListExists
14925
14926
  * - rangePricingNotAllowedForRetail
14926
14927
  * - itemIsNotAssignedToADefaultSalesUnitOfMeasure
14927
14928
  * - invalidUnitOfMeasureForRetail
@@ -26558,6 +26559,10 @@ export interface components {
26558
26559
  code: string | null;
26559
26560
  /** Number */
26560
26561
  number: number;
26562
+ /** Address */
26563
+ address: string | null;
26564
+ /** Phone */
26565
+ phone: string | null;
26561
26566
  };
26562
26567
  /** ListUser */
26563
26568
  ListUser: {
@@ -50555,12 +50560,6 @@ export interface components {
50555
50560
  /** Name */
50556
50561
  name: string;
50557
50562
  priceListType: components["schemas"]["PRICE_LIST_TYPE_CHOICES"];
50558
- branch: components["schemas"]["BranchSummaryInfo"];
50559
- /**
50560
- * Customers
50561
- * @default []
50562
- */
50563
- customers: components["schemas"]["CustomerSharedSchema"][];
50564
50563
  /**
50565
50564
  * Regions
50566
50565
  * @default []
@@ -50594,6 +50593,18 @@ export interface components {
50594
50593
  * @default false
50595
50594
  */
50596
50595
  canDelete: boolean;
50596
+ /**
50597
+ * Ispos
50598
+ * @default false
50599
+ */
50600
+ isPos: boolean;
50601
+ /** Branches */
50602
+ branches: components["schemas"]["BranchSummaryInfo"][];
50603
+ /**
50604
+ * Customers
50605
+ * @default []
50606
+ */
50607
+ customers: components["schemas"]["CustomerSharedSchema"][];
50597
50608
  /** Items */
50598
50609
  items: components["schemas"]["SalesPriceListItemSchema"][];
50599
50610
  };
@@ -50713,11 +50724,16 @@ export interface components {
50713
50724
  */
50714
50725
  priceListType: components["schemas"]["PRICE_LIST_TYPE_CHOICES"];
50715
50726
  /**
50716
- * Branch
50717
- * Format: uuid
50718
- * @description ID of the branch where the price list applies. The list of branches is filtered by the user's accessible branches.
50727
+ * Ispos
50728
+ * @description Only applicable when price list type is retail. Only one retail price list per branch can have is_pos set to true.
50729
+ * @default false
50719
50730
  */
50720
- branch: string;
50731
+ isPos: boolean;
50732
+ /**
50733
+ * Branches
50734
+ * @description List of branch IDs where the price list applies.
50735
+ */
50736
+ branches: string[];
50721
50737
  status?: components["schemas"]["InternalStatusOnCreateValueChoices"] | null;
50722
50738
  /**
50723
50739
  * Currency
@@ -50728,7 +50744,7 @@ export interface components {
50728
50744
  * Regions
50729
50745
  * @description List of region IDs where the price list applies.
50730
50746
  * Mutually exclusive with customers and customer groups — only one option can be selected.
50731
- * If type is retail, this field should be hidden and not required.
50747
+ * Available for wholesale and retail price lists. Hidden when isPos is true.
50732
50748
  * @default []
50733
50749
  */
50734
50750
  regions: number[];
@@ -50737,7 +50753,7 @@ export interface components {
50737
50753
  * @description "
50738
50754
  * List of customer IDs to whom this price list applies.
50739
50755
  * Mutually exclusive with regions and customer groups — only one option can be selected.
50740
- * If type is retail, this field should be hidden and not required.
50756
+ * Available for wholesale and retail price lists. Hidden when isPos is true.
50741
50757
  * @default []
50742
50758
  */
50743
50759
  customers: string[];
@@ -50745,7 +50761,7 @@ export interface components {
50745
50761
  * Customergroups
50746
50762
  * @description List of segmentation group IDs to which the price list applies, should be filtered by type customer.
50747
50763
  * Mutually exclusive with regions and customers — only one option can be selected.
50748
- * If type is retail, this field should be hidden and not required.
50764
+ * Available for wholesale and retail price lists. Hidden when isPos is true.
50749
50765
  * @default []
50750
50766
  */
50751
50767
  customerGroups: string[];
@@ -50806,12 +50822,6 @@ export interface components {
50806
50822
  /** Name */
50807
50823
  name: string;
50808
50824
  priceListType: components["schemas"]["PRICE_LIST_TYPE_CHOICES"];
50809
- branch: components["schemas"]["BranchSummaryInfo"];
50810
- /**
50811
- * Customers
50812
- * @default []
50813
- */
50814
- customers: components["schemas"]["CustomerSharedSchema"][];
50815
50825
  /**
50816
50826
  * Regions
50817
50827
  * @default []
@@ -50845,6 +50855,18 @@ export interface components {
50845
50855
  * @default false
50846
50856
  */
50847
50857
  canDelete: boolean;
50858
+ /**
50859
+ * Ispos
50860
+ * @default false
50861
+ */
50862
+ isPos: boolean;
50863
+ /** Branches */
50864
+ branches: components["schemas"]["BranchSummaryInfo"][];
50865
+ /**
50866
+ * Customers
50867
+ * @default []
50868
+ */
50869
+ customers: components["schemas"]["CustomerSharedSchema"][];
50848
50870
  };
50849
50871
  /**
50850
50872
  * PriceListCurrencyEnum
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1960",
3
+ "version": "1.0.1962",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],