sinfactura-types 1.10.338 → 1.10.340
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/appointment.d.ts +8 -0
- package/dist/auth.d.ts +4 -6
- package/dist/store.d.ts +0 -1
- package/package.json +1 -1
package/dist/appointment.d.ts
CHANGED
|
@@ -216,6 +216,14 @@ declare global {
|
|
|
216
216
|
* status edit) leaves the attribute ABSENT rather than writing a default, so
|
|
217
217
|
* a row without it is not a row whose reason was lost.
|
|
218
218
|
*
|
|
219
|
+
* ⚠️ **It can arrive on the PARENT's frame, not only on an occurrence's** —
|
|
220
|
+
* and a client that only expects the latter will miss the most common case.
|
|
221
|
+
* Excluding the series' own FIRST date cancels the parent row itself, and
|
|
222
|
+
* the cancelled copy is dropped from the batch by the emit-once filter, so
|
|
223
|
+
* the frame the store receives is the re-read parent. It carries the reason.
|
|
224
|
+
* Branch on the field, never on whether the row looks like a parent or an
|
|
225
|
+
* occurrence.
|
|
226
|
+
*
|
|
219
227
|
* ⚠️ **Forward-only** — rows cancelled before this shipped carry nothing,
|
|
220
228
|
* and nothing backfills them. A historical `CANCELLED` occurrence of a
|
|
221
229
|
* skipped date is therefore indistinguishable from a real cancellation, by
|
package/dist/auth.d.ts
CHANGED
|
@@ -42,9 +42,9 @@ declare global {
|
|
|
42
42
|
* optionality.
|
|
43
43
|
*
|
|
44
44
|
* ⚠️ NOT interchangeable with {@link CustomerRegisterInput}. The two
|
|
45
|
-
* registration endpoints differ in
|
|
46
|
-
*
|
|
47
|
-
*
|
|
45
|
+
* registration endpoints differ in four places — `name` and `acquisition`
|
|
46
|
+
* exist only here, `fullName` is OPTIONAL here and REQUIRED there, and the
|
|
47
|
+
* address/`afip` block exists only there.
|
|
48
48
|
*
|
|
49
49
|
* ⚠️ Bounds are stated per field below and are what the server ENFORCES;
|
|
50
50
|
* a violation is `400` and creates nothing at all, not a partial tenant.
|
|
@@ -79,8 +79,6 @@ declare global {
|
|
|
79
79
|
fullName?: string;
|
|
80
80
|
/** Consent to register past the shared-CUIT gate, i.e. to retry a `409 CUIT_SHARED`. */
|
|
81
81
|
acknowledgedSharedCuit?: boolean;
|
|
82
|
-
/** Waitlist registration — the tenant is created and a session is minted, but the welcome path differs. */
|
|
83
|
-
waitlist?: boolean;
|
|
84
82
|
/**
|
|
85
83
|
* First-touch acquisition captured by the registration client; the api
|
|
86
84
|
* server-stamps `capturedAt`.
|
|
@@ -187,7 +185,7 @@ declare global {
|
|
|
187
185
|
*
|
|
188
186
|
* ⚠️ ONE type serves TWO endpoints whose schemas differ: tenant self-registration
|
|
189
187
|
* (`POST /auth`, mode `register`) and the storefront CUSTOMER registration. It
|
|
190
|
-
* mirrors neither exactly — the tenant schema also takes `name` and
|
|
188
|
+
* mirrors neither exactly — the tenant schema also takes `name` and
|
|
191
189
|
* makes `fullName` optional and `phone` required; the customer schema has no
|
|
192
190
|
* `name`, requires `fullName` and takes an address. Both front ends reach it
|
|
193
191
|
* through a cast, so tightening it towards either schema breaks the other's
|
package/dist/store.d.ts
CHANGED