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 _0x99c6=['DeskField','desk_unique_index','idField','FieldId','lodash','util','../../config/logger','api','moment','../../config/environment','./intDeskField.attributes','exports','define'];(function(_0x87d3ec,_0x387888){var _0x5f3f6f=function(_0x5492ac){while(--_0x5492ac){_0x87d3ec['push'](_0x87d3ec['shift']());}};_0x5f3f6f(++_0x387888);}(_0x99c6,0x1be));var _0x699c=function(_0x4792c8,_0x5158a1){_0x4792c8=_0x4792c8-0x0;var _0x35edb1=_0x99c6[_0x4792c8];return _0x35edb1;};'use strict';var _=require(_0x699c('0x0'));var util=require(_0x699c('0x1'));var logger=require(_0x699c('0x2'))(_0x699c('0x3'));var moment=require(_0x699c('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x699c('0x5'));var attributes=require(_0x699c('0x6'));module[_0x699c('0x7')]=function(_0x1fc2dd,_0xdbcb4d){return _0x1fc2dd[_0x699c('0x8')](_0x699c('0x9'),attributes,{'tableName':'int_desk_fields','paranoid':![],'indexes':[{'name':_0x699c('0xa'),'fields':[_0x699c('0xb'),_0x699c('0xc')],'unique':!![]}],'timestamps':!![]});};