sinfactura-types 1.6.55 → 1.6.57
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/mercadolibre.d.ts +1 -0
- package/dist/order.d.ts +7 -0
- package/dist/store.d.ts +4 -0
- package/package.json +1 -1
package/dist/mercadolibre.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ declare global {
|
|
|
26
26
|
connectedAt?: number;
|
|
27
27
|
expiresAt?: number;
|
|
28
28
|
autoInvoice?: boolean;
|
|
29
|
+
autoCreditNote?: boolean;
|
|
29
30
|
defaultPosId?: number;
|
|
30
31
|
/** api#1655 — when the operator attested ML's own Facturador is OFF
|
|
31
32
|
* (epoch ms); absent = never attested. FE gates the autoInvoice toggle
|
package/dist/order.d.ts
CHANGED
|
@@ -30,6 +30,13 @@ declare global {
|
|
|
30
30
|
tagPrinted?: boolean;
|
|
31
31
|
invoices?: Partial<Invoice>[];
|
|
32
32
|
returns?: Partial<Return>[];
|
|
33
|
+
mercadolibreCreditNote?: {
|
|
34
|
+
creditNoteNumber?: number;
|
|
35
|
+
emittedAt?: number;
|
|
36
|
+
status?: "emitted" | "skipped" | "failed";
|
|
37
|
+
reason?: string;
|
|
38
|
+
claimId?: string;
|
|
39
|
+
};
|
|
33
40
|
disabled?: boolean;
|
|
34
41
|
items: Partial<BasketItem>[];
|
|
35
42
|
rating?: number;
|
package/dist/store.d.ts
CHANGED
|
@@ -293,6 +293,10 @@ declare global {
|
|
|
293
293
|
/** Per-channel auto-invoice toggle — default OFF; enabling requires
|
|
294
294
|
* `defaultPosId` (dedicated PdV) + the Facturador-collision check. */
|
|
295
295
|
autoInvoice?: boolean;
|
|
296
|
+
/** Auto-emit a Nota de Crédito when a full-sale ML return is finalized
|
|
297
|
+
* (api#1684) — default OFF; requires `autoInvoice` and rides the same
|
|
298
|
+
* dedicated-PdV + Facturador-collision guards. */
|
|
299
|
+
autoCreditNote?: boolean;
|
|
296
300
|
defaultPosId?: number;
|
|
297
301
|
/** Epoch ms of the operator's attestation that ML's own Facturador is
|
|
298
302
|
* OFF for this account (api#1655) — required before `autoInvoice` can
|