sinfactura-types 1.6.47 → 1.6.48
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/store.d.ts +11 -8
- package/package.json +1 -1
package/dist/store.d.ts
CHANGED
|
@@ -317,17 +317,20 @@ declare global {
|
|
|
317
317
|
}
|
|
318
318
|
/**
|
|
319
319
|
* Full write shape for the `mercadolibre` key of `PATCH /store`'s body
|
|
320
|
-
* (`mercadolibrePatchSchema`, `stacks/lambdas/store/_patch.ts`). `
|
|
321
|
-
*
|
|
322
|
-
*
|
|
323
|
-
*
|
|
324
|
-
*
|
|
325
|
-
*
|
|
326
|
-
* nullable
|
|
320
|
+
* (`mercadolibrePatchSchema`, `stacks/lambdas/store/_patch.ts`). `defaultPosId`
|
|
321
|
+
* additionally accepts `null` to clear a previously-set dedicated PdV
|
|
322
|
+
* (api#1656) — same WRITE-ONLY null-means-remove convention as
|
|
323
|
+
* `syncPolicy`'s knobs (api#1650): the BE deletes the field rather than
|
|
324
|
+
* ever persisting a DynamoDB `null`, so the read shape
|
|
325
|
+
* (`Mercadolibre['defaultPosId']`) stays `number | undefined` and does not
|
|
326
|
+
* need to change. `autoInvoice` is not nullable — it's a plain boolean
|
|
327
|
+
* toggle, never "unset." Prefer this over `Partial<Mercadolibre>` for
|
|
328
|
+
* PATCH request bodies — the read-side interface can't express these
|
|
329
|
+
* write-time null-clear semantics.
|
|
327
330
|
*/
|
|
328
331
|
interface MercadolibrePatchInput {
|
|
329
332
|
autoInvoice?: boolean;
|
|
330
|
-
defaultPosId?: number;
|
|
333
|
+
defaultPosId?: number | null;
|
|
331
334
|
syncPolicy?: MercadolibreSyncPolicyInput;
|
|
332
335
|
}
|
|
333
336
|
interface Afip {
|