@provis/provis-common-be-module 2.6.78 → 2.6.80
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/class/main.repository.d.ts +2 -2
- package/dist/constants/coretax.d.ts +7 -0
- package/dist/constants/coretax.js +7 -0
- package/dist/constants/product/cargo/cargo.d.ts +5 -0
- package/dist/constants/product/cargo/cargo.js +5 -0
- package/dist/constants/product/cargo/quotation.d.ts +79 -0
- package/dist/constants/product/cargo/quotation.js +79 -0
- package/dist/constants/product.d.ts +1 -0
- package/dist/constants/product.js +6 -0
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { DeepPartial, FindConditions, Repository } from 'typeorm';
|
|
1
|
+
import { DeepPartial, FindConditions, ObjectLiteral, Repository } from 'typeorm';
|
|
2
2
|
import ISearchQuery from '../interface/search.query.interface';
|
|
3
3
|
import { QueryDeepPartialEntity } from 'typeorm/query-builder/QueryPartialEntity';
|
|
4
4
|
import IFindAllCount from '../interface/find.all.count.interface';
|
|
5
5
|
import ISearchSummary from '../interface/search.summary.interface';
|
|
6
|
-
export declare class MainRepository<T> extends Repository<T> {
|
|
6
|
+
export declare class MainRepository<T extends ObjectLiteral> extends Repository<T> {
|
|
7
7
|
saveRepo(data: DeepPartial<T>): Promise<T>;
|
|
8
8
|
updateRepo(obj: DeepPartial<T>, updated: QueryDeepPartialEntity<T>): Promise<T>;
|
|
9
9
|
updateByConditions(conditions: FindConditions<T>, updated: QueryDeepPartialEntity<T>): Promise<import("typeorm").UpdateResult>;
|
|
@@ -15,6 +15,7 @@ declare const cargo: {
|
|
|
15
15
|
id: string;
|
|
16
16
|
en: string;
|
|
17
17
|
};
|
|
18
|
+
type: string;
|
|
18
19
|
};
|
|
19
20
|
TYPE_ICCB_INV: {
|
|
20
21
|
code: string;
|
|
@@ -22,6 +23,7 @@ declare const cargo: {
|
|
|
22
23
|
id: string;
|
|
23
24
|
en: string;
|
|
24
25
|
};
|
|
26
|
+
type: string;
|
|
25
27
|
};
|
|
26
28
|
TYPE_ICCC_INV: {
|
|
27
29
|
code: string;
|
|
@@ -29,6 +31,7 @@ declare const cargo: {
|
|
|
29
31
|
id: string;
|
|
30
32
|
en: string;
|
|
31
33
|
};
|
|
34
|
+
type: string;
|
|
32
35
|
};
|
|
33
36
|
TYPE_ICCA_FLB: {
|
|
34
37
|
code: string;
|
|
@@ -36,6 +39,7 @@ declare const cargo: {
|
|
|
36
39
|
id: string;
|
|
37
40
|
en: string;
|
|
38
41
|
};
|
|
42
|
+
type: string;
|
|
39
43
|
};
|
|
40
44
|
TYPE_ICCC_FLB: {
|
|
41
45
|
code: string;
|
|
@@ -43,6 +47,7 @@ declare const cargo: {
|
|
|
43
47
|
id: string;
|
|
44
48
|
en: string;
|
|
45
49
|
};
|
|
50
|
+
type: string;
|
|
46
51
|
};
|
|
47
52
|
};
|
|
48
53
|
};
|
|
@@ -17,6 +17,7 @@ const cargo = {
|
|
|
17
17
|
id: 'Institute Cargo Clause (A) 01/01/09 - Invoice value +10%',
|
|
18
18
|
en: 'Institute Cargo Clause (A) 01/01/09 - Invoice value +10%',
|
|
19
19
|
},
|
|
20
|
+
type: 'ICCA',
|
|
20
21
|
},
|
|
21
22
|
TYPE_ICCB_INV: {
|
|
22
23
|
code: 'ICCB-INV',
|
|
@@ -24,6 +25,7 @@ const cargo = {
|
|
|
24
25
|
id: 'Institute Cargo Clause (B) 01/01/09 - Invoice value +10%',
|
|
25
26
|
en: 'Institute Cargo Clause (B) 01/01/09 - Invoice value +10%',
|
|
26
27
|
},
|
|
28
|
+
type: 'ICCB',
|
|
27
29
|
},
|
|
28
30
|
TYPE_ICCC_INV: {
|
|
29
31
|
code: 'ICCC-INV',
|
|
@@ -31,6 +33,7 @@ const cargo = {
|
|
|
31
33
|
id: 'Institute Cargo Clause (C) 01/01/09 - Invoice value +10%',
|
|
32
34
|
en: 'Institute Cargo Clause (C) 01/01/09 - Invoice value +10%',
|
|
33
35
|
},
|
|
36
|
+
type: 'ICCC',
|
|
34
37
|
},
|
|
35
38
|
TYPE_ICCA_FLB: {
|
|
36
39
|
code: 'ICCA-FLB',
|
|
@@ -38,6 +41,7 @@ const cargo = {
|
|
|
38
41
|
id: 'Institute Cargo Clause (A) 01/01/09 - First Loss Basis',
|
|
39
42
|
en: 'Institute Cargo Clause (A) 01/01/09 - First Loss Basis',
|
|
40
43
|
},
|
|
44
|
+
type: 'ICCA',
|
|
41
45
|
},
|
|
42
46
|
TYPE_ICCC_FLB: {
|
|
43
47
|
code: 'ICCC-FLB',
|
|
@@ -45,6 +49,7 @@ const cargo = {
|
|
|
45
49
|
id: 'Institute Cargo Clause (C) 01/01/09 - First Loss Basis',
|
|
46
50
|
en: 'Institute Cargo Clause (C) 01/01/09 - First Loss Basis',
|
|
47
51
|
},
|
|
52
|
+
type: 'ICCC',
|
|
48
53
|
},
|
|
49
54
|
}
|
|
50
55
|
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
declare const quotation: {
|
|
2
|
+
INTEREST_INSURED: {
|
|
3
|
+
en: string;
|
|
4
|
+
id: string;
|
|
5
|
+
};
|
|
6
|
+
INTEREST_INSURED_EXCLUDE: {
|
|
7
|
+
en: string;
|
|
8
|
+
id: string;
|
|
9
|
+
};
|
|
10
|
+
CONVEYANCE: {
|
|
11
|
+
en: string;
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
LIMIT_OF_LIABILITY: {
|
|
15
|
+
en: string;
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
DEDUCTIBLE: {
|
|
19
|
+
en: string;
|
|
20
|
+
id: string;
|
|
21
|
+
};
|
|
22
|
+
LIST_INSURANCE_TYPE: {
|
|
23
|
+
TYPE_ICCA_INV: {
|
|
24
|
+
code: string;
|
|
25
|
+
desc: {
|
|
26
|
+
id: string;
|
|
27
|
+
en: string;
|
|
28
|
+
};
|
|
29
|
+
type: string;
|
|
30
|
+
};
|
|
31
|
+
TYPE_ICCB_INV: {
|
|
32
|
+
code: string;
|
|
33
|
+
desc: {
|
|
34
|
+
id: string;
|
|
35
|
+
en: string;
|
|
36
|
+
};
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
TYPE_ICCC_INV: {
|
|
40
|
+
code: string;
|
|
41
|
+
desc: {
|
|
42
|
+
id: string;
|
|
43
|
+
en: string;
|
|
44
|
+
};
|
|
45
|
+
type: string;
|
|
46
|
+
};
|
|
47
|
+
TYPE_ICCA_FLB: {
|
|
48
|
+
code: string;
|
|
49
|
+
desc: {
|
|
50
|
+
id: string;
|
|
51
|
+
en: string;
|
|
52
|
+
};
|
|
53
|
+
type: string;
|
|
54
|
+
};
|
|
55
|
+
TYPE_ICCC_FLB: {
|
|
56
|
+
code: string;
|
|
57
|
+
desc: {
|
|
58
|
+
id: string;
|
|
59
|
+
en: string;
|
|
60
|
+
};
|
|
61
|
+
type: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
SPECIAL_CONDITIONS: {
|
|
65
|
+
isDefault: boolean;
|
|
66
|
+
desc: {
|
|
67
|
+
en: string;
|
|
68
|
+
id: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
LIST_OF_DANGEROUS_GOODS: {
|
|
72
|
+
code: string;
|
|
73
|
+
desc: {
|
|
74
|
+
en: string;
|
|
75
|
+
id: string;
|
|
76
|
+
};
|
|
77
|
+
}[];
|
|
78
|
+
};
|
|
79
|
+
export default quotation;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const cargo_1 = require("./cargo");
|
|
4
|
+
const quotation = {
|
|
5
|
+
// input: company address, Annual Spending Value (number only, format currency)
|
|
6
|
+
INTEREST_INSURED: {
|
|
7
|
+
en: 'All type of Cargo and/or Merchandise and/or Property of any descriptions',
|
|
8
|
+
id: '',
|
|
9
|
+
},
|
|
10
|
+
INTEREST_INSURED_EXCLUDE: {
|
|
11
|
+
en: '- Livestock\n- Jewelry, gold, precious stone/metal, money and the likes\n- Antique goods and artwork\n- Firearms, ammunition\n- Cotton in bulk\n- Painting\n- Rejection cargo, containers insured as such;\n- Satellites – including launch and pre-launch coverage\n- Container fleet accounts as cargo\n- Bulk products with GOT – Guaranteed Out Turn\n- Marijuana or CBD containing products\n- Cash in Transit (coins or notes)\n- Other precious minerals',
|
|
12
|
+
id: '',
|
|
13
|
+
},
|
|
14
|
+
CONVEYANCE: {
|
|
15
|
+
en: 'Any means of Land, Sea and Air conveyance as described bellow:\n- Water/Sea Conveyance – General Cargo and/or Container Class:\n- Steel vessel minimum 500 GRT maximum 40 years old with additional premium 15% from basic rate for steel vessel age 35 – 40 years old.\n- Classed Steel Tug & Barge (subject to Single Tow Only), LCT, Ro-Ro Vessel, are not older than 30 years of age min 250 GRT.\n- Unclassed steel LCT, Ro-Ro Vessel, are not older than 25 years of age.\n- Unclassed Vessel, classed Tug Boat & Barge (Single Tow Only), LCT, Ro-Ro Vessel are subject to sail within Indonesia, Malaysia, and Singapore Waters Only.\n- Land Conveyance: Minimum Four Wheels registered/licensed Vehicle Including all kinds of Truck and/or public ferry RORO/Regular liner as connecting conveyance including by Train\n- Air Conveyance, subject to regular/chartered airlines including via DHL, Fedex, Lion, and the like\n- Inland conveyance must be in a roadworthy condition as regulated in Indonesian Traffic Law\n- Sailing permit and comply all recommendation from port authorityand/or BMKG warning, prior departure.\n- Warranted no overload cargo as per UU No. 17 Tahun 2008 and UU No. 22 Tahun 2009\n- Warranted that inland conveyance must be covered by double tarpaulin.\n- Excluding Unclassed Tug/Barge and any form of Wooden Vessel ',
|
|
16
|
+
id: '',
|
|
17
|
+
},
|
|
18
|
+
LIMIT_OF_LIABILITY: {
|
|
19
|
+
en: 'Limit of Liability USD 500,000 anyone conveyance[a',
|
|
20
|
+
id: '',
|
|
21
|
+
},
|
|
22
|
+
DEDUCTIBLE: {
|
|
23
|
+
en: '5% of Claim Amount, minimum IDR 500.000 for each and every loss',
|
|
24
|
+
id: '',
|
|
25
|
+
},
|
|
26
|
+
LIST_INSURANCE_TYPE: cargo_1.default.TYPE,
|
|
27
|
+
SPECIAL_CONDITIONS: {
|
|
28
|
+
isDefault: false,
|
|
29
|
+
desc: {
|
|
30
|
+
en: 'OOG (Out of Gauge) and Breakbulk such as Heavy Equipment (HE) with Terms and Condition as below:\na. The Maximum Limit of Liability: USD 1,000,000.00 or equivalent in any other currency any one shipment any one conveyance\nb. Basis of Valuation: Invoice Value + 10%\nc. Coverage:\n- Institute Cargo Clauses “A” 1/1/09 applicable for Brand New Goods\n- Institute Cargo Clauses “B” 1/1/09 applicable for Secondhand Goods, please inform the rate\n- Institute Replacement Clause 1/1/34 (for brand new goods)\n- Secondhand Replacement Clause (for secondhand goods)\nd. Deductible: 0.50% of Sum Insured any one conveyance any one occurrence',
|
|
31
|
+
id: '',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
LIST_OF_DANGEROUS_GOODS: [
|
|
35
|
+
{ code: 'DG001', desc: { en: 'LIMBAH SISA LAB, ELEKTRONIK, LISTRIK, MEDIS/KLINIS', id: '' } },
|
|
36
|
+
{ code: 'DG002', desc: { en: 'KOPRA', id: '' } },
|
|
37
|
+
{ code: 'DG003', desc: { en: 'ARANG (DG)', id: '' } },
|
|
38
|
+
{ code: 'DG004', desc: { en: 'LIQUEFIED NATURAL GAS', id: '' } },
|
|
39
|
+
{ code: 'DG005', desc: { en: 'ASPAL', id: '' } },
|
|
40
|
+
{ code: 'DG006', desc: { en: 'OBAT ANTI HAMA TANAMAN, INSEKTISIDA, OBAT NYAMUK CAIR', id: '' } },
|
|
41
|
+
{ code: 'DG007', desc: { en: 'HYDROCHLORIC ACID', id: '' } },
|
|
42
|
+
{ code: 'DG008', desc: { en: 'KAPORIT', id: '' } },
|
|
43
|
+
{ code: 'DG009', desc: { en: 'CHEMICAL', id: '' } },
|
|
44
|
+
{ code: 'DG010', desc: { en: 'METHANOL', id: '' } },
|
|
45
|
+
{ code: 'DG011', desc: { en: 'BARANG/KEMASAN/TONER BEKAS', id: '' } },
|
|
46
|
+
{ code: 'DG012', desc: { en: 'POTASSIUM CHLORIDE', id: '' } },
|
|
47
|
+
{ code: 'DG013', desc: { en: 'KOREK API', id: '' } },
|
|
48
|
+
{ code: 'DG014', desc: { en: 'CAT KAYU, CAT BESI, THINNER (DG)', id: '' } },
|
|
49
|
+
{ code: 'DG015', desc: { en: 'SULPHURIC ACID', id: '' } },
|
|
50
|
+
{ code: 'DG016', desc: { en: 'GETAH (DG)', id: '' } },
|
|
51
|
+
{ code: 'DG017', desc: { en: 'ENGINE, INTERNAL COMBUSTION, OR VEHICLE', id: '' } },
|
|
52
|
+
{ code: 'DG018', desc: { en: 'KAPUK, BIJI KAPUK', id: '' } },
|
|
53
|
+
{ code: 'DG019', desc: { en: 'LPG (DG)', id: '' } },
|
|
54
|
+
{ code: 'DG020', desc: { en: 'KARUNG GONI (DG)', id: '' } },
|
|
55
|
+
{ code: 'DG021', desc: { en: 'CORROSIVE LIQUID, ACIDIC, ORGANIS, N.O.S', id: '' } },
|
|
56
|
+
{ code: 'DG022', desc: { en: 'OKSIGEN CAIR', id: '' } },
|
|
57
|
+
{ code: 'DG023', desc: { en: 'CALCIUM (DG)', id: '' } },
|
|
58
|
+
{ code: 'DG024', desc: { en: 'COMPRESSED GAS', id: '' } },
|
|
59
|
+
{ code: 'DG025', desc: { en: 'MINYAK PERTAMINA', id: '' } },
|
|
60
|
+
{ code: 'DG026', desc: { en: 'KARBIT', id: '' } },
|
|
61
|
+
{ code: 'DG027', desc: { en: 'NATURAL GAS CONDENSATE (SWEET)', id: '' } },
|
|
62
|
+
{ code: 'DG028', desc: { en: 'SODIUM HYDROXIDE', id: '' } },
|
|
63
|
+
{ code: 'DG029', desc: { en: 'COPPER SULFATE PENTAHYDRATE', id: '' } },
|
|
64
|
+
{ code: 'DG030', desc: { en: 'HYDROGEN PEROXIDE', id: '' } },
|
|
65
|
+
{ code: 'DG031', desc: { en: 'SULFAMIC ACID', id: '' } },
|
|
66
|
+
{ code: 'DG032', desc: { en: 'ARGON', id: '' } },
|
|
67
|
+
{ code: 'DG033', desc: { en: 'BITUMEN 60/70', id: '' } },
|
|
68
|
+
{ code: 'DG034', desc: { en: 'SOLAR', id: '' } },
|
|
69
|
+
{ code: 'DG035', desc: { en: 'AIR ACCU', id: '' } },
|
|
70
|
+
{ code: 'DG036', desc: { en: 'AMMONIA', id: '' } },
|
|
71
|
+
{ code: 'DG037', desc: { en: 'MERCURY', id: '' } },
|
|
72
|
+
{ code: 'DG038', desc: { en: 'POTASSIUM HYDROXIDE, SOLUTION', id: '' } },
|
|
73
|
+
{ code: 'DG039', desc: { en: 'AEROSOL', id: '' } },
|
|
74
|
+
{ code: 'DG040', desc: { en: 'AVTUR', id: '' } },
|
|
75
|
+
{ code: 'DG041', desc: { en: 'SODIUM HYPOCHLORITE', id: '' } },
|
|
76
|
+
{ code: 'DG042', desc: { en: 'SULPHURIC SOLID', id: '' } },
|
|
77
|
+
],
|
|
78
|
+
};
|
|
79
|
+
exports.default = quotation;
|
|
@@ -43,6 +43,7 @@ declare const product: {
|
|
|
43
43
|
PRODUCT_CODE_ERECTION_ALL_RISK: string;
|
|
44
44
|
PRODUCT_CODE_PA_SOGO_ELI_DAYIN: string;
|
|
45
45
|
PRODUCT_CODE_PRODUCT_LIABILITY: string;
|
|
46
|
+
PRODUCT_POLISMALL_CARGO_QUOTATION: string;
|
|
46
47
|
PRODUCT_POLISMALL_CARGO_MERATUS: string;
|
|
47
48
|
PRODUCT_POLISMALL_CARGO: string;
|
|
48
49
|
PRODUCT_CODE_EXIM: string;
|
|
@@ -46,6 +46,7 @@ const product = {
|
|
|
46
46
|
PRODUCT_CODE_ERECTION_ALL_RISK: 'polismall-erection-all-risk',
|
|
47
47
|
PRODUCT_CODE_PA_SOGO_ELI_DAYIN: 'polismall-eli',
|
|
48
48
|
PRODUCT_CODE_PRODUCT_LIABILITY: 'polismall-product-liability',
|
|
49
|
+
PRODUCT_POLISMALL_CARGO_QUOTATION: 'polismall-cargo-quotation',
|
|
49
50
|
// CARGO
|
|
50
51
|
PRODUCT_POLISMALL_CARGO_MERATUS: 'polismall-cargo-meratus-paliside',
|
|
51
52
|
PRODUCT_POLISMALL_CARGO: 'polismall-cargo',
|
|
@@ -356,6 +357,10 @@ product.LIST = {
|
|
|
356
357
|
value: product.PRODUCT_CODE_PRODUCT_LIABILITY,
|
|
357
358
|
name: "Product Liability",
|
|
358
359
|
},
|
|
360
|
+
[product.PRODUCT_POLISMALL_CARGO_QUOTATION]: {
|
|
361
|
+
value: product.PRODUCT_POLISMALL_CARGO_QUOTATION,
|
|
362
|
+
name: "Marine Cargo Open Policy Insurance",
|
|
363
|
+
},
|
|
359
364
|
};
|
|
360
365
|
product.MANUAL_LIST = [
|
|
361
366
|
product.LIST[product.PRODUCT_CODE_PROPERTY_ALL_RISK],
|
|
@@ -400,6 +405,7 @@ product.MANUAL_LIST = [
|
|
|
400
405
|
product.LIST[product.PRODUCT_CODE_CREDIT_DEFAULT],
|
|
401
406
|
product.LIST[product.PRODUCT_CODE_FINE_ART_COLLECTION],
|
|
402
407
|
product.LIST[product.PRODUCT_CODE_PRODUCT_LIABILITY],
|
|
408
|
+
product.LIST[product.PRODUCT_POLISMALL_CARGO_QUOTATION],
|
|
403
409
|
];
|
|
404
410
|
product.CARGO_BY_SYSTEM_LIST = [
|
|
405
411
|
product.LIST[product.PRODUCT_POLISMALL_CARGO_MERATUS],
|