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 _0x6205=['./intDeskField.attributes','exports','DeskField','desk_unique_index','idField','FieldId','util','../../config/logger','api','request-promise','path','rimraf'];(function(_0x6651c3,_0x13210f){var _0x3d1598=function(_0x53dc1c){while(--_0x53dc1c){_0x6651c3['push'](_0x6651c3['shift']());}};_0x3d1598(++_0x13210f);}(_0x6205,0x96));var _0x5620=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x6205[_0xa464c9];return _0x3d73c4;};'use strict';var _=require('lodash');var util=require(_0x5620('0x0'));var logger=require(_0x5620('0x1'))(_0x5620('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x5620('0x3'));var fs=require('fs');var path=require(_0x5620('0x4'));var rimraf=require(_0x5620('0x5'));var config=require('../../config/environment');var attributes=require(_0x5620('0x6'));module[_0x5620('0x7')]=function(_0x2f7449,_0x171304){return _0x2f7449['define'](_0x5620('0x8'),attributes,{'tableName':'int_desk_fields','paranoid':![],'indexes':[{'name':_0x5620('0x9'),'fields':[_0x5620('0xa'),_0x5620('0xb')],'unique':!![]}],'timestamps':!![]});};