@provis/provis-common-be-module 2.6.26 → 2.6.28
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.js +4 -4
- package/dist/constants/claim/cargo.d.ts +119 -3
- package/dist/constants/claim/general.js +1 -1
- package/dist/constants/claim/kalog.js +1 -1
- package/dist/constants/claim/loket.js +40 -40
- package/dist/constants/claim/motorVehicle.js +1 -1
- package/dist/constants/claim/travel.js +1 -1
- package/dist/constants/config.js +2 -2
- package/dist/constants/product/property/area.json +2510 -514
- package/dist/constants/product/property/clause.js +10 -10
- package/dist/constants/product.js +12 -12
- package/dist/constants/quotation.d.ts +1 -0
- package/dist/constants/quotation.js +4 -0
- package/dist/constants/source.js +1 -1
- package/dist/helpers/alphaNumericCleansing.js +1 -1
- package/dist/helpers/amountDescription.js +1 -1
- package/dist/helpers/axiosGet.js +1 -1
- package/dist/helpers/axiosPost.js +1 -1
- package/dist/helpers/axiosPut.js +1 -1
- package/dist/helpers/calculateByType.js +1 -1
- package/dist/helpers/calculateForNullable.js +6 -6
- package/dist/helpers/getHeaderUser.js +4 -4
- package/dist/helpers/loop.js +2 -2
- package/dist/helpers/loopBackward.js +2 -2
- package/dist/helpers/readExcel.d.ts +0 -2
- package/package.json +1 -1
- package/dist/constants/bankAccount.d.ts +0 -8
- package/dist/constants/bankAccount.js +0 -54
- package/dist/constants/product/coretax.d.ts +0 -12
- package/dist/constants/product/coretax.js +0 -14
- package/dist/constants/product/mv.d.ts +0 -30
- package/dist/constants/product/mv.js +0 -158
- package/dist/constants/product/property/occupation.d.ts +0 -5
- package/dist/constants/product/property/occupation.js +0 -1725
|
@@ -6,8 +6,8 @@ const clause = [
|
|
|
6
6
|
"order": 1,
|
|
7
7
|
"code": "clause-1",
|
|
8
8
|
"desc": {
|
|
9
|
-
"id": "Accidental death for insured/spouse/children (within the premises) : limit IDR 10.000.000 anyone accident maximum 100.000.000 in
|
|
10
|
-
"en": "Accidental death for insured/spouse/children (within the premises) : limit IDR 10.000.000 anyone accident maximum 100.000.000 in
|
|
9
|
+
"id": "Accidental death for insured/spouse/children (within the premises) : limit IDR 10.000.000 anyone accident maximum 100.000.000 in aggregate",
|
|
10
|
+
"en": "Accidental death for insured/spouse/children (within the premises) : limit IDR 10.000.000 anyone accident maximum 100.000.000 in aggregate"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
{
|
|
@@ -430,16 +430,16 @@ const clause = [
|
|
|
430
430
|
"order": 54,
|
|
431
431
|
"code": "clause-54",
|
|
432
432
|
"desc": {
|
|
433
|
-
"id": "Medical Expenses Klausula for insured/spouse/children (within the
|
|
434
|
-
"en": "Medical Expenses Clause for insured/spouse/children (within the
|
|
433
|
+
"id": "Medical Expenses Klausula for insured/spouse/children (within the premises): limit 2.500.000 anyone accident, maximum IDR 20.000.000 in aggregate (subject to caused by perils insured)",
|
|
434
|
+
"en": "Medical Expenses Clause for insured/spouse/children (within the premises): limit 2.500.000 anyone accident, maximum IDR 20.000.000 in aggregate (subject to caused by perils insured)"
|
|
435
435
|
}
|
|
436
436
|
},
|
|
437
437
|
{
|
|
438
438
|
"order": 55,
|
|
439
439
|
"code": "clause-55",
|
|
440
440
|
"desc": {
|
|
441
|
-
"id": "Medical Expenses Klausula for immediate family member and guest
|
|
442
|
-
"en": "Medical Expenses Clause for immediate family member and guest
|
|
441
|
+
"id": "Medical Expenses Klausula for immediate family member and guest (within the premises): limit IDR 2.500.000 anyone accident, maximum IDR 20.000.000 in aggregate (subject to caused by perils insured)",
|
|
442
|
+
"en": "Medical Expenses Clause for immediate family member and guest (within the premises): limit IDR 2.500.000 anyone accident, maximum IDR 20.000.000 in aggregate (subject to caused by perils insured)"
|
|
443
443
|
}
|
|
444
444
|
},
|
|
445
445
|
{
|
|
@@ -454,8 +454,8 @@ const clause = [
|
|
|
454
454
|
"order": 57,
|
|
455
455
|
"code": "clause-57",
|
|
456
456
|
"desc": {
|
|
457
|
-
"id": "Nominated loss Adjuster Klausula It is hereby and agreed that all claims in respect of all claims under this Policy are to be adjusted by the following nominated adjusters at assured’s option
|
|
458
|
-
"en": "Klausul Penunjukan Loss Adjuster. Dengan ini disepakati dan dinyatakan bahwa seluruh klaim sehubungan dengan Polis ini akan ditangani oleh loss adjuster yang ditunjuk berikut, berdasarkan pilihan Tertanggung
|
|
457
|
+
"id": "Nominated loss Adjuster Klausula It is hereby and agreed that all claims in respect of all claims under this Policy are to be adjusted by the following nominated adjusters at assured’s option: 1.PT General Adjuster Indonesia 2.PT Prima Adjusterindo Mandiri 3.PT Sedgwick Adjusters Indonesia 4.PT SDP Crawford THG Other adjuster mutually agreed by the Insurer and Insured",
|
|
458
|
+
"en": "Klausul Penunjukan Loss Adjuster. Dengan ini disepakati dan dinyatakan bahwa seluruh klaim sehubungan dengan Polis ini akan ditangani oleh loss adjuster yang ditunjuk berikut, berdasarkan pilihan Tertanggung: 1.PT General Adjuster Indonesia 2.PT Prima Adjusterindo Mandiri 3.PT Sedgwick Adjusters Indonesia 4.PT SDP Crawford THG Atau loss adjuster lain yang disepakati bersama oleh Penanggung dan Tertanggung."
|
|
459
459
|
}
|
|
460
460
|
},
|
|
461
461
|
{
|
|
@@ -534,8 +534,8 @@ const clause = [
|
|
|
534
534
|
"order": 67,
|
|
535
535
|
"code": "clause-67",
|
|
536
536
|
"desc": {
|
|
537
|
-
"id": "Property Undergoing Construction and Erection Including Testing
|
|
538
|
-
"en": "Property Undergoing Construction and Erection Including Testing
|
|
537
|
+
"id": "Property Undergoing Construction and Erection Including Testing and Commissioning (Limit 10% of Total Sum Insured, maximum IDR 1.000.000.000)",
|
|
538
|
+
"en": "Property Undergoing Construction and Erection Including Testing and Commissioning (Limit 10% of Total Sum Insured, maximum IDR 1.000.000.000)"
|
|
539
539
|
}
|
|
540
540
|
},
|
|
541
541
|
{
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const occupation_simple_1 = require("./product/property/occupation-simple");
|
|
4
4
|
const product = {
|
|
5
|
-
LIST: {},
|
|
6
|
-
MANUAL_LIST: [],
|
|
5
|
+
LIST: {}, // ini buat semua product
|
|
6
|
+
MANUAL_LIST: [], // ini buat product yang bisa diadd manual -> di form quotation / policy
|
|
7
7
|
CARGO_BY_SYSTEM_LIST: [],
|
|
8
8
|
PRODUCT_CODE_PROPERTY_ALL_RISK: 'polismall-property-allrisk',
|
|
9
9
|
PRODUCT_CODE_EARTHQUAKE: 'polismall-earthquake',
|
|
@@ -52,17 +52,17 @@ const product = {
|
|
|
52
52
|
PRODUCT_CODE_CARGO_BUNDLE: 'polismall-cargo-bundle',
|
|
53
53
|
PRODUCT_CODE_MERIMEN_CARGO: 'polismall-merimen-cargo',
|
|
54
54
|
PRODUCT_CODE_CARGO_TEMAS: 'polismall-cargo-temas',
|
|
55
|
-
PRODUCT_CODE_CARGO_SINGLE_SHIPMENT: 'polismall-cargo-single-shipment',
|
|
55
|
+
PRODUCT_CODE_CARGO_SINGLE_SHIPMENT: 'polismall-cargo-single-shipment', // Marine Cargo Single Shipment, buat add manual di policy
|
|
56
56
|
// OTTO
|
|
57
|
-
PRODUCT_CODE_OTTO_CI: 'polismall-otto-critical-illness',
|
|
58
|
-
PRODUCT_CODE_OTTO_FLEXAS: 'polismall-otto-flexas',
|
|
59
|
-
PRODUCT_CODE_OTTO_CRACK_SCREEN: 'polismall-otto-crack',
|
|
60
|
-
PRODUCT_CODE_OTTO_AUM_GP: 'polismall-otto-aum-gp',
|
|
61
|
-
PRODUCT_CODE_OTTO_AUM_PLN: 'polismall-otto-aum-pln',
|
|
62
|
-
PRODUCT_CODE_OTTO_AUM_PDAM: 'polismall-otto-aum-pdam',
|
|
63
|
-
PRODUCT_CODE_OTTO_AUM_SB: 'polismall-otto-aum-sb',
|
|
64
|
-
PRODUCT_CODE_OTTO_AUM_FB: 'polismall-otto-aum-fb',
|
|
65
|
-
PRODUCT_CODE_OTTO_AUM_FBK: 'polismall-otto-aum-fbk',
|
|
57
|
+
PRODUCT_CODE_OTTO_CI: 'polismall-otto-critical-illness', // ELI
|
|
58
|
+
PRODUCT_CODE_OTTO_FLEXAS: 'polismall-otto-flexas', // MNC
|
|
59
|
+
PRODUCT_CODE_OTTO_CRACK_SCREEN: 'polismall-otto-crack', // MNC
|
|
60
|
+
PRODUCT_CODE_OTTO_AUM_GP: 'polismall-otto-aum-gp', // AUM Gamers Protection
|
|
61
|
+
PRODUCT_CODE_OTTO_AUM_PLN: 'polismall-otto-aum-pln', // AUM Biller Protection PLN
|
|
62
|
+
PRODUCT_CODE_OTTO_AUM_PDAM: 'polismall-otto-aum-pdam', // AUM Biller Protection PDAM
|
|
63
|
+
PRODUCT_CODE_OTTO_AUM_SB: 'polismall-otto-aum-sb', // AUM Merchant Protection Stock Barang
|
|
64
|
+
PRODUCT_CODE_OTTO_AUM_FB: 'polismall-otto-aum-fb', // AUM Merchant Protection FLEXAS+BANJIR
|
|
65
|
+
PRODUCT_CODE_OTTO_AUM_FBK: 'polismall-otto-aum-fbk', // AUM Merchant Protection FLEXAS+BANJIR+KEBONGKARAN
|
|
66
66
|
// BDKI
|
|
67
67
|
PRODUCT_CODE_BDKI_MOTOR: 'polismall-bdki-motor',
|
|
68
68
|
PRODUCT_CODE_BDKI_RUMAH: 'polismall-bdki-rumah',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const quotation = {
|
|
4
|
+
LIST_OF_UPLOAD_DOCUMENT: [],
|
|
4
5
|
TYPE_QUOTATION_ATTACHMENT_DOC_OTHER: {
|
|
5
6
|
code: 'OTHER',
|
|
6
7
|
desc: {
|
|
@@ -59,4 +60,7 @@ quotation.LIST.push(quotation.TYPE_QUOTATION_ATTACHMENT_POLICY);
|
|
|
59
60
|
quotation.LIST.push(quotation.TYPE_QUOTATION_ATTACHMENT_INSURER_GENERATED_QUOTATION);
|
|
60
61
|
quotation.LIST.push(quotation.TYPE_QUOTATION_ATTACHMENT_CUSTOMER_GENERATED_QUOTATION);
|
|
61
62
|
quotation.LIST.push(quotation.TYPE_QUOTATION_ATTACHMENT_DRAFT_CUSTOMER_GENERATED_QUOTATION);
|
|
63
|
+
quotation.LIST_OF_UPLOAD_DOCUMENT.push(quotation.TYPE_QUOTATION_ATTACHMENT_PREMIUM_NOTE);
|
|
64
|
+
quotation.LIST_OF_UPLOAD_DOCUMENT.push(quotation.TYPE_QUOTATION_ATTACHMENT_COMMISSION_NOTE);
|
|
65
|
+
quotation.LIST_OF_UPLOAD_DOCUMENT.push(quotation.TYPE_QUOTATION_ATTACHMENT_DOC_OTHER);
|
|
62
66
|
exports.default = quotation;
|
package/dist/constants/source.js
CHANGED
|
@@ -6,7 +6,7 @@ const source = {
|
|
|
6
6
|
SOURCE_TANTO: 'TANTO',
|
|
7
7
|
SOURCE_MERATUS_PALISIDE: 'MERATUS-PALISIDE',
|
|
8
8
|
SOURCE_TEMAS: 'TEMAS',
|
|
9
|
-
SOURCE_DOMESTIK: 'DOMESTIK',
|
|
9
|
+
SOURCE_DOMESTIK: 'DOMESTIK', // Cargo Revamp - Domestix
|
|
10
10
|
SOURCE_YUDHA_EXCEL: 'YUDHA',
|
|
11
11
|
SOURCE_EXIM: 'EXIM',
|
|
12
12
|
SOURCE_UPLOAD_BUNDLE: 'UPLOAD-BUNDLE',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = alphaNumericCleansing;
|
|
3
4
|
function alphaNumericCleansing(text) {
|
|
4
5
|
if (typeof text !== 'string')
|
|
5
6
|
return '';
|
|
@@ -7,4 +8,3 @@ function alphaNumericCleansing(text) {
|
|
|
7
8
|
.toLowerCase()
|
|
8
9
|
.replace(/[^a-z0-9]/g, '');
|
|
9
10
|
}
|
|
10
|
-
exports.default = alphaNumericCleansing;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = terbilang;
|
|
3
4
|
function terbilang(value) {
|
|
4
5
|
const satuan = ['', 'satu', 'dua', 'tiga', 'empat', 'lima', 'enam', 'tujuh', 'delapan', 'sembilan'];
|
|
5
6
|
const belasan = ['sepuluh', 'sebelas', 'dua belas', 'tiga belas', 'empat belas', 'lima belas', 'enam belas', 'tujuh belas', 'delapan belas', 'sembilan belas'];
|
|
@@ -41,4 +42,3 @@ function terbilang(value) {
|
|
|
41
42
|
// Menghilangkan spasi yang double
|
|
42
43
|
return result.replace(/\s+/g, ' ').trim();
|
|
43
44
|
}
|
|
44
|
-
exports.default = terbilang;
|
package/dist/helpers/axiosGet.js
CHANGED
|
@@ -13,7 +13,7 @@ const axios_1 = require("axios");
|
|
|
13
13
|
const generateRelationId_1 = require("./generateRelationId");
|
|
14
14
|
const getCurrentDate_1 = require("./getCurrentDate");
|
|
15
15
|
const constants_1 = require("../constants");
|
|
16
|
-
exports.default = (
|
|
16
|
+
exports.default = (_a) => __awaiter(void 0, [_a], void 0, function* ({ url, headers, params, callback, }) {
|
|
17
17
|
return yield axios_1.default.get(url, {
|
|
18
18
|
params,
|
|
19
19
|
headers: Object.assign({ 'Content-Type': 'application/json', 'X-Correlation-Id': (0, generateRelationId_1.default)(24), 'X-Transmission-Date-Time': (0, getCurrentDate_1.default)() }, headers),
|
|
@@ -13,7 +13,7 @@ const axios_1 = require("axios");
|
|
|
13
13
|
const generateRelationId_1 = require("./generateRelationId");
|
|
14
14
|
const getCurrentDate_1 = require("./getCurrentDate");
|
|
15
15
|
const constants_1 = require("../constants");
|
|
16
|
-
exports.default = (
|
|
16
|
+
exports.default = (_a) => __awaiter(void 0, [_a], void 0, function* ({ url, headers, body, callback, }) {
|
|
17
17
|
return yield axios_1.default.post(url, body, {
|
|
18
18
|
headers: Object.assign({ 'Content-Type': 'application/json', 'X-Correlation-Id': (0, generateRelationId_1.default)(24), 'X-Transmission-Date-Time': (0, getCurrentDate_1.default)() }, headers),
|
|
19
19
|
}).then((result) => __awaiter(void 0, void 0, void 0, function* () {
|
package/dist/helpers/axiosPut.js
CHANGED
|
@@ -13,7 +13,7 @@ const axios_1 = require("axios");
|
|
|
13
13
|
const constants_1 = require("../constants");
|
|
14
14
|
const generateRelationId_1 = require("./generateRelationId");
|
|
15
15
|
const getCurrentDate_1 = require("./getCurrentDate");
|
|
16
|
-
exports.default = (
|
|
16
|
+
exports.default = (_a) => __awaiter(void 0, [_a], void 0, function* ({ url, headers, body, callback, }) {
|
|
17
17
|
return yield axios_1.default.put(url, body, {
|
|
18
18
|
headers: Object.assign({ 'Content-Type': 'application/json', 'X-Correlation-Id': (0, generateRelationId_1.default)(24), 'X-Transmission-Date-Time': (0, getCurrentDate_1.default)() }, headers),
|
|
19
19
|
}).then((result) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = default_1;
|
|
3
4
|
const brokerage_1 = require("../constants/brokerage");
|
|
4
5
|
function default_1(request) {
|
|
5
6
|
try {
|
|
@@ -16,4 +17,3 @@ function default_1(request) {
|
|
|
16
17
|
return null;
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
|
-
exports.default = default_1;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.minusN = exports.sumN = void 0;
|
|
4
|
+
exports.sum = sum;
|
|
5
|
+
exports.minus = minus;
|
|
6
|
+
exports.multiple = multiple;
|
|
7
|
+
exports.divide = divide;
|
|
8
|
+
exports.roundTo = roundTo;
|
|
4
9
|
function sum(a, b) {
|
|
5
10
|
try {
|
|
6
11
|
if (a == null && b == null)
|
|
@@ -11,7 +16,6 @@ function sum(a, b) {
|
|
|
11
16
|
return null;
|
|
12
17
|
}
|
|
13
18
|
}
|
|
14
|
-
exports.sum = sum;
|
|
15
19
|
function minus(a, b) {
|
|
16
20
|
try {
|
|
17
21
|
if (a == null && b == null)
|
|
@@ -22,7 +26,6 @@ function minus(a, b) {
|
|
|
22
26
|
return null;
|
|
23
27
|
}
|
|
24
28
|
}
|
|
25
|
-
exports.minus = minus;
|
|
26
29
|
function multiple(a, b) {
|
|
27
30
|
try {
|
|
28
31
|
if (a == null && b == null)
|
|
@@ -33,7 +36,6 @@ function multiple(a, b) {
|
|
|
33
36
|
return null;
|
|
34
37
|
}
|
|
35
38
|
}
|
|
36
|
-
exports.multiple = multiple;
|
|
37
39
|
function roundTo(num, precision = 2) {
|
|
38
40
|
try {
|
|
39
41
|
if (num == null && precision == null)
|
|
@@ -45,7 +47,6 @@ function roundTo(num, precision = 2) {
|
|
|
45
47
|
return null;
|
|
46
48
|
}
|
|
47
49
|
}
|
|
48
|
-
exports.roundTo = roundTo;
|
|
49
50
|
function divide(a, b) {
|
|
50
51
|
try {
|
|
51
52
|
if (a == null && b == null)
|
|
@@ -56,7 +57,6 @@ function divide(a, b) {
|
|
|
56
57
|
return null;
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
|
-
exports.divide = divide;
|
|
60
60
|
const sumN = (...numbers) => {
|
|
61
61
|
let result = null;
|
|
62
62
|
numbers.forEach(each => {
|
|
@@ -5,10 +5,10 @@ exports.default = (req, { isUserCodeMandatory = true } = {}) => {
|
|
|
5
5
|
if (!userCode && isUserCodeMandatory)
|
|
6
6
|
throw new Error('Usercode is not found');
|
|
7
7
|
return {
|
|
8
|
-
userCode: req.headers['x-user'] || req.headers['userCode'],
|
|
9
|
-
username: req.headers['x-username'] || req.headers['username'],
|
|
10
|
-
userEmail: req.headers['x-useremail'] || req.headers['x-user-email'] || req.headers['userEmail'],
|
|
11
|
-
isAdmin: req.headers['x-admin'] || req.headers['isAdmin'],
|
|
8
|
+
userCode: req.headers['x-user'] || req.headers['userCode'], //x-user -> isinya userCode
|
|
9
|
+
username: req.headers['x-username'] || req.headers['username'], //x-username -> isinya auth.username
|
|
10
|
+
userEmail: req.headers['x-useremail'] || req.headers['x-user-email'] || req.headers['userEmail'], //x-useremail -> isinya auth.username
|
|
11
|
+
isAdmin: req.headers['x-admin'] || req.headers['isAdmin'], //x-admin // isi 1/undefined -> jika 1 berarti admin
|
|
12
12
|
isPublic: req.headers['x-public'], //x-public isi 1/undefined -> jika 1 berarti akses public
|
|
13
13
|
};
|
|
14
14
|
};
|
package/dist/helpers/loop.js
CHANGED
|
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
function loop(
|
|
13
|
-
return __awaiter(this,
|
|
12
|
+
function loop(list_1, callback_1) {
|
|
13
|
+
return __awaiter(this, arguments, void 0, function* (list, callback, result = []) {
|
|
14
14
|
if (list && list.length > 0) {
|
|
15
15
|
const [head, ...tail] = list;
|
|
16
16
|
return loop(tail, callback, [yield callback(head), ...result]);
|
|
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
function loop(
|
|
13
|
-
return __awaiter(this,
|
|
12
|
+
function loop(list_1, callback_1) {
|
|
13
|
+
return __awaiter(this, arguments, void 0, function* (list, callback, result = []) {
|
|
14
14
|
if (list && list.length > 0) {
|
|
15
15
|
const [head, ...tail] = list;
|
|
16
16
|
return loop(tail, callback, [...result, yield callback(head)]);
|
package/package.json
CHANGED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const bankAccount = [
|
|
4
|
-
{
|
|
5
|
-
code: 'BCA2000',
|
|
6
|
-
desc: {
|
|
7
|
-
id: 'BCA 5455682000',
|
|
8
|
-
en: 'BCA 5455682000',
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
code: 'BCA2999',
|
|
13
|
-
desc: {
|
|
14
|
-
id: 'BCA 5455682999',
|
|
15
|
-
en: 'BCA 5455682999',
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
code: 'OCBC371-IDR',
|
|
20
|
-
desc: {
|
|
21
|
-
id: 'OCBC IDR 111800004371',
|
|
22
|
-
en: 'OCBC IDR 111800004371',
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
code: 'OCBC371-USD',
|
|
27
|
-
desc: {
|
|
28
|
-
id: 'OCBC USD 111800004371',
|
|
29
|
-
en: 'OCBC USD 111800004371',
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
code: 'PERMATA4371',
|
|
34
|
-
desc: {
|
|
35
|
-
id: 'Permata 0980-9340-683',
|
|
36
|
-
en: 'Permata 0980-9340-683',
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
code: 'PERMATA4371',
|
|
41
|
-
desc: {
|
|
42
|
-
id: 'QNB 1220-004544-001',
|
|
43
|
-
en: 'QNB 1220-004544-001',
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
code: 'BTPN3068',
|
|
48
|
-
desc: {
|
|
49
|
-
id: 'BTPN Syariah 1035883068',
|
|
50
|
-
en: 'BTPN Syariah 1035883068',
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
];
|
|
54
|
-
exports.default = bankAccount;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const coretax = {
|
|
4
|
-
STATUS: {
|
|
5
|
-
DRAFT: "0",
|
|
6
|
-
SUBMIT: "100",
|
|
7
|
-
CANCEL: "300",
|
|
8
|
-
},
|
|
9
|
-
TYPE_CORETAX: {
|
|
10
|
-
CREATE: "CREATE",
|
|
11
|
-
UPDATE: "UPDATE"
|
|
12
|
-
},
|
|
13
|
-
};
|
|
14
|
-
exports.default = coretax;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
declare const insuranceType: {
|
|
2
|
-
code: string;
|
|
3
|
-
desc: {
|
|
4
|
-
id: string;
|
|
5
|
-
en: string;
|
|
6
|
-
};
|
|
7
|
-
}[];
|
|
8
|
-
declare const regionCode: {
|
|
9
|
-
code: string;
|
|
10
|
-
desc: {
|
|
11
|
-
id: string;
|
|
12
|
-
en: string;
|
|
13
|
-
};
|
|
14
|
-
}[];
|
|
15
|
-
declare const vehicleTypeCode: {
|
|
16
|
-
code: string;
|
|
17
|
-
desc: {
|
|
18
|
-
id: string;
|
|
19
|
-
en: string;
|
|
20
|
-
};
|
|
21
|
-
}[];
|
|
22
|
-
declare const additionalCoverage: {
|
|
23
|
-
code: string;
|
|
24
|
-
desc: {
|
|
25
|
-
id: string;
|
|
26
|
-
en: string;
|
|
27
|
-
};
|
|
28
|
-
isVisible: boolean;
|
|
29
|
-
}[];
|
|
30
|
-
export { insuranceType, regionCode, vehicleTypeCode, additionalCoverage, };
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.additionalCoverage = exports.vehicleTypeCode = exports.regionCode = exports.insuranceType = void 0;
|
|
4
|
-
const insuranceType = [
|
|
5
|
-
{
|
|
6
|
-
code: "all-risk",
|
|
7
|
-
desc: {
|
|
8
|
-
id: "Komprehensif",
|
|
9
|
-
en: "Comprehensive",
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
code: "total-loss",
|
|
14
|
-
desc: {
|
|
15
|
-
id: "Kerugian Total",
|
|
16
|
-
en: "Total Loss",
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
];
|
|
20
|
-
exports.insuranceType = insuranceType;
|
|
21
|
-
const regionCode = [
|
|
22
|
-
{
|
|
23
|
-
code: "RC001",
|
|
24
|
-
desc: {
|
|
25
|
-
id: "Wilayah 1",
|
|
26
|
-
en: "Region 1",
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
code: "RC002",
|
|
31
|
-
desc: {
|
|
32
|
-
id: "Wilayah 2",
|
|
33
|
-
en: "Region 2",
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
code: "RC003",
|
|
38
|
-
desc: {
|
|
39
|
-
id: "Wilayah 3",
|
|
40
|
-
en: "Region 3",
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
];
|
|
44
|
-
exports.regionCode = regionCode;
|
|
45
|
-
const vehicleTypeCode = [
|
|
46
|
-
{
|
|
47
|
-
code: "VT001",
|
|
48
|
-
desc: {
|
|
49
|
-
id: "Jenis Kendaraan Non Bus dan Non Truk",
|
|
50
|
-
en: "Types of Non-Bus and Non-Truck Vehicles",
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
code: "VT002",
|
|
55
|
-
desc: {
|
|
56
|
-
id: "Jenis Kendaraan Truk dan Pickup",
|
|
57
|
-
en: "Vehicle Types Truck and Pickup",
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
code: "VT003",
|
|
62
|
-
desc: {
|
|
63
|
-
id: "Jenis Kendaraan Bus",
|
|
64
|
-
en: "Vehicle Types Bus",
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
code: "VT004",
|
|
69
|
-
desc: {
|
|
70
|
-
id: "Jenis Kendaraan Roda 2 (dua)",
|
|
71
|
-
en: "Type of 2 (two) Wheeled Vehicle",
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
];
|
|
75
|
-
exports.vehicleTypeCode = vehicleTypeCode;
|
|
76
|
-
const additionalCoverage = [
|
|
77
|
-
{
|
|
78
|
-
code: "TSFWD",
|
|
79
|
-
desc: {
|
|
80
|
-
id: "Topan, Badai, Banjir, Kerusakan Akibat Air",
|
|
81
|
-
en: "Typhoon, Storm, Flood, Water Damage",
|
|
82
|
-
},
|
|
83
|
-
isVisible: true,
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
code: "EQVET",
|
|
87
|
-
desc: {
|
|
88
|
-
id: "Gempa Bumi, Letusan Gunung Berapi dan Tsunami",
|
|
89
|
-
en: "Earthquake, Volcanic Eruption and Tsunami",
|
|
90
|
-
},
|
|
91
|
-
isVisible: true,
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
code: "SRCC",
|
|
95
|
-
desc: {
|
|
96
|
-
id: "Mogok Kerja, Kerusuhan dan Kerusuhan Sipil",
|
|
97
|
-
en: "Strike, Riot & Civil Commotion",
|
|
98
|
-
},
|
|
99
|
-
isVisible: true,
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
code: "PSATSI",
|
|
103
|
-
desc: {
|
|
104
|
-
id: "Terorisme dan Sabotase",
|
|
105
|
-
en: "Terrorism and Sabotage",
|
|
106
|
-
},
|
|
107
|
-
isVisible: true,
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
code: "TPL",
|
|
111
|
-
desc: {
|
|
112
|
-
id: "Tanggung Jawab Hukum Pihak Ketiga",
|
|
113
|
-
en: "Third Party Liability",
|
|
114
|
-
},
|
|
115
|
-
isVisible: true,
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
code: "PAD",
|
|
119
|
-
desc: {
|
|
120
|
-
id: "Kecelakaan Pengemudi",
|
|
121
|
-
en: "Personal Accident Driver",
|
|
122
|
-
},
|
|
123
|
-
isVisible: true,
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
code: "PAP",
|
|
127
|
-
desc: {
|
|
128
|
-
id: " Kcelakaan Penumpang",
|
|
129
|
-
en: "Personal Accident Passenger",
|
|
130
|
-
},
|
|
131
|
-
isVisible: true,
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
code: "TBOD",
|
|
135
|
-
desc: {
|
|
136
|
-
id: "Biaya Medis, Izin Bengkel, Tunjangan Ambulans, Ban dan Velg",
|
|
137
|
-
en: "TBOD, Authorize Workshop, Ambulance Allowance, Tire and Wheel",
|
|
138
|
-
},
|
|
139
|
-
isVisible: true,
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
code: "CASCO",
|
|
143
|
-
desc: {
|
|
144
|
-
id: "",
|
|
145
|
-
en: "",
|
|
146
|
-
},
|
|
147
|
-
isVisible: false,
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
code: "TLO",
|
|
151
|
-
desc: {
|
|
152
|
-
id: "",
|
|
153
|
-
en: "",
|
|
154
|
-
},
|
|
155
|
-
isVisible: false,
|
|
156
|
-
},
|
|
157
|
-
];
|
|
158
|
-
exports.additionalCoverage = additionalCoverage;
|