Built motion from commit (unavailable).|2.5.17
[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 _0xd3a0=['DeskField','int_desk_fields','desk_unique_index','idField','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./intDeskField.attributes','exports','define'];(function(_0x4c05f,_0x5d3a87){var _0x5a6a35=function(_0x37481e){while(--_0x37481e){_0x4c05f['push'](_0x4c05f['shift']());}};_0x5a6a35(++_0x5d3a87);}(_0xd3a0,0x154));var _0x0d3a=function(_0x487b74,_0x3645de){_0x487b74=_0x487b74-0x0;var _0x519866=_0xd3a0[_0x487b74];return _0x519866;};'use strict';var _=require(_0x0d3a('0x0'));var util=require(_0x0d3a('0x1'));var logger=require(_0x0d3a('0x2'))(_0x0d3a('0x3'));var moment=require(_0x0d3a('0x4'));var BPromise=require('bluebird');var rp=require(_0x0d3a('0x5'));var fs=require('fs');var path=require(_0x0d3a('0x6'));var rimraf=require(_0x0d3a('0x7'));var config=require(_0x0d3a('0x8'));var attributes=require(_0x0d3a('0x9'));module[_0x0d3a('0xa')]=function(_0xef086b,_0x1b5a0d){return _0xef086b[_0x0d3a('0xb')](_0x0d3a('0xc'),attributes,{'tableName':_0x0d3a('0xd'),'paranoid':![],'indexes':[{'name':_0x0d3a('0xe'),'fields':[_0x0d3a('0xf'),'FieldId'],'unique':!![]}],'timestamps':!![]});};