Built motion from commit (unavailable).|2.5.21
[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 _0x963f=['cm_lists','../../config/logger','api','moment','bluebird','request-promise','./cmList.attributes','define','CmList'];(function(_0x1fa760,_0x1bf063){var _0xd8eda1=function(_0x4a21d6){while(--_0x4a21d6){_0x1fa760['push'](_0x1fa760['shift']());}};_0xd8eda1(++_0x1bf063);}(_0x963f,0x118));var _0xf963=function(_0x177307,_0x1a1e9a){_0x177307=_0x177307-0x0;var _0x254c24=_0x963f[_0x177307];return _0x254c24;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xf963('0x0'))(_0xf963('0x1'));var moment=require(_0xf963('0x2'));var BPromise=require(_0xf963('0x3'));var rp=require(_0xf963('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xf963('0x5'));module['exports']=function(_0x5abf3b,_0x4e1955){return _0x5abf3b[_0xf963('0x6')](_0xf963('0x7'),attributes,{'tableName':_0xf963('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};