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 _0x81ab=['rimraf','../../config/environment','define','ServicenowField','servicenow_unique_index','idField','FieldId','util','bluebird','request-promise','path'];(function(_0x3b80c6,_0x1e727b){var _0x136029=function(_0x46924f){while(--_0x46924f){_0x3b80c6['push'](_0x3b80c6['shift']());}};_0x136029(++_0x1e727b);}(_0x81ab,0x188));var _0xb81a=function(_0x4b174a,_0x33a017){_0x4b174a=_0x4b174a-0x0;var _0x3cd7bf=_0x81ab[_0x4b174a];return _0x3cd7bf;};'use strict';var _=require('lodash');var util=require(_0xb81a('0x0'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xb81a('0x1'));var rp=require(_0xb81a('0x2'));var fs=require('fs');var path=require(_0xb81a('0x3'));var rimraf=require(_0xb81a('0x4'));var config=require(_0xb81a('0x5'));var attributes=require('./intServicenowField.attributes');module['exports']=function(_0x1db795,_0xbd2cfb){return _0x1db795[_0xb81a('0x6')](_0xb81a('0x7'),attributes,{'tableName':'int_servicenow_fields','paranoid':![],'indexes':[{'name':_0xb81a('0x8'),'fields':[_0xb81a('0x9'),_0xb81a('0xa')],'unique':!![]}],'timestamps':!![]});};