sinfactura-types 1.10.396 → 1.10.397

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/dist/return.d.ts CHANGED
@@ -321,6 +321,13 @@ declare global {
321
321
  * NOT refund or unlink the provider payment.
322
322
  */
323
323
  acknowledgeNoProviderRefund?: boolean;
324
+ /**
325
+ * The depósito sellable lines go back to, on a store whose
326
+ * `stockAuthority` is `'depositos'`. Absent: each line's own recorded
327
+ * depósito. Ignored on a store that has not switched. Must name an
328
+ * active depósito (`WAREHOUSE_NOT_FOUND` / `WAREHOUSE_INACTIVE`).
329
+ */
330
+ warehouseId?: string;
324
331
  }
325
332
  interface CreateReturnRequestItem {
326
333
  /** Index into the originating `Order.items`. Duplicates are rejected. */
package/dist/stock.d.ts CHANGED
@@ -85,9 +85,10 @@ declare global {
85
85
  * the level moves in the same transaction and no `MOV#` row is written
86
86
  * for the same units (the api's ADR-0001).
87
87
  *
88
- * ⚠️ OPTIONAL PERMANENTLY. Nothing writes it yet, and rows written before
89
- * it never carry one — absent means "store-wide only", never "the
90
- * primary depósito".
88
+ * ⚠️ OPTIONAL PERMANENTLY. Written only when a level moved with the row
89
+ * (a store running `stockAuthority: 'depositos'`), and rows written
90
+ * before it never carry one — absent means "store-wide only", never
91
+ * "the primary depósito".
91
92
  */
92
93
  warehouseId?: string;
93
94
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinfactura-types",
3
- "version": "1.10.396",
3
+ "version": "1.10.397",
4
4
  "description": "Shared wire and entity contracts for the SINFACTURA platform.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",