@erp-galoper/types 1.0.1822 → 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 +70 -19
- 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
|
/**
|
|
@@ -39931,7 +39982,7 @@ export interface components {
|
|
|
39931
39982
|
* PurchaseHistoryTimeFrameEnum
|
|
39932
39983
|
* @enum {string}
|
|
39933
39984
|
*/
|
|
39934
|
-
PurchaseHistoryTimeFrameEnum: "
|
|
39985
|
+
PurchaseHistoryTimeFrameEnum: "all" | "custom";
|
|
39935
39986
|
/** PurchaseSettingsSchema */
|
|
39936
39987
|
PurchaseSettingsSchema: {
|
|
39937
39988
|
/** Id */
|
|
@@ -39949,11 +40000,11 @@ export interface components {
|
|
|
39949
40000
|
CreatePurchaseSettingsSchema: {
|
|
39950
40001
|
/** Allowpaymentbeforegoodsreceived */
|
|
39951
40002
|
allowPaymentBeforeGoodsReceived: boolean;
|
|
39952
|
-
/** @default
|
|
40003
|
+
/** @default custom */
|
|
39953
40004
|
purchaseHistoryTimeframe: components["schemas"]["PurchaseHistoryTimeFrameEnum"] | null;
|
|
39954
40005
|
/**
|
|
39955
40006
|
* Purchasehistoryperiod
|
|
39956
|
-
* @description Indicate the number of historical
|
|
40007
|
+
* @description Indicate the number of historical months when using the custom period.
|
|
39957
40008
|
*/
|
|
39958
40009
|
purchaseHistoryPeriod?: number | null;
|
|
39959
40010
|
/** @description when stock update trigger in system settings is invoice, this field must be purchaseInvoice */
|
|
@@ -39965,11 +40016,11 @@ export interface components {
|
|
|
39965
40016
|
UpdatePurchaseSettingsSchema: {
|
|
39966
40017
|
/** Allowpaymentbeforegoodsreceived */
|
|
39967
40018
|
allowPaymentBeforeGoodsReceived?: boolean | null;
|
|
39968
|
-
/** @default
|
|
40019
|
+
/** @default custom */
|
|
39969
40020
|
purchaseHistoryTimeframe: components["schemas"]["PurchaseHistoryTimeFrameEnum"] | null;
|
|
39970
40021
|
/**
|
|
39971
40022
|
* Purchasehistoryperiod
|
|
39972
|
-
* @description Indicate the number of historical
|
|
40023
|
+
* @description Indicate the number of historical months when using the custom period.
|
|
39973
40024
|
*/
|
|
39974
40025
|
purchaseHistoryPeriod?: number | null;
|
|
39975
40026
|
/** @description when stock update trigger in system settings is invoice, this field must be purchaseInvoice */
|