Built motion from commit (unavailable).|2.4.20
[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 _0xb989=['request-promise','path','define','cm_lists','lodash','util','../../config/logger','api'];(function(_0x160a91,_0x4002ce){var _0x30c00c=function(_0x55930c){while(--_0x55930c){_0x160a91['push'](_0x160a91['shift']());}};_0x30c00c(++_0x4002ce);}(_0xb989,0x9c));var _0x9b98=function(_0x412c8f,_0x11ec94){_0x412c8f=_0x412c8f-0x0;var _0x27c005=_0xb989[_0x412c8f];return _0x27c005;};'use strict';var _=require(_0x9b98('0x0'));var util=require(_0x9b98('0x1'));var logger=require(_0x9b98('0x2'))(_0x9b98('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x9b98('0x4'));var fs=require('fs');var path=require(_0x9b98('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./cmList.attributes');module['exports']=function(_0x141708,_0x13c38a){return _0x141708[_0x9b98('0x6')]('CmList',attributes,{'tableName':_0x9b98('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};