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 _0xc67f=['define','DeskField','int_desk_fields','desk_unique_index','FieldId','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intDeskField.attributes','exports'];(function(_0x1e291a,_0x13a9da){var _0x448d8a=function(_0x329ac6){while(--_0x329ac6){_0x1e291a['push'](_0x1e291a['shift']());}};_0x448d8a(++_0x13a9da);}(_0xc67f,0xa5));var _0xfc67=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xc67f[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xfc67('0x0'));var util=require(_0xfc67('0x1'));var logger=require(_0xfc67('0x2'))('api');var moment=require(_0xfc67('0x3'));var BPromise=require(_0xfc67('0x4'));var rp=require(_0xfc67('0x5'));var fs=require('fs');var path=require(_0xfc67('0x6'));var rimraf=require(_0xfc67('0x7'));var config=require(_0xfc67('0x8'));var attributes=require(_0xfc67('0x9'));module[_0xfc67('0xa')]=function(_0x2da513,_0x5b6c5b){return _0x2da513[_0xfc67('0xb')](_0xfc67('0xc'),attributes,{'tableName':_0xfc67('0xd'),'paranoid':![],'indexes':[{'name':_0xfc67('0xe'),'fields':['idField',_0xfc67('0xf')],'unique':!![]}],'timestamps':!![]});};