Built motion from commit (unavailable).|2.5.4
[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 _0xc699=['define','CmList','cm_lists','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','exports'];(function(_0x382d86,_0x35df4d){var _0x3e57d9=function(_0x22f243){while(--_0x22f243){_0x382d86['push'](_0x382d86['shift']());}};_0x3e57d9(++_0x35df4d);}(_0xc699,0x13b));var _0x9c69=function(_0x651909,_0x15c6b4){_0x651909=_0x651909-0x0;var _0x572299=_0xc699[_0x651909];return _0x572299;};'use strict';var _=require(_0x9c69('0x0'));var util=require(_0x9c69('0x1'));var logger=require(_0x9c69('0x2'))(_0x9c69('0x3'));var moment=require(_0x9c69('0x4'));var BPromise=require(_0x9c69('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9c69('0x6'));var rimraf=require(_0x9c69('0x7'));var config=require(_0x9c69('0x8'));var attributes=require('./cmList.attributes');module[_0x9c69('0x9')]=function(_0xf94c24,_0x483eca){return _0xf94c24[_0x9c69('0xa')](_0x9c69('0xb'),attributes,{'tableName':_0x9c69('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};