@provis/provis-common-be-module 2.3.17 → 2.3.19

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.
@@ -0,0 +1,5 @@
1
+ declare const loket: {
2
+ SUBMITTED: number;
3
+ CANCEL: number;
4
+ };
5
+ export default loket;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const loket = {
4
+ SUBMITTED: 100,
5
+ CANCEL: 200,
6
+ };
7
+ exports.default = loket;
@@ -6,28 +6,28 @@ declare const cargo: {
6
6
  CANCEL: string;
7
7
  };
8
8
  TYPE: {
9
- TYPE_ICCA_FLB: {
9
+ TYPE_ICCA_INV: {
10
10
  code: string;
11
11
  desc: {
12
12
  id: string;
13
13
  en: string;
14
14
  };
15
15
  };
16
- TYPE_ICCC_FLB: {
16
+ TYPE_ICCC_INV: {
17
17
  code: string;
18
18
  desc: {
19
19
  id: string;
20
20
  en: string;
21
21
  };
22
22
  };
23
- TYPE_ICCA_INV: {
23
+ TYPE_ICCA_FLB: {
24
24
  code: string;
25
25
  desc: {
26
26
  id: string;
27
27
  en: string;
28
28
  };
29
29
  };
30
- TYPE_ICCC_INV: {
30
+ TYPE_ICCC_FLB: {
31
31
  code: string;
32
32
  desc: {
33
33
  id: string;
@@ -8,32 +8,32 @@ const cargo = {
8
8
  CANCEL: '300',
9
9
  },
10
10
  TYPE: {
11
- TYPE_ICCA_FLB: {
12
- code: 'ICCA-FLB',
11
+ TYPE_ICCA_INV: {
12
+ code: 'ICCA-INV',
13
13
  desc: {
14
14
  id: '',
15
- en: 'Institute Cargo Clause (A) 01/01/09 - First Loss Basis',
15
+ en: 'Institute Cargo Clause (C) 01/01/09 - Invoice value +10%',
16
16
  },
17
17
  },
18
- TYPE_ICCC_FLB: {
19
- code: 'ICCC-FLB',
18
+ TYPE_ICCC_INV: {
19
+ code: 'ICCC-INV',
20
20
  desc: {
21
21
  id: '',
22
- en: 'Institute Cargo Clause (C) 01/01/09 - First Loss Basis',
22
+ en: 'Institute Cargo Clause (A) 01/01/09 - Invoice value +10%',
23
23
  },
24
24
  },
25
- TYPE_ICCA_INV: {
26
- code: 'ICCA-INV',
25
+ TYPE_ICCA_FLB: {
26
+ code: 'ICCA-FLB',
27
27
  desc: {
28
28
  id: '',
29
- en: 'Institute Cargo Clause (C) 01/01/09 - Invoice value +10%',
29
+ en: 'Institute Cargo Clause (A) 01/01/09 - First Loss Basis',
30
30
  },
31
31
  },
32
- TYPE_ICCC_INV: {
33
- code: 'ICCC-INV',
32
+ TYPE_ICCC_FLB: {
33
+ code: 'ICCC-FLB',
34
34
  desc: {
35
35
  id: '',
36
- en: 'Institute Cargo Clause (A) 01/01/09 - Invoice value +10%',
36
+ en: 'Institute Cargo Clause (C) 01/01/09 - First Loss Basis',
37
37
  },
38
38
  },
39
39
  }
@@ -34,5 +34,6 @@ declare const report: {
34
34
  id: string;
35
35
  };
36
36
  };
37
+ LIST_ACTIVE: any[];
37
38
  };
38
39
  export default report;
@@ -2,39 +2,51 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const report = {
4
4
  INITIAL: {
5
+ // status initial -> setiap awal upload = initial
5
6
  code: 0,
6
7
  desc: {
7
- en: 'Initial',
8
- id: 'Initial',
8
+ en: "Initial",
9
+ id: "Initial",
9
10
  },
10
11
  },
11
12
  SUCCESS: {
13
+ // excel report berhasil di baca
12
14
  code: 100,
13
15
  desc: {
14
- en: 'Success',
15
- id: 'Sukses',
16
+ en: "Success",
17
+ id: "Sukses",
16
18
  },
17
19
  },
18
20
  SUBMIT: {
21
+ // excel berhasil ke submit
19
22
  code: 200,
20
23
  desc: {
21
- en: 'Submit',
22
- id: 'Berhasil',
24
+ en: "Submit",
25
+ id: "Berhasil",
23
26
  },
24
27
  },
25
28
  CANCEL: {
29
+ // dibatalkan oleh pengguna
26
30
  code: 300,
27
31
  desc: {
28
- en: 'Cancel',
29
- id: 'batal',
32
+ en: "Cancel",
33
+ id: "batal",
30
34
  },
31
35
  },
32
36
  FAILED: {
37
+ // sistem gagal baca excel
33
38
  code: 310,
34
39
  desc: {
35
- en: 'Failed',
36
- id: 'Gagal',
40
+ en: "Failed",
41
+ id: "Gagal",
37
42
  },
38
43
  },
44
+ LIST_ACTIVE: [],
39
45
  };
46
+ report.LIST_ACTIVE = [
47
+ report.INITIAL,
48
+ report.SUCCESS,
49
+ report.CANCEL,
50
+ report.FAILED,
51
+ ];
40
52
  exports.default = report;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provis/provis-common-be-module",
3
- "version": "2.3.17",
3
+ "version": "2.3.19",
4
4
  "description": "This common module for Provis internal backend use lib",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {