@managesome/eposmatic-toolkit 0.2.619 → 0.2.621

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.
@@ -73,6 +73,7 @@ export declare enum TENANT_ACTIVITY_LOG_SEVERITY_ENUM {
73
73
  }
74
74
  export declare const ALL_TENANT_ACTIVITY_LOG_SEVERITY_NAMES: TENANT_ACTIVITY_LOG_SEVERITY_ENUM[];
75
75
  export declare enum TENANT_ACTIVE_JOBS_ENUM {
76
+ CALENDAR = "CALENDAR",
76
77
  X_REPORT = "X_REPORT",
77
78
  Z_REPORT = "Z_REPORT"
78
79
  }
@@ -86,6 +86,7 @@ exports.ALL_TENANT_ACTIVITY_LOG_SEVERITY_NAMES = Object.values(TENANT_ACTIVITY_L
86
86
  // ======================>> Active Jobs <<====================== //
87
87
  var TENANT_ACTIVE_JOBS_ENUM;
88
88
  (function (TENANT_ACTIVE_JOBS_ENUM) {
89
+ TENANT_ACTIVE_JOBS_ENUM["CALENDAR"] = "CALENDAR";
89
90
  TENANT_ACTIVE_JOBS_ENUM["X_REPORT"] = "X_REPORT";
90
91
  TENANT_ACTIVE_JOBS_ENUM["Z_REPORT"] = "Z_REPORT";
91
92
  })(TENANT_ACTIVE_JOBS_ENUM || (exports.TENANT_ACTIVE_JOBS_ENUM = TENANT_ACTIVE_JOBS_ENUM = {}));
@@ -12,6 +12,7 @@ export declare const TenantActiveJobSchema: Schema<any, import("mongoose").Model
12
12
  createdAt: NativeDate;
13
13
  updatedAt: NativeDate;
14
14
  localDate: string;
15
+ progress: number;
15
16
  completed_at: NativeDate;
16
17
  jobs_status: Map<string, boolean>;
17
18
  active_job: import("../../constants").TENANT_ACTIVE_JOBS_ENUM;
@@ -27,6 +28,7 @@ export declare const TenantActiveJobSchema: Schema<any, import("mongoose").Model
27
28
  createdAt: NativeDate;
28
29
  updatedAt: NativeDate;
29
30
  localDate: string;
31
+ progress: number;
30
32
  completed_at: NativeDate;
31
33
  jobs_status: Map<string, boolean>;
32
34
  active_job: import("../../constants").TENANT_ACTIVE_JOBS_ENUM;
@@ -42,6 +44,7 @@ export declare const TenantActiveJobSchema: Schema<any, import("mongoose").Model
42
44
  createdAt: NativeDate;
43
45
  updatedAt: NativeDate;
44
46
  localDate: string;
47
+ progress: number;
45
48
  completed_at: NativeDate;
46
49
  jobs_status: Map<string, boolean>;
47
50
  active_job: import("../../constants").TENANT_ACTIVE_JOBS_ENUM;
@@ -35,6 +35,10 @@ exports.TenantActiveJobSchema = new mongoose_1.Schema({
35
35
  enum: constants_1.ALL_TENANT_ACTIVE_JOBS_NAMES,
36
36
  default: [],
37
37
  },
38
+ progress: {
39
+ type: Number,
40
+ default: 0,
41
+ },
38
42
  started_at: {
39
43
  type: mongoose_1.Schema.Types.Date,
40
44
  default: null,
@@ -6,6 +6,7 @@ export interface ITenantActiveJob {
6
6
  jobs_status: Record<TENANT_ACTIVE_JOBS_ENUM, boolean>;
7
7
  active_job: TENANT_ACTIVE_JOBS_ENUM | null;
8
8
  failed_jobs: TENANT_ACTIVE_JOBS_ENUM[];
9
+ progress: number;
9
10
  started_at: Date | null;
10
11
  completed_at: Date | null;
11
12
  last_heartbeat_at: Date | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.619",
3
+ "version": "0.2.621",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",