sinfactura-types 1.10.21 → 1.10.23
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/api.d.ts +0 -1
- package/dist/audit.d.ts +18 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
package/dist/audit.d.ts
CHANGED
|
@@ -102,6 +102,24 @@ declare global {
|
|
|
102
102
|
/** Full request args + response body (raw), for the regulator record. */
|
|
103
103
|
requestPayload: Record<string, unknown>;
|
|
104
104
|
responsePayload: Record<string, unknown>;
|
|
105
|
+
/**
|
|
106
|
+
* Set ONLY when the interaction was triggered from inside a MANAGER
|
|
107
|
+
* support-impersonation session. Absent means the tenant acted for itself,
|
|
108
|
+
* which is the overwhelming majority — so absence is the normal case and
|
|
109
|
+
* must never be read as "unknown actor".
|
|
110
|
+
*
|
|
111
|
+
* These records are retained 10 years and are the tenant's due-diligence
|
|
112
|
+
* defence: an ARCA review reads them as proof the tenant checked a CUIT at
|
|
113
|
+
* the time of the transaction. Without this field a platform operator's
|
|
114
|
+
* lookups are indistinguishable from the tenant's own, so the tenant either
|
|
115
|
+
* claims diligence it never performed or cannot account for the entry.
|
|
116
|
+
*/
|
|
117
|
+
actedBy?: {
|
|
118
|
+
/** Operator (MANAGER) user id — the impersonation JWT's `act.sub`. */
|
|
119
|
+
operatorId: string;
|
|
120
|
+
/** Impersonation session id — the JWT `sid`; correlates to the `IMPERSONATION#{operatorId}` registry row. */
|
|
121
|
+
sessionId: string;
|
|
122
|
+
};
|
|
105
123
|
}
|
|
106
124
|
/** APOC ("facturas apócrifas") CUIT check request. Source is ARCA's public registry snapshot imported daily into the api's `APOC` DDB partition (no per-check ARCA call). */
|
|
107
125
|
interface ApocCheckRequest {
|