a117afe8b12bfcf956b4f53f300c3453bddd7af4
[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 _0x3c34=['ServicenowField','int_servicenow_fields','idField','FieldId','lodash','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./intServicenowField.attributes','define'];(function(_0x51724e,_0x4f4bab){var _0x9776ef=function(_0x15c3cf){while(--_0x15c3cf){_0x51724e['push'](_0x51724e['shift']());}};_0x9776ef(++_0x4f4bab);}(_0x3c34,0x162));var _0x43c3=function(_0x2b8077,_0x453634){_0x2b8077=_0x2b8077-0x0;var _0x308091=_0x3c34[_0x2b8077];return _0x308091;};'use strict';var _=require(_0x43c3('0x0'));var util=require('util');var logger=require(_0x43c3('0x1'))(_0x43c3('0x2'));var moment=require('moment');var BPromise=require(_0x43c3('0x3'));var rp=require(_0x43c3('0x4'));var fs=require('fs');var path=require(_0x43c3('0x5'));var rimraf=require(_0x43c3('0x6'));var config=require(_0x43c3('0x7'));var attributes=require(_0x43c3('0x8'));module['exports']=function(_0x1456c6,_0x975508){return _0x1456c6[_0x43c3('0x9')](_0x43c3('0xa'),attributes,{'tableName':_0x43c3('0xb'),'paranoid':![],'indexes':[{'name':'servicenow_unique_index','fields':[_0x43c3('0xc'),_0x43c3('0xd')],'unique':!![]}],'timestamps':!![]});};