@things-factory/operato-mms 4.1.8 → 4.1.14

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