606a285df8338706bb2f8bdb8ced7d4fde144c4a
[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 _0x71fc=['CmList','cm_lists','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','define'];(function(_0x1d1779,_0x284147){var _0x2377e9=function(_0x299f6f){while(--_0x299f6f){_0x1d1779['push'](_0x1d1779['shift']());}};_0x2377e9(++_0x284147);}(_0x71fc,0x19a));var _0xc71f=function(_0x27c72c,_0x1d9de1){_0x27c72c=_0x27c72c-0x0;var _0x41c2b4=_0x71fc[_0x27c72c];return _0x41c2b4;};'use strict';var _=require(_0xc71f('0x0'));var util=require(_0xc71f('0x1'));var logger=require(_0xc71f('0x2'))(_0xc71f('0x3'));var moment=require(_0xc71f('0x4'));var BPromise=require(_0xc71f('0x5'));var rp=require(_0xc71f('0x6'));var fs=require('fs');var path=require(_0xc71f('0x7'));var rimraf=require('rimraf');var config=require(_0xc71f('0x8'));var attributes=require('./cmList.attributes');module['exports']=function(_0x384e3c,_0x2e211e){return _0x384e3c[_0xc71f('0x9')](_0xc71f('0xa'),attributes,{'tableName':_0xc71f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};