@provis/provis-common-be-module 2.5.36 → 2.5.38
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/constants/claim/general.d.ts +16 -0
- package/dist/constants/claim/general.js +54 -0
- package/dist/constants/product/cargo/cargo.d.ts +39 -0
- package/dist/constants/product/cargo/cargo.js +41 -0
- package/dist/constants/product/cargo/goodType.d.ts +10 -0
- package/dist/constants/product/cargo/goodType.js +34 -0
- package/dist/helpers/getCargoType.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const doc: {
|
|
2
|
+
DOC_OTHER: string;
|
|
3
|
+
DOC_LOD: string;
|
|
4
|
+
DOC_SPGR: string;
|
|
5
|
+
DOC_SPGR_SIGNED: string;
|
|
6
|
+
DOC_LOD_SIGNED: string;
|
|
7
|
+
DOC_PAYMENT: string;
|
|
8
|
+
LIST_DESC: {};
|
|
9
|
+
LIST_REQUIREMENT_LOD_SPGR: any[];
|
|
10
|
+
LIST_REQUIREMENT_LOD_SIGNED: any[];
|
|
11
|
+
LIST_REQUIREMENT_PAYMENT: any[];
|
|
12
|
+
LIST_RISK: any[];
|
|
13
|
+
RISK_CONFIG: {};
|
|
14
|
+
DOCUMENT_CONFIG: {};
|
|
15
|
+
};
|
|
16
|
+
export default doc;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const doc = {
|
|
4
|
+
DOC_OTHER: 'DOC_OTHER',
|
|
5
|
+
DOC_LOD: 'DOC_LOD',
|
|
6
|
+
DOC_SPGR: 'DOC_SPGR',
|
|
7
|
+
DOC_SPGR_SIGNED: 'DOC_SPGR_SIGNED',
|
|
8
|
+
DOC_LOD_SIGNED: 'DOC_LOD_SIGNED',
|
|
9
|
+
DOC_PAYMENT: 'DOC_PAYMENT',
|
|
10
|
+
LIST_DESC: {},
|
|
11
|
+
LIST_REQUIREMENT_LOD_SPGR: [],
|
|
12
|
+
LIST_REQUIREMENT_LOD_SIGNED: [],
|
|
13
|
+
LIST_REQUIREMENT_PAYMENT: [],
|
|
14
|
+
LIST_RISK: [],
|
|
15
|
+
RISK_CONFIG: {},
|
|
16
|
+
DOCUMENT_CONFIG: {},
|
|
17
|
+
};
|
|
18
|
+
doc.LIST_DESC = {
|
|
19
|
+
[doc.DOC_OTHER]: {
|
|
20
|
+
id: "Dokumen lain yang mendukung proses klaim",
|
|
21
|
+
en: "Other documents that support the claims process",
|
|
22
|
+
},
|
|
23
|
+
[doc.DOC_LOD]: {
|
|
24
|
+
id: "Dokumen LOD",
|
|
25
|
+
en: "LOD document",
|
|
26
|
+
},
|
|
27
|
+
[doc.DOC_SPGR]: {
|
|
28
|
+
id: "Surat Pernyataan Ganti Rugi",
|
|
29
|
+
en: "Statement of Compensation",
|
|
30
|
+
},
|
|
31
|
+
[doc.DOC_SPGR_SIGNED]: {
|
|
32
|
+
id: "Surat Usulan",
|
|
33
|
+
en: "Proposed Letter",
|
|
34
|
+
},
|
|
35
|
+
[doc.DOC_LOD_SIGNED]: {
|
|
36
|
+
id: "Dokumen LOD yang sudah ditandatangani",
|
|
37
|
+
en: "Signed LOD document",
|
|
38
|
+
},
|
|
39
|
+
[doc.DOC_PAYMENT]: {
|
|
40
|
+
id: "Bukti Bayar",
|
|
41
|
+
en: "Payment Proof",
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
doc.LIST_REQUIREMENT_LOD_SPGR = [
|
|
45
|
+
doc.DOC_LOD,
|
|
46
|
+
doc.DOC_SPGR,
|
|
47
|
+
];
|
|
48
|
+
doc.LIST_REQUIREMENT_LOD_SIGNED = [
|
|
49
|
+
doc.DOC_LOD_SIGNED,
|
|
50
|
+
];
|
|
51
|
+
doc.LIST_REQUIREMENT_PAYMENT = [
|
|
52
|
+
doc.DOC_PAYMENT,
|
|
53
|
+
];
|
|
54
|
+
exports.default = doc;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare const cargo: {
|
|
2
|
+
STATUS: {
|
|
3
|
+
DRAFT: string;
|
|
4
|
+
SUBMITED: string;
|
|
5
|
+
PAID: string;
|
|
6
|
+
CANCEL: string;
|
|
7
|
+
};
|
|
8
|
+
TYPE: {
|
|
9
|
+
TYPE_ICCA_INV: {
|
|
10
|
+
code: string;
|
|
11
|
+
desc: {
|
|
12
|
+
id: string;
|
|
13
|
+
en: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
TYPE_ICCC_INV: {
|
|
17
|
+
code: string;
|
|
18
|
+
desc: {
|
|
19
|
+
id: string;
|
|
20
|
+
en: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
TYPE_ICCA_FLB: {
|
|
24
|
+
code: string;
|
|
25
|
+
desc: {
|
|
26
|
+
id: string;
|
|
27
|
+
en: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
TYPE_ICCC_FLB: {
|
|
31
|
+
code: string;
|
|
32
|
+
desc: {
|
|
33
|
+
id: string;
|
|
34
|
+
en: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export default cargo;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const cargo = {
|
|
4
|
+
STATUS: {
|
|
5
|
+
DRAFT: '0',
|
|
6
|
+
SUBMITED: '100',
|
|
7
|
+
PAID: '200',
|
|
8
|
+
CANCEL: '300',
|
|
9
|
+
},
|
|
10
|
+
TYPE: {
|
|
11
|
+
TYPE_ICCA_INV: {
|
|
12
|
+
code: 'ICCA-INV',
|
|
13
|
+
desc: {
|
|
14
|
+
id: '',
|
|
15
|
+
en: 'Institute Cargo Clause (A) 01/01/09 - Invoice value +10%',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
TYPE_ICCC_INV: {
|
|
19
|
+
code: 'ICCC-INV',
|
|
20
|
+
desc: {
|
|
21
|
+
id: '',
|
|
22
|
+
en: 'Institute Cargo Clause (C) 01/01/09 - Invoice value +10%',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
TYPE_ICCA_FLB: {
|
|
26
|
+
code: 'ICCA-FLB',
|
|
27
|
+
desc: {
|
|
28
|
+
id: '',
|
|
29
|
+
en: 'Institute Cargo Clause (A) 01/01/09 - First Loss Basis',
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
TYPE_ICCC_FLB: {
|
|
33
|
+
code: 'ICCC-FLB',
|
|
34
|
+
desc: {
|
|
35
|
+
id: '',
|
|
36
|
+
en: 'Institute Cargo Clause (C) 01/01/09 - First Loss Basis',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
exports.default = cargo;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
LIST: [
|
|
5
|
+
{
|
|
6
|
+
code: 'GT_NEW',
|
|
7
|
+
desc: {
|
|
8
|
+
en: 'New',
|
|
9
|
+
id: 'Baru',
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
code: 'GT_SECOND',
|
|
14
|
+
desc: {
|
|
15
|
+
en: 'Second',
|
|
16
|
+
id: 'Bekas',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
code: 'GT_CEMENT',
|
|
21
|
+
desc: {
|
|
22
|
+
en: 'Cement',
|
|
23
|
+
id: 'Semen',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
code: 'GT_GLASS',
|
|
28
|
+
desc: {
|
|
29
|
+
en: 'Glass',
|
|
30
|
+
id: 'Kaca',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
]
|
|
34
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const cargo_1 = require("../constants/product/cargo");
|
|
3
|
+
const cargo_1 = require("../constants/product/cargo/cargo");
|
|
4
4
|
function getCargoType(code, lang = 'en') {
|
|
5
5
|
var _a;
|
|
6
6
|
const match = Object.values(cargo_1.default.TYPE).find((item) => item.code === code);
|