@erp-galoper/types 1.0.2052 → 1.0.2053

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 +650 -16
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -2213,6 +2213,7 @@ export interface paths {
2213
2213
  * Upload Files
2214
2214
  * @description Upload files to local storage or cloud. Returns full URL.
2215
2215
  * Dual-write to cloud is enabled only for item/category images when IS_CLOUD=false.
2216
+ * Image uploads are limited to 5MB.
2216
2217
  */
2217
2218
  post: operations["common_views_upload_files"];
2218
2219
  delete?: never;
@@ -3745,6 +3746,126 @@ export interface paths {
3745
3746
  patch: operations["inventory_item_unit_of_measure_views_update_unit_of_measure"];
3746
3747
  trace?: never;
3747
3748
  };
3749
+ "/api/v1/inventory/uom_conversions/": {
3750
+ parameters: {
3751
+ query?: never;
3752
+ header?: never;
3753
+ path?: never;
3754
+ cookie?: never;
3755
+ };
3756
+ /**
3757
+ * List Item Uom Conversions
3758
+ * @description Endpoint for list UOM conversions.
3759
+ * Possible Responses:
3760
+ * - 200:
3761
+ * - success
3762
+ * - 400:
3763
+ * - invalidFilterFormat
3764
+ * - paginationError
3765
+ * - 403:
3766
+ * - permissionDenied
3767
+ * - noModuleAccess
3768
+ * - 500:
3769
+ * - internalServerError
3770
+ */
3771
+ get: operations["inventory_item_uom_conversion_views_list_item_uom_conversions"];
3772
+ put?: never;
3773
+ /**
3774
+ * Create Item Uom Conversion
3775
+ * @description Endpoint for create UOM conversion.
3776
+ * Possible Responses:
3777
+ * - 201:
3778
+ * - uomConversionCreated
3779
+ * - 400:
3780
+ * - UOM_SELF_CONVERSION
3781
+ * - UOM_FACTOR_INVALID
3782
+ * - invalidUnitOfMeasure
3783
+ * - UOM_DUPLICATE
3784
+ * - UOM_INVERSE_CONFLICT
3785
+ * - 403:
3786
+ * - permissionDenied
3787
+ * - noModuleAccess
3788
+ * - 404:
3789
+ * - itemDoesNotExist
3790
+ * - unitOfMeasureDoesNotExist
3791
+ * - 500:
3792
+ * - internalServerError
3793
+ */
3794
+ post: operations["inventory_item_uom_conversion_views_create_item_uom_conversion"];
3795
+ delete?: never;
3796
+ options?: never;
3797
+ head?: never;
3798
+ patch?: never;
3799
+ trace?: never;
3800
+ };
3801
+ "/api/v1/inventory/uom_conversions/{id}/": {
3802
+ parameters: {
3803
+ query?: never;
3804
+ header?: never;
3805
+ path?: never;
3806
+ cookie?: never;
3807
+ };
3808
+ /**
3809
+ * Get Item Uom Conversion
3810
+ * @description Endpoint for retrieve UOM conversion.
3811
+ * Possible Responses:
3812
+ * - 200:
3813
+ * - success
3814
+ * - 404:
3815
+ * - uomConversionDoesNotExist
3816
+ * - 403:
3817
+ * - permissionDenied
3818
+ * - noModuleAccess
3819
+ * - 500:
3820
+ * - internalServerError
3821
+ */
3822
+ get: operations["inventory_item_uom_conversion_views_get_item_uom_conversion"];
3823
+ /**
3824
+ * Update Item Uom Conversion
3825
+ * @description Endpoint for update UOM conversion.
3826
+ * Possible Responses:
3827
+ * - 200:
3828
+ * - uomConversionUpdated
3829
+ * - 400:
3830
+ * - noChangesDetected
3831
+ * - UOM_SELF_CONVERSION
3832
+ * - UOM_FACTOR_INVALID
3833
+ * - invalidUnitOfMeasure
3834
+ * - UOM_DUPLICATE
3835
+ * - UOM_INVERSE_CONFLICT
3836
+ * - 403:
3837
+ * - permissionDenied
3838
+ * - noModuleAccess
3839
+ * - 404:
3840
+ * - uomConversionDoesNotExist
3841
+ * - unitOfMeasureDoesNotExist
3842
+ * - 500:
3843
+ * - internalServerError
3844
+ */
3845
+ put: operations["inventory_item_uom_conversion_views_update_item_uom_conversion"];
3846
+ post?: never;
3847
+ /**
3848
+ * Delete Item Uom Conversion
3849
+ * @description Endpoint for delete UOM conversion.
3850
+ * Possible Responses:
3851
+ * - 204:
3852
+ * - success
3853
+ * - 404:
3854
+ * - uomConversionDoesNotExist
3855
+ * - 403:
3856
+ * - permissionDenied
3857
+ * - noModuleAccess
3858
+ * - 400:
3859
+ * - UOM validation errors
3860
+ * - 500:
3861
+ * - internalServerError
3862
+ */
3863
+ delete: operations["inventory_item_uom_conversion_views_delete_item_uom_conversion"];
3864
+ options?: never;
3865
+ head?: never;
3866
+ patch?: never;
3867
+ trace?: never;
3868
+ };
3748
3869
  "/api/v1/inventory/tags/": {
3749
3870
  parameters: {
3750
3871
  query?: never;
@@ -26236,6 +26357,12 @@ export interface components {
26236
26357
  * @default []
26237
26358
  */
26238
26359
  itemfamily: components["schemas"]["BasePermissionsSchema_Settings_Inventory_ItemfamilyEnum"][];
26360
+ /**
26361
+ * Itemuomconversion
26362
+ * @description itemuomconversion actions
26363
+ * @default []
26364
+ */
26365
+ itemuomconversion: components["schemas"]["BasePermissionsSchema_Settings_Inventory_ItemuomconversionEnum"][];
26239
26366
  /**
26240
26367
  * Specs
26241
26368
  * @description specs actions
@@ -26276,6 +26403,11 @@ export interface components {
26276
26403
  * @enum {string}
26277
26404
  */
26278
26405
  BasePermissionsSchema_Settings_Inventory_ItemfamilyEnum: "add" | "change" | "delete" | "view";
26406
+ /**
26407
+ * BasePermissionsSchema_Settings_Inventory_ItemuomconversionEnum
26408
+ * @enum {string}
26409
+ */
26410
+ BasePermissionsSchema_Settings_Inventory_ItemuomconversionEnum: "add" | "change" | "delete" | "view";
26279
26411
  /**
26280
26412
  * BasePermissionsSchema_Settings_Inventory_ItemvariantsettingsEnum
26281
26413
  * @enum {string}
@@ -27879,6 +28011,35 @@ export interface components {
27879
28011
  openingStock?: components["schemas"]["OpeningStockGroupSchema"][] | null;
27880
28012
  costStrategy: components["schemas"]["GetCostStrategy"] | null;
27881
28013
  inventoryMovementMethod?: components["schemas"]["INVENTORY_MOVEMENT_METHOD"] | null;
28014
+ /**
28015
+ * Isperishable
28016
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
28017
+ * @default false
28018
+ */
28019
+ isPerishable: boolean;
28020
+ /**
28021
+ * Shelflifedays
28022
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
28023
+ */
28024
+ shelfLifeDays?: number | null;
28025
+ /**
28026
+ * Shelflifepercentatreceipt
28027
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
28028
+ */
28029
+ shelfLifePercentAtReceipt?: number | null;
28030
+ /**
28031
+ * Catchweightenabled
28032
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
28033
+ * @default false
28034
+ */
28035
+ catchWeightEnabled: boolean;
28036
+ /** @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/). */
28037
+ catchWeightUom?: components["schemas"]["UnitOfMeasureSchema"] | null;
28038
+ /**
28039
+ * Catchweighttolerancepercent
28040
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
28041
+ */
28042
+ catchWeightTolerancePercent?: number | null;
27882
28043
  /**
27883
28044
  * Candelete
27884
28045
  * @default false
@@ -27902,7 +28063,7 @@ export interface components {
27902
28063
  * ItemUsage
27903
28064
  * @enum {string}
27904
28065
  */
27905
- ItemUsage: "goods" | "works" | "service";
28066
+ ItemUsage: "goods" | "raw_material" | "works" | "service" | "wip" | "co_product" | "by_product" | "waste";
27906
28067
  /** ItemWithChildrenSchema */
27907
28068
  ItemWithChildrenSchema: {
27908
28069
  /**
@@ -28142,6 +28303,35 @@ export interface components {
28142
28303
  openingStock?: components["schemas"]["OpeningStockGroupSchema"][] | null;
28143
28304
  costStrategy: components["schemas"]["GetCostStrategy"] | null;
28144
28305
  inventoryMovementMethod?: components["schemas"]["INVENTORY_MOVEMENT_METHOD"] | null;
28306
+ /**
28307
+ * Isperishable
28308
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
28309
+ * @default false
28310
+ */
28311
+ isPerishable: boolean;
28312
+ /**
28313
+ * Shelflifedays
28314
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
28315
+ */
28316
+ shelfLifeDays?: number | null;
28317
+ /**
28318
+ * Shelflifepercentatreceipt
28319
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
28320
+ */
28321
+ shelfLifePercentAtReceipt?: number | null;
28322
+ /**
28323
+ * Catchweightenabled
28324
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
28325
+ * @default false
28326
+ */
28327
+ catchWeightEnabled: boolean;
28328
+ /** @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/). */
28329
+ catchWeightUom?: components["schemas"]["UnitOfMeasureSchema"] | null;
28330
+ /**
28331
+ * Catchweighttolerancepercent
28332
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
28333
+ */
28334
+ catchWeightTolerancePercent?: number | null;
28145
28335
  /**
28146
28336
  * Candelete
28147
28337
  * @default false
@@ -28899,8 +29089,10 @@ export interface components {
28899
29089
  expenseCategory?: string | null;
28900
29090
  /**
28901
29091
  * @description - when type is service usage should be disabled and set its value to service
28902
- * - when type is product usage should be either goods or works only
29092
+ * - when type is product usage should be either goods, raw_material, or works
29093
+ * - wip, co_product, by_product, and waste are only available when production is enabled in Galoper settings
28903
29094
  * - Get default value from inventory settings (/api/v1/settings/inventory/)
29095
+ * Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
28904
29096
  */
28905
29097
  usage: components["schemas"]["ItemUsage"];
28906
29098
  /** Variantof */
@@ -29161,6 +29353,38 @@ export interface components {
29161
29353
  * - For variants: inherited from parent if not explicitly set
29162
29354
  */
29163
29355
  inventoryMovementMethod?: components["schemas"]["INVENTORY_MOVEMENT_METHOD"] | null;
29356
+ /**
29357
+ * Isperishable
29358
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
29359
+ * @default false
29360
+ */
29361
+ isPerishable: boolean | null;
29362
+ /**
29363
+ * Shelflifedays
29364
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
29365
+ */
29366
+ shelfLifeDays?: number | null;
29367
+ /**
29368
+ * Shelflifepercentatreceipt
29369
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
29370
+ */
29371
+ shelfLifePercentAtReceipt?: number | null;
29372
+ /**
29373
+ * Catchweightenabled
29374
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
29375
+ * @default false
29376
+ */
29377
+ catchWeightEnabled: boolean | null;
29378
+ /**
29379
+ * Catchweightuom
29380
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
29381
+ */
29382
+ catchWeightUom?: string | null;
29383
+ /**
29384
+ * Catchweighttolerancepercent
29385
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
29386
+ */
29387
+ catchWeightTolerancePercent?: number | null;
29164
29388
  };
29165
29389
  /** CreateOrUpdateMinimumQuantitiesInStockSchema */
29166
29390
  CreateOrUpdateMinimumQuantitiesInStockSchema: {
@@ -29412,7 +29636,9 @@ export interface components {
29412
29636
  expenseCategory?: string | null;
29413
29637
  /**
29414
29638
  * @description - when type is service usage should be disabled and set its value to service
29415
- * - when type is product usage should be either goods or works only
29639
+ * - when type is product usage should be either goods, raw_material, or works
29640
+ * - wip, co_product, by_product, and waste are only available when production is enabled in Galoper settings
29641
+ * Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
29416
29642
  */
29417
29643
  usage?: components["schemas"]["ItemUsage"] | null;
29418
29644
  /** Variant Of */
@@ -29664,6 +29890,36 @@ export interface components {
29664
29890
  * - For variants: inherited from parent if not explicitly set
29665
29891
  */
29666
29892
  inventoryMovementMethod?: components["schemas"]["INVENTORY_MOVEMENT_METHOD"] | null;
29893
+ /**
29894
+ * Isperishable
29895
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
29896
+ */
29897
+ isPerishable?: boolean | null;
29898
+ /**
29899
+ * Shelflifedays
29900
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
29901
+ */
29902
+ shelfLifeDays?: number | null;
29903
+ /**
29904
+ * Shelflifepercentatreceipt
29905
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
29906
+ */
29907
+ shelfLifePercentAtReceipt?: number | null;
29908
+ /**
29909
+ * Catchweightenabled
29910
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
29911
+ */
29912
+ catchWeightEnabled?: boolean | null;
29913
+ /**
29914
+ * Catchweightuom
29915
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
29916
+ */
29917
+ catchWeightUom?: string | null;
29918
+ /**
29919
+ * Catchweighttolerancepercent
29920
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
29921
+ */
29922
+ catchWeightTolerancePercent?: number | null;
29667
29923
  /**
29668
29924
  * Id
29669
29925
  * Format: uuid
@@ -29714,7 +29970,9 @@ export interface components {
29714
29970
  expenseCategory?: string | null;
29715
29971
  /**
29716
29972
  * @description - when type is service usage should be disabled and set its value to service
29717
- * - when type is product usage should be either goods or works only
29973
+ * - when type is product usage should be either goods, raw_material, or works
29974
+ * - wip, co_product, by_product, and waste are only available when production is enabled in Galoper settings
29975
+ * Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
29718
29976
  */
29719
29977
  usage?: components["schemas"]["ItemUsage"] | null;
29720
29978
  /** Variant Of */
@@ -29966,6 +30224,36 @@ export interface components {
29966
30224
  * - For variants: inherited from parent if not explicitly set
29967
30225
  */
29968
30226
  inventoryMovementMethod?: components["schemas"]["INVENTORY_MOVEMENT_METHOD"] | null;
30227
+ /**
30228
+ * Isperishable
30229
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
30230
+ */
30231
+ isPerishable?: boolean | null;
30232
+ /**
30233
+ * Shelflifedays
30234
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
30235
+ */
30236
+ shelfLifeDays?: number | null;
30237
+ /**
30238
+ * Shelflifepercentatreceipt
30239
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
30240
+ */
30241
+ shelfLifePercentAtReceipt?: number | null;
30242
+ /**
30243
+ * Catchweightenabled
30244
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
30245
+ */
30246
+ catchWeightEnabled?: boolean | null;
30247
+ /**
30248
+ * Catchweightuom
30249
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
30250
+ */
30251
+ catchWeightUom?: string | null;
30252
+ /**
30253
+ * Catchweighttolerancepercent
30254
+ * @description Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
30255
+ */
30256
+ catchWeightTolerancePercent?: number | null;
29969
30257
  };
29970
30258
  /** UpdateChildrenItemSchema */
29971
30259
  UpdateChildrenItemSchema: {
@@ -32053,6 +32341,8 @@ export interface components {
32053
32341
  appointment: boolean;
32054
32342
  /** Maintenance */
32055
32343
  maintenance: boolean;
32344
+ /** Production */
32345
+ production: boolean;
32056
32346
  };
32057
32347
  /**
32058
32348
  * ChartOfAccountType
@@ -32554,7 +32844,7 @@ export interface components {
32554
32844
  * UnitOfMeasureTypeEnum
32555
32845
  * @enum {string}
32556
32846
  */
32557
- UnitOfMeasureTypeEnum: "length" | "width" | "height" | "weight" | "unit" | "volume" | "duration" | "digital";
32847
+ UnitOfMeasureTypeEnum: "length" | "width" | "height" | "weight" | "unit" | "volume" | "area" | "duration" | "digital";
32558
32848
  /** CreateUnitOfMeasurementSchema */
32559
32849
  CreateUnitOfMeasurementSchema: {
32560
32850
  /**
@@ -32633,6 +32923,72 @@ export interface components {
32633
32923
  */
32634
32924
  canAcceptDecimal?: boolean;
32635
32925
  };
32926
+ /** ItemSummaryInfo */
32927
+ ItemSummaryInfo: {
32928
+ /**
32929
+ * Id
32930
+ * Format: uuid
32931
+ */
32932
+ id: string;
32933
+ /** Name */
32934
+ name: string;
32935
+ };
32936
+ /** ItemUOMConversionResponseSchema */
32937
+ ItemUOMConversionResponseSchema: {
32938
+ /** Message */
32939
+ message: string;
32940
+ /** Code */
32941
+ code: string;
32942
+ data: components["schemas"]["RetrieveItemUOMConversion"];
32943
+ };
32944
+ /** RetrieveItemUOMConversion */
32945
+ RetrieveItemUOMConversion: {
32946
+ /**
32947
+ * Id
32948
+ * Format: uuid
32949
+ */
32950
+ id: string;
32951
+ item?: components["schemas"]["ItemSummaryInfo"] | null;
32952
+ fromUom: components["schemas"]["UnitOfMeasureSummaryInfo"];
32953
+ toUom: components["schemas"]["UnitOfMeasureSummaryInfo"];
32954
+ /** Conversionfactor */
32955
+ conversionFactor: number | string;
32956
+ };
32957
+ /** CreateItemUOMConversionSchema */
32958
+ CreateItemUOMConversionSchema: {
32959
+ /**
32960
+ * Itemid
32961
+ * Format: uuid
32962
+ */
32963
+ itemId: string;
32964
+ /**
32965
+ * Fromuomid
32966
+ * Format: uuid
32967
+ */
32968
+ fromUomId: string;
32969
+ /**
32970
+ * Touomid
32971
+ * Format: uuid
32972
+ */
32973
+ toUomId: string;
32974
+ /** Conversionfactor */
32975
+ conversionFactor: number | string;
32976
+ };
32977
+ /** ListItemUOMConversions */
32978
+ ListItemUOMConversions: {
32979
+ info: components["schemas"]["PageInfoSchema"];
32980
+ /** Results */
32981
+ results: components["schemas"]["RetrieveItemUOMConversion"][];
32982
+ };
32983
+ /** UpdateItemUOMConversionSchema */
32984
+ UpdateItemUOMConversionSchema: {
32985
+ /** Fromuomid */
32986
+ fromUomId?: string | null;
32987
+ /** Touomid */
32988
+ toUomId?: string | null;
32989
+ /** Conversionfactor */
32990
+ conversionFactor?: (number | string) | null;
32991
+ };
32636
32992
  /** CreateTagSchema */
32637
32993
  CreateTagSchema: {
32638
32994
  /** Name */
@@ -37379,16 +37735,6 @@ export interface components {
37379
37735
  */
37380
37736
  promotionsAndOffers: components["schemas"]["PromotionsAndOffersSharedSchema"][];
37381
37737
  };
37382
- /** ItemSummaryInfo */
37383
- ItemSummaryInfo: {
37384
- /**
37385
- * Id
37386
- * Format: uuid
37387
- */
37388
- id: string;
37389
- /** Name */
37390
- name: string;
37391
- };
37392
37738
  /** POSInvoiceItemSchema */
37393
37739
  POSInvoiceItemSchema: {
37394
37740
  /**
@@ -75596,6 +75942,294 @@ export interface operations {
75596
75942
  };
75597
75943
  };
75598
75944
  };
75945
+ inventory_item_uom_conversion_views_list_item_uom_conversions: {
75946
+ parameters: {
75947
+ query?: {
75948
+ /** @description Search by UOM name or code */
75949
+ search?: string | null;
75950
+ itemId?: string | null;
75951
+ systemOnly?: boolean | null;
75952
+ };
75953
+ header?: never;
75954
+ path?: never;
75955
+ cookie?: never;
75956
+ };
75957
+ requestBody?: never;
75958
+ responses: {
75959
+ /** @description OK */
75960
+ 200: {
75961
+ headers: {
75962
+ [name: string]: unknown;
75963
+ };
75964
+ content: {
75965
+ "application/json": components["schemas"]["ListItemUOMConversions"];
75966
+ };
75967
+ };
75968
+ /** @description Bad Request */
75969
+ 400: {
75970
+ headers: {
75971
+ [name: string]: unknown;
75972
+ };
75973
+ content: {
75974
+ "application/json": components["schemas"]["ErrorMessages"];
75975
+ };
75976
+ };
75977
+ /** @description Forbidden */
75978
+ 403: {
75979
+ headers: {
75980
+ [name: string]: unknown;
75981
+ };
75982
+ content: {
75983
+ "application/json": components["schemas"]["MessageResponse"];
75984
+ };
75985
+ };
75986
+ /** @description Internal Server Error */
75987
+ 500: {
75988
+ headers: {
75989
+ [name: string]: unknown;
75990
+ };
75991
+ content: {
75992
+ "application/json": components["schemas"]["MessageResponse"];
75993
+ };
75994
+ };
75995
+ };
75996
+ };
75997
+ inventory_item_uom_conversion_views_create_item_uom_conversion: {
75998
+ parameters: {
75999
+ query?: never;
76000
+ header?: never;
76001
+ path?: never;
76002
+ cookie?: never;
76003
+ };
76004
+ requestBody: {
76005
+ content: {
76006
+ "application/json": components["schemas"]["CreateItemUOMConversionSchema"];
76007
+ };
76008
+ };
76009
+ responses: {
76010
+ /** @description Created */
76011
+ 201: {
76012
+ headers: {
76013
+ [name: string]: unknown;
76014
+ };
76015
+ content: {
76016
+ "application/json": components["schemas"]["ItemUOMConversionResponseSchema"];
76017
+ };
76018
+ };
76019
+ /** @description Bad Request */
76020
+ 400: {
76021
+ headers: {
76022
+ [name: string]: unknown;
76023
+ };
76024
+ content: {
76025
+ "application/json": components["schemas"]["ErrorMessages"];
76026
+ };
76027
+ };
76028
+ /** @description Forbidden */
76029
+ 403: {
76030
+ headers: {
76031
+ [name: string]: unknown;
76032
+ };
76033
+ content: {
76034
+ "application/json": components["schemas"]["MessageResponse"];
76035
+ };
76036
+ };
76037
+ /** @description Not Found */
76038
+ 404: {
76039
+ headers: {
76040
+ [name: string]: unknown;
76041
+ };
76042
+ content: {
76043
+ "application/json": components["schemas"]["MessageResponse"];
76044
+ };
76045
+ };
76046
+ /** @description Internal Server Error */
76047
+ 500: {
76048
+ headers: {
76049
+ [name: string]: unknown;
76050
+ };
76051
+ content: {
76052
+ "application/json": components["schemas"]["MessageResponse"];
76053
+ };
76054
+ };
76055
+ };
76056
+ };
76057
+ inventory_item_uom_conversion_views_get_item_uom_conversion: {
76058
+ parameters: {
76059
+ query?: never;
76060
+ header?: never;
76061
+ path: {
76062
+ id: string;
76063
+ };
76064
+ cookie?: never;
76065
+ };
76066
+ requestBody?: never;
76067
+ responses: {
76068
+ /** @description OK */
76069
+ 200: {
76070
+ headers: {
76071
+ [name: string]: unknown;
76072
+ };
76073
+ content: {
76074
+ "application/json": components["schemas"]["RetrieveItemUOMConversion"];
76075
+ };
76076
+ };
76077
+ /** @description Bad Request */
76078
+ 400: {
76079
+ headers: {
76080
+ [name: string]: unknown;
76081
+ };
76082
+ content: {
76083
+ "application/json": components["schemas"]["ErrorMessages"];
76084
+ };
76085
+ };
76086
+ /** @description Forbidden */
76087
+ 403: {
76088
+ headers: {
76089
+ [name: string]: unknown;
76090
+ };
76091
+ content: {
76092
+ "application/json": components["schemas"]["MessageResponse"];
76093
+ };
76094
+ };
76095
+ /** @description Not Found */
76096
+ 404: {
76097
+ headers: {
76098
+ [name: string]: unknown;
76099
+ };
76100
+ content: {
76101
+ "application/json": components["schemas"]["MessageResponse"];
76102
+ };
76103
+ };
76104
+ /** @description Internal Server Error */
76105
+ 500: {
76106
+ headers: {
76107
+ [name: string]: unknown;
76108
+ };
76109
+ content: {
76110
+ "application/json": components["schemas"]["MessageResponse"];
76111
+ };
76112
+ };
76113
+ };
76114
+ };
76115
+ inventory_item_uom_conversion_views_update_item_uom_conversion: {
76116
+ parameters: {
76117
+ query?: never;
76118
+ header?: never;
76119
+ path: {
76120
+ id: string;
76121
+ };
76122
+ cookie?: never;
76123
+ };
76124
+ requestBody: {
76125
+ content: {
76126
+ "application/json": components["schemas"]["UpdateItemUOMConversionSchema"];
76127
+ };
76128
+ };
76129
+ responses: {
76130
+ /** @description OK */
76131
+ 200: {
76132
+ headers: {
76133
+ [name: string]: unknown;
76134
+ };
76135
+ content: {
76136
+ "application/json": components["schemas"]["ItemUOMConversionResponseSchema"];
76137
+ };
76138
+ };
76139
+ /** @description Bad Request */
76140
+ 400: {
76141
+ headers: {
76142
+ [name: string]: unknown;
76143
+ };
76144
+ content: {
76145
+ "application/json": components["schemas"]["ErrorMessages"];
76146
+ };
76147
+ };
76148
+ /** @description Forbidden */
76149
+ 403: {
76150
+ headers: {
76151
+ [name: string]: unknown;
76152
+ };
76153
+ content: {
76154
+ "application/json": components["schemas"]["MessageResponse"];
76155
+ };
76156
+ };
76157
+ /** @description Not Found */
76158
+ 404: {
76159
+ headers: {
76160
+ [name: string]: unknown;
76161
+ };
76162
+ content: {
76163
+ "application/json": components["schemas"]["MessageResponse"];
76164
+ };
76165
+ };
76166
+ /** @description Internal Server Error */
76167
+ 500: {
76168
+ headers: {
76169
+ [name: string]: unknown;
76170
+ };
76171
+ content: {
76172
+ "application/json": components["schemas"]["MessageResponse"];
76173
+ };
76174
+ };
76175
+ };
76176
+ };
76177
+ inventory_item_uom_conversion_views_delete_item_uom_conversion: {
76178
+ parameters: {
76179
+ query?: never;
76180
+ header?: never;
76181
+ path: {
76182
+ id: string;
76183
+ };
76184
+ cookie?: never;
76185
+ };
76186
+ requestBody?: never;
76187
+ responses: {
76188
+ /** @description No Content */
76189
+ 204: {
76190
+ headers: {
76191
+ [name: string]: unknown;
76192
+ };
76193
+ content?: never;
76194
+ };
76195
+ /** @description Bad Request */
76196
+ 400: {
76197
+ headers: {
76198
+ [name: string]: unknown;
76199
+ };
76200
+ content: {
76201
+ "application/json": components["schemas"]["ErrorMessages"];
76202
+ };
76203
+ };
76204
+ /** @description Forbidden */
76205
+ 403: {
76206
+ headers: {
76207
+ [name: string]: unknown;
76208
+ };
76209
+ content: {
76210
+ "application/json": components["schemas"]["MessageResponse"];
76211
+ };
76212
+ };
76213
+ /** @description Not Found */
76214
+ 404: {
76215
+ headers: {
76216
+ [name: string]: unknown;
76217
+ };
76218
+ content: {
76219
+ "application/json": components["schemas"]["MessageResponse"];
76220
+ };
76221
+ };
76222
+ /** @description Internal Server Error */
76223
+ 500: {
76224
+ headers: {
76225
+ [name: string]: unknown;
76226
+ };
76227
+ content: {
76228
+ "application/json": components["schemas"]["MessageResponse"];
76229
+ };
76230
+ };
76231
+ };
76232
+ };
75599
76233
  inventory_item_tag_views_list_tags: {
75600
76234
  parameters: {
75601
76235
  query?: {
@@ -84845,7 +85479,7 @@ export interface operations {
84845
85479
  parameters: {
84846
85480
  query?: {
84847
85481
  /** @description feasible if item type is product and u need to filter by specific usage */
84848
- itemUsage?: "goods" | "works" | "service";
85482
+ itemUsage?: "goods" | "raw_material" | "works" | "service" | "wip" | "co_product" | "by_product" | "waste";
84849
85483
  itemType?: "product" | "service";
84850
85484
  };
84851
85485
  header?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.2052",
3
+ "version": "1.0.2053",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": [