Built motion from commit 67e5df37.|2.0.66
[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 _0xb809=['lodash','../../config/logger','moment','request-promise','exports','CmList','cm_lists'];(function(_0x122c76,_0x59d6e9){var _0x2e26ba=function(_0x770ec0){while(--_0x770ec0){_0x122c76['push'](_0x122c76['shift']());}};_0x2e26ba(++_0x59d6e9);}(_0xb809,0xd9));var _0x9b80=function(_0x236d24,_0x29e80a){_0x236d24=_0x236d24-0x0;var _0x1574cf=_0xb809[_0x236d24];return _0x1574cf;};'use strict';var _=require(_0x9b80('0x0'));var util=require('util');var logger=require(_0x9b80('0x1'))('api');var moment=require(_0x9b80('0x2'));var BPromise=require('bluebird');var rp=require(_0x9b80('0x3'));var attributes=require('./cmList.attributes');module[_0x9b80('0x4')]=function(_0x256ec9,_0x1dcc2a){return _0x256ec9['define'](_0x9b80('0x5'),attributes,{'tableName':_0x9b80('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};