@things-factory/operato-wms 4.3.186 → 4.3.188

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 (30) hide show
  1. package/client/pages/constants/index.js +3 -0
  2. package/client/pages/constants/location.js +4 -0
  3. package/client/pages/constants/order.js +3 -1
  4. package/client/pages/constants/replenishment-config.js +161 -0
  5. package/client/pages/constants/replenishment.js +22 -0
  6. package/client/pages/constants/worksheet-replenishment-config.js +119 -0
  7. package/client/pages/constants/worksheet.js +8 -0
  8. package/client/pages/inbound/putaway-product.js +185 -11
  9. package/client/pages/inbound/undo-putaway-popup.js +39 -2
  10. package/client/pages/inbound/unload-product.js +126 -14
  11. package/client/pages/inventory/inventory-by-product.js +23 -1
  12. package/client/pages/order/draft-release-good/draft-release-good-detail.js +7 -0
  13. package/client/pages/outbound/picking-product.js +104 -32
  14. package/client/pages/replenishment/replenishment-detail.js +429 -0
  15. package/client/pages/replenishment/replenishment-worksheet-list.js +470 -0
  16. package/client/pages/replenishment/replenishment.js +510 -0
  17. package/client/pages/replenishment/worksheet-replenishment.js +414 -0
  18. package/client/route.js +17 -0
  19. package/config.development.js +28 -21
  20. package/helps/release-note.ko.md +4 -4
  21. package/helps/release-note.md +4 -4
  22. package/helps/release-note.ms.md +4 -4
  23. package/helps/release-note.zh.md +4 -4
  24. package/package.json +6 -6
  25. package/things-factory.config.js +18 -0
  26. package/translations/en.json +35 -9
  27. package/translations/ko.json +26 -1
  28. package/translations/ms.json +26 -1
  29. package/translations/zh.json +26 -1
  30. package/config.production.js +0 -104
@@ -1,6 +1,4 @@
1
1
  {
2
- "field.shelf_qty": "shelf qty",
3
- "field.putaway_qty": "putaway qty",
4
2
  "arrival_notice_created": "arrival notice created",
5
3
  "button.activate": "activate",
6
4
  "button.add_edit": "add & edit",
@@ -33,6 +31,7 @@
33
31
  "button.create_gan": "create gan",
34
32
  "button.create_putaway_worksheet": "create putaway worksheet",
35
33
  "button.create_release_order": "create release order",
34
+ "button.create_replenishment": "create replenishment",
36
35
  "button.create_ro": "create ro",
37
36
  "button.create": "create",
38
37
  "button.delete_all": "delete all",
@@ -378,6 +377,7 @@
378
377
  "field.number_of_depth": "number of depth",
379
378
  "field.number_of_row": "number of row",
380
379
  "field.number_of_shelf": "number of shelf",
380
+ "field.obsolete_qty": "obsolete qty",
381
381
  "field.obsolete": "obsolete",
382
382
  "field.onhand_inventory_quantity": "onhand inventory quantity",
383
383
  "field.opening_balance": "opening balance",
@@ -435,6 +435,8 @@
435
435
  "field.picked_qty": "picked qty",
436
436
  "field.picker": "picker",
437
437
  "field.picking_end": "picking end",
438
+ "field.picking_location": "picking location",
439
+ "field.picking_shelf_qty": "picking shelf qty",
438
440
  "field.picking_start": "picking start",
439
441
  "field.pickup_time_id": "pickup time id",
440
442
  "field.po_no": "PO No.",
@@ -460,6 +462,7 @@
460
462
  "field.putaway_at": "putaway at",
461
463
  "field.putaway_by": "putaway by",
462
464
  "field.putaway_complete": "putaway complete",
465
+ "field.putaway_qty": "putaway qty",
463
466
  "field.putaway_start": "putaway start",
464
467
  "field.qty": "qty",
465
468
  "field.quantity": "quantity",
@@ -541,6 +544,7 @@
541
544
  "field.service": "service",
542
545
  "field.services": "services",
543
546
  "field.set": "set",
547
+ "field.shelf_qty": "shelf qty",
544
548
  "field.shelf": "shelf",
545
549
  "field.shipping_option": "shipping option",
546
550
  "field.shipping_provider": "shipping provider",
@@ -557,6 +561,8 @@
557
561
  "field.status": "status",
558
562
  "field.stock_name": "stock name",
559
563
  "field.stop_id": "stop id",
564
+ "field.storage_location": "storage location",
565
+ "field.storage_qty": "storage qty",
560
566
  "field.stored_at": "stored at",
561
567
  "field.stored": "stored",
562
568
  "field.sub_brand": "sub brand",
@@ -604,6 +610,7 @@
604
610
  "field.tracking_no": "tracking no",
605
611
  "field.transaction_type": "transaction type",
606
612
  "field.transaction": "transaction",
613
+ "field.transfer_qty": "transfer qty",
607
614
  "field.transport_driver": "transport driver",
608
615
  "field.transport_option": "transport option",
609
616
  "field.transport_vehicle": "transport vehicle",
@@ -959,6 +966,7 @@
959
966
  "label.remind_container_departure": "remind container departure",
960
967
  "label.repalletizing_vas": "repalletizing vas",
961
968
  "label.repalletizing": "repalletizing",
969
+ "label.replenishment": "replenishment",
962
970
  "label.required_package_qty": "required package qty",
963
971
  "label.required_package_uom_value": "required package uom value",
964
972
  "label.required_pallet_qty": "required pallet qty",
@@ -1094,6 +1102,7 @@
1094
1102
  "text.activate_loading_worksheet": "activate loading worksheet",
1095
1103
  "text.activate_packing_worksheet": "activate packing worksheet",
1096
1104
  "text.activate_picking_worksheet": "activate picking worksheet",
1105
+ "text.activate_picking_replenishment_worksheet": "activate picking replenishment worksheet",
1097
1106
  "text.activate_putaway_worksheet": "activate putaway worksheet",
1098
1107
  "text.activate_return_worksheet": "activate return worksheet",
1099
1108
  "text.activate_sorting_worksheet": "activate sorting worksheet",
@@ -1127,8 +1136,8 @@
1127
1136
  "text.batch_is_not_selected": "batch is not selected",
1128
1137
  "text.batch_no_is_required": "batch no. is required",
1129
1138
  "text.batch_picking": "batch picking",
1130
- "text.bin_number": "bin number",
1131
1139
  "text.bin_location_is_empty": "bin location is empty",
1140
+ "text.bin_number": "bin number",
1132
1141
  "text.bizplace_not_found": "bizplace not found",
1133
1142
  "text.both_date_cannot_be_empty": "both date cannot be empty",
1134
1143
  "text.bulk_update_status": "bulk update status",
@@ -1184,6 +1193,7 @@
1184
1193
  "text.create_delivery_order": "create delivery order",
1185
1194
  "text.create_goods_received_note": "create goods received note",
1186
1195
  "text.create_release_order": "create release order",
1196
+ "text.create_replenishment": "create replenishment",
1187
1197
  "text.create_return_order": "create return order",
1188
1198
  "text.create_reverse_kitting_order": "create reverse kitting order",
1189
1199
  "text.create_vas_order": "create vas order",
@@ -1278,10 +1288,13 @@
1278
1288
  "text.inspected_uom value_is_empty": "inspected uom value is empty",
1279
1289
  "text.inspection_is_completed": "inspection is completed",
1280
1290
  "text.insufficient_stock": "insufficient stock",
1291
+ "text.insufficient_storage_qty": "insufficient storage qty",
1281
1292
  "text.invalid_adjustment_code": "invalid adjustment code",
1282
1293
  "text.invalid_adjustment_note": "invalid adjustment note",
1294
+ "text.invalid_batch_no": "invalid batch no",
1283
1295
  "text.invalid_carton_id": "invalid carton id",
1284
1296
  "text.invalid_data_in_list": "invalid data in list ",
1297
+ "text.invalid_expiration_date": "invalid expiration date",
1285
1298
  "text.invalid_form_value": "invalid form value",
1286
1299
  "text.invalid_form": "invalid form",
1287
1300
  "text.invalid_format_of_location_id": "invalid format of location id",
@@ -1297,12 +1310,15 @@
1297
1310
  "text.invalid_pallet_qty": "invalid pallet qty",
1298
1311
  "text.invalid_print_qty": "invalid print qty",
1299
1312
  "text.invalid_product_combination": "invalid product combination",
1313
+ "text.invalid_product_sku": "invalid product SKU",
1300
1314
  "text.invalid_qty": "invalid quantity",
1301
1315
  "text.invalid_quantity_input": "invalid quantity input",
1302
1316
  "text.invalid_release_date": "invalid release date",
1303
1317
  "text.invalid_release_qty": "invalid release qty",
1304
1318
  "text.invalid_return_location": "invalid return location",
1319
+ "text.invalid_transfer_qty": "invalid transfer qty",
1305
1320
  "text.invalid_unit_cost": "invalid unit cost",
1321
+ "text.invalid_unit_price_not_a_number": "invalid unit price (not a number)",
1306
1322
  "text.invalid_unit_price": "invalid unit price",
1307
1323
  "text.invalid_uom_value_input": "invalid uom value input",
1308
1324
  "text.invalid_uom_value": "invalid uom value",
@@ -1367,7 +1383,6 @@
1367
1383
  "text.now_using_normal_pallet": "now using normal pallet",
1368
1384
  "text.now_using_reusable_pallet": "now using reusable pallet",
1369
1385
  "text.obsolete_inventory_found_please_reassign": "obsolete inventory found, please reassign",
1370
- "field.obsolete_qty": "obsolete qty",
1371
1386
  "text.offline": "offline",
1372
1387
  "text.online": "online",
1373
1388
  "text.only_supports_search_of_single_field": "only supports search of single field",
@@ -1409,6 +1424,7 @@
1409
1424
  "text.please_select_container_size": "please select container size",
1410
1425
  "text.please_select_label_indicator": "please select label indicator",
1411
1426
  "text.please_select_one_or_more_order_to_generate_worksheet": "please select one or more order to generate worksheet",
1427
+ "text.please_select_product_to_replenish": "please select product to replenish",
1412
1428
  "text.please_select_release_order": "please select release order",
1413
1429
  "text.please_select_the_company": "please select the company",
1414
1430
  "text.please_select_the_contact_type": "please select the contact type",
@@ -1429,6 +1445,7 @@
1429
1445
  "text.product_is_not_selected": "product is not selected",
1430
1446
  "text.product_not_found": "product not found",
1431
1447
  "text.putaway_completed": "putaway completed",
1448
+ "text.putaway_replenishment_completed": "putaway replenishment completed",
1432
1449
  "text.putaway": "putaway",
1433
1450
  "text.qty_cannot_be_divided_completely": "qty cannot be divided completely",
1434
1451
  "text.qty_exceed_limit": "qty exceed limit",
@@ -1471,6 +1488,9 @@
1471
1488
  "text.remark_is_empty": "remark is empty",
1472
1489
  "text.remark_updated": "remark updated",
1473
1490
  "text.replacement_pallet_not_match_criteria": "replacement pallet not match criteria",
1491
+ "text.replenishment_created": "replenishment created",
1492
+ "text.replenishment_is_cancelled": "replenishment is cancelled",
1493
+ "text.replenishment_worksheet_created": "replenishment worksheet created",
1474
1494
  "text.return_order_confirmed": "return order confirmed",
1475
1495
  "text.return_order_created": "return order created",
1476
1496
  "text.return_order_form_invalid": "return order form invalid",
@@ -1505,6 +1525,7 @@
1505
1525
  "text.selected_qty_is_less_than_expected": "selected qty is less than expected",
1506
1526
  "text.selected_qty_is_more_than_expected": "selected qty is more than expected",
1507
1527
  "text.selected_release_order(s)_is_not_in_pending_worksheet_status": "selected release order(s) is not in pending worksheet status",
1528
+ "text.selected_replenishment(s)_is_not_in_pending_worksheet_status": "selected replenishment(s) is not in pending worksheet status",
1508
1529
  "text.send_goods_received_note": "send GRN",
1509
1530
  "text.serial_number_has_been_scanned": "serial number has been scanned",
1510
1531
  "text.serial_number_is_empty": "serial number is empty",
@@ -1567,6 +1588,7 @@
1567
1588
  "text.tote_status_does_not_exist": "tote status does not exist",
1568
1589
  "text.tracking_no_added_successfully": "tracking no added successfully",
1569
1590
  "text.tracking_no_already_exist_in_manifest_list": "tracking no already exist in manifest list",
1591
+ "text.tracking_no_already_exist_in_other_manifest_list": "tracking no already exist in other manifest list",
1570
1592
  "text.transfer_inventory_to_different_location": "transfer inventory to different location",
1571
1593
  "text.transfer_location_completed": "transfer location completed",
1572
1594
  "text.truck_is_not_selected": "truck is not selected",
@@ -1620,11 +1642,6 @@
1620
1642
  "text.you_wont_be_able_to_revert_this": "you won't be able to revert this",
1621
1643
  "text.you.are.now.in": "you are now in {state.text}",
1622
1644
  "text.your_work_has_completed": "your work has completed",
1623
- "text.tracking_no_already_exist_in_other_manifest_list": "tracking no already exist in other manifest list",
1624
- "text.invalid_product_sku": "invalid product SKU",
1625
- "text.invalid_expiration_date": "invalid expiration date",
1626
- "text.invalid_batch_no": "invalid batch no",
1627
- "text.invalid_unit_price_not_a_number": "invalid unit price (not a number)",
1628
1645
  "title.add_product": "add product",
1629
1646
  "title.add_rule_field": "add rule field",
1630
1647
  "title.add_tracking_no": "add tracking no",
@@ -1672,6 +1689,7 @@
1672
1689
  "title.create_delivery_order": "create delivery order",
1673
1690
  "title.create_loading_manifest": "create loading manifest",
1674
1691
  "title.create_release_order": "create release order",
1692
+ "title.create_replenishment": "create replenishment",
1675
1693
  "title.create_return_order": "create return order",
1676
1694
  "title.create_template": "create template",
1677
1695
  "title.create_vas_order": "create vas order",
@@ -1858,6 +1876,11 @@
1858
1876
  "title.removing_order_remark": "removing order remark",
1859
1877
  "title.repack_relabel": "repacking & relabeling configuration",
1860
1878
  "title.repack": "repacking configuration",
1879
+ "title.replenishment_detail": "replenishment detail",
1880
+ "title.replenishment_worksheet_list": "replenishment worksheet list",
1881
+ "title.replenishment": "replenishment",
1882
+ "title.replenishment_list": "replenishment list",
1883
+ "title.replenishment_worksheet": "replenishment worksheet",
1861
1884
  "title.retail_replenishment_order_detail": "retail replenishment order detail",
1862
1885
  "title.retail_replenishment_order_no": "replenishment order number",
1863
1886
  "title.retail_replenishment_order_requests": "retail replenishment order requests",
@@ -1953,9 +1976,12 @@
1953
1976
  "title.worksheet_loading": "worksheet loading",
1954
1977
  "title.worksheet_no": "worksheet no",
1955
1978
  "title.worksheet_packing": "worksheet packing",
1979
+ "title.worksheet_pick_replenishment": "worksheet pick replenishment",
1956
1980
  "title.worksheet_picking": "worksheet picking",
1981
+ "title.worksheet_putaway_replenishment": "worksheet putaway replenishment",
1957
1982
  "title.worksheet_putaway_return": "worksheet putaway return",
1958
1983
  "title.worksheet_putaway": "worksheet putaway",
1984
+ "title.worksheet_replenishment": "worksheet replenishment",
1959
1985
  "title.worksheet_return": "worksheet return",
1960
1986
  "title.worksheet_sorting": "worksheet sorting",
1961
1987
  "title.worksheet_unloading_return": "worksheet unloading return",
@@ -2097,5 +2097,30 @@
2097
2097
  "text.obsolete_inventory_found_please_reassign": "[ko] obsolete inventory found, please reassign",
2098
2098
  "text.invalid_unit_price_not_a_number": "[ko] invalid unit price (not a number)",
2099
2099
  "text.please_enter_transfer_qty": "[ko] please enter transfer quantity",
2100
- "field.obsolete_qty": "[ko] obsolete qty"
2100
+ "field.obsolete_qty": "[ko] obsolete qty",
2101
+ "field.storage_location": "[ko] storage location",
2102
+ "field.picking_shelf_qty": "[ko] picking shelf qty",
2103
+ "field.storage_qty": "[ko] storage qty",
2104
+ "field.transfer_qty": "[ko] transfer qty",
2105
+ "title.replenishment": "[ko] replenishment",
2106
+ "title.create_replenishment": "[ko] create replenishment",
2107
+ "title.replenishment_worksheet_list": "[ko] replenishment worksheet list",
2108
+ "title.worksheet_pick_replenishment": "[ko] worksheet pick replenishment",
2109
+ "title.worksheet_putaway_replenishment": "[ko] worksheet putaway replenishment",
2110
+ "text.insufficient_storage_qty": "[ko] insufficient storage qty",
2111
+ "text.create_replenishment": "[ko] create replenishment",
2112
+ "text.replenishment_worksheet_created": "[ko] replenishment worksheet created",
2113
+ "button.create_replenishment": "[ko] create replenishment",
2114
+ "text.replenishment_created": "[ko] replenishment created",
2115
+ "text.selected_replenishment(s)_is_not_in_pending_worksheet_status": "[ko] selected replenishment(s) is not in pending worksheet status",
2116
+ "text.replenishment_is_cancelled": "[ko] replenishment is cancelled",
2117
+ "text.invalid_transfer_qty": "[ko] invalid transfer qty",
2118
+ "text.please_select_product_to_replenish": "[ko] please select product to replenish",
2119
+ "title.replenishment_worksheet": "[ko] replenishment worksheet",
2120
+ "field.picking_location": "[ko] picking location",
2121
+ "title.worksheet_replenishment": "[ko] worksheet replenishment",
2122
+ "text.activate_picking_replenishment_worksheet": "[ko] activate picking replenishment worksheet",
2123
+ "text.putaway_replenishment_completed": "[ko] putaway replenishment completed",
2124
+ "title.replenishment_list": "[ko] replenishment list",
2125
+ "title.replenishment_detail": "[ko] replenishment detail"
2101
2126
  }
@@ -1970,5 +1970,30 @@
1970
1970
  "text.obsolete_inventory_found_please_reassign": "[ms] obsolete inventory found, please reassign",
1971
1971
  "text.invalid_unit_price_not_a_number": "[ms] invalid unit price (not a number)",
1972
1972
  "text.please_enter_transfer_qty": "[ms] please enter transfer quantity",
1973
- "field.obsolete_qty": "[ms] obsolete qty"
1973
+ "field.obsolete_qty": "[ms] obsolete qty",
1974
+ "field.storage_location": "[ms] storage location",
1975
+ "field.picking_shelf_qty": "[ms] picking shelf qty",
1976
+ "field.storage_qty": "[ms] storage qty",
1977
+ "field.transfer_qty": "[ms] transfer qty",
1978
+ "title.replenishment": "[ms] replenishment",
1979
+ "title.create_replenishment": "[ms] create replenishment",
1980
+ "title.replenishment_worksheet_list": "[ms] replenishment worksheet list",
1981
+ "title.worksheet_pick_replenishment": "[ms] worksheet pick replenishment",
1982
+ "title.worksheet_putaway_replenishment": "[ms] worksheet putaway replenishment",
1983
+ "text.insufficient_storage_qty": "[ms] insufficient storage qty",
1984
+ "text.create_replenishment": "[ms] create replenishment",
1985
+ "text.replenishment_worksheet_created": "[ms] replenishment worksheet created",
1986
+ "button.create_replenishment": "[ms] create replenishment",
1987
+ "text.replenishment_created": "[ms] replenishment created",
1988
+ "text.selected_replenishment(s)_is_not_in_pending_worksheet_status": "[ms] selected replenishment(s) is not in pending worksheet status",
1989
+ "text.replenishment_is_cancelled": "[ms] replenishment is cancelled",
1990
+ "text.invalid_transfer_qty": "[ms] invalid transfer qty",
1991
+ "text.please_select_product_to_replenish": "[ms] please select product to replenish",
1992
+ "title.replenishment_worksheet": "[ms] replenishment worksheet",
1993
+ "field.picking_location": "[ms] picking location",
1994
+ "title.worksheet_replenishment": "[ms] worksheet replenishment",
1995
+ "text.activate_picking_replenishment_worksheet": "[ms] activate picking replenishment worksheet",
1996
+ "text.putaway_replenishment_completed": "[ms] putaway replenishment completed",
1997
+ "title.replenishment_list": "[ms] replenishment list",
1998
+ "title.replenishment_detail": "[ms] replenishment detail"
1974
1999
  }
@@ -1920,5 +1920,30 @@
1920
1920
  "text.obsolete_inventory_found_please_reassign": "[zh] obsolete inventory found, please reassign",
1921
1921
  "text.invalid_unit_price_not_a_number": "[zh] invalid unit price (not a number)",
1922
1922
  "text.please_enter_transfer_qty": "[zh] please enter transfer quantity",
1923
- "field.obsolete_qty": "[zh] obsolete qty"
1923
+ "field.obsolete_qty": "[zh] obsolete qty",
1924
+ "field.storage_location": "[zh] storage location",
1925
+ "field.picking_shelf_qty": "[zh] picking shelf qty",
1926
+ "field.storage_qty": "[zh] storage qty",
1927
+ "field.transfer_qty": "[zh] transfer qty",
1928
+ "title.replenishment": "[zh] replenishment",
1929
+ "title.create_replenishment": "[zh] create replenishment",
1930
+ "title.replenishment_worksheet_list": "[zh] replenishment worksheet list",
1931
+ "title.worksheet_pick_replenishment": "[zh] worksheet pick replenishment",
1932
+ "title.worksheet_putaway_replenishment": "[zh] worksheet putaway replenishment",
1933
+ "text.insufficient_storage_qty": "[zh] insufficient storage qty",
1934
+ "text.create_replenishment": "[zh] create replenishment",
1935
+ "text.replenishment_worksheet_created": "[zh] replenishment worksheet created",
1936
+ "button.create_replenishment": "[zh] create replenishment",
1937
+ "text.replenishment_created": "[zh] replenishment created",
1938
+ "text.selected_replenishment(s)_is_not_in_pending_worksheet_status": "[zh] selected replenishment(s) is not in pending worksheet status",
1939
+ "text.replenishment_is_cancelled": "[zh] replenishment is cancelled",
1940
+ "text.invalid_transfer_qty": "[zh] invalid transfer qty",
1941
+ "text.please_select_product_to_replenish": "[zh] please select product to replenish",
1942
+ "title.replenishment_worksheet": "[zh] replenishment worksheet",
1943
+ "field.picking_location": "[zh] picking location",
1944
+ "title.worksheet_replenishment": "[zh] worksheet replenishment",
1945
+ "text.activate_picking_replenishment_worksheet": "[zh] activate picking replenishment worksheet",
1946
+ "text.putaway_replenishment_completed": "[zh] putaway replenishment completed",
1947
+ "title.replenishment_list": "[zh] replenishment list",
1948
+ "title.replenishment_detail": "[zh] replenishment detail"
1924
1949
  }
@@ -1,104 +0,0 @@
1
- module.exports = {
2
- domainType: 'warehouse',
3
- domainExtType: 'warehouse',
4
- useVirtualHostBasedDomain: false,
5
- fallbackRoute: '/',
6
- subdomainOffset: 2,
7
- port: 1100,
8
- inspect: '9430',
9
- ormconfig: {
10
- name: 'default',
11
- type: 'postgres',
12
- database: 'dev',
13
- username: 'postgres',
14
- password: 'hatio',
15
- host: '192.168.0.161',
16
- port: 15432,
17
- synchronize: true,
18
- logging: false
19
- },
20
- // ormconfig: {
21
- // name: 'default',
22
- // type: 'postgres',
23
- // database: 'dev',
24
- // username: 'postgres',
25
- // password: 'abcd1234',
26
- // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
27
- // port: 55432,
28
- // synchronize: true,
29
- // logging: true
30
- // },
31
- sellercraftIntegrationConfig: {
32
- apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
33
- },
34
- SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
35
- password: {
36
- lowerCase: true,
37
- upperCase: false,
38
- digit: false,
39
- specialCharacter: false,
40
- allowRepeat: true,
41
- useTightPattern: false,
42
- useLoosePattern: true,
43
- tightCharacterLength: 4,
44
- looseCharacterLength: 4,
45
- history: 2
46
- },
47
- // storage: {
48
- // type: 's3',
49
- // accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
50
- // secretAccessKey: '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',
51
- // bucketName: 'opa-one',
52
- // region: 'ap-southeast-1'
53
- // },
54
- uploads: 'uploads',
55
- attachmentsPath: 'attachments',
56
- logger: {
57
- file: {
58
- filename: 'logs/application-%DATE%.log',
59
- datePattern: 'YYYY-MM-DD-HH',
60
- zippedArchive: true,
61
- maxSize: '200m',
62
- maxFiles: '1m',
63
- level: 'info'
64
- }
65
- },
66
- email: {
67
- host: 'smtp.office365.com',
68
- port: 587,
69
- secure: false, // true for 465, false for other ports
70
- auth: {
71
- user: 'no-reply@hatiolab.com', // generated ethereal user
72
- pass: 'h@ti0LAB1008' // generated ethereal password
73
- },
74
- secureConnection: false,
75
- tls: {
76
- ciphers: 'SSLv3'
77
- }
78
- },
79
- sender: 'no-reply@hatiolab.com',
80
- notification: {
81
- // fcm: {
82
- // serviceAccount: {
83
- // project_id: 'operato',
84
- // private_key:
85
- // '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZMOMlAA7uqW2eX4vkayj7MzbYUayH+sei8044Q\nJIyl6f26dNX1VT3UgTmSmCS0v48EBEZHCgusrUGFjduLRN6OS6uvrXW1xKA18k9q\nai1C2EHCXF2AE4PTvf239RC1UIOnVePcMtT7rMTdHRO4s8OKVuSDbzIt8k1cV3Zt\nES0YsJlkELqBisYpV//2/ZSILTt39J9JzrVef03X9kkoo9p+YnNyy6tWsfQPfgJO\nybiRGBNxiyJ/E2pxRo/WqU0go9OzYJlGaSUrUx09heNiRD1b0MAOmyPDJz/6AaTk\nkU/A+kLzAgMBAAECggEADQ5s2gtR53VSujk1V/Xe8e0Di99DwaWUj5w6YhcK7/wX\nPdQRN4Fw6RLeLjL7xeG/rCNSwzm6hKSrQJL5zLnWW7XbMdyQRk6jdmnVAEv3zACi\nFH9+eFK3e+Q214XfgWz/v4p/FZdRLCYni5VBNHcwyWxLLS/V1ynzB3KM1sDiTRmI\npcT7+uTtwrKgJq64sXtFE2pYrFxDdCiyqzkhv/2ed4YIowAjpKBbbcCDKeVxVkoz\nC1P4PAzs9EeUuKSWYrWaUjN17lqtRlYeT1ylR1PIJuWqd4cKfgoEgz+lHwRPDCEX\nAYbk3nofiJIPBhSfCHrXS755wK48mY8vMwFdfCPJeQKBgQDsz4tjYTHdat5A25n5\nekwMxZwFQ5OvMV4eulwZUDMypTAYSz1iB6sDlgwKDm5omZIfuneqCEIvrqxV/kx3\n5wV/DANHO3hYxdp/NV7rM23xmqlaKZhHQbDono1Fm/LP6DEmJiD7N2eFKsXYcPpR\nSAIdCv0X3zkDQ4zRi51yJlCXzQKBgQDpufJBxCoXngiQJ2j14lWVAeOOdQ6zh5Ip\nBcDwF0X67cNSN3Wl40bS4yLFdolhEAyj5m0WPuYYXpjzhHhZ0W3V3ItdBkrmwIvy\nWOWu26qN0ZbwxVS2qVpHuj6iHWJKHuDZZUkFtJg3BeeBSOUHSA8TvjnA0xd83xeb\n8ZJasWoFvwKBgQDFs/gQ/gIdcq0exLfluh5nw0qgcmyHpNWJHdjqITS9IX/nqFkU\n0IYLtmdStf2jQiLmbkydHcvz9wZVvLqml67VBHhwLcwpgPULoskd34/4V0Dvzy4c\nv1Esw8H5zVqIDLeLu+VpFjZMzQrjyl6RIWbyTExEc84rVWfpQYAu3qIGOQKBgAFr\nXatEk7TdAtRNSPflTfu/rTAaSeKROjQBkvBiU8x4US1YpOBDBxUUyAtG8wKh5FHC\nfnsaGq+fM3KXJVv2R6J62mXQOfg4xyDLpWlwcBK4aSBBMoiBcsjouqSlZQlqMpdf\nZBgixqHe6U8BsFJg/6ZxC0y+e3AIss4Bo4/lb+1lAoGAFOexvaBh21K6W3inmRW4\nLlkVYJaBJ20OwokXg5aXjBiHxqmk7VLAuFbkpb5LOKH2xPILRQ0OEkn51yVymS3T\n9lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
86
- // client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
87
- // },
88
- // appConfig: {
89
- // apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
90
- // projectId: 'operato',
91
- // messagingSenderId: 79537064975,
92
- // appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
93
- // },
94
- // serverKey:
95
- // 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
96
- // },
97
- // vapidKey: {
98
- // subject: 'mailto:heartyoh@hatiolab.com',
99
- // publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
100
- // privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
101
- // }
102
- },
103
- reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
104
- }