Built motion from commit (unavailable).|2.5.16
[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 _0x76a8=['../../config/logger','api','moment','bluebird','./cmList.attributes','define','CmList','cm_lists','util'];(function(_0x1ebcd7,_0x2885f7){var _0x22a84f=function(_0x4681fb){while(--_0x4681fb){_0x1ebcd7['push'](_0x1ebcd7['shift']());}};_0x22a84f(++_0x2885f7);}(_0x76a8,0x1ca));var _0x876a=function(_0x5c1aed,_0xf4126d){_0x5c1aed=_0x5c1aed-0x0;var _0x33b33a=_0x76a8[_0x5c1aed];return _0x33b33a;};'use strict';var _=require('lodash');var util=require(_0x876a('0x0'));var logger=require(_0x876a('0x1'))(_0x876a('0x2'));var moment=require(_0x876a('0x3'));var BPromise=require(_0x876a('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x876a('0x5'));module['exports']=function(_0x5a5246,_0x58f91b){return _0x5a5246[_0x876a('0x6')](_0x876a('0x7'),attributes,{'tableName':_0x876a('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};