Built motion from commit (unavailable).|2.5.6
[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 _0xe043=['exports','CmList','cm_lists','lodash','util','../../config/logger','api','moment','bluebird','path'];(function(_0x248238,_0xe31996){var _0xb93bc4=function(_0xa7489e){while(--_0xa7489e){_0x248238['push'](_0x248238['shift']());}};_0xb93bc4(++_0xe31996);}(_0xe043,0x17f));var _0x3e04=function(_0x5d6b41,_0x3d1c8f){_0x5d6b41=_0x5d6b41-0x0;var _0x1c2dd6=_0xe043[_0x5d6b41];return _0x1c2dd6;};'use strict';var _=require(_0x3e04('0x0'));var util=require(_0x3e04('0x1'));var logger=require(_0x3e04('0x2'))(_0x3e04('0x3'));var moment=require(_0x3e04('0x4'));var BPromise=require(_0x3e04('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3e04('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./cmList.attributes');module[_0x3e04('0x7')]=function(_0x155f8c,_0xf73753){return _0x155f8c['define'](_0x3e04('0x8'),attributes,{'tableName':_0x3e04('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};