@things-factory/operato-mms 4.3.379 → 4.3.381

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 +169 -0
  2. package/package.json +45 -45
@@ -0,0 +1,169 @@
1
+ module.exports = {
2
+ domainType: 'company',
3
+ domainExtType: 'company',
4
+ subdomainOffset: 2,
5
+ port: 1300,
6
+ ormconfig: {
7
+ name: 'default',
8
+ type: 'postgres',
9
+ database: 'postgres',
10
+ username: 'postgres',
11
+ password: 'abcd1234',
12
+ host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
13
+ port: 55432,
14
+ synchronize: false,
15
+ logging: true
16
+ },
17
+ // ormconfig: {
18
+ // name: 'default',
19
+ // type: 'postgres',
20
+ // database: 'v3-hub1',
21
+ // username: 'postgres',
22
+ // password: 'hatio',
23
+ // host: 'localhost',
24
+ // port: 15432,
25
+ // synchronize: true,
26
+ // logging: true
27
+ // },
28
+ sftpFileStorage: {
29
+ type: 's3',
30
+ accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
31
+ secretAccessKey: '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',
32
+ bucketName: 'operato-sftp'
33
+ },
34
+ // ormconfig: {
35
+ // name: 'default',
36
+ // type: 'postgres',
37
+ // database: 'postgres',
38
+ // username: 'postgres',
39
+ // password: 'hatio',
40
+ // host: 'localhost',
41
+ // port: 35432,
42
+ // synchronize: true,
43
+ // logging: true
44
+ // },
45
+ inspect: '9280',
46
+ password: {
47
+ lowerCase: true,
48
+ upperCase: false,
49
+ digit: false,
50
+ specialCharacter: false,
51
+ allowRepeat: true,
52
+ useTightPattern: false,
53
+ useLoosePattern: true,
54
+ tightCharacterLength: 4,
55
+ looseCharacterLength: 4,
56
+ history: 2
57
+ },
58
+ oauth2: {
59
+ platforms: [
60
+ {
61
+ name: 'Operato Hub',
62
+ apiURL: 'http://operato-h.com:3000/api'
63
+ }
64
+ ]
65
+ },
66
+ useVirtualHostBasedDomain: false,
67
+ uploads: 'uploads',
68
+ attachmentsPath: 'attachments',
69
+ SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
70
+ logger: {
71
+ file: {
72
+ filename: 'logs/application-%DATE%.log',
73
+ datePattern: 'YYYY-MM-DD-HH',
74
+ zippedArchive: true,
75
+ maxSize: '200m',
76
+ maxFiles: '1m',
77
+ level: 'info'
78
+ }
79
+ },
80
+ email: {
81
+ host: 'smtp.office365.com',
82
+ port: 587,
83
+ secure: false, // true for 465, false for other ports
84
+ auth: {
85
+ user: 'no-reply@hatiolab.com', // generated ethereal user
86
+ pass: 'h@ti0LAB1008' // generated ethereal password
87
+ },
88
+ secureConnection: false,
89
+ tls: {
90
+ ciphers: 'SSLv3'
91
+ }
92
+ },
93
+ sender: 'no-reply@hatiolab.com',
94
+ notification: {
95
+ fcm: {
96
+ serviceAccount: {
97
+ project_id: 'operato',
98
+ private_key:
99
+ '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZMOMlAA7uqW2eX4vkayj7MzbYUayH+sei8044Q\nJIyl6f26dNX1VT3UgTmSmCS0v48EBEZHCgusrUGFjduLRN6OS6uvrXW1xKA18k9q\nai1C2EHCXF2AE4PTvf239RC1UIOnVePcMtT7rMTdHRO4s8OKVuSDbzIt8k1cV3Zt\nES0YsJlkELqBisYpV//2/ZSILTt39J9JzrVef03X9kkoo9p+YnNyy6tWsfQPfgJO\nybiRGBNxiyJ/E2pxRo/WqU0go9OzYJlGaSUrUx09heNiRD1b0MAOmyPDJz/6AaTk\nkU/A+kLzAgMBAAECggEADQ5s2gtR53VSujk1V/Xe8e0Di99DwaWUj5w6YhcK7/wX\nPdQRN4Fw6RLeLjL7xeG/rCNSwzm6hKSrQJL5zLnWW7XbMdyQRk6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T\n9lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
100
+ client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
101
+ },
102
+ appConfig: {
103
+ apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
104
+ projectId: 'operato',
105
+ messagingSenderId: 79537064975,
106
+ appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
107
+ },
108
+ serverKey:
109
+ 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
110
+ },
111
+ vapidKey: {
112
+ subject: 'mailto:heartyoh@hatiolab.com',
113
+ publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
114
+ privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
115
+ }
116
+ },
117
+ fulfillmentIntegrationOperato: {
118
+ host: 'operato-h.com:3000',
119
+ protocol: 'http',
120
+ platform: 'operato',
121
+ application: 'Operato MMS',
122
+ appKey: 'a9bf751e622bf146662b240d58971051',
123
+ appSecret: '1c385935dc131c4b902b9bbf6a4798af',
124
+ callback: 'http://operato-h.com:5000/callback-operato'
125
+ },
126
+ sellercraftChannelIntegrationConfig: {
127
+ apiKey: 'eqDVmIp0kxakM4sNnzqTkySBM73UGMS1nOPDN5Z1',
128
+ tokenCraftUrl: 'https://staging-tokencraft.sellercraft.co/v1/get-shop'
129
+ },
130
+ marketplaceIntegrationShopee: {
131
+ platform: 'shopee',
132
+ isUAT: false,
133
+ application: 'Operato MMS',
134
+ partnerId: 846025,
135
+ partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
136
+ },
137
+ marketplaceIntegrationLazada: {
138
+ platform: 'lazada',
139
+ application: 'operato-mms',
140
+ appKey: '120961',
141
+ appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
142
+ callback: 'https://maybank.operato-m.com/lazada-callback'
143
+ },
144
+ marketplaceIntegrationShopify: {
145
+ platform: 'shopify',
146
+ application: 'Operato',
147
+ apiKey: '37da47200ab87c8aaf0634869c80bd5f',
148
+ apiSecret: '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'
149
+ },
150
+ marketplaceIntegrationShopifyPrivate: {
151
+ platform: 'shopify',
152
+ application: 'Beacon Chicken 1',
153
+ apiKey: '37da47200ab87c8aaf0634869c80bd5f',
154
+ apiSecret: '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'
155
+ },
156
+ marketplaceIntegrationWoocommerce: {
157
+ key_id: '',
158
+ user_id: '',
159
+ consumer_key: '',
160
+ consumer_secret: '',
161
+ key_permission: 'read' | 'write' | 'read_write'
162
+ },
163
+ marketplaceIntegrationMagento: {
164
+ oauth_signature_method: 'HMAC-SHA1',
165
+ oauth_verifier: '',
166
+ oauth_consumer_key: '',
167
+ oauth_consumer_secret: ''
168
+ }
169
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-mms",
3
- "version": "4.3.379",
3
+ "version": "4.3.381",
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.379",
63
- "@things-factory/attachment-base": "^4.3.379",
64
- "@things-factory/auth-ui": "^4.3.379",
65
- "@things-factory/biz-base": "^4.3.379",
66
- "@things-factory/board-service": "^4.3.379",
67
- "@things-factory/board-ui": "^4.3.379",
68
- "@things-factory/code-ui": "^4.3.379",
69
- "@things-factory/context-ui": "^4.3.379",
70
- "@things-factory/dashboard": "^4.3.379",
71
- "@things-factory/export-ui": "^4.3.379",
72
- "@things-factory/export-ui-csv": "^4.3.379",
73
- "@things-factory/export-ui-excel": "^4.3.379",
74
- "@things-factory/geography": "^4.3.379",
75
- "@things-factory/grist-ui": "^4.3.379",
76
- "@things-factory/help": "^4.3.379",
77
- "@things-factory/i18n-base": "^4.3.379",
78
- "@things-factory/import-ui": "^4.3.379",
79
- "@things-factory/import-ui-excel": "^4.3.379",
80
- "@things-factory/integration-fulfillment": "^4.3.379",
81
- "@things-factory/integration-lmd": "^4.3.379",
82
- "@things-factory/lite-menu": "^4.3.379",
83
- "@things-factory/marketplace-base": "^4.3.379",
84
- "@things-factory/more-ui": "^4.3.379",
85
- "@things-factory/notification": "^4.3.379",
86
- "@things-factory/oauth2-client": "^4.3.379",
87
- "@things-factory/pdf": "^4.3.379",
88
- "@things-factory/product-base": "^4.3.379",
89
- "@things-factory/resource-ui": "^4.3.379",
90
- "@things-factory/scene-data-transform": "^4.3.379",
91
- "@things-factory/scene-excel": "^4.3.379",
92
- "@things-factory/scene-firebase": "^4.3.379",
93
- "@things-factory/scene-form": "^4.3.379",
94
- "@things-factory/scene-google-map": "^4.3.379",
95
- "@things-factory/scene-graphql": "^4.3.379",
96
- "@things-factory/scene-label": "^4.3.379",
97
- "@things-factory/scene-marker": "^4.3.379",
98
- "@things-factory/scene-mqtt": "^4.3.379",
99
- "@things-factory/scene-restful": "^4.3.379",
100
- "@things-factory/scene-visualizer": "^4.3.379",
101
- "@things-factory/setting-ui": "^4.3.379",
102
- "@things-factory/system-ui": "^4.3.379",
103
- "@things-factory/warehouse-base": "^4.3.379"
62
+ "@things-factory/apptool-ui": "^4.3.381",
63
+ "@things-factory/attachment-base": "^4.3.381",
64
+ "@things-factory/auth-ui": "^4.3.381",
65
+ "@things-factory/biz-base": "^4.3.381",
66
+ "@things-factory/board-service": "^4.3.381",
67
+ "@things-factory/board-ui": "^4.3.381",
68
+ "@things-factory/code-ui": "^4.3.381",
69
+ "@things-factory/context-ui": "^4.3.381",
70
+ "@things-factory/dashboard": "^4.3.381",
71
+ "@things-factory/export-ui": "^4.3.381",
72
+ "@things-factory/export-ui-csv": "^4.3.381",
73
+ "@things-factory/export-ui-excel": "^4.3.381",
74
+ "@things-factory/geography": "^4.3.381",
75
+ "@things-factory/grist-ui": "^4.3.381",
76
+ "@things-factory/help": "^4.3.381",
77
+ "@things-factory/i18n-base": "^4.3.381",
78
+ "@things-factory/import-ui": "^4.3.381",
79
+ "@things-factory/import-ui-excel": "^4.3.381",
80
+ "@things-factory/integration-fulfillment": "^4.3.381",
81
+ "@things-factory/integration-lmd": "^4.3.381",
82
+ "@things-factory/lite-menu": "^4.3.381",
83
+ "@things-factory/marketplace-base": "^4.3.381",
84
+ "@things-factory/more-ui": "^4.3.381",
85
+ "@things-factory/notification": "^4.3.381",
86
+ "@things-factory/oauth2-client": "^4.3.381",
87
+ "@things-factory/pdf": "^4.3.381",
88
+ "@things-factory/product-base": "^4.3.381",
89
+ "@things-factory/resource-ui": "^4.3.381",
90
+ "@things-factory/scene-data-transform": "^4.3.381",
91
+ "@things-factory/scene-excel": "^4.3.381",
92
+ "@things-factory/scene-firebase": "^4.3.381",
93
+ "@things-factory/scene-form": "^4.3.381",
94
+ "@things-factory/scene-google-map": "^4.3.381",
95
+ "@things-factory/scene-graphql": "^4.3.381",
96
+ "@things-factory/scene-label": "^4.3.381",
97
+ "@things-factory/scene-marker": "^4.3.381",
98
+ "@things-factory/scene-mqtt": "^4.3.381",
99
+ "@things-factory/scene-restful": "^4.3.381",
100
+ "@things-factory/scene-visualizer": "^4.3.381",
101
+ "@things-factory/setting-ui": "^4.3.381",
102
+ "@things-factory/system-ui": "^4.3.381",
103
+ "@things-factory/warehouse-base": "^4.3.381"
104
104
  },
105
105
  "devDependencies": {
106
- "@things-factory/builder": "^4.3.379",
106
+ "@things-factory/builder": "^4.3.381",
107
107
  "@types/node-fetch": "^2.5.7"
108
108
  },
109
- "gitHead": "be80e8ec81dedb5706ebf0dd7d240ecd5ed0a67e"
109
+ "gitHead": "853888b22dd91352f37d4fe660e3233405beefd1"
110
110
  }