sinfactura-types 1.6.25 → 1.6.26
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/notification.d.ts +3 -1
- package/dist/notification.js +4 -2
- package/package.json +1 -1
package/dist/notification.d.ts
CHANGED
|
@@ -5,7 +5,8 @@ export declare enum NotificationTypeEnum {
|
|
|
5
5
|
DOLAROFICIAL = "DOLAROFICIAL",
|
|
6
6
|
DOLARINFORMAL = "DOLARINFORMAL",
|
|
7
7
|
DOLARBNA = "DOLARBNA",
|
|
8
|
-
ERROR = "ERROR"
|
|
8
|
+
ERROR = "ERROR",
|
|
9
|
+
AFIP_CERT_EXPIRY = "AFIP_CERT_EXPIRY"
|
|
9
10
|
}
|
|
10
11
|
declare global {
|
|
11
12
|
interface NotificationInterface {
|
|
@@ -19,6 +20,7 @@ declare global {
|
|
|
19
20
|
customerId?: string;
|
|
20
21
|
read?: boolean;
|
|
21
22
|
description?: string;
|
|
23
|
+
severity?: 'info' | 'warning' | 'critical';
|
|
22
24
|
details?: string;
|
|
23
25
|
total?: number;
|
|
24
26
|
TableName?: string;
|
package/dist/notification.js
CHANGED
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
// Stripe hook, propagate-fx). Exported as a real enum so `api`
|
|
5
5
|
// (stacks/helpers/notificationType.ts) and `app`
|
|
6
6
|
// (src/domain/notificationType.ts) can drop their hand-mirrored copies
|
|
7
|
-
// in follow-ups. DOLARBNA / ERROR have no
|
|
8
|
-
// only
|
|
7
|
+
// in follow-ups. DOLARBNA / ERROR / AFIP_CERT_EXPIRY have no User-row
|
|
8
|
+
// read path — enum members only (AFIP_CERT_EXPIRY = the cert-expiry
|
|
9
|
+
// alert type, api#1382).
|
|
9
10
|
export var NotificationTypeEnum;
|
|
10
11
|
(function (NotificationTypeEnum) {
|
|
11
12
|
NotificationTypeEnum["ORDER"] = "ORDER";
|
|
@@ -15,4 +16,5 @@ export var NotificationTypeEnum;
|
|
|
15
16
|
NotificationTypeEnum["DOLARINFORMAL"] = "DOLARINFORMAL";
|
|
16
17
|
NotificationTypeEnum["DOLARBNA"] = "DOLARBNA";
|
|
17
18
|
NotificationTypeEnum["ERROR"] = "ERROR";
|
|
19
|
+
NotificationTypeEnum["AFIP_CERT_EXPIRY"] = "AFIP_CERT_EXPIRY";
|
|
18
20
|
})(NotificationTypeEnum || (NotificationTypeEnum = {}));
|