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 _0x5e35=['define','DeskField','int_desk_fields','desk_unique_index','FieldId','lodash','util','moment','request-promise','path','rimraf','../../config/environment','./intDeskField.attributes'];(function(_0x264b61,_0x4a5017){var _0x8fff4f=function(_0x25c21e){while(--_0x25c21e){_0x264b61['push'](_0x264b61['shift']());}};_0x8fff4f(++_0x4a5017);}(_0x5e35,0x198));var _0x55e3=function(_0x5c2e3e,_0x26ecd3){_0x5c2e3e=_0x5c2e3e-0x0;var _0x53f64a=_0x5e35[_0x5c2e3e];return _0x53f64a;};'use strict';var _=require(_0x55e3('0x0'));var util=require(_0x55e3('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x55e3('0x2'));var BPromise=require('bluebird');var rp=require(_0x55e3('0x3'));var fs=require('fs');var path=require(_0x55e3('0x4'));var rimraf=require(_0x55e3('0x5'));var config=require(_0x55e3('0x6'));var attributes=require(_0x55e3('0x7'));module['exports']=function(_0x106134,_0xa78c59){return _0x106134[_0x55e3('0x8')](_0x55e3('0x9'),attributes,{'tableName':_0x55e3('0xa'),'paranoid':![],'indexes':[{'name':_0x55e3('0xb'),'fields':['idField',_0x55e3('0xc')],'unique':!![]}],'timestamps':!![]});};