sinfactura-types 1.6.68 → 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.
Files changed (2) hide show
  1. package/dist/store.d.ts +16 -0
  2. package/package.json +1 -1
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.68",
3
+ "version": "1.6.69",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",