Built motion from commit (unavailable).|2.5.13
[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 _0xf4c5=['exports','define','CmList','cm_lists','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment'];(function(_0x34218d,_0x179c47){var _0x107bfc=function(_0x521089){while(--_0x521089){_0x34218d['push'](_0x34218d['shift']());}};_0x107bfc(++_0x179c47);}(_0xf4c5,0x72));var _0x5f4c=function(_0x5ff517,_0x3e4ee0){_0x5ff517=_0x5ff517-0x0;var _0x19a245=_0xf4c5[_0x5ff517];return _0x19a245;};'use strict';var _=require('lodash');var util=require(_0x5f4c('0x0'));var logger=require(_0x5f4c('0x1'))(_0x5f4c('0x2'));var moment=require(_0x5f4c('0x3'));var BPromise=require(_0x5f4c('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x5f4c('0x5'));var config=require(_0x5f4c('0x6'));var attributes=require('./cmList.attributes');module[_0x5f4c('0x7')]=function(_0x574675,_0x2ce43b){return _0x574675[_0x5f4c('0x8')](_0x5f4c('0x9'),attributes,{'tableName':_0x5f4c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};