Built motion from commit 43538d75.|2.5.35
[motion2.git] / server / api / intServicenowField / intServicenowField.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xe883=['lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intServicenowField.attributes','exports','define','ServicenowField','servicenow_unique_index','idField','FieldId'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0xe883,0x70));var _0x3e88=function(_0x20ef64,_0x4a8fe9){_0x20ef64=_0x20ef64-0x0;var _0x3707d8=_0xe883[_0x20ef64];return _0x3707d8;};'use strict';var _=require(_0x3e88('0x0'));var util=require(_0x3e88('0x1'));var logger=require('../../config/logger')(_0x3e88('0x2'));var moment=require(_0x3e88('0x3'));var BPromise=require(_0x3e88('0x4'));var rp=require(_0x3e88('0x5'));var fs=require('fs');var path=require(_0x3e88('0x6'));var rimraf=require(_0x3e88('0x7'));var config=require(_0x3e88('0x8'));var attributes=require(_0x3e88('0x9'));module[_0x3e88('0xa')]=function(_0x25959b,_0x5c3aac){return _0x25959b[_0x3e88('0xb')](_0x3e88('0xc'),attributes,{'tableName':'int_servicenow_fields','paranoid':![],'indexes':[{'name':_0x3e88('0xd'),'fields':[_0x3e88('0xe'),_0x3e88('0xf')],'unique':!![]}],'timestamps':!![]});};