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 _0xb0ca=['api','moment','bluebird','path','../../config/environment','./intServicenowField.attributes','define','int_servicenow_fields','idField','FieldId','lodash','../../config/logger'];(function(_0x1889cf,_0x11a876){var _0x325a94=function(_0x489ac8){while(--_0x489ac8){_0x1889cf['push'](_0x1889cf['shift']());}};_0x325a94(++_0x11a876);}(_0xb0ca,0x11e));var _0xab0c=function(_0x229abc,_0x454582){_0x229abc=_0x229abc-0x0;var _0x31ae96=_0xb0ca[_0x229abc];return _0x31ae96;};'use strict';var _=require(_0xab0c('0x0'));var util=require('util');var logger=require(_0xab0c('0x1'))(_0xab0c('0x2'));var moment=require(_0xab0c('0x3'));var BPromise=require(_0xab0c('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xab0c('0x5'));var rimraf=require('rimraf');var config=require(_0xab0c('0x6'));var attributes=require(_0xab0c('0x7'));module['exports']=function(_0x3a74c1,_0x810ce9){return _0x3a74c1[_0xab0c('0x8')]('ServicenowField',attributes,{'tableName':_0xab0c('0x9'),'paranoid':![],'indexes':[{'name':'servicenow_unique_index','fields':[_0xab0c('0xa'),_0xab0c('0xb')],'unique':!![]}],'timestamps':!![]});};