zudello-integration-sdk 1.0.49 → 1.0.51

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.49",
3
+ "version": "1.0.51",
4
4
  "description": "Zudello Integrations SDK",
5
5
  "main": "./src/index.js",
6
6
  "repository": {
@@ -35,7 +35,7 @@ class PoDocumentModule {
35
35
  * @returns {object} Create PO Document Response.
36
36
  */
37
37
  async update ({ ...fields }) {
38
- return await this.module.makeRequest('POST', `${this.module.apiURL}/zintegrations/action/2355af76-4571-4090-8111-a38d750bd6ab`, {
38
+ return await this.module.makeRequest('POST', `${this.module.apiURL}/zintegrations/action/1b78eefa-074e-429b-9eb4-6940b29c1a97`, {
39
39
  mappable_parameters: {
40
40
  debug: {
41
41
  value: false
@@ -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) {