Built motion from commit 9d1906d1.|2.5.40
[motion2.git] / server / api / intDeskField / intDeskField.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xaff9=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','desk_unique_index','idField','FieldId','lodash'];(function(_0x4b143c,_0xe48dac){var _0x116dc8=function(_0x53fb87){while(--_0x53fb87){_0x4b143c['push'](_0x4b143c['shift']());}};_0x116dc8(++_0xe48dac);}(_0xaff9,0x158));var _0x9aff=function(_0x25af68,_0x4d205a){_0x25af68=_0x25af68-0x0;var _0x3b3491=_0xaff9[_0x25af68];return _0x3b3491;};'use strict';var _=require(_0x9aff('0x0'));var util=require(_0x9aff('0x1'));var logger=require(_0x9aff('0x2'))(_0x9aff('0x3'));var moment=require(_0x9aff('0x4'));var BPromise=require(_0x9aff('0x5'));var rp=require(_0x9aff('0x6'));var fs=require('fs');var path=require(_0x9aff('0x7'));var rimraf=require(_0x9aff('0x8'));var config=require(_0x9aff('0x9'));var attributes=require('./intDeskField.attributes');module[_0x9aff('0xa')]=function(_0x48355b,_0x1e45dd){return _0x48355b[_0x9aff('0xb')]('DeskField',attributes,{'tableName':'int_desk_fields','paranoid':![],'indexes':[{'name':_0x9aff('0xc'),'fields':[_0x9aff('0xd'),_0x9aff('0xe')],'unique':!![]}],'timestamps':!![]});};