@erp-galoper/types 1.0.626 → 1.0.628
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 +208 -139
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -4087,54 +4087,65 @@ export interface paths {
|
|
|
4087
4087
|
patch?: never;
|
|
4088
4088
|
trace?: never;
|
|
4089
4089
|
};
|
|
4090
|
-
"/api/v1/inventory/items-
|
|
4090
|
+
"/api/v1/inventory/items/batches-or-serials/distribution/": {
|
|
4091
4091
|
parameters: {
|
|
4092
4092
|
query?: never;
|
|
4093
4093
|
header?: never;
|
|
4094
4094
|
path?: never;
|
|
4095
4095
|
cookie?: never;
|
|
4096
4096
|
};
|
|
4097
|
+
get?: never;
|
|
4098
|
+
put?: never;
|
|
4097
4099
|
/**
|
|
4098
|
-
*
|
|
4099
|
-
* @description
|
|
4100
|
+
* Allocate Batches Or Serials
|
|
4101
|
+
* @description API to allocate batches or serials for an item based on FIFO or LIFO settings.
|
|
4102
|
+
*
|
|
4100
4103
|
* Responses:
|
|
4101
|
-
*
|
|
4102
|
-
*
|
|
4103
|
-
*
|
|
4104
|
-
*
|
|
4105
|
-
*
|
|
4106
|
-
* - 500: "serverError"
|
|
4104
|
+
*
|
|
4105
|
+
* 200: list[AllocationResponse]]
|
|
4106
|
+
* 400: - "inventoryMovementMethodNotSet"
|
|
4107
|
+
* - "quatityExceeded"
|
|
4108
|
+
* 500: "serverError"
|
|
4107
4109
|
*/
|
|
4108
|
-
|
|
4109
|
-
put?: never;
|
|
4110
|
-
post?: never;
|
|
4110
|
+
post: operations["inventory_views_allocate_batches_or_serials"];
|
|
4111
4111
|
delete?: never;
|
|
4112
4112
|
options?: never;
|
|
4113
4113
|
head?: never;
|
|
4114
4114
|
patch?: never;
|
|
4115
4115
|
trace?: never;
|
|
4116
4116
|
};
|
|
4117
|
-
"/api/v1/inventory/items
|
|
4117
|
+
"/api/v1/inventory/items-quantity/": {
|
|
4118
4118
|
parameters: {
|
|
4119
4119
|
query?: never;
|
|
4120
4120
|
header?: never;
|
|
4121
4121
|
path?: never;
|
|
4122
4122
|
cookie?: never;
|
|
4123
4123
|
};
|
|
4124
|
-
get?: never;
|
|
4125
|
-
put?: never;
|
|
4126
4124
|
/**
|
|
4127
|
-
*
|
|
4128
|
-
* @description
|
|
4125
|
+
* Get Items Quantity
|
|
4126
|
+
* @description Endpoint for List Items Quantity in Warehouse and Branch with UOM-based Batch/Serial breakdown
|
|
4129
4127
|
*
|
|
4130
|
-
*
|
|
4128
|
+
* Query Parameters:
|
|
4129
|
+
* - warehouses: List of warehouse IDs to filter by (required), it should be filtered by selected branch and warehouses assigned to the user
|
|
4130
|
+
* - branchId: Branch ID to filter by (optional), it should be filtered by assigned branches
|
|
4131
|
+
* - items: List of item IDs to filter by (optional)
|
|
4132
|
+
* - unit_of_measures: List of unit of measure IDs to filter by (optional)
|
|
4133
|
+
* - packed: Filter by packed status (optional)
|
|
4134
|
+
* - True or None (default): Show all items (both packed and unpacked)
|
|
4135
|
+
* - False: Show only unpacked items (items without packages)
|
|
4136
|
+
* - item_packages: List of item package IDs to filter by (optional)
|
|
4137
|
+
* - If provided, overrides packed parameter and shows only specified packages
|
|
4131
4138
|
*
|
|
4132
|
-
*
|
|
4133
|
-
*
|
|
4134
|
-
*
|
|
4135
|
-
*
|
|
4139
|
+
* Responses:
|
|
4140
|
+
* - 200: Items quantity with UOM breakdown
|
|
4141
|
+
* - 400:
|
|
4142
|
+
* - 403: "permissionDenied"
|
|
4143
|
+
* - "noBranchAccess"
|
|
4144
|
+
* - 500: "serverError"
|
|
4136
4145
|
*/
|
|
4137
|
-
|
|
4146
|
+
get: operations["inventory_views_get_items_quantity"];
|
|
4147
|
+
put?: never;
|
|
4148
|
+
post?: never;
|
|
4138
4149
|
delete?: never;
|
|
4139
4150
|
options?: never;
|
|
4140
4151
|
head?: never;
|
|
@@ -4181,6 +4192,7 @@ export interface paths {
|
|
|
4181
4192
|
* - serialItemMismatch - Serial does not belong to the selected item
|
|
4182
4193
|
* - serialNotAvailable - Serial is not in available status
|
|
4183
4194
|
* - serialNotInWarehouse - Serial is not present in warehouse
|
|
4195
|
+
* - item+warehouse+branch+unitOfMeasure+itemPackageConflict
|
|
4184
4196
|
* - serialDoesNotExist - The selected serial does not exist
|
|
4185
4197
|
* - 403: permissionDenied
|
|
4186
4198
|
* - noBranchAccess
|
|
@@ -4529,6 +4541,7 @@ export interface paths {
|
|
|
4529
4541
|
* - serialNotAvailable - Serial is not in available status
|
|
4530
4542
|
* - serialNotInWarehouse - Serial is not present in source warehouse
|
|
4531
4543
|
* - serialDoesNotExist - The selected serial does not exist
|
|
4544
|
+
* - item+warehouse+branch+unitOfMeasure+itemPackageConflict
|
|
4532
4545
|
*
|
|
4533
4546
|
* - 403: permissionDenied
|
|
4534
4547
|
* - noBranchAccess
|
|
@@ -24440,15 +24453,6 @@ export interface components {
|
|
|
24440
24453
|
*/
|
|
24441
24454
|
children: components["schemas"]["profitAndLossSchema"][] | null;
|
|
24442
24455
|
};
|
|
24443
|
-
/** ItemsWarehouseQuantityListSchema */
|
|
24444
|
-
ItemsWarehouseQuantityListSchema: {
|
|
24445
|
-
info: components["schemas"]["PageInfoSchema"];
|
|
24446
|
-
/**
|
|
24447
|
-
* Results
|
|
24448
|
-
* @default []
|
|
24449
|
-
*/
|
|
24450
|
-
results: components["schemas"]["ItemsWarehouseQuantitySchema"][];
|
|
24451
|
-
};
|
|
24452
24456
|
/** AllocationResponse */
|
|
24453
24457
|
AllocationResponse: {
|
|
24454
24458
|
/**
|
|
@@ -24483,6 +24487,124 @@ export interface components {
|
|
|
24483
24487
|
* @enum {string}
|
|
24484
24488
|
*/
|
|
24485
24489
|
ResourceType: "batch" | "serial";
|
|
24490
|
+
/** BatchInfoSchema */
|
|
24491
|
+
BatchInfoSchema: {
|
|
24492
|
+
/**
|
|
24493
|
+
* Id
|
|
24494
|
+
* Format: uuid
|
|
24495
|
+
*/
|
|
24496
|
+
id: string;
|
|
24497
|
+
/** Number */
|
|
24498
|
+
number: string;
|
|
24499
|
+
/** Stockquantity */
|
|
24500
|
+
stockQuantity: number;
|
|
24501
|
+
/** Availableforsale */
|
|
24502
|
+
availableForSale: number;
|
|
24503
|
+
/** Expirydate */
|
|
24504
|
+
expiryDate?: string | null;
|
|
24505
|
+
};
|
|
24506
|
+
/** ItemQuantityResponseSchema */
|
|
24507
|
+
ItemQuantityResponseSchema: {
|
|
24508
|
+
item: components["schemas"]["ItemMinimalSchema"];
|
|
24509
|
+
/** Uomgroups */
|
|
24510
|
+
uomGroups: components["schemas"]["UOMGroupSchema"][];
|
|
24511
|
+
};
|
|
24512
|
+
/** PackageInfoSchema */
|
|
24513
|
+
PackageInfoSchema: {
|
|
24514
|
+
/**
|
|
24515
|
+
* Id
|
|
24516
|
+
* Format: uuid
|
|
24517
|
+
*/
|
|
24518
|
+
id: string;
|
|
24519
|
+
/** Name */
|
|
24520
|
+
name: string;
|
|
24521
|
+
/** Quantity */
|
|
24522
|
+
quantity: number;
|
|
24523
|
+
};
|
|
24524
|
+
/** PackedInventoryItemSchema */
|
|
24525
|
+
PackedInventoryItemSchema: {
|
|
24526
|
+
package?: components["schemas"]["PackageInfoSchema"] | null;
|
|
24527
|
+
/** Stockquantity */
|
|
24528
|
+
stockQuantity: number;
|
|
24529
|
+
/** Availableforsale */
|
|
24530
|
+
availableForSale: number;
|
|
24531
|
+
/**
|
|
24532
|
+
* Batches
|
|
24533
|
+
* @default []
|
|
24534
|
+
*/
|
|
24535
|
+
batches: components["schemas"]["BatchInfoSchema"][];
|
|
24536
|
+
/**
|
|
24537
|
+
* Serials
|
|
24538
|
+
* @default []
|
|
24539
|
+
*/
|
|
24540
|
+
serials: components["schemas"]["SerialInfoSchema"][];
|
|
24541
|
+
};
|
|
24542
|
+
/** SerialInfoSchema */
|
|
24543
|
+
SerialInfoSchema: {
|
|
24544
|
+
/**
|
|
24545
|
+
* Id
|
|
24546
|
+
* Format: uuid
|
|
24547
|
+
*/
|
|
24548
|
+
id: string;
|
|
24549
|
+
/** Number */
|
|
24550
|
+
number: string;
|
|
24551
|
+
/** Status */
|
|
24552
|
+
status: string;
|
|
24553
|
+
/** Stockquantity */
|
|
24554
|
+
stockQuantity: number;
|
|
24555
|
+
/** Availableforsale */
|
|
24556
|
+
availableForSale: number;
|
|
24557
|
+
/** Expirydate */
|
|
24558
|
+
expiryDate?: string | null;
|
|
24559
|
+
};
|
|
24560
|
+
/** UOMGroupSchema */
|
|
24561
|
+
UOMGroupSchema: {
|
|
24562
|
+
unitOfMeasure: components["schemas"]["UnitOfMeasureSchema"];
|
|
24563
|
+
unpacked: components["schemas"]["UnpackedInventorySchema"];
|
|
24564
|
+
/**
|
|
24565
|
+
* Packed
|
|
24566
|
+
* @default []
|
|
24567
|
+
*/
|
|
24568
|
+
packed: components["schemas"]["PackedInventorySchema"][];
|
|
24569
|
+
/**
|
|
24570
|
+
* Totalstockquantity
|
|
24571
|
+
* @default 0
|
|
24572
|
+
*/
|
|
24573
|
+
totalStockQuantity: number;
|
|
24574
|
+
/**
|
|
24575
|
+
* Totalreservedquantity
|
|
24576
|
+
* @default 0
|
|
24577
|
+
*/
|
|
24578
|
+
totalReservedQuantity: number;
|
|
24579
|
+
/**
|
|
24580
|
+
* Totalavailablequantity
|
|
24581
|
+
* @default 0
|
|
24582
|
+
*/
|
|
24583
|
+
totalAvailableQuantity: number;
|
|
24584
|
+
};
|
|
24585
|
+
/** UnpackedInventorySchema */
|
|
24586
|
+
UnpackedInventorySchema: {
|
|
24587
|
+
/**
|
|
24588
|
+
* Stockquantity
|
|
24589
|
+
* @default 0
|
|
24590
|
+
*/
|
|
24591
|
+
stockQuantity: number;
|
|
24592
|
+
/**
|
|
24593
|
+
* Reservedquantity
|
|
24594
|
+
* @default 0
|
|
24595
|
+
*/
|
|
24596
|
+
reservedQuantity: number;
|
|
24597
|
+
/**
|
|
24598
|
+
* Availablequantity
|
|
24599
|
+
* @default 0
|
|
24600
|
+
*/
|
|
24601
|
+
availableQuantity: number;
|
|
24602
|
+
/**
|
|
24603
|
+
* Locations
|
|
24604
|
+
* @default []
|
|
24605
|
+
*/
|
|
24606
|
+
locations: components["schemas"]["ItemLocationSchema"][];
|
|
24607
|
+
};
|
|
24486
24608
|
/**
|
|
24487
24609
|
* AdjustmentTypeOption
|
|
24488
24610
|
* @enum {string}
|
|
@@ -24624,9 +24746,7 @@ export interface components {
|
|
|
24624
24746
|
/**
|
|
24625
24747
|
* Item
|
|
24626
24748
|
* @description
|
|
24627
|
-
* -
|
|
24628
|
-
* - Get item's tracking method for validation rules
|
|
24629
|
-
* - System will check current warehouse quantities
|
|
24749
|
+
* - /api/v1/inventory/items/ and filter by active=true
|
|
24630
24750
|
*
|
|
24631
24751
|
*/
|
|
24632
24752
|
item: number;
|
|
@@ -24656,6 +24776,7 @@ export interface components {
|
|
|
24656
24776
|
* - Required if item is tracked by batch
|
|
24657
24777
|
* - Must belong to the selected item
|
|
24658
24778
|
* - Must exist in the warehouse for decrease/replace adjustments
|
|
24779
|
+
* - /api/v1/inventory/items-quantity/ use this route to check availability (availableForSale)
|
|
24659
24780
|
*
|
|
24660
24781
|
*/
|
|
24661
24782
|
batch?: string | null;
|
|
@@ -24665,7 +24786,7 @@ export interface components {
|
|
|
24665
24786
|
* - Required if item is tracked by serial number
|
|
24666
24787
|
* - Must belong to the selected item
|
|
24667
24788
|
* - For decrease, serial must exist in warehouse
|
|
24668
|
-
* -
|
|
24789
|
+
* - /api/v1/inventory/items-quantity/ use this route to check availability (availableForSale)
|
|
24669
24790
|
*
|
|
24670
24791
|
*/
|
|
24671
24792
|
serial?: string | null;
|
|
@@ -24697,7 +24818,6 @@ export interface components {
|
|
|
24697
24818
|
* Warehouse
|
|
24698
24819
|
* @description
|
|
24699
24820
|
* - Select from user's assigned warehouses
|
|
24700
|
-
* - Must be an active warehouse
|
|
24701
24821
|
* - User must have permission to adjust inventory in this warehouse
|
|
24702
24822
|
*
|
|
24703
24823
|
*/
|
|
@@ -24707,12 +24827,6 @@ export interface components {
|
|
|
24707
24827
|
* @description Optional notes explaining the purpose of this adjustment
|
|
24708
24828
|
*/
|
|
24709
24829
|
description?: string | null;
|
|
24710
|
-
/** @description
|
|
24711
|
-
* - draft: Initial state, can be modified
|
|
24712
|
-
* - pending: Submitted for approval
|
|
24713
|
-
* - approved: Inventory effects applied
|
|
24714
|
-
* - rejected: Adjustment denied
|
|
24715
|
-
* */
|
|
24716
24830
|
status: components["schemas"]["InternalStatusOnCreateValueChoices"];
|
|
24717
24831
|
/**
|
|
24718
24832
|
* Details
|
|
@@ -24766,11 +24880,6 @@ export interface components {
|
|
|
24766
24880
|
* @description Optional notes explaining the purpose of this adjustment
|
|
24767
24881
|
*/
|
|
24768
24882
|
description?: string | null;
|
|
24769
|
-
/** @description
|
|
24770
|
-
* - draft: Can be modified
|
|
24771
|
-
* - pending: Submitted for approval
|
|
24772
|
-
* - Cannot be updated if already approved
|
|
24773
|
-
* */
|
|
24774
24883
|
status: components["schemas"]["InternalStatusOnCreateValueChoices"];
|
|
24775
24884
|
/**
|
|
24776
24885
|
* Details
|
|
@@ -24786,9 +24895,7 @@ export interface components {
|
|
|
24786
24895
|
/**
|
|
24787
24896
|
* Item
|
|
24788
24897
|
* @description
|
|
24789
|
-
* -
|
|
24790
|
-
* - Get item's tracking method for validation rules
|
|
24791
|
-
* - System will check current warehouse quantities
|
|
24898
|
+
* - /api/v1/inventory/items/ and filter by active=true
|
|
24792
24899
|
*
|
|
24793
24900
|
*/
|
|
24794
24901
|
item: number;
|
|
@@ -24818,6 +24925,7 @@ export interface components {
|
|
|
24818
24925
|
* - Required if item is tracked by batch
|
|
24819
24926
|
* - Must belong to the selected item
|
|
24820
24927
|
* - Must exist in the warehouse for decrease/replace adjustments
|
|
24928
|
+
* - /api/v1/inventory/items-quantity/ use this route to check availability (availableForSale)
|
|
24821
24929
|
*
|
|
24822
24930
|
*/
|
|
24823
24931
|
batch?: string | null;
|
|
@@ -24827,7 +24935,7 @@ export interface components {
|
|
|
24827
24935
|
* - Required if item is tracked by serial number
|
|
24828
24936
|
* - Must belong to the selected item
|
|
24829
24937
|
* - For decrease, serial must exist in warehouse
|
|
24830
|
-
* -
|
|
24938
|
+
* - /api/v1/inventory/items-quantity/ use this route to check availability (availableForSale)
|
|
24831
24939
|
*
|
|
24832
24940
|
*/
|
|
24833
24941
|
serial?: string | null;
|
|
@@ -25249,6 +25357,7 @@ export interface components {
|
|
|
25249
25357
|
* @description
|
|
25250
25358
|
* - Must be greater than zero
|
|
25251
25359
|
* - Maximum is determined by source warehouse availability
|
|
25360
|
+
* - /api/v1/inventory/items-quantity/ use this route to check availability (availableForSale)
|
|
25252
25361
|
* - For serial items, must be 1
|
|
25253
25362
|
*
|
|
25254
25363
|
*/
|
|
@@ -25390,6 +25499,7 @@ export interface components {
|
|
|
25390
25499
|
* @description
|
|
25391
25500
|
* - Must be greater than zero
|
|
25392
25501
|
* - Maximum is determined by source warehouse availability
|
|
25502
|
+
* - /api/v1/inventory/items-quantity/ use this route to check availability (availableForSale)
|
|
25393
25503
|
* - For serial items, must be 1
|
|
25394
25504
|
*
|
|
25395
25505
|
*/
|
|
@@ -27582,7 +27692,7 @@ export interface components {
|
|
|
27582
27692
|
/**
|
|
27583
27693
|
* Id
|
|
27584
27694
|
* Format: uuid
|
|
27585
|
-
* @example
|
|
27695
|
+
* @example b25b268e-2aef-4918-9504-5c9e52884fea
|
|
27586
27696
|
*/
|
|
27587
27697
|
id: string;
|
|
27588
27698
|
/**
|
|
@@ -47141,54 +47251,6 @@ export interface components {
|
|
|
47141
47251
|
*/
|
|
47142
47252
|
locations: components["schemas"]["ItemLocationSchema"][];
|
|
47143
47253
|
};
|
|
47144
|
-
/** UOMGroupSchema */
|
|
47145
|
-
UOMGroupSchema: {
|
|
47146
|
-
unitOfMeasure: components["schemas"]["UnitOfMeasureSchema"];
|
|
47147
|
-
unpacked: components["schemas"]["UnpackedInventorySchema"];
|
|
47148
|
-
/**
|
|
47149
|
-
* Packed
|
|
47150
|
-
* @default []
|
|
47151
|
-
*/
|
|
47152
|
-
packed: components["schemas"]["PackedInventorySchema"][];
|
|
47153
|
-
/**
|
|
47154
|
-
* Totalstockquantity
|
|
47155
|
-
* @default 0
|
|
47156
|
-
*/
|
|
47157
|
-
totalStockQuantity: number;
|
|
47158
|
-
/**
|
|
47159
|
-
* Totalreservedquantity
|
|
47160
|
-
* @default 0
|
|
47161
|
-
*/
|
|
47162
|
-
totalReservedQuantity: number;
|
|
47163
|
-
/**
|
|
47164
|
-
* Totalavailablequantity
|
|
47165
|
-
* @default 0
|
|
47166
|
-
*/
|
|
47167
|
-
totalAvailableQuantity: number;
|
|
47168
|
-
};
|
|
47169
|
-
/** UnpackedInventorySchema */
|
|
47170
|
-
UnpackedInventorySchema: {
|
|
47171
|
-
/**
|
|
47172
|
-
* Stockquantity
|
|
47173
|
-
* @default 0
|
|
47174
|
-
*/
|
|
47175
|
-
stockQuantity: number;
|
|
47176
|
-
/**
|
|
47177
|
-
* Reservedquantity
|
|
47178
|
-
* @default 0
|
|
47179
|
-
*/
|
|
47180
|
-
reservedQuantity: number;
|
|
47181
|
-
/**
|
|
47182
|
-
* Availablequantity
|
|
47183
|
-
* @default 0
|
|
47184
|
-
*/
|
|
47185
|
-
availableQuantity: number;
|
|
47186
|
-
/**
|
|
47187
|
-
* Locations
|
|
47188
|
-
* @default []
|
|
47189
|
-
*/
|
|
47190
|
-
locations: components["schemas"]["ItemLocationSchema"][];
|
|
47191
|
-
};
|
|
47192
47254
|
};
|
|
47193
47255
|
responses: never;
|
|
47194
47256
|
parameters: never;
|
|
@@ -56021,20 +56083,18 @@ export interface operations {
|
|
|
56021
56083
|
};
|
|
56022
56084
|
};
|
|
56023
56085
|
};
|
|
56024
|
-
|
|
56086
|
+
inventory_views_allocate_batches_or_serials: {
|
|
56025
56087
|
parameters: {
|
|
56026
|
-
query
|
|
56027
|
-
/** @description Page number */
|
|
56028
|
-
page?: number;
|
|
56029
|
-
/** @description Page size */
|
|
56030
|
-
pageSize?: number;
|
|
56031
|
-
branch: number;
|
|
56032
|
-
};
|
|
56088
|
+
query?: never;
|
|
56033
56089
|
header?: never;
|
|
56034
56090
|
path?: never;
|
|
56035
56091
|
cookie?: never;
|
|
56036
56092
|
};
|
|
56037
|
-
requestBody
|
|
56093
|
+
requestBody: {
|
|
56094
|
+
content: {
|
|
56095
|
+
"application/json": components["schemas"]["BatchAllocationRequest"];
|
|
56096
|
+
};
|
|
56097
|
+
};
|
|
56038
56098
|
responses: {
|
|
56039
56099
|
/** @description OK */
|
|
56040
56100
|
200: {
|
|
@@ -56042,7 +56102,7 @@ export interface operations {
|
|
|
56042
56102
|
[name: string]: unknown;
|
|
56043
56103
|
};
|
|
56044
56104
|
content: {
|
|
56045
|
-
"application/json": components["schemas"]["
|
|
56105
|
+
"application/json": components["schemas"]["AllocationResponse"][];
|
|
56046
56106
|
};
|
|
56047
56107
|
};
|
|
56048
56108
|
/** @description Bad Request */
|
|
@@ -56051,25 +56111,7 @@ export interface operations {
|
|
|
56051
56111
|
[name: string]: unknown;
|
|
56052
56112
|
};
|
|
56053
56113
|
content: {
|
|
56054
|
-
"application/json": components["schemas"]["
|
|
56055
|
-
};
|
|
56056
|
-
};
|
|
56057
|
-
/** @description Forbidden */
|
|
56058
|
-
403: {
|
|
56059
|
-
headers: {
|
|
56060
|
-
[name: string]: unknown;
|
|
56061
|
-
};
|
|
56062
|
-
content: {
|
|
56063
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
56064
|
-
};
|
|
56065
|
-
};
|
|
56066
|
-
/** @description Not Found */
|
|
56067
|
-
404: {
|
|
56068
|
-
headers: {
|
|
56069
|
-
[name: string]: unknown;
|
|
56070
|
-
};
|
|
56071
|
-
content: {
|
|
56072
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
56114
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
56073
56115
|
};
|
|
56074
56116
|
};
|
|
56075
56117
|
/** @description Internal Server Error */
|
|
@@ -56083,18 +56125,27 @@ export interface operations {
|
|
|
56083
56125
|
};
|
|
56084
56126
|
};
|
|
56085
56127
|
};
|
|
56086
|
-
|
|
56128
|
+
inventory_views_get_items_quantity: {
|
|
56087
56129
|
parameters: {
|
|
56088
|
-
query
|
|
56130
|
+
query: {
|
|
56131
|
+
/** @description Branch ID to filter by (optional), it should be filtered by assigned branches to the user */
|
|
56132
|
+
branchId?: number | null;
|
|
56133
|
+
/** @description List of item IDs to filter by (optional) */
|
|
56134
|
+
items?: number[] | null;
|
|
56135
|
+
/** @description List of warehouse IDs to filter by (required), it should be filtered by selected branch and warehouses assigned to the user */
|
|
56136
|
+
warehouses: number[];
|
|
56137
|
+
/** @description Filter by packed (true) or unpacked (false) items */
|
|
56138
|
+
isPacked?: boolean | null;
|
|
56139
|
+
/** @description List of item package IDs to filter by */
|
|
56140
|
+
itemPackages?: string[] | null;
|
|
56141
|
+
/** @description List of unit of measure IDs to filter by (optional) */
|
|
56142
|
+
unitOfMeasures?: number[] | null;
|
|
56143
|
+
};
|
|
56089
56144
|
header?: never;
|
|
56090
56145
|
path?: never;
|
|
56091
56146
|
cookie?: never;
|
|
56092
56147
|
};
|
|
56093
|
-
requestBody
|
|
56094
|
-
content: {
|
|
56095
|
-
"application/json": components["schemas"]["BatchAllocationRequest"];
|
|
56096
|
-
};
|
|
56097
|
-
};
|
|
56148
|
+
requestBody?: never;
|
|
56098
56149
|
responses: {
|
|
56099
56150
|
/** @description OK */
|
|
56100
56151
|
200: {
|
|
@@ -56102,7 +56153,7 @@ export interface operations {
|
|
|
56102
56153
|
[name: string]: unknown;
|
|
56103
56154
|
};
|
|
56104
56155
|
content: {
|
|
56105
|
-
"application/json": components["schemas"]["
|
|
56156
|
+
"application/json": components["schemas"]["ItemQuantityResponseSchema"][];
|
|
56106
56157
|
};
|
|
56107
56158
|
};
|
|
56108
56159
|
/** @description Bad Request */
|
|
@@ -56111,7 +56162,25 @@ export interface operations {
|
|
|
56111
56162
|
[name: string]: unknown;
|
|
56112
56163
|
};
|
|
56113
56164
|
content: {
|
|
56114
|
-
"application/json": components["schemas"]["
|
|
56165
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
56166
|
+
};
|
|
56167
|
+
};
|
|
56168
|
+
/** @description Forbidden */
|
|
56169
|
+
403: {
|
|
56170
|
+
headers: {
|
|
56171
|
+
[name: string]: unknown;
|
|
56172
|
+
};
|
|
56173
|
+
content: {
|
|
56174
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
56175
|
+
};
|
|
56176
|
+
};
|
|
56177
|
+
/** @description Not Found */
|
|
56178
|
+
404: {
|
|
56179
|
+
headers: {
|
|
56180
|
+
[name: string]: unknown;
|
|
56181
|
+
};
|
|
56182
|
+
content: {
|
|
56183
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
56115
56184
|
};
|
|
56116
56185
|
};
|
|
56117
56186
|
/** @description Internal Server Error */
|