@things-factory/operato-mms 4.3.378 → 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.
@@ -2,6 +2,7 @@ module.exports = {
2
2
  domainType: 'company',
3
3
  domainExtType: 'company',
4
4
  subdomainOffset: 2,
5
+ port: 1300,
5
6
  ormconfig: {
6
7
  name: 'default',
7
8
  type: 'postgres',
@@ -16,14 +17,31 @@ module.exports = {
16
17
  // ormconfig: {
17
18
  // name: 'default',
18
19
  // type: 'postgres',
19
- // database: 'postgres3',
20
+ // database: 'v3-hub1',
20
21
  // username: 'postgres',
21
- // password: 'mysecretpassword',
22
- // host: 'samhouse.asuscomm.com',
22
+ // password: 'hatio',
23
+ // host: 'localhost',
23
24
  // port: 15432,
24
25
  // synchronize: true,
25
26
  // logging: true
26
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
+ // },
27
45
  inspect: '9280',
28
46
  password: {
29
47
  lowerCase: true,
@@ -46,7 +64,6 @@ module.exports = {
46
64
  ]
47
65
  },
48
66
  useVirtualHostBasedDomain: false,
49
- port: 9000,
50
67
  uploads: 'uploads',
51
68
  attachmentsPath: 'attachments',
52
69
  SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
@@ -97,6 +114,19 @@ module.exports = {
97
114
  privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
98
115
  }
99
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
+ },
100
130
  marketplaceIntegrationShopee: {
101
131
  platform: 'shopee',
102
132
  isUAT: false,
@@ -104,13 +134,6 @@ module.exports = {
104
134
  partnerId: 846025,
105
135
  partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
106
136
  },
107
- // marketplaceIntegrationShopee: {
108
- // platform: 'shopee',
109
- // isUAT: true,
110
- // application: 'Staging MMS',
111
- // partnerId: 845525,
112
- // partnerKey: '4a3f4214fd0f0bda970b342a99b6f8705fc7bacad2743cffa7ed67b79840665e'
113
- // },
114
137
  marketplaceIntegrationLazada: {
115
138
  platform: 'lazada',
116
139
  application: 'operato-mms',
@@ -118,15 +141,6 @@ module.exports = {
118
141
  appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
119
142
  callback: 'https://maybank.operato-m.com/lazada-callback'
120
143
  },
121
- fulfillmentIntegrationOperato: {
122
- host: '127.0.0.1:3000',
123
- protocol: 'http',
124
- platform: 'operato',
125
- application: 'Operato MMS',
126
- appKey: 'a9bf751e622bf146662b240d58971051',
127
- appSecret: '1c385935dc131c4b902b9bbf6a4798af',
128
- callback: 'http://127.0.0.1:9000/callback-operato'
129
- },
130
144
  marketplaceIntegrationShopify: {
131
145
  platform: 'shopify',
132
146
  application: 'Operato',
@@ -152,10 +166,4 @@ module.exports = {
152
166
  oauth_consumer_key: '',
153
167
  oauth_consumer_secret: ''
154
168
  }
155
- // sellercraftChannelIntegrationConfig: {
156
- // tokenCraftApiKey: 'gf2oZbK2rv47qO0bQPbkV8RsqhlHcnSVq267W5I8',
157
- // apiKey: 'eqDVmIp0kxakM4sNnzqTkySBM73UGMS1nOPDN5Z1',
158
- // tokenCraftUrl: 'https://tokencraft.piggylabs.com/v1/get-shop',
159
- // getShopsTokenCraftUrl: 'https://tokencraft.piggylabs.com/v1/get-shops'
160
- // }
161
169
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-mms",
3
- "version": "4.3.378",
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.378",
63
- "@things-factory/attachment-base": "^4.3.378",
64
- "@things-factory/auth-ui": "^4.3.378",
65
- "@things-factory/biz-base": "^4.3.378",
66
- "@things-factory/board-service": "^4.3.378",
67
- "@things-factory/board-ui": "^4.3.378",
68
- "@things-factory/code-ui": "^4.3.378",
69
- "@things-factory/context-ui": "^4.3.378",
70
- "@things-factory/dashboard": "^4.3.378",
71
- "@things-factory/export-ui": "^4.3.378",
72
- "@things-factory/export-ui-csv": "^4.3.378",
73
- "@things-factory/export-ui-excel": "^4.3.378",
74
- "@things-factory/geography": "^4.3.378",
75
- "@things-factory/grist-ui": "^4.3.378",
76
- "@things-factory/help": "^4.3.378",
77
- "@things-factory/i18n-base": "^4.3.378",
78
- "@things-factory/import-ui": "^4.3.378",
79
- "@things-factory/import-ui-excel": "^4.3.378",
80
- "@things-factory/integration-fulfillment": "^4.3.378",
81
- "@things-factory/integration-lmd": "^4.3.378",
82
- "@things-factory/lite-menu": "^4.3.378",
83
- "@things-factory/marketplace-base": "^4.3.378",
84
- "@things-factory/more-ui": "^4.3.378",
85
- "@things-factory/notification": "^4.3.378",
86
- "@things-factory/oauth2-client": "^4.3.378",
87
- "@things-factory/pdf": "^4.3.378",
88
- "@things-factory/product-base": "^4.3.378",
89
- "@things-factory/resource-ui": "^4.3.378",
90
- "@things-factory/scene-data-transform": "^4.3.378",
91
- "@things-factory/scene-excel": "^4.3.378",
92
- "@things-factory/scene-firebase": "^4.3.378",
93
- "@things-factory/scene-form": "^4.3.378",
94
- "@things-factory/scene-google-map": "^4.3.378",
95
- "@things-factory/scene-graphql": "^4.3.378",
96
- "@things-factory/scene-label": "^4.3.378",
97
- "@things-factory/scene-marker": "^4.3.378",
98
- "@things-factory/scene-mqtt": "^4.3.378",
99
- "@things-factory/scene-restful": "^4.3.378",
100
- "@things-factory/scene-visualizer": "^4.3.378",
101
- "@things-factory/setting-ui": "^4.3.378",
102
- "@things-factory/system-ui": "^4.3.378",
103
- "@things-factory/warehouse-base": "^4.3.378"
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.378",
106
+ "@things-factory/builder": "^4.3.381",
107
107
  "@types/node-fetch": "^2.5.7"
108
108
  },
109
- "gitHead": "9de7af5e7b61574cdb4773876a41e1b9b77c1689"
109
+ "gitHead": "853888b22dd91352f37d4fe660e3233405beefd1"
110
110
  }
@@ -1,34 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./entities"), exports);
18
- __exportStar(require("./graphql"), exports);
19
- __exportStar(require("./migrations"), exports);
20
- require("./routes");
21
- const integration_base_1 = require("@things-factory/integration-base");
22
- const debug = require('debug')('things-factory:operato-mms:bootstrap');
23
- process.on('bootstrap-module-start', async ({ app, config, client }) => {
24
- debug('%%%%%%%%%%%%%%%% TASK ENGINE - BEGIN %%%%%%%%%%%%%%%%');
25
- try {
26
- await integration_base_1.ConnectionManager.ready();
27
- await integration_base_1.ScenarioEngine.loadAll();
28
- }
29
- catch (ex) {
30
- integration_base_1.ConnectionManager.logger.error(ex);
31
- }
32
- debug('%%%%%%%%%%%%%%%% TASK ENGINE - END %%%%%%%%%%%%%%%%');
33
- });
34
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,4CAAyB;AACzB,+CAA4B;AAE5B,oBAAiB;AACjB,uEAAoF;AAEpF,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,sCAAsC,CAAC,CAAA;AAEtE,OAAO,CAAC,EAAE,CAAC,wBAA+B,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAO,EAAE,EAAE;IACjF,KAAK,CAAC,uDAAuD,CAAC,CAAA;IAC9D,IAAI;QACF,MAAM,oCAAiB,CAAC,KAAK,EAAE,CAAA;QAC/B,MAAM,iCAAc,CAAC,OAAO,EAAE,CAAA;KAC/B;IAAC,OAAO,EAAE,EAAE;QACX,oCAAiB,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA;KACnC;IACD,KAAK,CAAC,qDAAqD,CAAC,CAAA;AAC9D,CAAC,CAAC,CAAA"}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const shopify_pos_public_router_1 = require("./routers/shopify-pos-public-router");
4
- const etrax_router_1 = require("./routers/etrax-router");
5
- const debug = require('debug')('things-factory:operato-mms:routes');
6
- process.on('bootstrap-module-global-public-route', (app, globalPublicRouter) => {
7
- globalPublicRouter.use(shopify_pos_public_router_1.shopifyPosPublicRouter.routes(), shopify_pos_public_router_1.shopifyPosPublicRouter.allowedMethods());
8
- globalPublicRouter.use(etrax_router_1.etraxRouter.routes(), etrax_router_1.etraxRouter.allowedMethods());
9
- });
10
- process.on('bootstrap-module-domain-private-route', (app, domainPrivateRouter) => { });
11
- //# sourceMappingURL=routes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"routes.js","sourceRoot":"","sources":["../server/routes.ts"],"names":[],"mappings":";;AAAA,mFAA4E;AAC5E,yDAAoD;AAEpD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,mCAAmC,CAAC,CAAA;AAEnE,OAAO,CAAC,EAAE,CAAC,sCAA6C,EAAE,CAAC,GAAG,EAAE,kBAAkB,EAAE,EAAE;IACpF,kBAAkB,CAAC,GAAG,CAAC,kDAAsB,CAAC,MAAM,EAAE,EAAE,kDAAsB,CAAC,cAAc,EAAE,CAAC,CAAA;IAChG,kBAAkB,CAAC,GAAG,CAAC,0BAAW,CAAC,MAAM,EAAE,EAAE,0BAAW,CAAC,cAAc,EAAE,CAAC,CAAA;AAC5E,CAAC,CAAC,CAAA;AAEF,OAAO,CAAC,EAAE,CAAC,uCAA8C,EAAE,CAAC,GAAG,EAAE,mBAAmB,EAAE,EAAE,GAAE,CAAC,CAAC,CAAA"}