Built motion from commit (unavailable).|2.4.18
[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 _0x4862=['FieldId','lodash','util','../../config/logger','moment','request-promise','path','rimraf','./intDeskField.attributes','exports','idField'];(function(_0xfb42e6,_0x5f5d4b){var _0x27265b=function(_0x163e81){while(--_0x163e81){_0xfb42e6['push'](_0xfb42e6['shift']());}};_0x27265b(++_0x5f5d4b);}(_0x4862,0x161));var _0x2486=function(_0x4787ce,_0x3f2423){_0x4787ce=_0x4787ce-0x0;var _0x19432e=_0x4862[_0x4787ce];return _0x19432e;};'use strict';var _=require(_0x2486('0x0'));var util=require(_0x2486('0x1'));var logger=require(_0x2486('0x2'))('api');var moment=require(_0x2486('0x3'));var BPromise=require('bluebird');var rp=require(_0x2486('0x4'));var fs=require('fs');var path=require(_0x2486('0x5'));var rimraf=require(_0x2486('0x6'));var config=require('../../config/environment');var attributes=require(_0x2486('0x7'));module[_0x2486('0x8')]=function(_0xf2c5bb,_0x3fc38d){return _0xf2c5bb['define']('DeskField',attributes,{'tableName':'int_desk_fields','paranoid':![],'indexes':[{'name':'desk_unique_index','fields':[_0x2486('0x9'),_0x2486('0xa')],'unique':!![]}],'timestamps':!![]});};