zudello-integration-sdk 1.0.54 → 1.0.56

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.54",
3
+ "version": "1.0.56",
4
4
  "description": "Zudello Integrations SDK",
5
5
  "main": "./src/index.js",
6
6
  "repository": {
@@ -71,7 +71,7 @@ class UniversalModule {
71
71
  folderID: {
72
72
  value: folderID
73
73
  },
74
- url: {
74
+ fileURL: {
75
75
  value: url
76
76
  },
77
77
  fileName: {
@@ -111,12 +111,12 @@ class ModelHelper {
111
111
  }
112
112
  }
113
113
 
114
- async complete({ message = '', external_id = null, properties = {}, exit = false }) {
115
- await this.response({ status: 'COMPLETE', message, external_id, properties, exit })
114
+ async complete({ message = '', status = 'COMPLETE', external_id = null, properties = {}, exit = false }) {
115
+ await this.response({ status: status, message, external_id, properties, exit })
116
116
  }
117
117
 
118
- async fail({ message = '', external_id = null, properties = {}, exit = false }) {
119
- await this.response({ status: 'UNABLE', message, external_id, properties, exit })
118
+ async fail({ message = '', status = 'UNABLE', external_id = null, properties = {}, exit = false }) {
119
+ await this.response({ status: status, message, external_id, properties, exit })
120
120
  }
121
121
 
122
122
  async completeIf(condition, { message = '', external_id = null, properties = {}, exit = false }) {