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 _0xde52=['../../config/logger','moment','request-promise','path','../../config/environment','./intDeskField.attributes','exports','DeskField','desk_unique_index','idField','FieldId','lodash','util'];(function(_0x25c92b,_0x376098){var _0x509f77=function(_0x44dbfd){while(--_0x44dbfd){_0x25c92b['push'](_0x25c92b['shift']());}};_0x509f77(++_0x376098);}(_0xde52,0x66));var _0x2de5=function(_0x3f619d,_0x4762c5){_0x3f619d=_0x3f619d-0x0;var _0x1eb364=_0xde52[_0x3f619d];return _0x1eb364;};'use strict';var _=require(_0x2de5('0x0'));var util=require(_0x2de5('0x1'));var logger=require(_0x2de5('0x2'))('api');var moment=require(_0x2de5('0x3'));var BPromise=require('bluebird');var rp=require(_0x2de5('0x4'));var fs=require('fs');var path=require(_0x2de5('0x5'));var rimraf=require('rimraf');var config=require(_0x2de5('0x6'));var attributes=require(_0x2de5('0x7'));module[_0x2de5('0x8')]=function(_0x156467,_0x2420cf){return _0x156467['define'](_0x2de5('0x9'),attributes,{'tableName':'int_desk_fields','paranoid':![],'indexes':[{'name':_0x2de5('0xa'),'fields':[_0x2de5('0xb'),_0x2de5('0xc')],'unique':!![]}],'timestamps':!![]});};