@things-factory/operato-mms 4.3.723 → 4.3.727

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 (2) hide show
  1. package/config.development.js +158 -0
  2. package/package.json +45 -45
@@ -0,0 +1,158 @@
1
+ module.exports = {
2
+ domainType: 'company',
3
+ domainExtType: 'company',
4
+ subdomainOffset: 2,
5
+ port: 4447,
6
+ ormconfig: {
7
+ name: 'default',
8
+ type: 'postgres',
9
+ database: 'EMS',
10
+ username: 'postgres',
11
+ password: 'hatio',
12
+ host: '192.168.0.153',
13
+ port: 15432,
14
+ synchronize: true,
15
+ logging: true
16
+ },
17
+ sftpFileStorage: {
18
+ type: 's3',
19
+ accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
20
+ secretAccessKey: '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',
21
+ bucketName: 'operato-sftp'
22
+ },
23
+ // ormconfig: {
24
+ // name: 'default',
25
+ // type: 'postgres',
26
+ // database: 'postgres',
27
+ // username: 'postgres',
28
+ // password: 'hatio',
29
+ // host: 'localhost',
30
+ // port: 35432,
31
+ // synchronize: true,
32
+ // logging: true
33
+ // },
34
+ inspect: '9280',
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
+ oauth2: {
48
+ platforms: [
49
+ {
50
+ name: 'Operato Hub',
51
+ apiURL: 'http://operato-h.com:3000/api'
52
+ }
53
+ ]
54
+ },
55
+ useVirtualHostBasedDomain: false,
56
+ uploads: 'uploads',
57
+ attachmentsPath: 'attachments',
58
+ SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
59
+ logger: {
60
+ file: {
61
+ filename: 'logs/application-%DATE%.log',
62
+ datePattern: 'YYYY-MM-DD-HH',
63
+ zippedArchive: true,
64
+ maxSize: '200m',
65
+ maxFiles: '1m',
66
+ level: 'info'
67
+ }
68
+ },
69
+ email: {
70
+ host: 'smtp.office365.com',
71
+ port: 587,
72
+ secure: false, // true for 465, false for other ports
73
+ auth: {
74
+ user: 'no-reply@hatiolab.com', // generated ethereal user
75
+ pass: 'h@ti0LAB1008' // generated ethereal password
76
+ },
77
+ secureConnection: false,
78
+ tls: {
79
+ ciphers: 'SSLv3'
80
+ }
81
+ },
82
+ sender: 'no-reply@hatiolab.com',
83
+ notification: {
84
+ fcm: {
85
+ serviceAccount: {
86
+ project_id: 'operato',
87
+ private_key:
88
+ '-----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\nC1P4PAzs9EeUuKSWYrWaUjN17lqtRlYeT1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+ apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
93
+ projectId: 'operato',
94
+ messagingSenderId: 79537064975,
95
+ appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
96
+ },
97
+ serverKey:
98
+ 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
99
+ },
100
+ vapidKey: {
101
+ subject: 'mailto:heartyoh@hatiolab.com',
102
+ publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
103
+ privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
104
+ }
105
+ },
106
+ fulfillmentIntegrationOperato: {
107
+ host: '192.168.0.161:4445',
108
+ protocol: 'http',
109
+ platform: 'operato',
110
+ application: 'Operato MMS',
111
+ appKey: 'a9bf751e622bf146662b240d58971051',
112
+ appSecret: '1c385935dc131c4b902b9bbf6a4798af',
113
+ callback: 'http://192.168.0.161:4447/callback-operato'
114
+ },
115
+ sellercraftChannelIntegrationConfig: {
116
+ apiKey: 'eqDVmIp0kxakM4sNnzqTkySBM73UGMS1nOPDN5Z1',
117
+ tokenCraftUrl: 'https://staging-tokencraft.sellercraft.co/v1/get-shop'
118
+ },
119
+ marketplaceIntegrationShopee: {
120
+ platform: 'shopee',
121
+ isUAT: false,
122
+ application: 'Operato MMS',
123
+ partnerId: 846025,
124
+ partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
125
+ },
126
+ marketplaceIntegrationLazada: {
127
+ platform: 'lazada',
128
+ application: 'operato-mms',
129
+ appKey: '120961',
130
+ appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
131
+ callback: 'https://maybank.operato-m.com/lazada-callback'
132
+ },
133
+ marketplaceIntegrationShopify: {
134
+ platform: 'shopify',
135
+ application: 'Operato',
136
+ apiKey: '37da47200ab87c8aaf0634869c80bd5f',
137
+ apiSecret: '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'
138
+ },
139
+ marketplaceIntegrationShopifyPrivate: {
140
+ platform: 'shopify',
141
+ application: 'Beacon Chicken 1',
142
+ apiKey: '37da47200ab87c8aaf0634869c80bd5f',
143
+ apiSecret: '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'
144
+ },
145
+ marketplaceIntegrationWoocommerce: {
146
+ key_id: '',
147
+ user_id: '',
148
+ consumer_key: '',
149
+ consumer_secret: '',
150
+ key_permission: 'read' | 'write' | 'read_write'
151
+ },
152
+ marketplaceIntegrationMagento: {
153
+ oauth_signature_method: 'HMAC-SHA1',
154
+ oauth_verifier: '',
155
+ oauth_consumer_key: '',
156
+ oauth_consumer_secret: ''
157
+ }
158
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-mms",
3
- "version": "4.3.723",
3
+ "version": "4.3.727",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -59,52 +59,52 @@
59
59
  "@operato/scene-table": "^0.1.8",
60
60
  "@operato/scene-timer": "^0.1.8",
61
61
  "@operato/scene-wheel-sorter": "^0.1.8",
62
- "@things-factory/apptool-ui": "^4.3.723",
63
- "@things-factory/attachment-base": "^4.3.723",
64
- "@things-factory/auth-ui": "^4.3.723",
65
- "@things-factory/biz-base": "^4.3.723",
66
- "@things-factory/board-service": "^4.3.723",
67
- "@things-factory/board-ui": "^4.3.723",
68
- "@things-factory/code-ui": "^4.3.723",
69
- "@things-factory/context-ui": "^4.3.723",
70
- "@things-factory/dashboard": "^4.3.723",
71
- "@things-factory/export-ui": "^4.3.723",
72
- "@things-factory/export-ui-csv": "^4.3.723",
73
- "@things-factory/export-ui-excel": "^4.3.723",
74
- "@things-factory/geography": "^4.3.723",
75
- "@things-factory/grist-ui": "^4.3.723",
76
- "@things-factory/help": "^4.3.723",
77
- "@things-factory/i18n-base": "^4.3.723",
78
- "@things-factory/import-ui": "^4.3.723",
79
- "@things-factory/import-ui-excel": "^4.3.723",
80
- "@things-factory/integration-fulfillment": "^4.3.723",
81
- "@things-factory/integration-lmd": "^4.3.723",
82
- "@things-factory/lite-menu": "^4.3.723",
83
- "@things-factory/marketplace-base": "^4.3.723",
84
- "@things-factory/more-ui": "^4.3.723",
85
- "@things-factory/notification": "^4.3.723",
86
- "@things-factory/oauth2-client": "^4.3.723",
87
- "@things-factory/pdf": "^4.3.723",
88
- "@things-factory/product-base": "^4.3.723",
89
- "@things-factory/resource-ui": "^4.3.723",
90
- "@things-factory/scene-data-transform": "^4.3.723",
91
- "@things-factory/scene-excel": "^4.3.723",
92
- "@things-factory/scene-firebase": "^4.3.723",
93
- "@things-factory/scene-form": "^4.3.723",
94
- "@things-factory/scene-google-map": "^4.3.723",
95
- "@things-factory/scene-graphql": "^4.3.723",
96
- "@things-factory/scene-label": "^4.3.723",
97
- "@things-factory/scene-marker": "^4.3.723",
98
- "@things-factory/scene-mqtt": "^4.3.723",
99
- "@things-factory/scene-restful": "^4.3.723",
100
- "@things-factory/scene-visualizer": "^4.3.723",
101
- "@things-factory/setting-ui": "^4.3.723",
102
- "@things-factory/system-ui": "^4.3.723",
103
- "@things-factory/warehouse-base": "^4.3.723"
62
+ "@things-factory/apptool-ui": "^4.3.727",
63
+ "@things-factory/attachment-base": "^4.3.727",
64
+ "@things-factory/auth-ui": "^4.3.727",
65
+ "@things-factory/biz-base": "^4.3.727",
66
+ "@things-factory/board-service": "^4.3.727",
67
+ "@things-factory/board-ui": "^4.3.727",
68
+ "@things-factory/code-ui": "^4.3.727",
69
+ "@things-factory/context-ui": "^4.3.727",
70
+ "@things-factory/dashboard": "^4.3.727",
71
+ "@things-factory/export-ui": "^4.3.727",
72
+ "@things-factory/export-ui-csv": "^4.3.727",
73
+ "@things-factory/export-ui-excel": "^4.3.727",
74
+ "@things-factory/geography": "^4.3.727",
75
+ "@things-factory/grist-ui": "^4.3.727",
76
+ "@things-factory/help": "^4.3.727",
77
+ "@things-factory/i18n-base": "^4.3.727",
78
+ "@things-factory/import-ui": "^4.3.727",
79
+ "@things-factory/import-ui-excel": "^4.3.727",
80
+ "@things-factory/integration-fulfillment": "^4.3.727",
81
+ "@things-factory/integration-lmd": "^4.3.727",
82
+ "@things-factory/lite-menu": "^4.3.727",
83
+ "@things-factory/marketplace-base": "^4.3.727",
84
+ "@things-factory/more-ui": "^4.3.727",
85
+ "@things-factory/notification": "^4.3.727",
86
+ "@things-factory/oauth2-client": "^4.3.727",
87
+ "@things-factory/pdf": "^4.3.727",
88
+ "@things-factory/product-base": "^4.3.727",
89
+ "@things-factory/resource-ui": "^4.3.727",
90
+ "@things-factory/scene-data-transform": "^4.3.727",
91
+ "@things-factory/scene-excel": "^4.3.727",
92
+ "@things-factory/scene-firebase": "^4.3.727",
93
+ "@things-factory/scene-form": "^4.3.727",
94
+ "@things-factory/scene-google-map": "^4.3.727",
95
+ "@things-factory/scene-graphql": "^4.3.727",
96
+ "@things-factory/scene-label": "^4.3.727",
97
+ "@things-factory/scene-marker": "^4.3.727",
98
+ "@things-factory/scene-mqtt": "^4.3.727",
99
+ "@things-factory/scene-restful": "^4.3.727",
100
+ "@things-factory/scene-visualizer": "^4.3.727",
101
+ "@things-factory/setting-ui": "^4.3.727",
102
+ "@things-factory/system-ui": "^4.3.727",
103
+ "@things-factory/warehouse-base": "^4.3.727"
104
104
  },
105
105
  "devDependencies": {
106
- "@things-factory/builder": "^4.3.723",
106
+ "@things-factory/builder": "^4.3.727",
107
107
  "@types/node-fetch": "^2.5.7"
108
108
  },
109
- "gitHead": "34bf57aa5628280fc483602659df898706e14638"
109
+ "gitHead": "a9ec8bb490580678c9982e1234dc735278d6d9ac"
110
110
  }