a7d19c543406937bcc88550e0b502f81637dbfad
[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 _0x2af5=['../../config/logger','api','moment','bluebird','path','rimraf','./cmList.attributes','exports'];(function(_0x29c0fa,_0xca88ef){var _0x31f06f=function(_0x111362){while(--_0x111362){_0x29c0fa['push'](_0x29c0fa['shift']());}};_0x31f06f(++_0xca88ef);}(_0x2af5,0xc0));var _0x52af=function(_0x30fd5,_0x2ac8fc){_0x30fd5=_0x30fd5-0x0;var _0x2e8709=_0x2af5[_0x30fd5];return _0x2e8709;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x52af('0x0'))(_0x52af('0x1'));var moment=require(_0x52af('0x2'));var BPromise=require(_0x52af('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x52af('0x4'));var rimraf=require(_0x52af('0x5'));var config=require('../../config/environment');var attributes=require(_0x52af('0x6'));module[_0x52af('0x7')]=function(_0x86b6d9,_0x1c7092){return _0x86b6d9['define']('CmList',attributes,{'tableName':'cm_lists','paranoid':![],'indexes':[],'timestamps':!![]});};