Built motion from commit (unavailable).|2.6.0
[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 _0x65f8=['../../config/logger','moment','bluebird','../../config/environment','exports','define','cm_lists','lodash','util'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0x65f8,0x139));var _0x865f=function(_0x390083,_0x31ba26){_0x390083=_0x390083-0x0;var _0x41a4db=_0x65f8[_0x390083];return _0x41a4db;};'use strict';var _=require(_0x865f('0x0'));var util=require(_0x865f('0x1'));var logger=require(_0x865f('0x2'))('api');var moment=require(_0x865f('0x3'));var BPromise=require(_0x865f('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x865f('0x5'));var attributes=require('./cmList.attributes');module[_0x865f('0x6')]=function(_0x4cff33,_0x2e6818){return _0x4cff33[_0x865f('0x7')]('CmList',attributes,{'tableName':_0x865f('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};