sinfactura-types 1.10.339 → 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/auth.d.ts +4 -6
- package/dist/store.d.ts +0 -1
- package/package.json +1 -1
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