79f5464083ef4a0e0d4c147558731f22f0bd351d
[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 _0x875f=['exports','define','cm_lists','lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','./cmList.attributes'];(function(_0x334841,_0x2bbc4c){var _0x5beb4b=function(_0x4bea72){while(--_0x4bea72){_0x334841['push'](_0x334841['shift']());}};_0x5beb4b(++_0x2bbc4c);}(_0x875f,0xff));var _0xf875=function(_0xb0707d,_0x28556d){_0xb0707d=_0xb0707d-0x0;var _0x46a926=_0x875f[_0xb0707d];return _0x46a926;};'use strict';var _=require(_0xf875('0x0'));var util=require(_0xf875('0x1'));var logger=require('../../config/logger')(_0xf875('0x2'));var moment=require(_0xf875('0x3'));var BPromise=require(_0xf875('0x4'));var rp=require(_0xf875('0x5'));var fs=require('fs');var path=require(_0xf875('0x6'));var rimraf=require('rimraf');var config=require(_0xf875('0x7'));var attributes=require(_0xf875('0x8'));module[_0xf875('0x9')]=function(_0x36c833,_0x1547f0){return _0x36c833[_0xf875('0xa')]('CmList',attributes,{'tableName':_0xf875('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};