Built motion from commit (unavailable).|2.5.31
[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 _0xecc0=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./cmList.attributes','exports','CmList','cm_lists'];(function(_0x11e03f,_0x20b967){var _0x5666fe=function(_0x19ce63){while(--_0x19ce63){_0x11e03f['push'](_0x11e03f['shift']());}};_0x5666fe(++_0x20b967);}(_0xecc0,0xc4));var _0x0ecc=function(_0xa6a50b,_0x59937a){_0xa6a50b=_0xa6a50b-0x0;var _0x2a9a3a=_0xecc0[_0xa6a50b];return _0x2a9a3a;};'use strict';var _=require(_0x0ecc('0x0'));var util=require(_0x0ecc('0x1'));var logger=require(_0x0ecc('0x2'))(_0x0ecc('0x3'));var moment=require(_0x0ecc('0x4'));var BPromise=require(_0x0ecc('0x5'));var rp=require(_0x0ecc('0x6'));var fs=require('fs');var path=require(_0x0ecc('0x7'));var rimraf=require(_0x0ecc('0x8'));var config=require(_0x0ecc('0x9'));var attributes=require(_0x0ecc('0xa'));module[_0x0ecc('0xb')]=function(_0x66a447,_0x1578b2){return _0x66a447['define'](_0x0ecc('0xc'),attributes,{'tableName':_0x0ecc('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};