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 _0x8d66=['bluebird','request-promise','path','rimraf','./intDeskField.attributes','define','int_desk_fields','idField','FieldId','util','moment'];(function(_0x218972,_0x1f9794){var _0x1bb1a8=function(_0x3fb962){while(--_0x3fb962){_0x218972['push'](_0x218972['shift']());}};_0x1bb1a8(++_0x1f9794);}(_0x8d66,0xc4));var _0x68d6=function(_0x5715ee,_0x46a113){_0x5715ee=_0x5715ee-0x0;var _0x5c8d5f=_0x8d66[_0x5715ee];return _0x5c8d5f;};'use strict';var _=require('lodash');var util=require(_0x68d6('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x68d6('0x1'));var BPromise=require(_0x68d6('0x2'));var rp=require(_0x68d6('0x3'));var fs=require('fs');var path=require(_0x68d6('0x4'));var rimraf=require(_0x68d6('0x5'));var config=require('../../config/environment');var attributes=require(_0x68d6('0x6'));module['exports']=function(_0xe4d646,_0x2b0b6e){return _0xe4d646[_0x68d6('0x7')]('DeskField',attributes,{'tableName':_0x68d6('0x8'),'paranoid':![],'indexes':[{'name':'desk_unique_index','fields':[_0x68d6('0x9'),_0x68d6('0xa')],'unique':!![]}],'timestamps':!![]});};