sinfactura-types 1.6.24 → 1.6.25
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/account.d.ts +9 -0
- package/dist/afip.d.ts +14 -0
- package/dist/store.d.ts +1 -2
- package/dist/user.d.ts +1 -0
- package/package.json +1 -1
package/dist/account.d.ts
CHANGED
|
@@ -35,6 +35,15 @@ declare global {
|
|
|
35
35
|
balance?: number;
|
|
36
36
|
userId: string;
|
|
37
37
|
deleted?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Provenance of a link-derived credit row (api#933 / PR#943, app#1344).
|
|
40
|
+
* Set together ONLY when POST /payments/{source}/{paymentId}/link runs with
|
|
41
|
+
* applyCredit:true and auto-creates this Account credit row. Manual PAGO
|
|
42
|
+
* rows leave both undefined. The FE reads them to render the source chip
|
|
43
|
+
* and dedup against the matching PaymentReceived projection row.
|
|
44
|
+
*/
|
|
45
|
+
paymentRefSource?: PaymentReceivedSource;
|
|
46
|
+
paymentRefId?: string;
|
|
38
47
|
}
|
|
39
48
|
}
|
|
40
49
|
export {};
|
package/dist/afip.d.ts
CHANGED
|
@@ -78,5 +78,19 @@ declare global {
|
|
|
78
78
|
errorConstancia?: AfipErrorConstancia;
|
|
79
79
|
errorRegimenGeneral?: AfipErrorRegimenGeneral;
|
|
80
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* Cached AFIP/ARCA platform-wide health snapshot (api#1213). One DDB row
|
|
83
|
+
* (PK 'AFIP_HEALTH', SK 'current') overwritten every ~5 min by the
|
|
84
|
+
* afipHealthPoller cron; served by anonymous GET /afip/health behind the
|
|
85
|
+
* public /estado page. Each *Server is 'OK' when healthy, else an AFIP-side
|
|
86
|
+
* status code. BE-internal name: AfipHealthSnapshot.
|
|
87
|
+
*/
|
|
88
|
+
interface AfipHealth {
|
|
89
|
+
appServer: string;
|
|
90
|
+
authServer: string;
|
|
91
|
+
dbServer: string;
|
|
92
|
+
lastSuccessAt?: number;
|
|
93
|
+
fetchedAt: number;
|
|
94
|
+
}
|
|
81
95
|
}
|
|
82
96
|
export {};
|
package/dist/store.d.ts
CHANGED
|
@@ -257,8 +257,7 @@ declare global {
|
|
|
257
257
|
accessTicket_RSF?: string;
|
|
258
258
|
hasCert?: boolean;
|
|
259
259
|
hasKey?: boolean;
|
|
260
|
-
|
|
261
|
-
afipCertExpiresInDays?: number;
|
|
260
|
+
certExpiry?: number;
|
|
262
261
|
}
|
|
263
262
|
type StoreAttributeNames = keyof Store;
|
|
264
263
|
interface Method {
|
package/dist/user.d.ts
CHANGED