ae8ed8982027ad925dd9d9fd718e1934ab43c0a0
[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 _0x35d8=['../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./cmList.attributes','exports','define','CmList','cm_lists','lodash'];(function(_0x5eea00,_0x59bf6e){var _0xe049b5=function(_0x59840a){while(--_0x59840a){_0x5eea00['push'](_0x5eea00['shift']());}};_0xe049b5(++_0x59bf6e);}(_0x35d8,0x12b));var _0x835d=function(_0x4abb98,_0x21e2a8){_0x4abb98=_0x4abb98-0x0;var _0x2720c8=_0x35d8[_0x4abb98];return _0x2720c8;};'use strict';var _=require(_0x835d('0x0'));var util=require('util');var logger=require(_0x835d('0x1'))('api');var moment=require(_0x835d('0x2'));var BPromise=require(_0x835d('0x3'));var rp=require(_0x835d('0x4'));var fs=require('fs');var path=require(_0x835d('0x5'));var rimraf=require('rimraf');var config=require(_0x835d('0x6'));var attributes=require(_0x835d('0x7'));module[_0x835d('0x8')]=function(_0x462995,_0x2fcfb3){return _0x462995[_0x835d('0x9')](_0x835d('0xa'),attributes,{'tableName':_0x835d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};