sinfactura-types 1.0.87 → 1.0.89

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/index.d.ts CHANGED
@@ -10,6 +10,7 @@ export * from "./customer";
10
10
  export * from "./imports";
11
11
  export * from "./invoice";
12
12
  export * from "./log";
13
+ export * from "./maintenance";
13
14
  export * from "./notification";
14
15
  export * from "./order";
15
16
  export * from "./product";
package/dist/index.js CHANGED
@@ -10,6 +10,7 @@ export * from "./customer";
10
10
  export * from "./imports";
11
11
  export * from "./invoice";
12
12
  export * from "./log";
13
+ export * from "./maintenance";
13
14
  export * from "./notification";
14
15
  export * from "./order";
15
16
  export * from "./product";
@@ -0,0 +1,13 @@
1
+ declare global {
2
+ type MaintenanceLevel = 'platform' | 'store' | null;
3
+ interface MaintenanceInfo {
4
+ level: MaintenanceLevel;
5
+ message?: string;
6
+ startedAt?: number;
7
+ startedBy?: {
8
+ userId: string;
9
+ fullName: string;
10
+ };
11
+ }
12
+ }
13
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/dist/store.d.ts CHANGED
@@ -159,6 +159,7 @@ declare global {
159
159
  ivaTypes: Method[];
160
160
  minWithDni: number;
161
161
  notificationOptions?: Method[];
162
+ maintenance?: MaintenanceInfo;
162
163
  }
163
164
  interface Afip {
164
165
  production: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinfactura-types",
3
- "version": "1.0.87",
3
+ "version": "1.0.89",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",