@things-factory/operato-mms 5.0.0-alpha.28 → 5.0.0-alpha.30

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 +49 -15
  2. package/package.json +60 -62
@@ -1,9 +1,35 @@
1
1
  module.exports = {
2
+ domainType: 'company',
3
+ ormconfig: {
4
+ name: 'default',
5
+ type: 'sqlite',
6
+ database: 'db.sqlite',
7
+ synchronize: false,
8
+ logging: true,
9
+ logger: 'debug'
10
+ // name: 'default',
11
+ // type: 'postgres',
12
+ // database: 'postgres',
13
+ // username: 'postgres',
14
+ // password: 'abcd1234',
15
+ // host: 'localhost',
16
+ // port: 15432,
17
+ // synchronize: true,
18
+ // logging: true
19
+ },
20
+ oauth2: {
21
+ platforms: [
22
+ {
23
+ name: 'Operato Hub',
24
+ apiURL: 'http://operato-m.localhost:3000/api'
25
+ }
26
+ ]
27
+ },
2
28
  useVirtualHostBasedDomain: false,
3
- port: 3000,
29
+ port: 5000,
4
30
  uploads: 'uploads',
5
31
  attachmentsPath: 'attachments',
6
- SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C89dfC95',
32
+ SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
7
33
  logger: {
8
34
  file: {
9
35
  filename: 'logs/application-%DATE%.log',
@@ -14,18 +40,27 @@ module.exports = {
14
40
  level: 'info'
15
41
  }
16
42
  },
17
- email: {
18
- host: 'smtp.office365.com',
19
- port: 587,
20
- secure: false, // true for 465, false for other ports
21
- auth: {
22
- user: 'no-reply@hatiolab.com', // generated ethereal user
23
- pass: 'h@ti0LAB1008' // generated ethereal password
24
- },
25
- secureConnection: false,
26
- tls: {
27
- ciphers: 'SSLv3'
28
- }
43
+ fulfillmentIntegrationOperato: {
44
+ host: 'operatohub.com',
45
+ platform: 'operato',
46
+ application: 'Operato MMS',
47
+ appKey: '480d19cbfb0655357878119559d47333',
48
+ appSecret: 'dc5078bc17d50a18ef6fc3188934bbbd',
49
+ callback: 'https://www.myoperato.com/callback-operato'
50
+ },
51
+ marketplaceIntegrationShopee: {
52
+ platform: 'shopee',
53
+ isUAT: false,
54
+ application: 'Operato MMS',
55
+ partnerId: 846025,
56
+ partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
57
+ },
58
+ marketplaceIntegrationLazada: {
59
+ platform: 'lazada',
60
+ application: 'operato-mms',
61
+ appKey: '120961',
62
+ appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
63
+ callback: 'https://myoperato.com/lazada-callback'
29
64
  },
30
65
  notification: {
31
66
  fcm: {
@@ -35,7 +70,6 @@ module.exports = {
35
70
  '-----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\nC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.iam.gserviceaccount.com'
37
72
  },
38
-
39
73
  appConfig: {
40
74
  apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
41
75
  projectId: 'operato',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-mms",
3
- "version": "5.0.0-alpha.28",
3
+ "version": "5.0.0-alpha.30",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -41,69 +41,67 @@
41
41
  "@material/mwc-formfield": "^0.25.3",
42
42
  "@material/mwc-linear-progress": "^0.25.3",
43
43
  "@material/mwc-radio": "^0.25.3",
44
- "@operato/ghost-print": "1.0.0-alpha.51",
45
- "@operato/scene-chartjs": "^1.0.0-alpha.5",
46
- "@operato/scene-clock": "^1.0.0-alpha.5",
47
- "@operato/scene-clone": "^1.0.0-alpha.5",
48
- "@operato/scene-compass": "^1.0.0-alpha.5",
49
- "@operato/scene-gauge": "^1.0.0-alpha.5",
50
- "@operato/scene-grist": "^1.0.0-alpha.5",
51
- "@operato/scene-half-roundrect": "^1.0.0-alpha.5",
52
- "@operato/scene-indoor-map": "^1.0.0-alpha.5",
53
- "@operato/scene-integration": "^1.0.0-alpha.5",
54
- "@operato/scene-legend": "^1.0.0-alpha.5",
55
- "@operato/scene-news-ticker": "^1.0.0-alpha.5",
56
- "@operato/scene-progressbar": "^1.0.0-alpha.5",
57
- "@operato/scene-random": "^1.0.0-alpha.5",
58
- "@operato/scene-switch": "^1.0.0-alpha.5",
59
- "@operato/scene-tab": "^1.0.0-alpha.5",
60
- "@operato/scene-table": "^1.0.0-alpha.5",
61
- "@operato/scene-timer": "^1.0.0-alpha.5",
62
- "@operato/scene-wheel-sorter": "^1.0.0-alpha.5",
63
- "@things-factory/apptool-ui": "^5.0.0-alpha.28",
64
- "@things-factory/attachment-base": "^5.0.0-alpha.28",
65
- "@things-factory/auth-ui": "^5.0.0-alpha.28",
66
- "@things-factory/biz-base": "^5.0.0-alpha.28",
67
- "@things-factory/board-service": "^5.0.0-alpha.28",
68
- "@things-factory/board-ui": "^5.0.0-alpha.28",
69
- "@things-factory/code-ui": "^5.0.0-alpha.28",
70
- "@things-factory/context-ui": "^5.0.0-alpha.28",
71
- "@things-factory/dashboard": "^5.0.0-alpha.28",
72
- "@things-factory/export-ui": "^5.0.0-alpha.28",
73
- "@things-factory/export-ui-csv": "^5.0.0-alpha.28",
74
- "@things-factory/export-ui-excel": "^5.0.0-alpha.28",
75
- "@things-factory/geography": "^5.0.0-alpha.28",
76
- "@things-factory/grist-ui": "^5.0.0-alpha.28",
77
- "@things-factory/help": "^5.0.0-alpha.28",
78
- "@things-factory/i18n-base": "^5.0.0-alpha.28",
79
- "@things-factory/integration-fulfillment": "^5.0.0-alpha.28",
80
- "@things-factory/integration-lmd": "^5.0.0-alpha.28",
81
- "@things-factory/lite-menu": "^5.0.0-alpha.28",
82
- "@things-factory/marketplace-base": "^5.0.0-alpha.28",
83
- "@things-factory/more-ui": "^5.0.0-alpha.28",
84
- "@things-factory/notification": "^5.0.0-alpha.28",
85
- "@things-factory/oauth2-client": "^5.0.0-alpha.28",
86
- "@things-factory/pdf": "^5.0.0-alpha.28",
87
- "@things-factory/product-base": "^5.0.0-alpha.28",
88
- "@things-factory/resource-ui": "^5.0.0-alpha.28",
89
- "@things-factory/scene-data-transform": "^5.0.0-alpha.28",
90
- "@things-factory/scene-excel": "^5.0.0-alpha.28",
91
- "@things-factory/scene-firebase": "^5.0.0-alpha.28",
92
- "@things-factory/scene-form": "^5.0.0-alpha.28",
93
- "@things-factory/scene-google-map": "^5.0.0-alpha.28",
94
- "@things-factory/scene-graphql": "^5.0.0-alpha.28",
95
- "@things-factory/scene-label": "^5.0.0-alpha.28",
96
- "@things-factory/scene-marker": "^5.0.0-alpha.28",
97
- "@things-factory/scene-mqtt": "^5.0.0-alpha.28",
98
- "@things-factory/scene-restful": "^5.0.0-alpha.28",
99
- "@things-factory/scene-visualizer": "^5.0.0-alpha.28",
100
- "@things-factory/setting-ui": "^5.0.0-alpha.28",
101
- "@things-factory/system-ui": "^5.0.0-alpha.28",
102
- "@things-factory/warehouse-base": "^5.0.0-alpha.28"
44
+ "@operato/ghost-print": "1.0.0-beta.0",
45
+ "@operato/scene-chartjs": "^1.0.0-alpha.10",
46
+ "@operato/scene-clock": "^1.0.0-alpha.10",
47
+ "@operato/scene-clone": "^1.0.0-alpha.10",
48
+ "@operato/scene-compass": "^1.0.0-alpha.10",
49
+ "@operato/scene-excel": "^1.0.0-alpha.10",
50
+ "@operato/scene-form": "^1.0.0-alpha.10",
51
+ "@operato/scene-gauge": "^1.0.0-alpha.10",
52
+ "@operato/scene-graphql": "^1.0.0-alpha.10",
53
+ "@operato/scene-grist": "^1.0.0-alpha.10",
54
+ "@operato/scene-half-roundrect": "^1.0.0-alpha.10",
55
+ "@operato/scene-indoor-map": "^1.0.0-alpha.10",
56
+ "@operato/scene-integration": "^1.0.0-alpha.10",
57
+ "@operato/scene-label": "^1.0.0-alpha.10",
58
+ "@operato/scene-legend": "^1.0.0-alpha.10",
59
+ "@operato/scene-marker": "^1.0.0-alpha.10",
60
+ "@operato/scene-news-ticker": "^1.0.0-alpha.10",
61
+ "@operato/scene-progressbar": "^1.0.0-alpha.10",
62
+ "@operato/scene-random": "^1.0.0-alpha.10",
63
+ "@operato/scene-restful": "^1.0.0-alpha.10",
64
+ "@operato/scene-switch": "^1.0.0-alpha.10",
65
+ "@operato/scene-tab": "^1.0.0-alpha.10",
66
+ "@operato/scene-table": "^1.0.0-alpha.10",
67
+ "@operato/scene-timer": "^1.0.0-alpha.10",
68
+ "@operato/scene-wheel-sorter": "^1.0.0-alpha.10",
69
+ "@things-factory/apptool-ui": "^5.0.0-alpha.30",
70
+ "@things-factory/attachment-base": "^5.0.0-alpha.30",
71
+ "@things-factory/auth-ui": "^5.0.0-alpha.30",
72
+ "@things-factory/biz-base": "^5.0.0-alpha.30",
73
+ "@things-factory/board-service": "^5.0.0-alpha.30",
74
+ "@things-factory/board-ui": "^5.0.0-alpha.30",
75
+ "@things-factory/code-ui": "^5.0.0-alpha.30",
76
+ "@things-factory/context-ui": "^5.0.0-alpha.30",
77
+ "@things-factory/dashboard": "^5.0.0-alpha.30",
78
+ "@things-factory/export-ui": "^5.0.0-alpha.30",
79
+ "@things-factory/export-ui-csv": "^5.0.0-alpha.30",
80
+ "@things-factory/export-ui-excel": "^5.0.0-alpha.30",
81
+ "@things-factory/geography": "^5.0.0-alpha.30",
82
+ "@things-factory/grist-ui": "^5.0.0-alpha.30",
83
+ "@things-factory/help": "^5.0.0-alpha.30",
84
+ "@things-factory/i18n-base": "^5.0.0-alpha.30",
85
+ "@things-factory/integration-fulfillment": "^5.0.0-alpha.30",
86
+ "@things-factory/integration-lmd": "^5.0.0-alpha.30",
87
+ "@things-factory/lite-menu": "^5.0.0-alpha.30",
88
+ "@things-factory/marketplace-base": "^5.0.0-alpha.30",
89
+ "@things-factory/more-ui": "^5.0.0-alpha.30",
90
+ "@things-factory/notification": "^5.0.0-alpha.30",
91
+ "@things-factory/oauth2-client": "^5.0.0-alpha.30",
92
+ "@things-factory/pdf": "^5.0.0-alpha.30",
93
+ "@things-factory/product-base": "^5.0.0-alpha.30",
94
+ "@things-factory/resource-ui": "^5.0.0-alpha.30",
95
+ "@things-factory/scene-data-transform": "^5.0.0-alpha.30",
96
+ "@things-factory/scene-google-map": "^5.0.0-alpha.30",
97
+ "@things-factory/scene-visualizer": "^5.0.0-alpha.30",
98
+ "@things-factory/setting-ui": "^5.0.0-alpha.30",
99
+ "@things-factory/system-ui": "^5.0.0-alpha.30",
100
+ "@things-factory/warehouse-base": "^5.0.0-alpha.30"
103
101
  },
104
102
  "devDependencies": {
105
- "@things-factory/builder": "^5.0.0-alpha.28",
103
+ "@things-factory/builder": "^5.0.0-alpha.30",
106
104
  "@types/node-fetch": "^2.5.7"
107
105
  },
108
- "gitHead": "9adb6cdfd07c7730800f84a2d532d96f0f436288"
106
+ "gitHead": "352de3c888d68121aef99da33b31b966d0123328"
109
107
  }