@erp-galoper/types 1.0.1823 → 1.0.1824
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.
- package/openapi.ts +65 -14
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -644,6 +644,7 @@ export interface paths {
|
|
|
644
644
|
* - barcodeConflict
|
|
645
645
|
* - itemDoesNotExist
|
|
646
646
|
* - branchDoesNotExist
|
|
647
|
+
* - noBranchAccess
|
|
647
648
|
* - familyDoesNotExist
|
|
648
649
|
* - brandDoesNotExist
|
|
649
650
|
* - categoryDoesNotExist
|
|
@@ -699,6 +700,7 @@ export interface paths {
|
|
|
699
700
|
* - barcodeConflict
|
|
700
701
|
* - itemDoesNotExist
|
|
701
702
|
* - branchDoesNotExist
|
|
703
|
+
* - noBranchAccess
|
|
702
704
|
* - familyDoesNotExist
|
|
703
705
|
* - brandDoesNotExist
|
|
704
706
|
* - categoryDoesNotExist
|
|
@@ -811,6 +813,7 @@ export interface paths {
|
|
|
811
813
|
* - barcodeConflict
|
|
812
814
|
* - itemDoesNotExist
|
|
813
815
|
* - branchDoesNotExist
|
|
816
|
+
* - noBranchAccess
|
|
814
817
|
* - familyDoesNotExist
|
|
815
818
|
* - brandDoesNotExist
|
|
816
819
|
* - categoryDoesNotExist
|
|
@@ -26706,10 +26709,11 @@ export interface components {
|
|
|
26706
26709
|
minimumQuantityOrder?: number | null;
|
|
26707
26710
|
defaultPurchaseUnitOfMeasure: components["schemas"]["UnitOfMeasureSchema"] | null;
|
|
26708
26711
|
/**
|
|
26709
|
-
*
|
|
26710
|
-
* @description
|
|
26712
|
+
* Minimumquantitiesinstock
|
|
26713
|
+
* @description Per-branch minimum quantity in stock settings for this item. Only includes branches assigned to the current user. Entries cannot be deleted; use 0 to clear the threshold.
|
|
26714
|
+
* @default []
|
|
26711
26715
|
*/
|
|
26712
|
-
|
|
26716
|
+
minimumQuantitiesInStock: components["schemas"]["MinimumQuantitiesInStockSchema"][];
|
|
26713
26717
|
/** Warrantyperiod */
|
|
26714
26718
|
warrantyPeriod?: string | null;
|
|
26715
26719
|
/**
|
|
@@ -26973,10 +26977,11 @@ export interface components {
|
|
|
26973
26977
|
minimumQuantityOrder?: number | null;
|
|
26974
26978
|
defaultPurchaseUnitOfMeasure: components["schemas"]["UnitOfMeasureSchema"] | null;
|
|
26975
26979
|
/**
|
|
26976
|
-
*
|
|
26977
|
-
* @description
|
|
26980
|
+
* Minimumquantitiesinstock
|
|
26981
|
+
* @description Per-branch minimum quantity in stock settings for this item. Only includes branches assigned to the current user. Entries cannot be deleted; use 0 to clear the threshold.
|
|
26982
|
+
* @default []
|
|
26978
26983
|
*/
|
|
26979
|
-
|
|
26984
|
+
minimumQuantitiesInStock: components["schemas"]["MinimumQuantitiesInStockSchema"][];
|
|
26980
26985
|
/** Warrantyperiod */
|
|
26981
26986
|
warrantyPeriod?: string | null;
|
|
26982
26987
|
/**
|
|
@@ -27061,6 +27066,14 @@ export interface components {
|
|
|
27061
27066
|
*/
|
|
27062
27067
|
children: components["schemas"]["ItemSchema"][];
|
|
27063
27068
|
};
|
|
27069
|
+
/** MinimumQuantitiesInStockSchema */
|
|
27070
|
+
MinimumQuantitiesInStockSchema: {
|
|
27071
|
+
/** Id */
|
|
27072
|
+
id: number;
|
|
27073
|
+
branch: components["schemas"]["BranchSummaryInfo"];
|
|
27074
|
+
/** Minimumquantityinstock */
|
|
27075
|
+
minimumQuantityInStock: number;
|
|
27076
|
+
};
|
|
27064
27077
|
/**
|
|
27065
27078
|
* OpeningStockBatchSchema
|
|
27066
27079
|
* @description Simplified batch schema for opening stock
|
|
@@ -27601,8 +27614,17 @@ export interface components {
|
|
|
27601
27614
|
minimumQuantityOrder?: number | null;
|
|
27602
27615
|
/** Defaultpurchaseunitofmeasure */
|
|
27603
27616
|
defaultPurchaseUnitOfMeasure?: string | null;
|
|
27604
|
-
/**
|
|
27605
|
-
|
|
27617
|
+
/**
|
|
27618
|
+
* Minimumquantitiesinstock
|
|
27619
|
+
* @description Per-branch minimum quantity in stock settings.
|
|
27620
|
+
* Each entry sets the minimum stock level for a specific branch.
|
|
27621
|
+
* Branches must be filtered to the user's assigned branches only (use the user's assigned branches list in the UI).
|
|
27622
|
+
* The API returns only entries for assigned branches on read and rejects assignments to unassigned branches on write (noBranchAccess).
|
|
27623
|
+
* Once created, an entry cannot be deleted — set minimumQuantityInStock to 0 instead of null.
|
|
27624
|
+
* On update, only entries included in the payload are updated; omitted entries are left unchanged.
|
|
27625
|
+
* @default []
|
|
27626
|
+
*/
|
|
27627
|
+
minimumQuantitiesInStock: components["schemas"]["CreateOrUpdateMinimumQuantitiesInStockSchema"][];
|
|
27606
27628
|
/** Warrantyperiod */
|
|
27607
27629
|
warrantyPeriod?: string | null;
|
|
27608
27630
|
/**
|
|
@@ -27880,10 +27902,16 @@ export interface components {
|
|
|
27880
27902
|
/** Defaultpurchaseunitofmeasure */
|
|
27881
27903
|
defaultPurchaseUnitOfMeasure?: string | null;
|
|
27882
27904
|
/**
|
|
27883
|
-
*
|
|
27884
|
-
* @description
|
|
27905
|
+
* Minimumquantitiesinstock
|
|
27906
|
+
* @description Per-branch minimum quantity in stock settings.
|
|
27907
|
+
* Each entry sets the minimum stock level for a specific branch.
|
|
27908
|
+
* Branches must be filtered to the user's assigned branches only (use the user's assigned branches list in the UI).
|
|
27909
|
+
* The API returns only entries for assigned branches on read and rejects assignments to unassigned branches on write (noBranchAccess).
|
|
27910
|
+
* Once created, an entry cannot be deleted — set minimumQuantityInStock to 0 instead of null.
|
|
27911
|
+
* On update, only entries included in the payload are updated; omitted entries are left unchanged.
|
|
27912
|
+
* @default []
|
|
27885
27913
|
*/
|
|
27886
|
-
|
|
27914
|
+
minimumQuantitiesInStock: components["schemas"]["CreateOrUpdateMinimumQuantitiesInStockSchema"][];
|
|
27887
27915
|
/** Warrantyperiod */
|
|
27888
27916
|
warrantyPeriod?: string | null;
|
|
27889
27917
|
/**
|
|
@@ -27980,6 +28008,24 @@ export interface components {
|
|
|
27980
28008
|
*/
|
|
27981
28009
|
inventoryMovementMethod?: components["schemas"]["INVENTORY_MOVEMENT_METHOD"] | null;
|
|
27982
28010
|
};
|
|
28011
|
+
/** CreateOrUpdateMinimumQuantitiesInStockSchema */
|
|
28012
|
+
CreateOrUpdateMinimumQuantitiesInStockSchema: {
|
|
28013
|
+
/**
|
|
28014
|
+
* Id
|
|
28015
|
+
* @description ID of the branch minimum quantity setting (for update only)
|
|
28016
|
+
*/
|
|
28017
|
+
id?: number | null;
|
|
28018
|
+
/**
|
|
28019
|
+
* Branch
|
|
28020
|
+
* @description Branch ID to assign minimum quantity in stock for. Must be one of the current user's assigned branches.
|
|
28021
|
+
*/
|
|
28022
|
+
branch: number;
|
|
28023
|
+
/**
|
|
28024
|
+
* Minimumquantityinstock
|
|
28025
|
+
* @description Minimum quantity in stock for this branch. Use 0 to clear the threshold. Cannot be null.
|
|
28026
|
+
*/
|
|
28027
|
+
minimumQuantityInStock: number;
|
|
28028
|
+
};
|
|
27983
28029
|
/** CreateOrUpdatePackageItemSchema */
|
|
27984
28030
|
CreateOrUpdatePackageItemSchema: {
|
|
27985
28031
|
/**
|
|
@@ -28347,10 +28393,15 @@ export interface components {
|
|
|
28347
28393
|
/** Defaultpurchaseunitofmeasure */
|
|
28348
28394
|
defaultPurchaseUnitOfMeasure?: string | null;
|
|
28349
28395
|
/**
|
|
28350
|
-
*
|
|
28351
|
-
* @description
|
|
28396
|
+
* Minimumquantitiesinstock
|
|
28397
|
+
* @description Per-branch minimum quantity in stock settings.
|
|
28398
|
+
* Each entry sets the minimum stock level for a specific branch.
|
|
28399
|
+
* Branches must be filtered to the user's assigned branches only (use the user's assigned branches list in the UI).
|
|
28400
|
+
* The API returns only entries for assigned branches on read and rejects assignments to unassigned branches on write (noBranchAccess).
|
|
28401
|
+
* Once created, an entry cannot be deleted — set minimumQuantityInStock to 0 instead of null.
|
|
28402
|
+
* On update, only entries included in the payload are updated; omitted entries are left unchanged.
|
|
28352
28403
|
*/
|
|
28353
|
-
|
|
28404
|
+
minimumQuantitiesInStock?: components["schemas"]["CreateOrUpdateMinimumQuantitiesInStockSchema"][] | null;
|
|
28354
28405
|
/** Warrantyperiod */
|
|
28355
28406
|
warrantyPeriod?: string | null;
|
|
28356
28407
|
/**
|