sinfactura-types 1.6.67 → 1.6.69

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/seeder.d.ts CHANGED
@@ -49,6 +49,17 @@ declare global {
49
49
  completed: number;
50
50
  total: number;
51
51
  costUsd?: number;
52
+ /**
53
+ * `true` once the drafts have actually been copied into the live partitions.
54
+ *
55
+ * `status: 'done'` alone CANNOT tell you this — it means "generation finished",
56
+ * and it keeps saying that after the commit too. Without this flag the FE can't
57
+ * tell a job that is READY to commit from one already committed, so the wizard
58
+ * offers "Confirmar" a second time and the tenant earns a 409.
59
+ *
60
+ * Derived server-side from an internal marker; the timestamp itself never ships.
61
+ */
62
+ committed?: boolean;
52
63
  /** Preview cards streamed so far. EMPTY until the stage workers write `SEED_DRAFT#` rows (api#1080). */
53
64
  samples?: SeedSampleCard[];
54
65
  }
package/dist/store.d.ts CHANGED
@@ -339,6 +339,9 @@ declare global {
339
339
  */
340
340
  interface MercadolibrePatchInput {
341
341
  autoInvoice?: boolean;
342
+ /** Auto-emit a Nota de Crédito on a finalized full-sale ML return (api#1684).
343
+ * BE-enforced: requires `autoInvoice` to be true (400 otherwise). */
344
+ autoCreditNote?: boolean;
342
345
  defaultPosId?: number | null;
343
346
  /** WRITE-ONLY attestation flag (api#1655): `true` = the operator
344
347
  * confirms ML's own Facturador is OFF for this account. The BE stamps
@@ -394,6 +397,19 @@ declare global {
394
397
  fceEnabled?: boolean;
395
398
  wscdcEnabled?: boolean;
396
399
  }
400
+ /**
401
+ * Write shape for the `afip` key of `PATCH /store`'s body. The wire accepts an
402
+ * explicit `null` for these clearable keys — `null` deletes the key, omitting it
403
+ * keeps the current value — but the read-side `Afip` interface can't express that
404
+ * WRITE-ONLY null-clear semantic. Same convention as `MercadolibrePatchInput`'s
405
+ * `defaultPosId`/`syncPolicy` null-knobs above.
406
+ */
407
+ interface AfipPatchInput {
408
+ facturaMLegend?: 'retencion' | 'cbu_informada' | null;
409
+ cbu?: string | null;
410
+ iibbTransparency?: Afip['iibbTransparency'] | null;
411
+ actividades?: number[] | null;
412
+ }
397
413
  type StoreAttributeNames = keyof Store;
398
414
  interface Method {
399
415
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinfactura-types",
3
- "version": "1.6.67",
3
+ "version": "1.6.69",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",