1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x2fd8=['util','api','bluebird','request-promise','rimraf','exports','servicenow_unique_index','idField','FieldId'];(function(_0x1d94d1,_0x347bb8){var _0x23c397=function(_0x489441){while(--_0x489441){_0x1d94d1['push'](_0x1d94d1['shift']());}};_0x23c397(++_0x347bb8);}(_0x2fd8,0xd8));var _0x82fd=function(_0x1335da,_0x3e32aa){_0x1335da=_0x1335da-0x0;var _0x30bafe=_0x2fd8[_0x1335da];return _0x30bafe;};'use strict';var _=require('lodash');var util=require(_0x82fd('0x0'));var logger=require('../../config/logger')(_0x82fd('0x1'));var moment=require('moment');var BPromise=require(_0x82fd('0x2'));var rp=require(_0x82fd('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x82fd('0x4'));var config=require('../../config/environment');var attributes=require('./intServicenowField.attributes');module[_0x82fd('0x5')]=function(_0x310a69,_0x7a4c46){return _0x310a69['define']('ServicenowField',attributes,{'tableName':'int_servicenow_fields','paranoid':![],'indexes':[{'name':_0x82fd('0x6'),'fields':[_0x82fd('0x7'),_0x82fd('0x8')],'unique':!![]}],'timestamps':!![]});};