@provis/provis-common-be-module 1.4.49 → 1.4.51

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,2 @@
1
+ declare const martialStatus: any;
2
+ export default martialStatus;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const martialStatus = {
4
+ STATUS_BK: 'BK',
5
+ STATUS_KW: 'KW',
6
+ STATUS_JD: 'JD',
7
+ LIST: []
8
+ };
9
+ martialStatus.LIST = {
10
+ [martialStatus.STATUS_BK]: {
11
+ value: martialStatus.STATUS_BK,
12
+ name: {
13
+ en: 'Not Married',
14
+ id: 'Belum Kawin'
15
+ }
16
+ },
17
+ [martialStatus.STATUS_KW]: {
18
+ value: martialStatus.STATUS_KW,
19
+ name: {
20
+ en: 'Married',
21
+ id: 'Kawin'
22
+ }
23
+ },
24
+ [martialStatus.STATUS_JD]: {
25
+ value: martialStatus.STATUS_JD,
26
+ name: {
27
+ en: 'Divorce',
28
+ id: 'Janda / Duda'
29
+ }
30
+ }
31
+ };
32
+ exports.default = martialStatus;
@@ -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.49",
3
+ "version": "1.4.51",
4
4
  "description": "This common module for Provis internal backend use lib",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {