@things-factory/operato-wms 4.0.44 → 4.0.45

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.0.44",
3
+ "version": "4.0.45",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -41,7 +41,7 @@
41
41
  "docker:run": "docker run --platform linux/amd64 -p 4000:3000 hatiolab/operato-wms:latest"
42
42
  },
43
43
  "dependencies": {
44
- "@operato/ghost-print": "^0.3.27",
44
+ "@operato/ghost-print": "^0.3.28",
45
45
  "@operato/scene-chartjs": "^0.1.4",
46
46
  "@operato/scene-clock": "^0.1.4",
47
47
  "@operato/scene-clone": "^0.1.4",
@@ -56,57 +56,57 @@
56
56
  "@operato/scene-tab": "^0.1.4",
57
57
  "@operato/scene-table": "^0.1.4",
58
58
  "@operato/scene-wheel-sorter": "^0.1.4",
59
- "@things-factory/apptool-ui": "^4.0.44",
60
- "@things-factory/attachment-ui": "^4.0.44",
61
- "@things-factory/auth-ui": "^4.0.44",
62
- "@things-factory/barcode-ui": "^4.0.44",
63
- "@things-factory/biz-ui": "^4.0.44",
64
- "@things-factory/board-service": "^4.0.44",
65
- "@things-factory/board-ui": "^4.0.44",
66
- "@things-factory/code-ui": "^4.0.44",
67
- "@things-factory/context-ui": "^4.0.44",
68
- "@things-factory/export-ui": "^4.0.44",
69
- "@things-factory/export-ui-csv": "^4.0.44",
70
- "@things-factory/export-ui-excel": "^4.0.44",
71
- "@things-factory/fav-base": "^4.0.44",
72
- "@things-factory/form-ui": "^4.0.44",
73
- "@things-factory/grist-ui": "^4.0.44",
74
- "@things-factory/help": "^4.0.44",
75
- "@things-factory/i18n-base": "^4.0.44",
76
- "@things-factory/id-rule-base": "^4.0.44",
77
- "@things-factory/import-ui": "^4.0.44",
78
- "@things-factory/import-ui-excel": "^4.0.44",
79
- "@things-factory/menu-ui": "^4.0.44",
80
- "@things-factory/more-ui": "^4.0.44",
81
- "@things-factory/notification": "^4.0.44",
82
- "@things-factory/pdf": "^4.0.44",
83
- "@things-factory/print-proxy-service": "^4.0.44",
84
- "@things-factory/print-service": "^4.0.44",
85
- "@things-factory/print-ui": "^4.0.44",
86
- "@things-factory/product-base": "^4.0.44",
87
- "@things-factory/resource-ui": "^4.0.44",
88
- "@things-factory/sales-ui": "^4.0.44",
89
- "@things-factory/scene-data-transform": "^4.0.44",
90
- "@things-factory/scene-excel": "^4.0.44",
91
- "@things-factory/scene-firebase": "^4.0.44",
92
- "@things-factory/scene-form": "^4.0.44",
93
- "@things-factory/scene-google-map": "^4.0.44",
94
- "@things-factory/scene-graphql": "^4.0.44",
95
- "@things-factory/scene-label": "^4.0.44",
96
- "@things-factory/scene-marker": "^4.0.44",
97
- "@things-factory/scene-mqtt": "^4.0.44",
98
- "@things-factory/scene-news-ticker": "^4.0.44",
99
- "@things-factory/scene-restful": "^4.0.44",
100
- "@things-factory/scene-visualizer": "^4.0.44",
101
- "@things-factory/setting-ui": "^4.0.44",
102
- "@things-factory/system-ui": "^4.0.44",
103
- "@things-factory/transport-base": "^4.0.44",
104
- "@things-factory/tutorial-ui": "^4.0.44",
105
- "@things-factory/warehouse-base": "^4.0.44",
106
- "@things-factory/worksheet-base": "^4.0.44"
59
+ "@things-factory/apptool-ui": "^4.0.45",
60
+ "@things-factory/attachment-ui": "^4.0.45",
61
+ "@things-factory/auth-ui": "^4.0.45",
62
+ "@things-factory/barcode-ui": "^4.0.45",
63
+ "@things-factory/biz-ui": "^4.0.45",
64
+ "@things-factory/board-service": "^4.0.45",
65
+ "@things-factory/board-ui": "^4.0.45",
66
+ "@things-factory/code-ui": "^4.0.45",
67
+ "@things-factory/context-ui": "^4.0.45",
68
+ "@things-factory/export-ui": "^4.0.45",
69
+ "@things-factory/export-ui-csv": "^4.0.45",
70
+ "@things-factory/export-ui-excel": "^4.0.45",
71
+ "@things-factory/fav-base": "^4.0.45",
72
+ "@things-factory/form-ui": "^4.0.45",
73
+ "@things-factory/grist-ui": "^4.0.45",
74
+ "@things-factory/help": "^4.0.45",
75
+ "@things-factory/i18n-base": "^4.0.45",
76
+ "@things-factory/id-rule-base": "^4.0.45",
77
+ "@things-factory/import-ui": "^4.0.45",
78
+ "@things-factory/import-ui-excel": "^4.0.45",
79
+ "@things-factory/menu-ui": "^4.0.45",
80
+ "@things-factory/more-ui": "^4.0.45",
81
+ "@things-factory/notification": "^4.0.45",
82
+ "@things-factory/pdf": "^4.0.45",
83
+ "@things-factory/print-proxy-service": "^4.0.45",
84
+ "@things-factory/print-service": "^4.0.45",
85
+ "@things-factory/print-ui": "^4.0.45",
86
+ "@things-factory/product-base": "^4.0.45",
87
+ "@things-factory/resource-ui": "^4.0.45",
88
+ "@things-factory/sales-ui": "^4.0.45",
89
+ "@things-factory/scene-data-transform": "^4.0.45",
90
+ "@things-factory/scene-excel": "^4.0.45",
91
+ "@things-factory/scene-firebase": "^4.0.45",
92
+ "@things-factory/scene-form": "^4.0.45",
93
+ "@things-factory/scene-google-map": "^4.0.45",
94
+ "@things-factory/scene-graphql": "^4.0.45",
95
+ "@things-factory/scene-label": "^4.0.45",
96
+ "@things-factory/scene-marker": "^4.0.45",
97
+ "@things-factory/scene-mqtt": "^4.0.45",
98
+ "@things-factory/scene-news-ticker": "^4.0.45",
99
+ "@things-factory/scene-restful": "^4.0.45",
100
+ "@things-factory/scene-visualizer": "^4.0.45",
101
+ "@things-factory/setting-ui": "^4.0.45",
102
+ "@things-factory/system-ui": "^4.0.45",
103
+ "@things-factory/transport-base": "^4.0.45",
104
+ "@things-factory/tutorial-ui": "^4.0.45",
105
+ "@things-factory/warehouse-base": "^4.0.45",
106
+ "@things-factory/worksheet-base": "^4.0.45"
107
107
  },
108
108
  "devDependencies": {
109
- "@things-factory/builder": "^4.0.44"
109
+ "@things-factory/builder": "^4.0.45"
110
110
  },
111
- "gitHead": "286a037443bfb38c65db964dbfa6c5f2d141d9ac"
111
+ "gitHead": "6c37578551d77fed098e5eed4cd2cc9eb9c0dd4b"
112
112
  }
@@ -1115,6 +1115,7 @@
1115
1115
  "text.invalid_print_qty": "invalid print qty",
1116
1116
  "text.invalid_product_combination": "invalid product combination",
1117
1117
  "text.invalid_quantity_input": "invalid quantity input",
1118
+ "text.invalid_qty": "invalid quantity",
1118
1119
  "text.invalid_release_date": "invalid release date",
1119
1120
  "text.invalid_release_qty": "invalid release qty",
1120
1121
  "text.invalid_return_location": "invalid return location",
@@ -1266,6 +1267,7 @@
1266
1267
  "text.select_a_logistics_type": "select a logistics type",
1267
1268
  "text.select_a_release_order_to_proceed": "select a release order to proceed",
1268
1269
  "text.select_a_shipping_provider": "select a shipping provider",
1270
+ "text.select_at_least_one_inventory_to_putaway": "select at least one inventory to putaway",
1269
1271
  "text.select_at_least_one_inventory_to_undo": "select at least one inventory to undo",
1270
1272
  "text.select_location_format": "please select location format",
1271
1273
  "text.select_one_of_unloading_list_first": "select one of unloading list first",
@@ -1287,7 +1289,7 @@
1287
1289
  "text.submit_edited_batch_id_for_approval": "submit edited batch id for approval",
1288
1290
  "text.successfully_retrieve_tracking_no": "successfully retrieve tracking no",
1289
1291
  "text.supplier": "supplier",
1290
- "text.target_doesnt_selected": "target is not selected",
1292
+ "text.target_does_not_selected": "target is not selected",
1291
1293
  "text.target_is_not_selected": "target is not selected",
1292
1294
  "text.there_is_additional_operation": "there is additional operation",
1293
1295
  "text.there_is_completed_item_already": "there is completed item already",
@@ -1632,6 +1634,7 @@
1632
1634
  "title.transfer_order_requests": "transfer order requests",
1633
1635
  "title.transport_driver": "transport driver",
1634
1636
  "title.transport_vehicle": "transport vehicle",
1637
+ "title.undo_putaway": "undo putaway",
1635
1638
  "title.undo_unload": "undo unload",
1636
1639
  "title.unloaded_inventories": "unloaded inventories",
1637
1640
  "title.unloaded_pallets": "unloaded pallets",
@@ -1178,6 +1178,7 @@
1178
1178
  "text.invalid_print_qty": "[ko] invalid print qty",
1179
1179
  "text.invalid_product_combination": "[ko] invalid product combination",
1180
1180
  "text.invalid_quantity_input": "유효하지 않은 수량 입력",
1181
+ "text.invalid_qty": "[ko] invalid quantity",
1181
1182
  "text.invalid_release_date": "유효하지 않은 출고일",
1182
1183
  "text.invalid_release_qty": "유효하지 않은 출고 수량",
1183
1184
  "text.invalid_value_in_list": "[ko] invalid value in list",
@@ -1382,7 +1383,7 @@
1382
1383
  "text.submit_edited_batch_id_for_approval": "수정된 배치 아이디가 승인을 위해 제출 되었습니다",
1383
1384
  "text.successfully_retrieve_tracking_no": "추적번호를 성공적으로 가져왔습니다",
1384
1385
  "text.supplier": "공급사",
1385
- "text.target_doesnt_selected": "대상이 선택되지 않았습니다",
1386
+ "text.text.target_does_not_selected": "대상이 선택되지 않았습니다",
1386
1387
  "text.target_is_not_selected": "대상이 선택되지 않았습니다",
1387
1388
  "text.there_are_remain_products": "there are remain products",
1388
1389
  "text.there_is_additional_operation": "추가작업이 있습니다",
@@ -1871,6 +1872,8 @@
1871
1872
  "text.order_is_not_selected": "[ko] order is not selected",
1872
1873
  "text.company_is_not_selected": "[ko] company is not selected",
1873
1874
  "field.transporter": "[ko] transporter",
1875
+ "text.select_at_least_one_inventory_to_putaway": "[ko] select at least one inventory to putaway",
1876
+ "title.undo_putaway": "[ko] undo putaway",
1874
1877
  "field.lot_qty": "[ko] lot qty",
1875
1878
  "field.actual_lot_qty": "[ko] actual lot qty"
1876
1879
  }
@@ -1141,6 +1141,7 @@
1141
1141
  "text.invalid_print_qty": "[ms] invalid print qty",
1142
1142
  "text.invalid_product_combination": "[ms] invalid product combination",
1143
1143
  "text.invalid_quantity_input": "kauntiti input tidak sah",
1144
+ "text.invalid_qty": "kuantiti tidak sah",
1144
1145
  "text.invalid_release_date": "tarikh pelepasan tidak sah",
1145
1146
  "text.invalid_release_qty": "kuantiti pelepasan tidak sah",
1146
1147
  "text.invalid_value_in_list": "nilai dalam senarai tidak sah",
@@ -1306,7 +1307,7 @@
1306
1307
  "text.submit_edited_batch_id_for_approval": "hantar id kumpulan yang disunting untuk kelulusan",
1307
1308
  "text.successfully_retrieve_tracking_no": "berjaya terima no. penjejak",
1308
1309
  "text.supplier": "pembekal",
1309
- "text.target_doesnt_selected": "tiada sasaran produk dipilih",
1310
+ "text.text.target_does_not_selected": "tiada sasaran produk dipilih",
1310
1311
  "text.target_is_not_selected": "sasaran tidak dipilih",
1311
1312
  "text.there_is_additional_operation": "terdapat operasi tambahan",
1312
1313
  "text.there_is_completed_item_already": "there is completed item already",
@@ -1741,6 +1742,8 @@
1741
1742
  "text.order_is_not_selected": "[ms] order is not selected",
1742
1743
  "text.company_is_not_selected": "[ms] company is not selected",
1743
1744
  "field.transporter": "[ms] transporter",
1745
+ "text.select_at_least_one_inventory_to_putaway": "[ms] select at least one inventory to putaway",
1746
+ "title.undo_putaway": "[ms] undo putaway",
1744
1747
  "field.lot_qty": "[ms] lot qty",
1745
1748
  "field.actual_lot_qty": "[ms] actual lot qty"
1746
1749
  }
@@ -1109,6 +1109,7 @@
1109
1109
  "text.invalid_print_qty": "[zh] invalid print qty",
1110
1110
  "text.invalid_product_combination": "[zh] invalid product combination",
1111
1111
  "text.invalid_quantity_input": "invalid quantity input",
1112
+ "text.invalid_qty": "[zh] invalid quantity",
1112
1113
  "text.invalid_release_date": "invalid release date",
1113
1114
  "text.invalid_release_qty": "invalid release qty",
1114
1115
  "text.invalid_value_in_list": "[zh] invalid value in list",
@@ -1273,7 +1274,7 @@
1273
1274
  "text.submit_edited_batch_id_for_approval": "submit edited batch id for approval",
1274
1275
  "text.successfully_retrieve_tracking_no": "successfully retrieve tracking no",
1275
1276
  "text.supplier": "supplier",
1276
- "text.target_doesnt_selected": "target is not selected",
1277
+ "text.text.target_does_not_selected": "target is not selected",
1277
1278
  "text.target_is_not_selected": "target is not selected",
1278
1279
  "text.there_is_additional_operation": "[zh]there is additional operation",
1279
1280
  "text.there_is_completed_item_already": "[zh]there is completed item already",
@@ -1691,6 +1692,8 @@
1691
1692
  "text.order_is_not_selected": "[zh] order is not selected",
1692
1693
  "text.company_is_not_selected": "[zh] company is not selected",
1693
1694
  "field.transporter": "[zh] transporter",
1695
+ "text.select_at_least_one_inventory_to_putaway": "[zh] select at least one inventory to putaway",
1696
+ "title.undo_putaway": "[zh] undo putaway",
1694
1697
  "field.lot_qty": "[zh] lot qty",
1695
1698
  "field.actual_lot_qty": "[zh] actual lot qty"
1696
1699
  }
@@ -1,112 +0,0 @@
1
- import { SingleColumnFormStyles } from '@things-factory/form-ui'
2
- import '@things-factory/grist-ui'
3
- import { i18next, localize } from '@things-factory/i18n-base'
4
- import { store } from '@things-factory/shell'
5
- import { css, html, LitElement } from 'lit-element'
6
- import { connect } from 'pwa-helpers/connect-mixin'
7
-
8
- class ScanInventoryPopup extends connect(store)(localize(i18next)(LitElement)) {
9
- static get properties() {
10
- return {
11
- inventories: Array,
12
- hasCartonLabel: Boolean
13
- }
14
- }
15
-
16
- static get styles() {
17
- return [
18
- SingleColumnFormStyles,
19
- css`
20
- :host {
21
- padding: 10px;
22
- display: flex;
23
- flex-direction: column;
24
- overflow-x: overlay;
25
- background-color: var(--main-section-background-color);
26
- }
27
- `
28
- ]
29
- }
30
-
31
- render() {
32
- return html`
33
- <form id="input-form" class="single-column-form" @keypress="${this._submitUndoBarcode.bind(this)}">
34
- <fieldset>
35
- ${this.hasCartonLabel
36
- ? html`<label>${i18next.t('label.carton_id')}</label>
37
- <barcode-scanable-input name="cartonId" custom-input></barcode-scanable-input>`
38
- : html`<label>${i18next.t('label.lot_barcode')}</label>
39
- <barcode-scanable-input name="palletId" custom-input></barcode-scanable-input>`}
40
- </fieldset>
41
- </form>
42
- `
43
- }
44
-
45
- firstUpdated() {
46
- if (this.hasCartonLabel) this._focusOnCartonInput()
47
- else this._focusOnPalletInput()
48
- }
49
-
50
- _focusOnPalletInput() {
51
- setTimeout(() => this.palletInput.focus(), 100)
52
- }
53
-
54
- _focusOnCartonInput() {
55
- setTimeout(() => this.cartonInput.focus(), 100)
56
- }
57
-
58
- get cartonInput() {
59
- return this.shadowRoot.querySelector('barcode-scanable-input[name=cartonId]').shadowRoot.querySelector('input')
60
- }
61
-
62
- get palletInput() {
63
- return this.shadowRoot.querySelector('barcode-scanable-input[name=palletId]').shadowRoot.querySelector('input')
64
- }
65
-
66
- _submitUndoBarcode() {
67
- try {
68
- this._validateScannedBarcode()
69
- let selectedInventories = []
70
- if (this.hasCartonLabel) {
71
- selectedInventories = this.inventories.filter(inventory => inventory.cartonId === this.cartonInput.value.trim())
72
- } else {
73
- selectedInventories = this.inventories.filter(inventory => inventory.palletId === this.palletInput.value.trim())
74
- }
75
- this.dispatchEvent(new CustomEvent('barcode-validated', { detail: selectedInventories }))
76
- history.back()
77
- } catch (e) {
78
- this._showToast(e)
79
- }
80
- }
81
-
82
- _validateScannedBarcode() {
83
- let hasValidBarcode = false
84
- if (this.hasCartonLabel) {
85
- const selectedInventory = this.inventories.filter(inventory => inventory.cartonId === this.cartonInput.value)
86
- if (!selectedInventory) throw new Error(i18next.t('text.invalid_carton_id'))
87
- if (selectedInventory.some(inventory => !inventory?.completed))
88
- throw new Error(i18next.t('text.still_pending_putaway'))
89
- hasValidBarcode = this.inventories.map(inventory => inventory.cartonId).includes(this.cartonInput.value)
90
- } else {
91
- const selectedInventory = this.inventories.filter(inventory => inventory.palletId === this.palletInput.value)[0]
92
- if (!selectedInventory) throw new Error(i18next.t('text.invalid_pallet_id'))
93
- if (!selectedInventory?.completed) throw new Error(i18next.t('text.still_pending_putaway'))
94
- hasValidBarcode = this.inventories.map(inventory => inventory.palletId).includes(this.palletInput.value)
95
- }
96
-
97
- if (!hasValidBarcode) throw new Error(i18next.t('text.not_found_in_putaway_list'))
98
- }
99
-
100
- _showToast({ type, message }) {
101
- document.dispatchEvent(
102
- new CustomEvent('notify', {
103
- detail: {
104
- type,
105
- message
106
- }
107
- })
108
- )
109
- }
110
- }
111
-
112
- window.customElements.define('scan-inventory-popup', ScanInventoryPopup)
@@ -1,73 +0,0 @@
1
- module.exports = {
2
- useVirtualHostBasedDomain: false,
3
- ormconfig: {
4
- name: 'default',
5
- type: 'postgres',
6
- host: 'operato-instance-1.cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
7
- database: 'operato',
8
- username: 'operato',
9
- password: 'abcd1234',
10
- port: 55432,
11
- synchronize: false,
12
- logging: true
13
- },
14
- reportApiUrl: 'http://localhost:8090/rest/report/show_html',
15
- storage: {
16
- type: 's3',
17
- accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
18
- secretAccessKey: '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',
19
- bucketName: 'opa-one'
20
- },
21
- port: 3000,
22
- uploads: 'uploads',
23
- attachmentsPath: 'attachments',
24
- SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
25
- logger: {
26
- file: {
27
- filename: 'logs/application-%DATE%.log',
28
- datePattern: 'YYYY-MM-DD-HH',
29
- zippedArchive: true,
30
- maxSize: '200m',
31
- maxFiles: '1m',
32
- level: 'info'
33
- }
34
- },
35
-
36
- email: {
37
- host: 'smtp.office365.com',
38
- port: 587,
39
- secure: false, // true for 465, false for other ports
40
- auth: {
41
- user: 'no-reply@hatiolab.com', // generated ethereal user
42
- pass: 'h@ti0LAB1008' // generated ethereal password
43
- },
44
- secureConnection: false,
45
- tls: {
46
- ciphers: 'SSLv3'
47
- }
48
- },
49
-
50
- notification: {
51
- fcm: {
52
- serviceAccount: {
53
- project_id: 'operato',
54
- private_key:
55
- '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZMOMlAA7uqW2eX4vkayj7MzbYUayH+sei8044Q\nJIyl6f26dNX1VT3UgTmSmCS0v48EBEZHCgusrUGFjduLRN6OS6uvrXW1xKA18k9q\nai1C2EHCXF2AE4PTvf239RC1UIOnVePcMtT7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QYAu3qIGOQKBgAFr\nXatEk7TdAtRNSPflTfu/rTAaSeKROjQBkvBiU8x4US1YpOBDBxUUyAtG8wKh5FHC\nfnsaGq+fM3KXJVv2R6J62mXQOfg4xyDLpWlwcBK4aSBBMoiBcsjouqSlZQlqMpdf\nZBgixqHe6U8BsFJg/6ZxC0y+e3AIss4Bo4/lb+1lAoGAFOexvaBh21K6W3inmRW4\nLlkVYJaBJ20OwokXg5aXjBiHxqmk7VLAuFbkpb5LOKH2xPILRQ0OEkn51yVymS3T\n9lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
56
- client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
57
- },
58
- appConfig: {
59
- apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
60
- projectId: 'operato',
61
- messagingSenderId: 79537064975,
62
- appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
63
- },
64
- serverKey:
65
- 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
66
- },
67
- vapidKey: {
68
- subject: 'mailto:heartyoh@hatiolab.com',
69
- publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
70
- privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
71
- }
72
- }
73
- }
@@ -1,113 +0,0 @@
1
- module.exports = {
2
- useVirtualHostBasedDomain: false,
3
-
4
- ormconfig: {
5
- name: 'default',
6
-
7
- type: 'postgres',
8
-
9
- host: 'operato-instance-1.cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
10
-
11
- database: 'operato',
12
-
13
- username: 'operato',
14
-
15
- password: 'abcd1234',
16
-
17
- port: 55432,
18
-
19
- synchronize: false,
20
-
21
- logging: true
22
- },
23
-
24
- reportApiUrl: 'http://localhost:8090/rest/report/show_html',
25
-
26
- storage: {
27
- type: 's3',
28
-
29
- accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
30
-
31
- secretAccessKey: 'AuDAgmODf9EJNB24OveRhTSLV/OJy6IFFoRxe8k2',
32
-
33
- bucketName: 'opa-one'
34
- },
35
-
36
- port: 3000,
37
-
38
- uploads: 'uploads',
39
-
40
- attachmentsPath: 'attachments',
41
-
42
- SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
43
-
44
- logger: {
45
- file: {
46
- filename: 'logs/application-%DATE%.log',
47
-
48
- datePattern: 'YYYY-MM-DD-HH',
49
-
50
- zippedArchive: true,
51
-
52
- maxSize: '200m',
53
-
54
- maxFiles: '1m',
55
-
56
- level: 'info'
57
- }
58
- },
59
-
60
- email: {
61
- host: 'smtp.office365.com',
62
-
63
- port: 587,
64
-
65
- secure: false, // true for 465, false for other ports
66
-
67
- auth: {
68
- user: 'no-reply@hatiolab.com', // generated ethereal user
69
-
70
- pass: 'h@ti0LAB1008' // generated ethereal password
71
- },
72
-
73
- secureConnection: false,
74
-
75
- tls: {
76
- ciphers: 'SSLv3'
77
- }
78
- },
79
-
80
- notification: {
81
- fcm: {
82
- serviceAccount: {
83
- project_id: 'operato',
84
-
85
- private_key:
86
- '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZMOMlAA7uqW2eX4vkayj7MzbYUayH+sei8044Q\nJIyl6f26dNX1VT3UgTmSmCS0v48EBEZHCgusrUGFjduLRN6OS6uvrXW1xKA18k9q\nai1C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+VpFjZMzQrjyl6RIWbyTExEc84rVWfpQYAu3qIGOQKBgAFr\nXatEk7TdAtRNSPflTfu/rTAaSeKROjQBkvBiU8x4US1YpOBDBxUUyAtG8wKh5FHC\nfnsaGq+fM3KXJVv2R6J62mXQOfg4xyDLpWlwcBK4aSBBMoiBcsjouqSlZQlqMpdf\nZBgixqHe6U8BsFJg/6ZxC0y+e3AIss4Bo4/lb+1lAoGAFOexvaBh21K6W3inmRW4\nLlkVYJaBJ20OwokXg5aXjBiHxqmk7VLAuFbkpb5LOKH2xPILRQ0OEkn51yVymS3T\n9lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
87
-
88
- client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
89
- },
90
-
91
- appConfig: {
92
- apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
93
-
94
- projectId: 'operato',
95
-
96
- messagingSenderId: 79537064975,
97
-
98
- appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
99
- },
100
-
101
- serverKey:
102
- 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
103
- },
104
-
105
- vapidKey: {
106
- subject: 'mailto:heartyoh@hatiolab.com',
107
-
108
- publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
109
-
110
- privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
111
- }
112
- }
113
- }