Built motion from commit (unavailable).|2.5.2
[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 _0x89e3=['util','../../config/logger','api','request-promise','path','rimraf','../../config/environment','./cmList.attributes','exports','define','CmList','cm_lists','lodash'];(function(_0x3b5ccb,_0x3c7d78){var _0x2c6c10=function(_0x30dc43){while(--_0x30dc43){_0x3b5ccb['push'](_0x3b5ccb['shift']());}};_0x2c6c10(++_0x3c7d78);}(_0x89e3,0x11d));var _0x389e=function(_0x52d81a,_0xbafd7b){_0x52d81a=_0x52d81a-0x0;var _0x502d80=_0x89e3[_0x52d81a];return _0x502d80;};'use strict';var _=require(_0x389e('0x0'));var util=require(_0x389e('0x1'));var logger=require(_0x389e('0x2'))(_0x389e('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x389e('0x4'));var fs=require('fs');var path=require(_0x389e('0x5'));var rimraf=require(_0x389e('0x6'));var config=require(_0x389e('0x7'));var attributes=require(_0x389e('0x8'));module[_0x389e('0x9')]=function(_0x5e5bb4,_0x131ad7){return _0x5e5bb4[_0x389e('0xa')](_0x389e('0xb'),attributes,{'tableName':_0x389e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};