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 _0x7075=['moment','request-promise','path','rimraf','./intServicenowField.attributes','exports','define','ServicenowField','servicenow_unique_index','idField','FieldId','util','../../config/logger','api'];(function(_0x634636,_0x4cfe32){var _0x178457=function(_0x5ad403){while(--_0x5ad403){_0x634636['push'](_0x634636['shift']());}};_0x178457(++_0x4cfe32);}(_0x7075,0x169));var _0x5707=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0x7075[_0x57b54c];return _0x59cc19;};'use strict';var _=require('lodash');var util=require(_0x5707('0x0'));var logger=require(_0x5707('0x1'))(_0x5707('0x2'));var moment=require(_0x5707('0x3'));var BPromise=require('bluebird');var rp=require(_0x5707('0x4'));var fs=require('fs');var path=require(_0x5707('0x5'));var rimraf=require(_0x5707('0x6'));var config=require('../../config/environment');var attributes=require(_0x5707('0x7'));module[_0x5707('0x8')]=function(_0x2d7ec8,_0xe67f79){return _0x2d7ec8[_0x5707('0x9')](_0x5707('0xa'),attributes,{'tableName':'int_servicenow_fields','paranoid':![],'indexes':[{'name':_0x5707('0xb'),'fields':[_0x5707('0xc'),_0x5707('0xd')],'unique':!![]}],'timestamps':!![]});};