@manyos/smileconnect-api 1.57.0 → 1.57.1

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/conf/clients.json CHANGED
@@ -1994,7 +1994,8 @@
1994
1994
  "Class Location",
1995
1995
  "Class Cost",
1996
1996
  "Department",
1997
- "Class Start Date & Time"
1997
+ "Class Start Date & Time",
1998
+ "Name"
1998
1999
  ]
1999
2000
  },
2000
2001
  "custom_CTM:People": {
@@ -2009,9 +2010,7 @@
2009
2010
  "postMapping": []
2010
2011
  },
2011
2012
  "PUT": {
2012
- "preMapping": [
2013
- "slash"
2014
- ],
2013
+ "preMapping": [],
2015
2014
  "postMapping": [],
2016
2015
  "afterExecution": []
2017
2016
  },
@@ -44,7 +44,7 @@ async function createTicket(ticketConfig, clientConfig, data, globalScriptParams
44
44
 
45
45
  const result = await arquery.createEntry(ticketConfig.forms.new, data, clientConfig.options)
46
46
 
47
- log.debug('TicketCreateResult', result.data);
47
+ log.debug('TicketCreateResult', result);
48
48
  const ticketCreateId = Object.values(result)[0];
49
49
  //Find change id
50
50
  const resultInterfaceCreate = await arquery.executeARQuery(ticketConfig.forms.new, null, "'1'=\"" + ticketCreateId + "\"", ticketConfig.ticketIdField, clientConfig.options)
package/docs/releases.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## API
4
4
 
5
+ ### 1.57.1 - 25.03.22
6
+ Remove misleading error from CustomFormMappings
7
+
5
8
  ### 1.57.0 - 25.03.22
6
9
 
7
10
  Add impersonate to update requests.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manyos/smileconnect-api",
3
- "version": "1.57.0",
3
+ "version": "1.57.1",
4
4
  "description": "A proxy and abstraction layer for BMCs IT Service Management Suite",
5
5
  "main": "app.js",
6
6
  "scripts": {
@@ -153,7 +153,7 @@ function applyCustomFormMapping2Remedy(entryData, mapping, constants, fields) {
153
153
  delete entryData[mappedName];
154
154
  }
155
155
  } catch (e) {
156
- log.error('mappingError', e)
156
+ //log.error('mappingError', e)
157
157
  }
158
158
  })
159
159