@provis/provis-common-be-module 1.4.48 → 1.4.50

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,18 @@
1
+ declare const brokerage: {
2
+ TYPE_BROKERAGE_FIX_AMOUNT: {
3
+ code: string;
4
+ desc: {
5
+ en: string;
6
+ id: string;
7
+ };
8
+ };
9
+ TYPE_BROKERAGE_PERCENTAGE: {
10
+ code: string;
11
+ desc: {
12
+ en: string;
13
+ id: string;
14
+ };
15
+ };
16
+ LIST: any[];
17
+ };
18
+ export default brokerage;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const brokerage = {
4
+ TYPE_BROKERAGE_FIX_AMOUNT: {
5
+ code: 'fa',
6
+ desc: {
7
+ en: "Fix Amount",
8
+ id: "Nilai"
9
+ },
10
+ },
11
+ TYPE_BROKERAGE_PERCENTAGE: {
12
+ code: 'p',
13
+ desc: {
14
+ en: "Percentage",
15
+ id: "Persentase"
16
+ },
17
+ },
18
+ LIST: [],
19
+ };
20
+ brokerage.LIST.push(brokerage.TYPE_BROKERAGE_FIX_AMOUNT);
21
+ brokerage.LIST.push(brokerage.TYPE_BROKERAGE_PERCENTAGE);
22
+ exports.default = brokerage;
@@ -5,28 +5,28 @@ statusClaim.INITIAL = {
5
5
  code: '100',
6
6
  desc: {
7
7
  en: 'Initial Report',
8
- id: 'Pelaporan perbaikan pertama berhasil dilaporkan'
8
+ id: 'Pelaporan klaim pertama berhasil dilaporkan'
9
9
  },
10
10
  };
11
11
  statusClaim.INITIAL_APPROVED = {
12
12
  code: '101',
13
13
  desc: {
14
14
  en: 'Initial report approved',
15
- id: 'Pelaporan perbaikan pertama disetujui'
15
+ id: 'Pelaporan klaim pertama disetujui'
16
16
  },
17
17
  };
18
18
  statusClaim.INITIAL_COMPLETED = {
19
19
  code: '102',
20
20
  desc: {
21
21
  en: 'Initial report completed',
22
- id: 'Pelaporan perbaikan pertama selesai'
22
+ id: 'Pelaporan klaim pertama selesai'
23
23
  },
24
24
  };
25
25
  statusClaim.INITIAL_REVISION = {
26
26
  code: '103',
27
27
  desc: {
28
28
  en: 'Initial report revision',
29
- id: 'Pelaporan perbaikan revisi'
29
+ id: 'Pelaporan klaim revisi'
30
30
  },
31
31
  };
32
32
  statusClaim.WAIT_DOCUMENT_COMPLETION = {
@@ -117,7 +117,7 @@ statusClaim.CLAIM_REJECTED = {
117
117
  code: '400',
118
118
  desc: {
119
119
  en: 'Claim Rejected',
120
- id: 'Perbaikan belum memenuhi kriteria'
120
+ id: 'Klaim belum memenuhi kriteria'
121
121
  },
122
122
  };
123
123
  statusClaim.LIST_ACTIVE = [
@@ -1,5 +1,6 @@
1
1
  declare const product: {
2
2
  LIST: {};
3
+ OCUPATION: {};
3
4
  PRODUCT_CODE_PROPERTY_ALL_RISK: string;
4
5
  PRODUCT_CODE_EARTHQUAKE: string;
5
6
  PRODUCT_CODE_VEHICLE: string;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const product = {
4
4
  LIST: {},
5
+ OCUPATION: {},
5
6
  PRODUCT_CODE_PROPERTY_ALL_RISK: 'polismall-property-allrisk',
6
7
  PRODUCT_CODE_EARTHQUAKE: 'polismall-earthquake',
7
8
  PRODUCT_CODE_VEHICLE: 'polismall-vehicle',
@@ -69,6 +70,24 @@ const product = {
69
70
  PRODUCT_CODE_RETAIL_KALOG_CARGO: 'polismall-kalog-cargo',
70
71
  PRODUCT_CODE_RETAIL_POS_CARGO: 'polismall-pos-cargo',
71
72
  };
73
+ product.OCUPATION = [
74
+ {
75
+ value: "DH",
76
+ name: "Dwelling House",
77
+ }, {
78
+ value: "HT",
79
+ name: "Hotels",
80
+ }, {
81
+ value: "PW",
82
+ name: "Private Warehouse",
83
+ }, {
84
+ value: "SH",
85
+ name: "Shops",
86
+ }, {
87
+ value: "PD",
88
+ name: "Petrol / Diesel Fuel Stations",
89
+ }
90
+ ];
72
91
  product.LIST = {
73
92
  [product.PRODUCT_CODE_BNI_MOBIL]: {
74
93
  value: product.PRODUCT_CODE_BNI_MOBIL,
@@ -105,10 +124,12 @@ product.LIST = {
105
124
  [product.PRODUCT_CODE_PROPERTY_ALL_RISK]: {
106
125
  value: product.PRODUCT_CODE_PROPERTY_ALL_RISK,
107
126
  name: "Property All Risk",
127
+ ocupation: product.OCUPATION,
108
128
  },
109
129
  [product.PRODUCT_CODE_EARTHQUAKE]: {
110
130
  value: product.PRODUCT_CODE_EARTHQUAKE,
111
131
  name: "Earthquake",
132
+ ocupation: product.OCUPATION,
112
133
  },
113
134
  [product.PRODUCT_CODE_VEHICLE]: {
114
135
  value: product.PRODUCT_CODE_VEHICLE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provis/provis-common-be-module",
3
- "version": "1.4.48",
3
+ "version": "1.4.50",
4
4
  "description": "This common module for Provis internal backend use lib",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {