@provis/provis-common-be-module 2.2.20 → 2.2.21

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.
@@ -11,11 +11,18 @@ declare const doc: {
11
11
  DOC_SPGR_SIGNED: string;
12
12
  DOC_LOD_SIGNED: string;
13
13
  DOC_PAYMENT: string;
14
+ DOC_MOTORCYCLE_DELIVERY_CHECKLIST: string;
15
+ DOC_MOTORCYCLE_PHOTO_LEFT: string;
16
+ DOC_MOTORCYCLE_PHOTO_RIGHT: string;
17
+ DOC_MOTORCYCLE_REPAIR_NOTE: string;
18
+ DOC_MOTORCYCLE_AFTER_REPAIR: string;
14
19
  LIST_DESC: {};
15
20
  LIST_ACTIVE: any[];
16
21
  LIST_RISK: any[];
17
22
  RISK_CONFIG: {};
18
23
  DOCUMENT_CONFIG: {};
19
24
  STATUS_DEADLINE: {};
25
+ GOOD_TYPE_LIST: string[];
26
+ GOOD_TYPE_MOTOR: any[];
20
27
  };
21
28
  export default doc;
@@ -14,12 +14,22 @@ const doc = {
14
14
  DOC_SPGR_SIGNED: 'DOC_SPGR_SIGNED',
15
15
  DOC_LOD_SIGNED: 'DOC_LOD_SIGNED',
16
16
  DOC_PAYMENT: 'DOC_PAYMENT',
17
+ DOC_MOTORCYCLE_DELIVERY_CHECKLIST: 'DOC_MOTORCYCLE_DELIVERY_CHECKLIST',
18
+ DOC_MOTORCYCLE_PHOTO_LEFT: 'DOC_MOTORCYCLE_PHOTO_LEFT',
19
+ DOC_MOTORCYCLE_PHOTO_RIGHT: 'DOC_MOTORCYCLE_PHOTO_RIGHT',
20
+ DOC_MOTORCYCLE_REPAIR_NOTE: 'DOC_MOTORCYCLE_REPAIR_NOTE',
21
+ DOC_MOTORCYCLE_AFTER_REPAIR: 'DOC_MOTORCYCLE_AFTER_REPAIR',
17
22
  LIST_DESC: {},
18
23
  LIST_ACTIVE: [],
19
24
  LIST_RISK: [],
20
25
  RISK_CONFIG: {},
21
26
  DOCUMENT_CONFIG: {},
22
27
  STATUS_DEADLINE: {},
28
+ GOOD_TYPE_LIST: [
29
+ 'Motor',
30
+ 'Non-Motor',
31
+ ],
32
+ GOOD_TYPE_MOTOR: [],
23
33
  };
24
34
  doc.LIST_DESC = {
25
35
  [doc.DOC_RESI]: {
@@ -70,6 +80,26 @@ doc.LIST_DESC = {
70
80
  id: "Bukti Bayar",
71
81
  en: "Payment Proof",
72
82
  },
83
+ [doc.DOC_MOTORCYCLE_DELIVERY_CHECKLIST]: {
84
+ id: "Formulir ceklis kiriman sepeda motor",
85
+ en: "Motorcycle delivery checklist form",
86
+ },
87
+ [doc.DOC_MOTORCYCLE_PHOTO_LEFT]: {
88
+ id: "Foto sepeda motor sebelum dikirim (serong kiri)",
89
+ en: "Photo of the motorbike before shipping (left slant)",
90
+ },
91
+ [doc.DOC_MOTORCYCLE_PHOTO_RIGHT]: {
92
+ id: "Foto sepeda motor sebelum dikirim (serong kanan)",
93
+ en: "Photo of the motorbike before shipping (right slant)",
94
+ },
95
+ [doc.DOC_MOTORCYCLE_REPAIR_NOTE]: {
96
+ id: "Nota perbaikan atau penggantian",
97
+ en: "Repair or replacement note",
98
+ },
99
+ [doc.DOC_MOTORCYCLE_AFTER_REPAIR]: {
100
+ id: "Foto sepeda motor setelah perbaikan",
101
+ en: "Photo of the motorbike after repair",
102
+ },
73
103
  };
74
104
  doc.LIST_ACTIVE = [
75
105
  doc.DOC_RESI,
@@ -111,7 +141,26 @@ doc.RISK_CONFIG['001'] = {
111
141
  doc.DOC_POLICE_REPORT,
112
142
  ],
113
143
  };
114
- [doc.DOC_RESI, doc.DOC_CLAIM, doc.DOC_INVOICE, doc.DOC_OPENING, doc.DOC_DOCUMENTATION, doc.DOC_POLICE_REPORT].map((value) => {
144
+ doc.GOOD_TYPE_MOTOR = [
145
+ doc.DOC_MOTORCYCLE_DELIVERY_CHECKLIST,
146
+ doc.DOC_MOTORCYCLE_PHOTO_LEFT,
147
+ doc.DOC_MOTORCYCLE_PHOTO_RIGHT,
148
+ doc.DOC_MOTORCYCLE_REPAIR_NOTE,
149
+ doc.DOC_MOTORCYCLE_AFTER_REPAIR,
150
+ ];
151
+ [
152
+ doc.DOC_RESI,
153
+ doc.DOC_CLAIM,
154
+ doc.DOC_INVOICE,
155
+ doc.DOC_OPENING,
156
+ doc.DOC_DOCUMENTATION,
157
+ doc.DOC_POLICE_REPORT,
158
+ doc.DOC_MOTORCYCLE_DELIVERY_CHECKLIST,
159
+ doc.DOC_MOTORCYCLE_PHOTO_LEFT,
160
+ doc.DOC_MOTORCYCLE_PHOTO_RIGHT,
161
+ doc.DOC_MOTORCYCLE_REPAIR_NOTE,
162
+ doc.DOC_MOTORCYCLE_AFTER_REPAIR,
163
+ ].map((value) => {
115
164
  doc.DOCUMENT_CONFIG[value] = {
116
165
  desc: {
117
166
  id: doc.LIST_DESC[value]['id'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provis/provis-common-be-module",
3
- "version": "2.2.20",
3
+ "version": "2.2.21",
4
4
  "description": "This common module for Provis internal backend use lib",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {