@provis/provis-common-be-module 1.4.23 → 1.4.25

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.
@@ -22,6 +22,13 @@ statusClaim.INITIAL_COMPLETED = {
22
22
  id: 'Pelaporan klaim pertama selesai'
23
23
  },
24
24
  };
25
+ statusClaim.INITIAL_REVISION = {
26
+ code: 103,
27
+ desc: {
28
+ en: 'Initial report revision',
29
+ id: 'Pelaporan klaim revisi'
30
+ },
31
+ };
25
32
  statusClaim.WAIT_DOCUMENT_COMPLETION = {
26
33
  code: 110,
27
34
  desc: {
@@ -101,6 +108,9 @@ statusClaim.CLAIM_REJECTED = {
101
108
  };
102
109
  statusClaim.LIST_ACTIVE = [
103
110
  statusClaim.INITIAL.code,
111
+ statusClaim.INITIAL_APPROVED.code,
112
+ statusClaim.INITIAL_COMPLETED.code,
113
+ statusClaim.INITIAL_REVISION.code,
104
114
  statusClaim.WAIT_DOCUMENT_COMPLETION.code,
105
115
  statusClaim.CHECK_DOCUMENT.code,
106
116
  statusClaim.REVIEW_PROVIS.code,
@@ -48,13 +48,13 @@ exports.default = ({ searchValue, searchKey, operatorValue, keyName = searchKey,
48
48
  return {
49
49
  query: `${keyName} IN (:...${searchKey})`,
50
50
  key: searchKey,
51
- value,
51
+ value: value.split(','),
52
52
  };
53
53
  case operator_1.default.v:
54
54
  return {
55
55
  query: `${keyName} NOT IN (:...${searchKey})`,
56
56
  key: searchKey,
57
- value,
57
+ value: value.split(','),
58
58
  };
59
59
  default:
60
60
  return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provis/provis-common-be-module",
3
- "version": "1.4.23",
3
+ "version": "1.4.25",
4
4
  "description": "This common module for Provis internal backend use lib",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {