Built motion from commit (unavailable).|2.4.3
[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 _0xcddb=['DeskField','desk_unique_index','lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./intDeskField.attributes','exports','define'];(function(_0x22dd17,_0x3afc41){var _0x56d886=function(_0x28c512){while(--_0x28c512){_0x22dd17['push'](_0x22dd17['shift']());}};_0x56d886(++_0x3afc41);}(_0xcddb,0x195));var _0xbcdd=function(_0x47c95f,_0x5c3fa3){_0x47c95f=_0x47c95f-0x0;var _0x50979b=_0xcddb[_0x47c95f];return _0x50979b;};'use strict';var _=require(_0xbcdd('0x0'));var util=require(_0xbcdd('0x1'));var logger=require(_0xbcdd('0x2'))(_0xbcdd('0x3'));var moment=require(_0xbcdd('0x4'));var BPromise=require(_0xbcdd('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xbcdd('0x6'));var config=require(_0xbcdd('0x7'));var attributes=require(_0xbcdd('0x8'));module[_0xbcdd('0x9')]=function(_0x1d05e1,_0x192b4c){return _0x1d05e1[_0xbcdd('0xa')](_0xbcdd('0xb'),attributes,{'tableName':'int_desk_fields','paranoid':![],'indexes':[{'name':_0xbcdd('0xc'),'fields':['idField','FieldId'],'unique':!![]}],'timestamps':!![]});};