zudello-integration-sdk 1.0.48 → 1.0.50

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zudello-integration-sdk",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "description": "Zudello Integrations SDK",
5
5
  "main": "./src/index.js",
6
6
  "repository": {
package/src/index.js CHANGED
@@ -24,7 +24,7 @@ const GPSDK = require('./sdk/GP')
24
24
  const EDISDK = require('./sdk/EDI')
25
25
  const SunSystemsSDK = require('./sdk/SunSystems')
26
26
  const MAMSDK = require('./sdk/MAM')
27
- const Dynamics365SDK = require('./sdk/Dynamics365')
27
+ const Dynamic365SDK = require('./sdk/Dynamics365')
28
28
  const SharepointSDK = require('./sdk/Sharepoint')
29
29
  const SFTPSDK = require('./sdk/SFTP')
30
30
 
@@ -37,7 +37,7 @@ class UniversalModule {
37
37
  * @param {string} path Path of file.
38
38
  * @returns {object} Universal Request Response.
39
39
  */
40
- async list ({ path }) {
40
+ async get ({ path }) {
41
41
  const validateIsEmpty = this.module.validator.isEmpty({ path })
42
42
 
43
43
  if (!validateIsEmpty.valid) {
@@ -61,7 +61,7 @@ class UniversalModule {
61
61
  * @param {object} data Data of file.
62
62
  * @returns {object} Universal Request Response.
63
63
  */
64
- async list ({ path, data }) {
64
+ async put ({ path, data }) {
65
65
  const validateIsEmpty = this.module.validator.isEmpty({ path, data })
66
66
 
67
67
  if (!validateIsEmpty.valid) {