@provis/provis-common-be-module 2.5.41 → 2.6.1

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.
Files changed (39) hide show
  1. package/dist/class/main.repository.js +4 -4
  2. package/dist/constants/claim/cargo.d.ts +117 -1
  3. package/dist/constants/claim/general.js +1 -1
  4. package/dist/constants/claim/kalog.js +1 -1
  5. package/dist/constants/claim/loket.js +40 -40
  6. package/dist/constants/claim/motorVehicle.js +1 -1
  7. package/dist/constants/claim/travel.js +1 -1
  8. package/dist/constants/config.js +2 -2
  9. package/dist/constants/product/cargo/status.d.ts +45 -0
  10. package/dist/constants/product/cargo/status.js +47 -0
  11. package/dist/constants/product/occupation.d.ts +3 -3
  12. package/dist/constants/product/occupation.js +1712 -12
  13. package/dist/constants/product/property/area.json +720 -0
  14. package/dist/constants/product/property/clause.d.ts +17 -0
  15. package/dist/constants/product/property/clause.js +30 -0
  16. package/dist/constants/product/property/compulsory.d.ts +17 -0
  17. package/dist/constants/product/property/compulsory.js +30 -0
  18. package/dist/constants/product/property/occupation-simple.d.ts +9 -0
  19. package/dist/constants/product/property/occupation-simple.js +354 -0
  20. package/dist/constants/product/property/property.d.ts +72 -0
  21. package/dist/constants/product/property/property.js +239 -0
  22. package/dist/constants/product.js +15 -15
  23. package/dist/helpers/amountDescription.js +1 -1
  24. package/dist/helpers/axiosGet.js +1 -1
  25. package/dist/helpers/axiosPost.js +1 -1
  26. package/dist/helpers/axiosPut.js +1 -1
  27. package/dist/helpers/calculateByType.js +1 -1
  28. package/dist/helpers/calculateForNullable.js +5 -5
  29. package/dist/helpers/getHeaderUser.js +4 -4
  30. package/dist/helpers/loop.js +2 -2
  31. package/dist/helpers/loopBackward.js +2 -2
  32. package/dist/helpers/readExcel.d.ts +0 -2
  33. package/package.json +3 -2
  34. package/dist/constants/bankAccount.d.ts +0 -8
  35. package/dist/constants/bankAccount.js +0 -54
  36. package/dist/constants/product/mv.d.ts +0 -30
  37. package/dist/constants/product/mv.js +0 -158
  38. package/dist/constants/product/property/occupation.d.ts +0 -5
  39. package/dist/constants/product/property/occupation.js +0 -1725
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ clause: {
3
+ order: number;
4
+ code: string;
5
+ desc: {
6
+ id: string;
7
+ en: string;
8
+ };
9
+ }[];
10
+ clauseMapping: {
11
+ FLEXAS: string[];
12
+ RSMDCC: string[];
13
+ TSFWD: string[];
14
+ EQ: string[];
15
+ };
16
+ };
17
+ export default _default;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const clause = [
4
+ {
5
+ order: 1,
6
+ code: "clause-1",
7
+ desc: {
8
+ id: "",
9
+ en: "",
10
+ },
11
+ },
12
+ ];
13
+ const clauseMapping = {
14
+ "FLEXAS": [
15
+ 'clause-1',
16
+ ],
17
+ "RSMDCC": [
18
+ 'clause-1',
19
+ ],
20
+ "TSFWD": [
21
+ 'clause-1',
22
+ ],
23
+ "EQ": [
24
+ 'clause-1',
25
+ ],
26
+ };
27
+ exports.default = {
28
+ clause,
29
+ clauseMapping,
30
+ };
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ compulsory: {
3
+ order: number;
4
+ code: string;
5
+ desc: {
6
+ id: string;
7
+ en: string;
8
+ };
9
+ }[];
10
+ compulsoryMapping: {
11
+ FLEXAS: string[];
12
+ RSMDCC: string[];
13
+ TSFWD: string[];
14
+ EQ: string[];
15
+ };
16
+ };
17
+ export default _default;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const compulsory = [
4
+ {
5
+ order: 1,
6
+ code: "compulsory-1",
7
+ desc: {
8
+ id: "",
9
+ en: "",
10
+ },
11
+ },
12
+ ];
13
+ const compulsoryMapping = {
14
+ "FLEXAS": [
15
+ 'compulsory-1',
16
+ ],
17
+ "RSMDCC": [
18
+ 'compulsory-1',
19
+ ],
20
+ "TSFWD": [
21
+ 'compulsory-1',
22
+ ],
23
+ "EQ": [
24
+ 'compulsory-1',
25
+ ],
26
+ };
27
+ exports.default = {
28
+ compulsory,
29
+ compulsoryMapping,
30
+ };
@@ -0,0 +1,9 @@
1
+ declare const occupation: {
2
+ code: string;
3
+ desc: {
4
+ id: string;
5
+ en: string;
6
+ };
7
+ construction: string[];
8
+ }[];
9
+ export default occupation;
@@ -0,0 +1,354 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const occupation = [
4
+ {
5
+ code: '2934',
6
+ desc: {
7
+ id: '',
8
+ en: 'Shops, non chain store',
9
+ },
10
+ construction: [
11
+ 'construction-1',
12
+ 'construction-2',
13
+ 'construction-3',
14
+ ],
15
+ },
16
+ {
17
+ code: '29371',
18
+ desc: {
19
+ id: '',
20
+ en: 'Private Warehouses',
21
+ },
22
+ construction: [
23
+ 'construction-1',
24
+ 'construction-2',
25
+ 'construction-3',
26
+ ],
27
+ },
28
+ {
29
+ code: '29378',
30
+ desc: {
31
+ id: '',
32
+ en: 'Public Warehouses',
33
+ },
34
+ construction: [
35
+ 'construction-1',
36
+ 'construction-2',
37
+ 'construction-3',
38
+ ],
39
+ },
40
+ {
41
+ code: '29395',
42
+ desc: {
43
+ id: '',
44
+ en: 'Show Rooms (Permanent Show Rooms without Repair/Workshop) for New Motor Cars',
45
+ },
46
+ construction: [
47
+ 'construction-1',
48
+ 'construction-2',
49
+ 'construction-3',
50
+ ],
51
+ },
52
+ {
53
+ code: '29411',
54
+ desc: {
55
+ id: '',
56
+ en: 'Hotels, motels, inns and the like certified below 3 star classification',
57
+ },
58
+ construction: [
59
+ 'construction-1',
60
+ 'construction-1-9',
61
+ 'construction-2',
62
+ 'construction-3',
63
+ ],
64
+ },
65
+ {
66
+ code: '29412',
67
+ desc: {
68
+ id: '',
69
+ en: 'Hotels, motels, inns and the like certified as 3 star and above',
70
+ },
71
+ construction: [
72
+ 'construction-1',
73
+ 'construction-1-9',
74
+ 'construction-2',
75
+ 'construction-3',
76
+ ],
77
+ },
78
+ {
79
+ code: '2942',
80
+ desc: {
81
+ id: '',
82
+ en: 'Night clubs, dance halls, ball rooms, discotheques, bars, billiards karaoke',
83
+ },
84
+ construction: [
85
+ 'construction-1',
86
+ 'construction-1-9',
87
+ 'construction-2',
88
+ 'construction-3',
89
+ ],
90
+ },
91
+ {
92
+ code: '29431',
93
+ desc: {
94
+ id: '',
95
+ en: 'Swimming Pools or Complex of Swimming Pools not forming part of Recreation Centre or Hotel Complex such as waterpark',
96
+ },
97
+ construction: [
98
+ 'construction-1',
99
+ 'construction-1-9',
100
+ 'construction-2',
101
+ 'construction-3',
102
+ ],
103
+ },
104
+ {
105
+ code: '29432',
106
+ desc: {
107
+ id: '',
108
+ en: 'Sport Stadium, Sport Centres, Fitness Centres, Gymns and the like',
109
+ },
110
+ construction: [
111
+ 'construction-1',
112
+ 'construction-1-9',
113
+ 'construction-2',
114
+ 'construction-3',
115
+ ],
116
+ },
117
+ {
118
+ code: '29433',
119
+ desc: {
120
+ id: '',
121
+ en: 'Private ( member only ) Club House and Golf Club Houses',
122
+ },
123
+ construction: [
124
+ 'construction-1',
125
+ 'construction-1-9',
126
+ 'construction-2',
127
+ 'construction-3',
128
+ ],
129
+ },
130
+ {
131
+ code: '2945',
132
+ desc: {
133
+ id: '',
134
+ en: 'Restaurants, eating and drinking places, (permanent building)',
135
+ },
136
+ construction: [
137
+ 'construction-1',
138
+ 'construction-1-9',
139
+ 'construction-2',
140
+ 'construction-3',
141
+ ],
142
+ },
143
+ {
144
+ code: '2946',
145
+ desc: {
146
+ id: '',
147
+ en: 'Stalls, Huts (Kedai), Eating Places (Warung Makan), and the like (tenda, non permanent building)',
148
+ },
149
+ construction: [
150
+ 'construction-1',
151
+ 'construction-2',
152
+ 'construction-3',
153
+ ],
154
+ },
155
+ {
156
+ code: '2947',
157
+ desc: {
158
+ id: '',
159
+ en: 'Beauty salon/ Hair dresser/ Barber shops',
160
+ },
161
+ construction: [
162
+ 'construction-1',
163
+ 'construction-2',
164
+ 'construction-3',
165
+ ],
166
+ },
167
+ {
168
+ code: '2949',
169
+ desc: {
170
+ id: '',
171
+ en: 'Recreation areas and cultural centre',
172
+ },
173
+ construction: [
174
+ 'construction-1',
175
+ 'construction-2',
176
+ 'construction-3',
177
+ ],
178
+ },
179
+ {
180
+ code: '2951',
181
+ desc: {
182
+ id: '',
183
+ en: 'Sanatorium, hospitals, doctor\'s consulting rooms, old people\'s and children\'s homes',
184
+ },
185
+ construction: [
186
+ 'construction-1',
187
+ 'construction-1-9',
188
+ 'construction-2',
189
+ 'construction-3',
190
+ ],
191
+ },
192
+ {
193
+ code: '2952',
194
+ desc: {
195
+ id: '',
196
+ en: 'Religious facilities such as mosques, temples, churches, convents and the like',
197
+ },
198
+ construction: [
199
+ 'construction-1',
200
+ 'construction-1-9',
201
+ 'construction-2',
202
+ 'construction-3',
203
+ ],
204
+ },
205
+ {
206
+ code: '2953',
207
+ desc: {
208
+ id: '',
209
+ en: 'Schools, universities and training colleges',
210
+ },
211
+ construction: [
212
+ 'construction-1',
213
+ 'construction-1-9',
214
+ 'construction-2',
215
+ 'construction-3',
216
+ ],
217
+ },
218
+ {
219
+ code: '2954',
220
+ desc: {
221
+ id: '',
222
+ en: 'Museums',
223
+ },
224
+ construction: [
225
+ 'construction-1',
226
+ 'construction-2',
227
+ 'construction-3',
228
+ ],
229
+ },
230
+ {
231
+ code: '2955',
232
+ desc: {
233
+ id: '',
234
+ en: 'Psychiatric clinics',
235
+ },
236
+ construction: [
237
+ 'construction-1',
238
+ 'construction-2',
239
+ 'construction-3',
240
+ ],
241
+ },
242
+ {
243
+ code: '2971',
244
+ desc: {
245
+ id: '',
246
+ en: 'Apartments/condominiums, offices, multi-storeyed car parks not exceeding 6 storeys above ground level',
247
+ },
248
+ construction: [
249
+ 'construction-1',
250
+ 'construction-2',
251
+ 'construction-3',
252
+ ],
253
+ },
254
+ {
255
+ code: '2972',
256
+ desc: {
257
+ id: '',
258
+ en: 'Apartments/condominiums, offices, multi-storeyed car parks exceeding 6 storeys up to 18 storeys above ground level',
259
+ },
260
+ construction: [
261
+ 'construction-1',
262
+ 'construction-1-9',
263
+ 'construction-2',
264
+ 'construction-3',
265
+ ],
266
+ },
267
+ {
268
+ code: '2973',
269
+ desc: {
270
+ id: '',
271
+ en: 'Apartments/condominiums, offices, multi-storeyed car parks exceeding 18 storeys above ground level',
272
+ },
273
+ construction: [
274
+ 'construction-1-9',
275
+ 'construction-2',
276
+ 'construction-3',
277
+ ],
278
+ },
279
+ {
280
+ code: '2974',
281
+ desc: {
282
+ id: '',
283
+ en: 'Convention halls and other multi purpose buildings (but excluding exhibition)',
284
+ },
285
+ construction: [
286
+ 'construction-1',
287
+ 'construction-1-9',
288
+ 'construction-2',
289
+ 'construction-3',
290
+ ],
291
+ },
292
+ {
293
+ code: '2975',
294
+ desc: {
295
+ id: '',
296
+ en: 'Apartments/condominiums, offices, multi-storeyed car parks - exceeding 24 storeys above ground',
297
+ },
298
+ construction: [
299
+ 'construction-1-9',
300
+ 'construction-2',
301
+ 'construction-3',
302
+ ],
303
+ },
304
+ {
305
+ code: '2976',
306
+ desc: {
307
+ id: '',
308
+ en: 'Dwelling houses not classified as shop houses (ruko) not exceeding 3 storeys',
309
+ },
310
+ construction: [
311
+ 'construction-1',
312
+ 'construction-2',
313
+ 'construction-3',
314
+ ],
315
+ },
316
+ {
317
+ code: '29761',
318
+ desc: {
319
+ id: '',
320
+ en: 'Dwelling house for boarding house/koskosan',
321
+ },
322
+ construction: [
323
+ 'construction-1',
324
+ 'construction-2',
325
+ 'construction-3',
326
+ ],
327
+ },
328
+ {
329
+ code: '2977',
330
+ desc: {
331
+ id: '',
332
+ en: 'Dwelling houses buildings floating on the river/sea shore (regardless of constructional class)',
333
+ },
334
+ construction: [
335
+ 'construction-1',
336
+ 'construction-2',
337
+ 'construction-3',
338
+ ],
339
+ },
340
+ {
341
+ code: '2978',
342
+ desc: {
343
+ id: '',
344
+ en: 'Independent analytical laboratories',
345
+ },
346
+ construction: [
347
+ 'construction-1',
348
+ 'construction-1-9',
349
+ 'construction-2',
350
+ 'construction-3',
351
+ ],
352
+ },
353
+ ];
354
+ exports.default = occupation;
@@ -0,0 +1,72 @@
1
+ declare const classConstruction: {
2
+ code: string;
3
+ desc: {
4
+ en: string;
5
+ id: string;
6
+ };
7
+ }[];
8
+ declare const additionalCoverage: ({
9
+ code: string;
10
+ desc: {
11
+ en: string;
12
+ id: string;
13
+ };
14
+ insuredPerils: {
15
+ true: {
16
+ desc: {
17
+ en: string;
18
+ id: string;
19
+ };
20
+ };
21
+ false?: undefined;
22
+ };
23
+ deductible: string[];
24
+ isDefault: boolean;
25
+ classOfInsurance: string[];
26
+ } | {
27
+ code: string;
28
+ desc: {
29
+ en: string;
30
+ id: string;
31
+ };
32
+ insuredPerils: {
33
+ true: {
34
+ desc: {
35
+ en: string;
36
+ id: string;
37
+ };
38
+ };
39
+ false: {
40
+ desc: {
41
+ en: string;
42
+ id: string;
43
+ };
44
+ };
45
+ };
46
+ deductible: string[];
47
+ isDefault: boolean;
48
+ classOfInsurance: string[];
49
+ })[];
50
+ declare const floodZone: {
51
+ code: string;
52
+ desc: {
53
+ en: string;
54
+ id: string;
55
+ };
56
+ }[];
57
+ declare const deductible: {
58
+ code: string;
59
+ order: number;
60
+ desc: {
61
+ id: string;
62
+ en: string;
63
+ };
64
+ }[];
65
+ declare const classOfInsurance: {
66
+ code: string;
67
+ desc: {
68
+ en: string;
69
+ id: string;
70
+ };
71
+ }[];
72
+ export { classConstruction, additionalCoverage, floodZone, deductible, classOfInsurance, };