@vindentech/api-client 0.3.0-next.74 → 0.3.0-next.75

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.
@@ -5367,13 +5367,24 @@ export interface PodDetailDto {
5367
5367
  labelId: string | null;
5368
5368
  /** pod_status value */
5369
5369
  status: string;
5370
- /** Unit width (mm) */
5371
- unitWidthMm: number;
5372
- unitHeightMm: number;
5373
- unitDepthMm: number;
5370
+ /**
5371
+ * Unit width (mm). The three dimensions are all set or all null; null means no size has been recorded for this unit yet, and volumeCm3 is then null too.
5372
+ * @nullable
5373
+ */
5374
+ unitWidthMm: number | null;
5375
+ /**
5376
+ * Unit height (mm); null with unitWidthMm.
5377
+ * @nullable
5378
+ */
5379
+ unitHeightMm: number | null;
5380
+ /**
5381
+ * Unit depth (mm); null with unitWidthMm.
5382
+ * @nullable
5383
+ */
5384
+ unitDepthMm: number | null;
5374
5385
  quantity: number;
5375
5386
  /**
5376
- * Volume in cm³ (generated projection)
5387
+ * Volume in cm³ (generated projection); null while the unit has no recorded size.
5377
5388
  * @nullable
5378
5389
  */
5379
5390
  volumeCm3: number | null;
@@ -5432,21 +5443,6 @@ export interface PickStateDto {
5432
5443
  packedQuantity: number | null;
5433
5444
  }
5434
5445
  export interface UpdatePodDto {
5435
- /**
5436
- * Unit width in millimetres.
5437
- * @minimum 1
5438
- */
5439
- unitWidthMm?: number;
5440
- /**
5441
- * Unit height in millimetres.
5442
- * @minimum 1
5443
- */
5444
- unitHeightMm?: number;
5445
- /**
5446
- * Unit depth in millimetres.
5447
- * @minimum 1
5448
- */
5449
- unitDepthMm?: number;
5450
5446
  /**
5451
5447
  * Physical label id (relabel).
5452
5448
  * @maxLength 200
@@ -5470,13 +5466,24 @@ export interface PodDto {
5470
5466
  labelId: string | null;
5471
5467
  /** pod_status value */
5472
5468
  status: string;
5473
- /** Unit width (mm) */
5474
- unitWidthMm: number;
5475
- unitHeightMm: number;
5476
- unitDepthMm: number;
5469
+ /**
5470
+ * Unit width (mm). The three dimensions are all set or all null; null means no size has been recorded for this unit yet, and volumeCm3 is then null too.
5471
+ * @nullable
5472
+ */
5473
+ unitWidthMm: number | null;
5474
+ /**
5475
+ * Unit height (mm); null with unitWidthMm.
5476
+ * @nullable
5477
+ */
5478
+ unitHeightMm: number | null;
5479
+ /**
5480
+ * Unit depth (mm); null with unitWidthMm.
5481
+ * @nullable
5482
+ */
5483
+ unitDepthMm: number | null;
5477
5484
  quantity: number;
5478
5485
  /**
5479
- * Volume in cm³ (generated projection)
5486
+ * Volume in cm³ (generated projection); null while the unit has no recorded size.
5480
5487
  * @nullable
5481
5488
  */
5482
5489
  volumeCm3: number | null;
@@ -6385,8 +6392,8 @@ export interface ReceiveNewProductCommandDto {
6385
6392
  placeholderName: string;
6386
6393
  /** Category FK; a bad id falls back to null + categoryFallbackUsed:true. */
6387
6394
  categoryId?: number;
6388
- /** User-estimated unit dimensions. */
6389
- userEstimatedUnitDimensions: UnitDimensionsDto;
6395
+ /** Measured unit dimensions of the received goods. The pod is recorded as warehouse-measured. */
6396
+ unitDimensions: UnitDimensionsDto;
6390
6397
  /** Destination container. */
6391
6398
  containerId: string;
6392
6399
  /**
@@ -6507,8 +6514,8 @@ export interface AdjustResultDto {
6507
6514
  }
6508
6515
  export interface SyncProductPodDimensionsDto {
6509
6516
  productId: string;
6510
- /** A pod of the product's item. */
6511
- podId: string;
6517
+ /** A pod of the product's item. Optional: the save measures every live pod of the product whose sales order has not completed, whether or not one is named. When sent it must belong to the product (else 404), and the response reports it back. */
6518
+ podId?: string;
6512
6519
  /** Measured unit dimensions. */
6513
6520
  unitDimensions: UnitDimensionsDto;
6514
6521
  /**
@@ -6530,7 +6537,15 @@ export interface SyncedPodDimensionsDto {
6530
6537
  }
6531
6538
  export interface SyncProductPodDimensionsResultDto {
6532
6539
  productId: string;
6533
- pod: SyncedPodDimensionsDto;
6540
+ /**
6541
+ * The pod named by podId, as written. Null when podId was omitted, or when that pod was skipped because its sales order has completed.
6542
+ * @nullable
6543
+ */
6544
+ pod: SyncedPodDimensionsDto | null;
6545
+ /** Live pods of the product this save sized and stamped as measured. */
6546
+ podsWritten: number;
6547
+ /** Live pods of the product left as they were because their sales order has completed: its billable volume is already fixed, and the pod must keep agreeing with it. */
6548
+ podsSkipped: number;
6534
6549
  /** True when this response replays a previous run of the key. */
6535
6550
  idempotent: boolean;
6536
6551
  }
@@ -6665,8 +6680,8 @@ export interface IdentifyPickupItemCommandDto {
6665
6680
  placeholderName: string;
6666
6681
  /** Category id (nullable FK). A bad id falls back to null with categoryFallbackUsed=true. */
6667
6682
  categoryId?: number;
6668
- /** Worker's estimated unit dimensions. */
6669
- userEstimatedUnitDimensions: UnitDimensionsDto;
6683
+ /** Optional estimate of one unit's size, e.g. the driver's. It is stored on the product created by the ad-hoc branch (as the product's estimated dimensions) and never sizes the pod: the pod is created without dimensions until a warehouse measures it. Ignored when salesOrderProductId is sent, since that product already exists. */
6684
+ userEstimatedUnitDimensions?: UnitDimensionsDto;
6670
6685
  /** Storage key of the product image. */
6671
6686
  productImageStorageKey: string;
6672
6687
  damageReport?: DamageReportInputDto;
@@ -6709,8 +6724,8 @@ export interface CheckInNewProductCommandDto {
6709
6724
  placeholderName: string;
6710
6725
  /** Category id (nullable FK). A bad id falls back to null with categoryFallbackUsed=true. */
6711
6726
  categoryId?: number;
6712
- /** Worker's estimated unit dimensions. */
6713
- userEstimatedUnitDimensions: UnitDimensionsDto;
6727
+ /** Measured unit dimensions of the item. The pod is recorded as warehouse-measured. */
6728
+ unitDimensions: UnitDimensionsDto;
6714
6729
  /** Storage key of the product image. */
6715
6730
  productImageStorageKey: string;
6716
6731
  /** Destination container — the pod is put away immediately, no separate check-in/place call. */