@tolinax/ayoune-interfaces 2026.36.1 → 2026.37.1

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.
@@ -32,4 +32,7 @@ export interface IComputingEntityTemplate extends IDefaultFields {
32
32
  configFiles?: IComputingEntityConfigFile[];
33
33
  desktopClientInstaller?: string;
34
34
  bootstrapTtlHours?: number;
35
+ agentType?: 'desktop-client' | 'standalone' | 'legacy';
36
+ updatePolicy?: 'force' | 'optional' | 'silent-on-quit';
37
+ updateForceCountdownSec?: number;
35
38
  }
@@ -34,6 +34,15 @@ export interface IPosition extends IDefaultFields, IFreeFields {
34
34
  qtyBoxed?: number;
35
35
  qtyShipped?: number;
36
36
  qtyInvoiced?: number;
37
+ /**
38
+ * Quantity actually received from the supplier, tracked on inbound booking.
39
+ * Incremented by the warehouse-api `/goodsreceipts/:id/actions/book-incoming`
40
+ * action when the line is linked to this position via
41
+ * stockLog.supplierOrderPosition. Enables detecting over/underdelivery.
42
+ */
43
+ qtyReceived?: number;
44
+ /** The StockLog that recorded the most recent inbound booking on this position. */
45
+ qtyReceivedBy?: ObjectId;
37
46
  shippings?: ObjectId[];
38
47
  invoices?: ObjectId[];
39
48
  weight?: number;
@@ -41,6 +41,12 @@ export interface IPutAwayOrder extends IDefaultFields {
41
41
  _subID?: ObjectId[];
42
42
  nbr?: string;
43
43
  status: "pending" | "in_progress" | "completed" | "cancelled";
44
+ /**
45
+ * Physical pallet/container barcode. Enables the scanner's pallet-first mode:
46
+ * worker scans the pallet label and the scanner finds the matching put-away
47
+ * order (`GET /putawayorders?palletBarcode=...&status=open`).
48
+ */
49
+ palletBarcode?: string;
44
50
  warehouse: ObjectId;
45
51
  assignedTo?: ObjectId;
46
52
  goodsReceipt?: ObjectId;
@@ -42,6 +42,12 @@ export interface IStockLog extends IDefaultFields {
42
42
  assignment?: ObjectId;
43
43
  goodsReceipts?: ObjectId;
44
44
  supplierOrder?: ObjectId;
45
+ /**
46
+ * Reference to the specific supplier-order line this movement fulfills.
47
+ * Used by the warehouse-api inbound-booking action to attribute
48
+ * received qty to a particular PO position for audit + qtyReceived rollup.
49
+ */
50
+ supplierOrderPosition?: ObjectId;
45
51
  productionOrder?: ObjectId;
46
52
  productionOrderPosition?: ObjectId;
47
53
  productionOrderPositionStep?: ObjectId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2026.36.1",
3
+ "version": "2026.37.1",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",