@provis/provis-common-be-module 1.4.27 → 1.4.29

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.
@@ -7,6 +7,7 @@ declare const doc: {
7
7
  DOC_PARTIAL_LOSS: string;
8
8
  DOC_POLICE_REPORT: string;
9
9
  DOC_OTHER: string;
10
+ DOC_INVOICE: string;
10
11
  LIST_DESC: {};
11
12
  LIST_ACTIVE: any[];
12
13
  };
@@ -9,6 +9,7 @@ const doc = {
9
9
  DOC_PARTIAL_LOSS: 'DOC_PARTIAL_LOSS',
10
10
  DOC_POLICE_REPORT: 'DOC_POLICE_REPORT',
11
11
  DOC_OTHER: 'DOC_OTHER',
12
+ DOC_INVOICE: 'DOC_INVOICE',
12
13
  LIST_DESC: {},
13
14
  LIST_ACTIVE: []
14
15
  };
@@ -45,6 +46,10 @@ doc.LIST_DESC = {
45
46
  id: "Dokumen lain yang mendukung proses klaim",
46
47
  en: "Other documents that support the claims process",
47
48
  },
49
+ [doc.DOC_INVOICE]: {
50
+ id: "Dokumen Tagihan",
51
+ en: "Invoice documents",
52
+ },
48
53
  };
49
54
  doc.LIST_ACTIVE = [
50
55
  doc.DOC_CLAIM,
@@ -55,5 +60,6 @@ doc.LIST_ACTIVE = [
55
60
  doc.DOC_PARTIAL_LOSS,
56
61
  doc.DOC_POLICE_REPORT,
57
62
  doc.DOC_OTHER,
63
+ doc.DOC_INVOICE,
58
64
  ];
59
65
  exports.default = doc;
@@ -36,6 +36,13 @@ statusClaim.WAIT_DOCUMENT_COMPLETION = {
36
36
  id: 'Menunggu kelengkapan dokumen'
37
37
  },
38
38
  };
39
+ statusClaim.REVISION_DOCUMENT = {
40
+ code: 111,
41
+ desc: {
42
+ en: 'Revision Document',
43
+ id: 'Revisi Dokumen yang sudah diupload sebelumnya'
44
+ },
45
+ };
39
46
  statusClaim.CHECK_DOCUMENT = {
40
47
  code: 120,
41
48
  desc: {
@@ -78,6 +85,13 @@ statusClaim.SUBMIT_CLAIM_TO_INSURANCE = {
78
85
  id: 'Klaim Telah di teruskan ke asuransi'
79
86
  },
80
87
  };
88
+ statusClaim.REVISION_DOCUMENT_BY_INSURANCE = {
89
+ code: 201,
90
+ desc: {
91
+ en: 'Revision Document',
92
+ id: 'Revisi Dokumen yang sudah diupload sebelumnya'
93
+ },
94
+ };
81
95
  statusClaim.SUBMIT_DOC_CLAIM_TO_INSURANCE = {
82
96
  code: 210,
83
97
  desc: {
@@ -112,12 +126,14 @@ statusClaim.LIST_ACTIVE = [
112
126
  statusClaim.INITIAL_COMPLETED.code,
113
127
  statusClaim.INITIAL_REVISION.code,
114
128
  statusClaim.WAIT_DOCUMENT_COMPLETION.code,
129
+ statusClaim.REVISION_DOCUMENT.code,
115
130
  statusClaim.CHECK_DOCUMENT.code,
116
131
  statusClaim.REVIEW_PROVIS.code,
117
132
  statusClaim.SUBMIT_LOD.code,
118
133
  statusClaim.WAIT_LOD_SIGN.code,
119
134
  statusClaim.SUBMIT_LOD_SIGN.code,
120
135
  statusClaim.SUBMIT_CLAIM_TO_INSURANCE.code,
136
+ statusClaim.REVISION_DOCUMENT_BY_INSURANCE.code,
121
137
  statusClaim.SUBMIT_DOC_CLAIM_TO_INSURANCE.code,
122
138
  statusClaim.CLAIM_APPROVED.code,
123
139
  statusClaim.CLAIM_REJECTED.code,
@@ -16,4 +16,5 @@ import getObjByKeys from "./getObjByKeys";
16
16
  import loop from "./loop";
17
17
  import loopBackward from "./loopBackward";
18
18
  import searchValue from "./searchValue";
19
- export { addDateTime, amountDescription, axiosGet, axiosPost, axiosPut, compareDiffObj, convertCurrencySymbol, convertDateTimeFormat, convertObjToNumber, convertToCurrency, filterObj, generateRelationId, getCurrentDate, getDiffValue, getObjByKeys, loop, loopBackward, searchValue, };
19
+ import readExcel from "./readExcel";
20
+ export { addDateTime, amountDescription, axiosGet, axiosPost, axiosPut, compareDiffObj, convertCurrencySymbol, convertDateTimeFormat, convertObjToNumber, convertToCurrency, filterObj, generateRelationId, getCurrentDate, getDiffValue, getObjByKeys, loop, loopBackward, searchValue, readExcel, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.searchValue = exports.loopBackward = exports.loop = exports.getObjByKeys = exports.getDiffValue = exports.getCurrentDate = exports.generateRelationId = exports.filterObj = exports.convertToCurrency = exports.convertObjToNumber = exports.convertDateTimeFormat = exports.convertCurrencySymbol = exports.compareDiffObj = exports.axiosPut = exports.axiosPost = exports.axiosGet = exports.amountDescription = exports.addDateTime = void 0;
3
+ exports.readExcel = exports.searchValue = exports.loopBackward = exports.loop = exports.getObjByKeys = exports.getDiffValue = exports.getCurrentDate = exports.generateRelationId = exports.filterObj = exports.convertToCurrency = exports.convertObjToNumber = exports.convertDateTimeFormat = exports.convertCurrencySymbol = exports.compareDiffObj = exports.axiosPut = exports.axiosPost = exports.axiosGet = exports.amountDescription = exports.addDateTime = void 0;
4
4
  const addDateTime_1 = require("./addDateTime");
5
5
  exports.addDateTime = addDateTime_1.default;
6
6
  const amountDescription_1 = require("./amountDescription");
@@ -37,3 +37,5 @@ const loopBackward_1 = require("./loopBackward");
37
37
  exports.loopBackward = loopBackward_1.default;
38
38
  const searchValue_1 = require("./searchValue");
39
39
  exports.searchValue = searchValue_1.default;
40
+ const readExcel_1 = require("./readExcel");
41
+ exports.readExcel = readExcel_1.default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provis/provis-common-be-module",
3
- "version": "1.4.27",
3
+ "version": "1.4.29",
4
4
  "description": "This common module for Provis internal backend use lib",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -15,7 +15,5 @@
15
15
  "uniqid": "^5.3.0",
16
16
  "xlsx": "^0.16.8"
17
17
  },
18
- "devDependencies": {
19
- "@types/node": "^20.12.12"
20
- }
21
- }
18
+ "devDependencies": {}
19
+ }