@provis/provis-common-be-module 1.7.14 → 1.7.16

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.
@@ -56,7 +56,7 @@ doc.LIST_ACTIVE = [
56
56
  doc.DOC_OTHER,
57
57
  ];
58
58
  doc.STATUS_DEADLINE[status_1.default.INITIAL.code] = {
59
- deadline: 45,
59
+ deadline: 30,
60
60
  key: 'accidentDate',
61
61
  };
62
62
  doc.STATUS_DEADLINE[status_1.default.WAIT_DOCUMENT_COMPLETION.code] = {
@@ -69,6 +69,49 @@ doc.RISK_CONFIG['001'] = {
69
69
  id: 'Default',
70
70
  en: 'Default',
71
71
  },
72
- requiredDocument: doc.LIST_ACTIVE,
72
+ requiredDocument: [
73
+ doc.DOC_RESI,
74
+ doc.DOC_CLAIM,
75
+ doc.DOC_INVOICE,
76
+ doc.DOC_OPENING,
77
+ doc.DOC_DOCUMENTATION,
78
+ doc.DOC_POLICE_REPORT,
79
+ ],
80
+ };
81
+ doc.DOCUMENT_CONFIG[doc.DOC_RESI] = {
82
+ desc: {
83
+ id: 'Foto Resi',
84
+ en: 'Photo of Receipt',
85
+ },
86
+ };
87
+ doc.DOCUMENT_CONFIG[doc.DOC_CLAIM] = {
88
+ desc: {
89
+ id: 'Formulir klaim yang telah diisi lengkap disertai dengan perincian jumlah kerugian',
90
+ en: 'Completely filled out claim form with details of loss amount',
91
+ },
92
+ };
93
+ doc.DOCUMENT_CONFIG[doc.DOC_INVOICE] = {
94
+ desc: {
95
+ id: 'Dokumen Tagihan Nilai Barang',
96
+ en: 'Goods Value Invoice documents',
97
+ },
98
+ };
99
+ doc.DOCUMENT_CONFIG[doc.DOC_OPENING] = {
100
+ desc: {
101
+ id: 'Rekaman vidio pembukaan barang',
102
+ en: 'Video recording of opening of goods',
103
+ },
104
+ };
105
+ doc.DOCUMENT_CONFIG[doc.DOC_DOCUMENTATION] = {
106
+ desc: {
107
+ id: 'Foto - foto dokumentasi barang yang rusak',
108
+ en: 'Documentation photos of damaged goods',
109
+ },
110
+ };
111
+ doc.DOCUMENT_CONFIG[doc.DOC_POLICE_REPORT] = {
112
+ desc: {
113
+ id: 'Laporan Kepolisian',
114
+ en: 'Police report',
115
+ },
73
116
  };
74
117
  exports.default = doc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provis/provis-common-be-module",
3
- "version": "1.7.14",
3
+ "version": "1.7.16",
4
4
  "description": "This common module for Provis internal backend use lib",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {