Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / cmList / cmList.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 _0xaf8f=['./cmList.attributes','exports','CmList','lodash','api','bluebird','request-promise','path','../../config/environment'];(function(_0x2f3848,_0x48564d){var _0x102668=function(_0x5e32ab){while(--_0x5e32ab){_0x2f3848['push'](_0x2f3848['shift']());}};_0x102668(++_0x48564d);}(_0xaf8f,0xff));var _0xfaf8=function(_0x8203b7,_0x117ba8){_0x8203b7=_0x8203b7-0x0;var _0x35ecfd=_0xaf8f[_0x8203b7];return _0x35ecfd;};'use strict';var _=require(_0xfaf8('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xfaf8('0x1'));var moment=require('moment');var BPromise=require(_0xfaf8('0x2'));var rp=require(_0xfaf8('0x3'));var fs=require('fs');var path=require(_0xfaf8('0x4'));var rimraf=require('rimraf');var config=require(_0xfaf8('0x5'));var attributes=require(_0xfaf8('0x6'));module[_0xfaf8('0x7')]=function(_0x1b0ebd,_0x3b2ea2){return _0x1b0ebd['define'](_0xfaf8('0x8'),attributes,{'tableName':'cm_lists','paranoid':![],'indexes':[],'timestamps':!![]});};