@erp-galoper/main-package 1.0.304 → 1.0.305

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 +139 -71
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -4123,7 +4123,7 @@ export interface paths {
4123
4123
  };
4124
4124
  /**
4125
4125
  * Get Items Quantity
4126
- * @description Endpoint for List Items Quantity in Warehouse and Branch with UOM-based Batch/Serial breakdown
4126
+ * @description Endpoint for List Items Quantity in Warehouse and Branch with UOM-based Batch/Serial breakdown and Location details
4127
4127
  *
4128
4128
  * Query Parameters:
4129
4129
  * - warehouses: List of warehouse IDs to filter by (required), it should be filtered by selected branch and warehouses assigned to the user
@@ -4137,7 +4137,7 @@ export interface paths {
4137
4137
  * - If provided, overrides packed parameter and shows only specified packages
4138
4138
  *
4139
4139
  * Responses:
4140
- * - 200: Items quantity with UOM breakdown
4140
+ * - 200: Items quantity with UOM breakdown, batch/serial details, and location information
4141
4141
  * - 400:
4142
4142
  * - 403: "permissionDenied"
4143
4143
  * - "noBranchAccess"
@@ -24353,12 +24353,60 @@ export interface components {
24353
24353
  /** Expirydate */
24354
24354
  expiryDate?: string | null;
24355
24355
  };
24356
+ /** ItemPackageSummarySchema */
24357
+ ItemPackageSummarySchema: {
24358
+ /**
24359
+ * Id
24360
+ * Format: uuid
24361
+ */
24362
+ id: string;
24363
+ /**
24364
+ * Barcode
24365
+ * @description Barcode of the item
24366
+ */
24367
+ barcode: string;
24368
+ /**
24369
+ * Quantity
24370
+ * @description Quantity of the item
24371
+ */
24372
+ quantity: number;
24373
+ /** @description Package of the item */
24374
+ package: components["schemas"]["PackageSummarySchema"];
24375
+ /** Returnable */
24376
+ returnable: boolean;
24377
+ };
24356
24378
  /** ItemQuantityResponseSchema */
24357
24379
  ItemQuantityResponseSchema: {
24358
- item: components["schemas"]["ItemMinimalSchema"];
24359
24380
  /** Uomgroups */
24360
- uomGroups: components["schemas"]["UOMGroupSchema"][];
24381
+ uomGroups: components["schemas"]["UOMGroupingSchema"][];
24361
24382
  };
24383
+ /** LocationInfoSchema */
24384
+ LocationInfoSchema: {
24385
+ warehouse: components["schemas"]["WarehouseSummaryInfo"];
24386
+ unitOfMeasure?: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
24387
+ itemPackage?: components["schemas"]["ItemPackageSummarySchema"] | null;
24388
+ /** Stockquantity */
24389
+ stockQuantity: number;
24390
+ /** Availableforsale */
24391
+ availableForSale: number;
24392
+ /** Ispackage */
24393
+ isPackage: boolean;
24394
+ /**
24395
+ * Batches
24396
+ * @default []
24397
+ */
24398
+ batches: components["schemas"]["BatchInfoSchema"][];
24399
+ /**
24400
+ * Serials
24401
+ * @default []
24402
+ */
24403
+ serials: components["schemas"]["SerialInfoSchema"][];
24404
+ };
24405
+ /**
24406
+ * PackageCategory
24407
+ * @enum {string}
24408
+ */
24409
+ PackageCategory: "primary" | "secondary" | "tertiary" | "disposable" | "sustainable" | "retail" | "luxury" | "flexible" | "rigid" | "custom";
24362
24410
  /** PackageInfoSchema */
24363
24411
  PackageInfoSchema: {
24364
24412
  /**
@@ -24388,6 +24436,11 @@ export interface components {
24388
24436
  * @default []
24389
24437
  */
24390
24438
  serials: components["schemas"]["SerialInfoSchema"][];
24439
+ /**
24440
+ * Locations
24441
+ * @default []
24442
+ */
24443
+ locations: components["schemas"]["LocationInfoSchema"][];
24391
24444
  };
24392
24445
  /** SerialInfoSchema */
24393
24446
  SerialInfoSchema: {
@@ -24407,53 +24460,34 @@ export interface components {
24407
24460
  /** Expirydate */
24408
24461
  expiryDate?: string | null;
24409
24462
  };
24410
- /** UOMGroupSchema */
24411
- UOMGroupSchema: {
24412
- unitOfMeasure: components["schemas"]["UnitOfMeasureSchema"];
24413
- unpacked: components["schemas"]["UnpackedInventorySchema"];
24414
- /**
24415
- * Packed
24416
- * @default []
24417
- */
24418
- packed: components["schemas"]["PackedInventorySchema"][];
24419
- /**
24420
- * Totalstockquantity
24421
- * @default 0
24422
- */
24423
- totalStockQuantity: number;
24424
- /**
24425
- * Totalreservedquantity
24426
- * @default 0
24427
- */
24428
- totalReservedQuantity: number;
24429
- /**
24430
- * Totalavailablequantity
24431
- * @default 0
24432
- */
24433
- totalAvailableQuantity: number;
24463
+ /** UOMGroupingSchema */
24464
+ UOMGroupingSchema: {
24465
+ unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"];
24466
+ unpacked: components["schemas"]["UnPackedInventoryItemSchema"];
24467
+ /** Packed */
24468
+ packed: components["schemas"]["PackedInventoryItemSchema"][];
24434
24469
  };
24435
- /** UnpackedInventorySchema */
24436
- UnpackedInventorySchema: {
24437
- /**
24438
- * Stockquantity
24439
- * @default 0
24440
- */
24470
+ /** UnPackedInventoryItemSchema */
24471
+ UnPackedInventoryItemSchema: {
24472
+ /** Stockquantity */
24441
24473
  stockQuantity: number;
24474
+ /** Availableforsale */
24475
+ availableForSale: number;
24442
24476
  /**
24443
- * Reservedquantity
24444
- * @default 0
24477
+ * Batches
24478
+ * @default []
24445
24479
  */
24446
- reservedQuantity: number;
24480
+ batches: components["schemas"]["BatchInfoSchema"][];
24447
24481
  /**
24448
- * Availablequantity
24449
- * @default 0
24482
+ * Serials
24483
+ * @default []
24450
24484
  */
24451
- availableQuantity: number;
24485
+ serials: components["schemas"]["SerialInfoSchema"][];
24452
24486
  /**
24453
24487
  * Locations
24454
24488
  * @default []
24455
24489
  */
24456
- locations: components["schemas"]["ItemLocationSchema"][];
24490
+ locations: components["schemas"]["LocationInfoSchema"][];
24457
24491
  };
24458
24492
  /**
24459
24493
  * AdjustmentTypeOption
@@ -24493,33 +24527,6 @@ export interface components {
24493
24527
  * @enum {string}
24494
24528
  */
24495
24529
  InternalStatusOnReturnValueChoices: "draft" | "submitted" | "canceled";
24496
- /** ItemPackageSummarySchema */
24497
- ItemPackageSummarySchema: {
24498
- /**
24499
- * Id
24500
- * Format: uuid
24501
- */
24502
- id: string;
24503
- /**
24504
- * Barcode
24505
- * @description Barcode of the item
24506
- */
24507
- barcode: string;
24508
- /**
24509
- * Quantity
24510
- * @description Quantity of the item
24511
- */
24512
- quantity: number;
24513
- /** @description Package of the item */
24514
- package: components["schemas"]["PackageSummarySchema"];
24515
- /** Returnable */
24516
- returnable: boolean;
24517
- };
24518
- /**
24519
- * PackageCategory
24520
- * @enum {string}
24521
- */
24522
- PackageCategory: "primary" | "secondary" | "tertiary" | "disposable" | "sustainable" | "retail" | "luxury" | "flexible" | "rigid" | "custom";
24523
24530
  /** Reason */
24524
24531
  Reason: {
24525
24532
  /** Id */
@@ -27564,7 +27571,7 @@ export interface components {
27564
27571
  /**
27565
27572
  * Id
27566
27573
  * Format: uuid
27567
- * @example b7ce55dd-c7c9-478a-8e09-9dd39d037879
27574
+ * @example 173f3737-c896-45ea-9499-beb048575148
27568
27575
  */
27569
27576
  id: string;
27570
27577
  /**
@@ -37153,8 +37160,11 @@ export interface components {
37153
37160
  country: components["schemas"]["CountryCodes"];
37154
37161
  /** Postalcode */
37155
37162
  postalCode?: string;
37156
- /** City Id */
37157
- "city id"?: number;
37163
+ /**
37164
+ * City
37165
+ * @description city id
37166
+ */
37167
+ city?: number;
37158
37168
  /** Address */
37159
37169
  address?: string;
37160
37170
  /** Website */
@@ -45772,6 +45782,11 @@ export interface components {
45772
45782
  unitPackage: number | null;
45773
45783
  /** Quantity */
45774
45784
  quantity: number;
45785
+ /**
45786
+ * Quantityordered
45787
+ * @description Quantity ordered from the linked sales order or invoice
45788
+ */
45789
+ quantityOrdered?: number | null;
45775
45790
  /**
45776
45791
  * Tracking
45777
45792
  * @description Tracking details (serial numbers, batches, or quantities)
@@ -45897,6 +45912,11 @@ export interface components {
45897
45912
  unitPackage?: number;
45898
45913
  /** Quantity */
45899
45914
  quantity: number;
45915
+ /**
45916
+ * Quantityordered
45917
+ * @description Quantity of the item ordered (if applicable)
45918
+ */
45919
+ quantityOrdered?: number | null;
45900
45920
  /**
45901
45921
  * Tracking
45902
45922
  * @description Get the tracking from the item
@@ -47191,6 +47211,54 @@ export interface components {
47191
47211
  */
47192
47212
  locations: components["schemas"]["ItemLocationSchema"][];
47193
47213
  };
47214
+ /** UOMGroupSchema */
47215
+ UOMGroupSchema: {
47216
+ unitOfMeasure: components["schemas"]["UnitOfMeasureSchema"];
47217
+ unpacked: components["schemas"]["UnpackedInventorySchema"];
47218
+ /**
47219
+ * Packed
47220
+ * @default []
47221
+ */
47222
+ packed: components["schemas"]["PackedInventorySchema"][];
47223
+ /**
47224
+ * Totalstockquantity
47225
+ * @default 0
47226
+ */
47227
+ totalStockQuantity: number;
47228
+ /**
47229
+ * Totalreservedquantity
47230
+ * @default 0
47231
+ */
47232
+ totalReservedQuantity: number;
47233
+ /**
47234
+ * Totalavailablequantity
47235
+ * @default 0
47236
+ */
47237
+ totalAvailableQuantity: number;
47238
+ };
47239
+ /** UnpackedInventorySchema */
47240
+ UnpackedInventorySchema: {
47241
+ /**
47242
+ * Stockquantity
47243
+ * @default 0
47244
+ */
47245
+ stockQuantity: number;
47246
+ /**
47247
+ * Reservedquantity
47248
+ * @default 0
47249
+ */
47250
+ reservedQuantity: number;
47251
+ /**
47252
+ * Availablequantity
47253
+ * @default 0
47254
+ */
47255
+ availableQuantity: number;
47256
+ /**
47257
+ * Locations
47258
+ * @default []
47259
+ */
47260
+ locations: components["schemas"]["ItemLocationSchema"][];
47261
+ };
47194
47262
  };
47195
47263
  responses: never;
47196
47264
  parameters: never;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@erp-galoper/main-package",
3
- "version": "1.0.304",
3
+ "version": "1.0.305",
4
4
  "main": "openapi.ts"
5
5
  }