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 _0x1ac9=['moment','request-promise','path','rimraf','./intDeskField.attributes','exports','define','int_desk_fields','idField','FieldId','lodash','util','../../config/logger'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x1ac9,0x101));var _0x91ac=function(_0x34c2d4,_0x418ed2){_0x34c2d4=_0x34c2d4-0x0;var _0x38796a=_0x1ac9[_0x34c2d4];return _0x38796a;};'use strict';var _=require(_0x91ac('0x0'));var util=require(_0x91ac('0x1'));var logger=require(_0x91ac('0x2'))('api');var moment=require(_0x91ac('0x3'));var BPromise=require('bluebird');var rp=require(_0x91ac('0x4'));var fs=require('fs');var path=require(_0x91ac('0x5'));var rimraf=require(_0x91ac('0x6'));var config=require('../../config/environment');var attributes=require(_0x91ac('0x7'));module[_0x91ac('0x8')]=function(_0x542171,_0x718a2b){return _0x542171[_0x91ac('0x9')]('DeskField',attributes,{'tableName':_0x91ac('0xa'),'paranoid':![],'indexes':[{'name':'desk_unique_index','fields':[_0x91ac('0xb'),_0x91ac('0xc')],'unique':!![]}],'timestamps':!![]});};